[Coco] Copying a data/binary file from disk to cassette

Phil phil.salathe at gmail.com
Fri Jan 4 23:47:55 EST 2008


Bob wrote:

>The code which is at the end of Marble Maze, inserts a command into 
>the command line buffer, which BASIC executes when the LOADM has 
>completed. This method is used quite often.

Aha!  I assume the code is basically the equivalent of "EXEC [address]"?

In any event, I used a hex editor to delete those 16 bytes, leaving 
the postamble intact, and it worked like a charm -- the game loaded 
but without autostarting, enabling me to CSAVEM, and I just CLOADed 
the game (Marble Maze) onto real hardware without a hitch.  I know 
that not every self-executing program will necessarily be so easy to 
change, but this one worked out very nicely.

By the way, the .bin I had also originally had about 225 bytes of $1A 
with the occasional $0D after the postamble.  I'm assuming it was 
just junk or padding?  I deleted those too when I removed the 
autostart.

For those games that were written with Disk EDTASM (were there 
many?), or for others that have multiple data blocks that can't be 
deleted, is there any other tactic I should use?  ("C'mon, just get 
an old PC with a 5-1/4" drive" is, no doubt, the proper answer...)

Once again, thanks so much --

-- Phil



More information about the Coco mailing list