Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ff3:ff3us:patches:madsiur:sram [2018/05/25 05:27] madsiur created |
ff3:ff3us:patches:madsiur:sram [2019/02/12 11:45] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | ===== Multiple Fonts ===== | + | ===== SRAM Expansion |
[[ff3: | [[ff3: | ||
Line 6: | Line 6: | ||
==== Patch data ==== | ==== Patch data ==== | ||
- | |Name |Sram Expansion 1.0 | | + | |Name |SRAM Expansion 1.1 | |
|Author | |Author | ||
|Link | |Link | ||
Line 37: | Line 37: | ||
| | ||
| | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
</ | </ | ||
==== Description ==== | ==== Description ==== | ||
- | This game expand SRAM by $1600 bytes, allowing now $2000 bytes for each save slot plus a third 8Kb for general purpose. In original game, only 8Kb of SRAM is used ($306000-$307FFF), | + | This hack expand SRAM by $1600 bytes for each save slot, allowing now 8Kb bytes for each save slot plus a third 8Kb for general purpose |
- | With this hack, $306000-$307FFF is used for slot 1, $316000-$317FFF for slot 2 and $326000-$327FFF for slot 3. $336000-$337FFF is used for game SRAM. When you play the game, $7E1600-$7E1FFF is still used and copied to correct slot at saving. $336000-$3375FF is copied to correct slot as extra SRAM. At game loading, correct slot is loaded into $336000-$3375FF. | + | |
- | So in order to save or load from extra SRAM in your hack, use as an example STA $336000,X or LDA $336000, | + | With this hack, $306000-$307FFF is used for slot 1, $316000-$317FFF for slot 2 and $326000-$327FFF for slot 3. $336000-$337FFF is used for game SRAM. When you play the game, $7E1600-$7E1FFF is still used and copied to correct slot at saving. $336000-$3375FF is copied to correct slot as extra SRAM. At game loading, correct slot is loaded into $336000-$3375FF |
Since $337600-$337EFF is not used, it means it could be use as scratchpad SRAM for temporary things or have a general use common to the three slots. $337FF0-$337FFF has same function as the original $307FF0-$307FFF.\\ | Since $337600-$337EFF is not used, it means it could be use as scratchpad SRAM for temporary things or have a general use common to the three slots. $337FF0-$337FFF has same function as the original $307FF0-$307FFF.\\ | ||
Line 54: | Line 54: | ||
SRAM could be expanded more but I figured a whole $2000 bytes instead of $0A00 is enough expansion for any hack. In HiROM mapping banks $20-$3F can be used to map SRAM, using always the $6000-$7FFF range of the bank. $C0FFD8 tell the emulator the SRAM size of the ROM.\\ | SRAM could be expanded more but I figured a whole $2000 bytes instead of $0A00 is enough expansion for any hack. In HiROM mapping banks $20-$3F can be used to map SRAM, using always the $6000-$7FFF range of the bank. $C0FFD8 tell the emulator the SRAM size of the ROM.\\ | ||
- | I have not tested this on sd2snes, everdrive or real hardware. snes9x 1.55 and bsnes+ were used for testing. If you plan to use this hack and make a cart of your hack after, I have no idea what kind of cartridge you will need or if 32Kb of SRAM is supported by any existing SNES game.\\ | + | I have not tested this on sd2snes, everdrive or real hardware. snes9x 1.55 and bsnes+ were used for testing. If you plan to use this hack and make a cart of your hack after, |
==== Links ==== | ==== Links ==== | ||
- | [[http:// | + | [[http:// |