Gottlieb System 1

pinmame.gts1

controllers/pinmame/gts1.json
2
Machines
0
Author ready
4
Address groups

Polarity is already normalised

PinMAME reports logical active state on this platform. A consumer must not invert again. Whether a real switch is normally closed stays recorded per device as a physical fact, so a recreation can build the right hardware without changing what the emulator reports.

Address groups

Switch matrix, special GPIO inputs and synthetic flipper buttons

pinmame.input.switch

Switch
Legal addresses
  • -8 … -18 slots
  • 0 … 78 slots
  • 10 … 178 slots
  • 20 … 278 slots
  • 30 … 378 slots
  • 40 … 478 slots
  • 50 … 578 slots
  • 60 … 678 slots
  • 70 … 778 slots
  • 81 … 888 slots
Transports
  • libpinmamechannel=switch
Technical details for Switch matrix, special GPIO inputs and synthetic flipper buttonsSource-derived address behavior and exceptions

GTS1_sw2m maps n=0..77 to ((n+1)%10)*8+(n+1)/10. The tens digit is the return and units digit the strobe, matching factory SW.nn labels. port_w device 2 selects internal switch columns 1..6 only and reads each column's eight bits: public x0..x5 (x=0..7). Matrix positions x6/x7 are not read there. Device 3 special GPIO instead reads the high nibble of swMatrix[7], public 46/56/66/76; 76 is XORed with 0x08, so its CPU input sense differs from the others. Public values below zero map to internal column 0; bit 7 (public -1) is used only for a sound-board diagnostic when a sound board is fitted. No generic CPU read consumes column 0. At PinMAME revision 97aa922bf8e4b6970126192ec1ac1fb0305a4f62, SetupMsgApi in libpinmame.cpp passes zero-based rows 0..7 to GTS1_m2sw for Controller Plugin device enumeration. That converter returns -9..-2 for column 0 and fails its sw2m round-trip assertion there; canonical getter/setter addresses remain -8..-1 under GTS1_sw2m/core_getSw. This is an enumeration quirk, not a different set of physical inputs. With keyboard handling enabled, SWITCH_UPDATE rewrites 00/01/02/03/04, special 56/76 and diagnostic -1 from the configured ports. With keyboard handling off the host supplies them. The CPU does not read internal flipper column 11, which GTS1_m2sw publishes at 81..88. core_updateSw derives synthetic flipper outputs from right button 82 and left 84, while per-game FLIP_SW/FLIP_SOL/FLIP_BUT fields control any additional core synthesis. Matrix reads complement the state into the PPS/4 input; public state is consumed exactly as delivered and must never be inverted again globally. This does not establish physical contact construction, especially for the special slam line. Exact game fitment is game documentation.

CPU and optional sound-board DIP bits

pinmame.input.dip

DIP switch
Legal addresses
  • 1 … 2828 slots
Transports
  • libpinmamechannel=dip
Technical details for CPU and optional sound-board DIP bitsSource-derived address behavior and exceptions

GTS1C/GTS1T declare 24 bits; sound-board modules declare 26 or 28. port_w device 3 reads core_getDip(strobe) for strobe 0..2. Public bit n is bank*8+bit+1. GTS1_COMPORTS labels S1..S4 at bits 3..0 and S5..S8 at bits 7..4, so public 1..8 are S4,S3,S2,S1,S8,S7,S6,S5; public 9..24 follow S9..S24. Game-specific switch meanings and fitted optional sound bits require the game's own documentation.

CPU output routes, game enable and synthetic flipper outputs

pinmame.output.solenoid

Solenoid
Legal addresses
  • 1 … 4848 slots
Transports
  • libpinmamechannel=solenoid
Technical details for CPU output routes, game enable and synthetic flipper outputsSource-derived address behavior and exceptions

port_w device 4 with SOS writes locals.solenoids bits 0..11 for ioport 0..11, published at public 1..12. This is address reachability, not proof of twelve fitted coils. lamp_w offset 0 derives bit 16 (public 17) when its first two lamp bits are 01: Q/game-on active while T/tilt is clear. GTS1_vblank publishes locals.solenoids and passes 17 to core_updateSw as flipEn. The driver never sets 13..16 or 18..28; core_getSol returns 0 for 29..44 on this generation. Without FLIP_SOL, core_updateSw synthesizes 45/46 from right button 82 and 47/48 from left 84 while flipEn is true. Both members of each pair assert together; they do not measure physical power/hold winding timing. The game-specific profile decides whether CPU outputs drive a coil, chime, relay, sound command or no physical load.

Sequential lamp latch bits and the default callback matrix tail

pinmame.output.lamp

Lamp
Legal addresses
  • 1 … 6464 slots
Transports
  • libpinmamechannel=lamp
Technical details for Sequential lamp latch bits and the default callback matrix tailSource-derived address behavior and exceptions

GTS1 inherits PinMAME's sequential converter (core_swSeq2m/core_m2swSeq) and installs no custom override, so matrix bit n-1 is public lamp n. Device 3 selects a strobe smaller than 12; strobes 1..11 call lamp_w with offsets 0..10, four bits each. Public 1..44 are writable, including 37..40 from strobe 10 and 41..44 from strobe 11. The remaining bits 45..64 of the standard 8x8 callback matrix stay zero. Address rules cover the full callback namespace, including that zero tail. Physical driver population and game load fitment require game documentation. The first two bits contribute game/tilt state and some games run reset coils from lamp drivers; lamp transport is not a physical lamp kind. GTS1 writes no GI callback.

Evidence

Something wrong or missing?

Address ranges, transports and normalisation rules live in one profile file. If PinMAME exposes a group this profile does not describe — or describes wrongly — the fix belongs there.

Cite a source for anything you change — a manual page, a line in a working VPX script, PinMAME source, or a reading from the machine's own service menu. Claims without provenance cannot be validated.

Machines on this platform

All 2 machines