Skip to main content
NESdev Wiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Battle Box

The Battle Box is a Famicom expansion port device holding 512 bytes of EEPROM.

The TC89102 EEPROMs used are similar to standard microwire EEPROMs, except that the address is entered before the command. Each are configured for 7 bits of address and 16 bits of data.

Supported games:

  • Battle Stadium - Senbatsu Pro Yakyuu (1 team slot)
  • Armadillo (4 save slots)
  • J-League Fighting Soccer - The King of Ace Strikers (2 team slots)
  • Seiryaku Simulation - Inbou no Wakusei - Shancara (1 auto-save slot, manual states it will overwrite other files)

Hardware interface

Input

($4017 Read)

7  bit  0
---- ----
xxxW Rxxx
   | |
   | +---- see below
   +------ Data line to the two EEPROMs

The data line toggles after each time this is read, so the actual value is the opposite of what was last read. You cannot directly set the data output; you must read this port until it’s the opposite of what you want.

($4016 Write)

7  bit  0
---- ----
xxxx xxxS
        |
        +- Clock line to the two TC89102 EEPROMs

If “S” is high during a read from $4017, it toggles which of two EEPROMs are enabled.

Output

($4017 Read)

7  bit  0
---- ----
xxxW Rxxx
   | |
   | +---- bitwise NOT of the value read from the EEPROM
   +------ see above

See also

References

Edit this page on GitHub