In fact, MS-DOS was initially developed on mainframe/micros and targeted the IBM PC via cross compilation and link cable, they weren't doing it directly.