The infinitely profitable program

Chuck Guzis cclist at sydex.com
Sat Jul 2 12:49:10 CDT 2016


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



More information about the cctech mailing list