[Coco] CLOAD to LOAD help pls

William Astle lost at l-w.ca
Mon Nov 13 15:38:21 EST 2017


On 2017-11-13 01:33 PM, Arthur Flexser wrote:
> There are different techniques for end-packing code.  If the exec address
> SP is specified properly with respect to the end-of-program pointer at
> $1B-1C so that you are exec'ing to an address that is some specified number
> of bytes below the end of program, it should work okay when loaded from
> disk.  If the programmer didn't do it that way, but specified the exec
> address SP as some constant, then it'll be messed up when the program is
> moved to disk.

It's actually even worse than that. If the exec address is specified as 
a constant, it won't work at all if loaded on a disk system, even if 
loaded from tape. Or if a non-default PCLEAR setting in in operation. Or 
Color Basic instead of Extended Basic (or vice versa).


More information about the Coco mailing list