how can we hack a .sna for infinite lives?
recently, i were trying to edit .sna from Chuckie Egg on a hex editor, with the information from http://www.the-tipshop.co.uk/cgi-bin/info.pl?name=Chuckie%20Egg&publisher=A%60n%60F%20Software , but these are not working
what i'm trying to do is to edit the .sna with a hex editor (like khexedit), in the address (less 16368, and converted to hex address), but the results are not working
do someone knows how to do it? i'm struggling a lot on using the merge from the tip of the link above, since i'm using emulators (like Fuse or FBZX) i don't have yet any way to poke the ram, or manage the tape loading process
thanks,
p.
what i'm trying to do is to edit the .sna with a hex editor (like khexedit), in the address (less 16368, and converted to hex address), but the results are not working
do someone knows how to do it? i'm struggling a lot on using the merge from the tip of the link above, since i'm using emulators (like Fuse or FBZX) i don't have yet any way to poke the ram, or manage the tape loading process
thanks,
p.
Post edited by nitrofurano on
Comments
Click continue when you're done.
Chuckie Egg.tap
My ZX Art Music Page
Carlos Michelis Theme
MERGE "": POKE 24501,195: GO TO 1
POKE 42837,0: RANDOMIZE USR 42000
work with the TZX from WoS, but not the TAP file, which gives an "Out of memory" error. The TZX would seem to be an alternative or patched version, as according to Andy Pennell's comments in Your Spectrum the original Chuckie Egg was un-mergeable.
Note that the Fuse "set" command doesn't like the comma; "set 42837 0" will work.
As regards editing the SNA, the header is 27 bytes, so the address to edit is 42837 - 16384 + 27 = 26480 ($6770) which contains 53 decimal ($35), which is a DEC (HL) command.
http://k1.dyndns.org/Vintage/Sinclair/82/Books/How%20To%20Hack%20on%20the%20ZX%20Spectrum.pdf
http://www.worldofspectrum.org/showwrap.cgi?page=index.html
My ZX Art Music Page
Carlos Michelis Theme
You need to add 26 bytes long header.
So, if you want to poke first screen byte of spectrum ram (16384) you need to edit address 27 in sna file. So it's not 16368, it's 16358 less.
Eg. edit address = (Poke Adress- 16384) + 27