Next issue on my to-do: I'm writing myself a tool to convert lots of .bmp images into a single binary file that I can load into VRAM as a tileset.
On the C64, there was a great little trick where you could SAVE arbitrary blocks of memory to a file by poking 43-44 with the start address and 45-46 with the end address of the block you wanted to save.
eg, if I wanted to save memory locations 5000 to 6000. I could write:-
POKE 44,5000/256:POKE 43,5000-256*PEEK(44)
POKE 46,6000/256:POKE 45,6000-256*PEEK(46)
SAVE "DATA",1,1
I'm assuming the zero page values on the CX16 are not compatible with the C64 - does anyone know if there's a similar trick to the above that I can use on the CX16 to save off a block of memory?
Question
JohnGill
Hi all,
sorry to keep bugging you guys!
Next issue on my to-do: I'm writing myself a tool to convert lots of .bmp images into a single binary file that I can load into VRAM as a tileset.
On the C64, there was a great little trick where you could SAVE arbitrary blocks of memory to a file by poking 43-44 with the start address and 45-46 with the end address of the block you wanted to save.
eg, if I wanted to save memory locations 5000 to 6000. I could write:-
POKE 44,5000/256:POKE 43,5000-256*PEEK(44)
POKE 46,6000/256:POKE 45,6000-256*PEEK(46)
SAVE "DATA",1,1
I'm assuming the zero page values on the CX16 are not compatible with the C64 - does anyone know if there's a similar trick to the above that I can use on the CX16 to save off a block of memory?
thanks in advance
John
Link to comment
Share on other sites
18 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.