I need to extend the save game routine to include a few bytes normally unused in SMW. I read the ROM map and found that the save game routine is located at 0D1C9 (ROM offset) though it is JSL'd through $009BC9. Now what I'm thinking is that I do the following:
1. I insert my extension to the routine at $158000 (freespace slogger gave me) with an assembler like Asar.
2. I use a hex editor to copy the first 4 bytes at 0D1C9 to the end of my extension at $158000 (before the RTS).
3. I overwrite the first 4 bytes at 0D1C9 with 22 00 08 51 (JSL $158000 in small endian (I think)).
There are two things I am wondering about this:
Is the freespace slogger gave me ($158000) the ROM offset or the SNES offset? Also would the save game routine include my extension (like I'm assuming it would) or can ASM only be stored to specific banks??
We’re looking for level designers to work on Extra Mario World