2 ms·
As the article points out, 8086 was designed to be source-translatable from 8080, and DOS started life as a clone of CP/M-86[1], with identical system calls, so
by musicale 5y ago
As the article points out, 8086 was designed to be source-translatable from 8080, and DOS started life as a clone of CP/M-86[1], with identical system calls, so it makes a lot of sense that you should be able to mechanically translate 8080 CP/M software to run on DOS.
Z-80 software would presumably be harder to translate, although the x86 has additional registers and instructions you could use.
[1] the rumored easter egg of a Gary Kildall or DRI copyright message hidden in MS-DOS or QDOS was never found, sadly
- tasty_freeze 5y agoI recall reading a story where Kildall stated something like, "Ask Bill Gates why '$' is the terminator in the print string call. I know why -- does he?" In some ways that is the moral equivalent -- the function was copied without fully understanding the why of the function.