there is hope for tiny code!

Chuck Guzis cclist at sydex.com
Sat Apr 15 17:28:57 CDT 2006


On 4/15/2006 at 9:02 PM ard at p850ug1.demon.co.uk wrote:

>For example, it works under CP/M
>
>That trick is in the Epson PX8 user manual. It suggests creating a 0 byte 
>COM file called GO.COM which can then be used to re-enter the last 
>executed program. 

Well, yes and no.  If the user program was large enough to clobber the CCP,
the trick won't work, as the CCP is reloaded to get to a command prompt,
thereby overlaying the original program.    In addition, the program being
restarted had better be re-entrant after termination; something not
extremely common in the CP/M world.

Does anyone know of a checkpoint/restart facility for CP/M programs?  That
is, hit a key or trigger an interrupt, and the CP/M program and any
dependent context is swapped out to disk and the system returned to a
command prompt?

Cheers,
Chuck





More information about the cctalk mailing list