Skip to content

n64: implement eeprom write timing and status flags#2442

Open
rasky wants to merge 1 commit intoares-emulator:masterfrom
rasky:n64_eeprom_fix
Open

n64: implement eeprom write timing and status flags#2442
rasky wants to merge 1 commit intoares-emulator:masterfrom
rasky:n64_eeprom_fix

Conversation

@rasky
Copy link
Collaborator

@rasky rasky commented Mar 3, 2026

Currently Ares implements an infinitely fast EEPROM, but alas real EEPROMs can take even 20 ms to save a single block of 8 bytes.

This commit implement approximate timings and the related flag to notify the CPU that the EEPROM is busy writing data.

@remutro
Copy link
Contributor

remutro commented Mar 3, 2026

Do the new values in cartridge.hpp need to be serialized out as part of save states?

@rasky
Copy link
Collaborator Author

rasky commented Mar 3, 2026

right fixed thanks

@remutro
Copy link
Contributor

remutro commented Mar 3, 2026

Also need to bump the serializer version in n64/system/serialization.cpp

Currently Ares implements an infinitely fast EEPROM, but alas real
EEPROMs can take even 20 ms to save a single block of 8 bytes.

This commit implement approximate timings and the related flag to
notify the CPU that the EEPROM is busy writing data.
@rasky
Copy link
Collaborator Author

rasky commented Mar 4, 2026

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants