EEPROM (save files) thread
Will start with a few questions
Tarek and I are trying to mess around with EEPROM stuff. With Nemu's debugger, I had no trouble extending the file offset limit and disabling checksum protection.
(^ these changes require rom main checksum (0x10) nop/update)
With Nemu64, these changes work like a charm; I can make the game save whatever I want to EEPROM+0x7F0 for example.
But I believe Nemu64 makes all EEPROM files 0x800 bytes by default . In PJ64 when you try to start the rom with 16kbit eeprom selected, you're met with a black screen of death.
So we were wondering...
Related functions:
Related areas:
Will start with a few questions
Tarek and I are trying to mess around with EEPROM stuff. With Nemu's debugger, I had no trouble extending the file offset limit and disabling checksum protection.
Code
rom+0x3436C = 0x10000003 // bypass eeprom checksum comparisons rom+0xE3B04 = 0x29E10100 // extend the *u8 eeprom offset limit to 16kbits
(^ these changes require rom main checksum (0x10) nop/update)
With Nemu64, these changes work like a charm; I can make the game save whatever I want to EEPROM+0x7F0 for example.
But I believe Nemu64 makes all EEPROM files 0x800 bytes by default . In PJ64 when you try to start the rom with 16kbit eeprom selected, you're met with a black screen of death.
So we were wondering...
- Is there an important eeprom size setting/protection somewhere in rom?
- Would it be possible to replace/extend an eeprom chip on a real cartridge?
- Why is project64 kill when using the 16kbit setting?
Related functions:
Code
80328AF0 // write 8 bytes to eeprom 80329150 // read 8 bytes from eeprom 802792C0 // eeprom 2byte checksum calculator (returns to V0)
Related areas:
Code
80207700 // eeprom mirror