# EEPROM, inputs, watchdog and reset Mostly DOC: five sheets of Konami's schematic for the GX063/GX064 board (REG. TYPE "GX063/GX064", code no. 352921, dated 1991/05/11, designer K. Furukawa) printed in a Sunset Riders instruction manual (`reference/docs/konami-ssriders-manual.pdf`, PDF pages 13-17; Konami's "proprietary and confidential" drawings: facts only, never reproduced). GX063 is Turtles in Time and GX064 Sunset Riders (HYPOTHESIS from the manual's title and the two codes; MAME's set names agree). ## ER5911 serial EEPROM - **Wiring (DOC, sheet 3)**: U43 ER5911; CS, CLK and DI come from an LS273 output latch (U64: EEPCS, EEPCK, EEPDI); DO goes to input I10 and RDY/BUSY to input I11 of the input multiplexers; **ORG (pin 6) is tied to ground: 128 x 8 organisation**. This agrees with MAME's device `er5911_8` (OBSERVED in `-listxml` for all 54 sets with an EEPROM). - **The part (DOC, General Instrument 1985 Non-Volatile Memory Data Book, ER5911 data sheet DS20017F)**: 1,024 bits, 64 x 16 or 128 x 8 by ORG (ORG to ground selects 128 x 8; an unconnected ORG selects 64 x 16 through an internal pull-up); five instructions, each a start bit 1, a 4-bit opcode and 7 address bits in 128 x 8 mode (12-bit instructions); READ `1000`, PROGRAM `x100`, PEN (program enable) `0011`, PDS (program disable) `0000`, ERAL `0010`; self-timed erase-before-write; RDY/BUSY output; clock up to 250 kHz; DO high-impedance except in read; a "dummy zero" precedes read data. - **Factory images**: 52 sets carry a 128-byte `.nv` image (OBSERVED; [census.md](census.md)). The EEPROM stays in the board (chip rule): it is a stock part with a two-page behaviour, used here behind three latch bits. If a second family board needs an ER5911 (the Konami GX boards, 12 MAME drivers), a shared serial-EEPROM module would hold the 93C46, ER5911 and X24C family behind one interface (93C46-type parts appear in the Phase 0 documents of cps1-python, jaguar-python and lynx-python, others in cps3-python, a2600-python and megadrive-python: decision 6). ## Inputs (DOC, sheet 3) Four **LS253** dual 4-to-1 multiplexers and two **LS257** read the player inputs onto the 68000's data bus: for each of four players START, SHOOT1-3, UP, DOWN, LEFT, RIGHT; then SERVICE1-4, coin inputs, TEST, and the EEPROM's DO and RDY. Address lines A1 and A2 select the input group (IA1, IA2). The JAMMA edge plus two extra 15-pin connectors (CN3, CN4, B15P-SHF-1AA) carry players 3 and 4. ## Outputs (DOC, sheet 3) - LS174 **U65**: DIM0-2, VROMRD (video-ROM read-back enable, HYPOTHESIS for the meaning), OUT1, OUT2 (coin counters). - LS273 **U64**: OCBNK0-2 (object character bank), DIMPOL, DIMMOD, EEPCK, EEPCS, EEPDI. - A 3-to-8 decoder (LS138) splits the I/O page into PCU, OVRC, AFR and the input groups; **AFR** goes to the 051550. ## Reset, watchdog and clocks (DOC, sheet 5) - **68000 at 16 MHz** (U1, marked "68000-16MHZ"), clocked from a **32 MHz oscillator** (U11) divided by two in an F74 flip-flop; a separate **24 MHz** clock reaches the 051550. - **051550** (U9): a Konami part with RESET output, AFR (watchdog kick) input, a VREF/CT/RES timing network and two coin-counter drivers (COUNT1/COUNT2 from OUT1/OUT2). It is the board's power-on reset and watchdog (HYPOTHESIS for the watchdog's timeout; the MAME maps show a `watchdog` device on every set). - **IPL2 and IPL0** are driven by the board; IPL1 is pulled up (not asserted): the board raises only levels 1, 4 and 5 (HYPOTHESIS from the active-low pins; which source drives which is U8). - **VPA** comes from an LS20 gate on FC0-FC2 and AS: interrupt-acknowledge cycles are **autovectored** (DOC). **BERR and HALT** are pulled up; HALT and RESET are driven through open-collector LS07s from the reset logic. - DTACK is generated off-sheet (MDTACK from another page); wait states per region are U9.