# Inputs and outputs `[mame]` for the bit assignments; `[man]` for the operator's view; `[board]` for when they are read. All inputs are active low. ## `05000000` (32 bits): the JAMMA edge | Bits | Input | | --- | --- | | 0-3 | player 1 up, down, left, right | | 4-6 | player 1 buttons 1-3 (punches) | | 7 | unused | | 8-11 | player 2 up, down, left, right | | 12-14 | player 2 buttons 1-3 | | 15 | unused | | 16 | service coin | | 17 | test switch | | 18-23 | unused | | 24, 25 | coin 1, coin 2 | | 26 | player 2 button 6 | | 27 | unused | | 28, 29 | start 1, start 2 (also "change orb" in Red Earth) | | 30, 31 | unused | ## `05000004` (32 bits): the kick harness (CN1) | Bits | Input | | --- | --- | | 17 | player 1 button 6 | | 18 | player 1 button 5 | | 19 | player 1 button 4 | | 20 | player 2 button 4 | | 21 | player 2 button 5 | | the rest | unused (read as 1) | The JoJo games use buttons 1-3 as light, medium, strong and button 4 as "stand". The games read the inputs through the cache-through alias `25000000`; the VBlank handler samples them once a frame, and a timer handler (four times a frame) debounces coin and start `[board]`. ## `05000008`: outputs Bits 0, 1: coin lockout 1, 2 (active low). Bits 4, 5: coin counter 1, 2. Bits 14, 15: "some LEDs?" `[mame]`. ## `05000A00-05000A1F`: development switches Read as inverted words; "presumably these data came from serial interface populated on early boards"; **must read all ones**, or Red Earth crashes before booting `[mame]` (U18). ## Test menu and configuration `[man]` The test switch (or, on a cabinet without one, a button sequence the manual describes) opens the test menu: input, output, sound, colour, dot/cross hatch, game configuration, **memory check**, exit. Configuration is saved to the EEPROM ("SAVE & EXIT"). A "monitor" setting flips the screen. The memory check names the RAMs (work, sprite, character, colour, SS) and reports OK or NG per block. It is the family's cheapest end-to-end check of the address decode, the character RAM bank and the SS RAM's odd-byte behaviour: the BIOS's test masks SS readback with `00FF00FF` `[board]`. Run headless, with the screen's text layer read back from SS RAM, it is a test that real boards pass by construction ([validation.md](validation.md)). ## Volume Volume up and down are buttons on the kick harness connector (pins 29, 30) `[mame]`; where they are read was not found (U28).