[Coco] emulator questions

Arthur Flexser flexser at fiu.edu
Wed Nov 26 23:48:00 EST 2003


On Wed, 26 Nov 2003, Ward Griffiths wrote:
> 
> Actually, many hybrid programs _can_ be resaved _if_ they are simply 
> loaded and then saved without being run.  The only such package I own 
> is Klendathu, which uses Leo Christopherson's ML in DATA statements 
> trick which he pioneered during the TRS-80 Mod One days with classics 
> like Android Nim and Dancing Demon.  If such programs are run, the 
> program modifies itself and a save becomes impossible, but the original 
> version off the original tape or disk can be saved in ASCII or even 
> LLISTed without problem.
> -- 
> Ward Griffiths				wdg3rd at comcast.net
> 

The problem is with program that use end-packed ML code, which is simply
stripped off when the program is saved in ASCII.  Another problem with
this sort of program is that if you upload it somewhere (in crunched Basic
form, necessarily), the uploaded version does not preserve the location of
Basic's end-of-program address, which is generally needed by the program
in order to exec the end-packed ML at the correct address, commonly given
as an offset with respect to the end-of-program address so that the Basic
part of the program can be edited without having to change the exec
address.  That location needs to be "manually" communicated to the
downloader, so that it can be poked in to $19-1A prior to resaving the
program. after it is downloaded and loaded in but not run.

Art





More information about the Coco mailing list