On 07/02/2016 10:29 AM, Eric Christopherson wrote:
Genius. But I would have thought CP/M would at least
require a .com
file to have a header.
http://peetm.com/blog/?p=55
Of course, this only works when the program doesn't clobber its own
initialization code (to reclaim memory), which a lot of programs did in
those memory-limited days.
Regardless, neither CP/M-80 nor MSDOS requires that a .COM file have any
particular structure--even MSDOS will try to run a zero-length .com file
without complaint.
--Chuck