# EEPROM A 93C46 serial EEPROM (128 bytes, 64 words of 16 bits) sits on the main board under a plastic cover `[mame]`. It holds the test-menu settings: the manuals say the configuration is "stored in memory on the PCB rather than DIP switches" `[man]`. The CPU does not bit-bang it. It sees a word-wide window, presumably the IOU doing the serial protocol `[mame]`: "EEPROM access is a little odd, I think it accesses eeprom through some kind of additional interface". ## The window, `05001000-05001203`, as MAME models it | Offset | Access | Meaning | | --- | --- | --- | | `080-0FF` | write | store a 16-bit word at word index (offset − `080`) / 2 | | `100-17F` | read | latch the word at that index for reading; returns 0 | | `180-1FF` | write | written with 0 before each data word: probably erase, "which also means above probably may only reset data bits" | | `200` | read | high word: busy flag (MAME returns 0, never busy); low word: the latched data | The 128 bytes default to zero in MAME and are saved as NVRAM. JTCPS3's EEPROM follows MAME `[jt]` (HYPOTHESIS). ## Unknowns - Busy timing and whether writes really need the erase step first (U27). - What the game does with an all-zero or all-ones EEPROM: it should re-initialise its settings. That is observable in MAME and is the exit test for the EEPROM milestone (a detector). - The contents' layout per game: not needed by the board. ## The other non-volatile parts - The cartridge's FM1208S ferroelectric RAM (512 bytes), types A to C: "it is NOT used to save settings or game data, purpose is unknown" `[mame]`. The `03000000-030003FF` range touched by two games' memory tests, odd bytes only, is probably it (U21). - A battery, a 62256 SRAM and an RS-232 driver exist on a few early -2 boards only `[mame]`. - The key RAM inside the CPU ([encryption.md](encryption.md)). - The SIMMs themselves ([flash.md](flash.md)). The board's save state is therefore: EEPROM (128 bytes), the flash chips, and the cartridge (BIOS, keys, mode).