• Please review our updated Terms and Rules here

savem in Xroar CoCo emulator

Druid6900

Veteran Member
Joined
May 7, 2006
Messages
3,809
Location
Hamilton, Ontario, Canada
Ok, here is the latest information I'm looking for;

I'm running Xroar 35.2 and I'm loading a .dsk that contains a .bin file. I load that .bin into memory and, if I exec it, it runs fine.
Can I do a savem of that .bin file and, if so, how do I determine the start, end and execute addresses for it?
I want to burn the .bin file to an EPROM, so I'm guessing that the execution address will be $C000, but how to find the other 2 addresses escapes me.

Help would be appreciated.
 
Its been awhile, since I done what you are doing(about 25years),

There are some Peek commands that will alow you to see the start,end and exec of a BIN file. I though I had them wrote down but must of lost that page.
But did find the cassette peek commands to do that with cassette BIN files, just need to get the correct address for the disk.

Here's the cassette ones:
Start address: PEEK(487)*256+PEEK(488 ) again this is for cassette BIN
End address: PEEK(126)*256+PEEK(127)
Exec address: PEEK(156)*256+PEEK(157)

The disk files will be the same format but with different address. Hope this info helps.
 
Thanks Ec1564,

That's a start. That would give me a .ccc file, right?
It may be enough to do it if someone can't come up from the disk ones.
When I save it out, I can specify the exec address that I want it to start at?
OK, I have been informed that I wouldn't be able to run this as a ROM, so, it's been extracted from the .dsk and I'll have to run it as a disk file.
Thank you for the idea though.
 
Last edited:
Back
Top