Diagnostic inputs, switch matrix and core flipper buttons
pinmame.input.switch
- -7 … -53 slots
- 1 … 4848 slots
- 81 … 888 slots
- libpinmamechannel=switch
- controller_plugingroup_id=5 · contract_revision=46e1a01a0f73
Technical details for Diagnostic inputs, switch matrix and core flipper buttonsSource-derived address behavior and exceptions
GEN_BY17 uses the shared by35 module. PIA0:B reads selected returns directly with no BY35HW_REVSW. Physical matrix numbering is 8 times the zero-based strobe plus the one-based return. PIA0:A bits 0-4 select 1-40. The shared driver also accepts a sixth strobe on PIA1:B bit 7 by default. Check the particular game's harness before treating 41-48 as fitted. The core applies the per-game inversion mask on the public switch boundary. Keyboard handling rewrites 6, 7, 9-11, 16 and diagnostics. Diagnostics -7, -6 and -5 respectively feed the self-test PIA line, CPU NMI and sound-board diagnostic hook. Core column 11 publishes 81-88. Lower cabinet buttons use 82 right and 84 left. The CPU cannot select core column 11. The core copies button state into the matrix only for a flipper whose FLIP_SWNO field is nonzero. Cabinet-wired EOS contacts are local to the physical flipper circuits. The current plugin enumerates its core-sized switch set separately from this semantic envelope.