Stern Spike 1

pinmame.spike1

controllers/pinmame/spike1.json
13
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

Factory-reference switches, CPU inputs and topper inputs

pinmame.input.switch

Switch
Legal addresses
  • 0 … 9596 slots
  • 101 … 13232 slots
Transports
  • libpinmamechannel=switch
  • controller_plugingroup_id=5 · contract_revision=46e1a01a0f73
Technical details for Factory-reference switches, CPU inputs and topper inputsSource-derived address behavior and exceptions

The conversion exposes 128 matrix positions as public 0-95 and 101-132; documented game Switch Reference numbers start at 1. Each title swaps its declared flipper buttons and EOS numbers with internal slots 88-95, so consumers use the title's public references directly. CPU DIP inputs are 101-108, Service Select/Plus/Minus/Back are 109/110/111/112, and the power interlock is 116 (1 while the door is shut). Optional topper references start at 121. The conversion admits padding and reserved positions; conversion alone does not prove that a game reads or fits an input. Numbers outside the stated ranges all alias internal position 127 (public 132) and must not be used as extra addresses. Public nonzero means the subsystem's closed state; per-game invSw remains zero and the subsystem converts this state to the ROM's wire level with switch-table flags. Startup closed state includes installed trough balls, firmware rest flags and the power interlock; it does not establish physical normally_closed construction. DIP switch writes to 101-108 are replaced from DIP bank 0 at each 1 kHz I/O exchange. The core synthesizes lower EOS from the lower flipper mirrors after two VBLANKs and overwrites direct EOS writes. With keyboard handling disabled, declared lower and upper button leaves round-trip; with it enabled, keyboard state rewrites them and upper leaves follow the lower keys. Cabinet and service inputs are rewritten only while keyboard handling is enabled. Internal motor and stepper home state is generated in the subsystem, but the driver copies that state to the public matrix only during initial mapping; public input readback does not prove later internally generated sensor movement.

CPU board DIP switches

pinmame.input.dip

DIP switch
Legal addresses
  • 1 … 88 slots
Transports
  • libpinmamechannel=dip
  • controller_plugingroup_id=6 · contract_revision=46e1a01a0f73
Technical details for CPU board DIP switchesSource-derived address behavior and exceptions

Physical ordinals 1-8 correspond to bits 0-7 of LibPinMAME DIP bank 0; the API reads and writes a bank byte. The driver copies these bits to switch addresses 101-108. At the pinned revision, plugin group 6 exposes ordinal i+1 with zero-based source bit i, so IDs 1-8 faithfully reach bank 0 bits 0-7. The earlier PR #728 snapshot shifted that mapping; it is historical evidence and does not describe this contract.

Coil references, mirrored flippers and custom coil outputs

pinmame.output.solenoid

Solenoid
Legal addresses
  • 1 … 3333 slots
  • 45 … 484 slots
  • 51 … 7222 slots
Transports
  • libpinmamechannel=solenoid
  • controller_plugingroup_id=1 · contract_revision=46e1a01a0f73
Technical details for Coil references, mirrored flippers and custom coil outputsSource-derived address behavior and exceptions

Driver Reference 1-32 maps directly to public 1-32. A reference numbered 0 or 33-63 is allocated at 51 and up in the ROM device-table traversal order, up to 72; references outside 0-63 are ignored. Although source prose calls this number order, the implementation does not sort the coil vector, so the exact ROM must prove a custom binding. Public 33 is the virtual GAME ON state: at least one mapped lower-flipper reflex is armed. It controls a recreation's enabled behavior and is not a fitted relay or extra winding. The legacy direct core_getSol path also returns that state at 34-36; the plugin and aggregate expose its canonical address 33, so those aliases are not independent outputs. Addresses 37-44 and 49-50 are unrouted. Named lower right and left flipper power/hold coils also publish binary mirrors at 45/46 and 47/48 respectively: either named winding being on sets both bits of its pair. These mirrors are not additional physical windings or independently modulated channels. Upper flippers use their own Driver Reference coils. Actual coil outputs store PWM duty divided by 255; binary state is any nonzero duty. I/O is sampled at 1 kHz, and a newly observed coil pulse is held for at least one display frame for callback consumers. Physical-output mode exposes the actual coil level through modulated paths, while lower mirrors remain binary. nSolenoids is at least 48 even without custom coils, so modulated changed-solenoid polling includes 45-48. The binary all-solenoids representation is 64 bits and cannot represent custom outputs 65-72; use direct or modulated paths if an exact ROM allocates them. Unmapped addresses require a per-game disposition; API capacity is not fitment evidence.

LED lamp, GI and flasher channels

pinmame.output.lamp

Lamp
Legal addresses
  • 1 … 272272 slots
Transports
  • libpinmamechannel=lamp
  • controller_plugingroup_id=3 · contract_revision=46e1a01a0f73
Technical details for LED lamp, GI and flasher channelsSource-derived address behavior and exceptions

Public lamp n is Light Reference n and internal matrix/physical-output index n-1. Each game rounds its declared highest Light Reference up to a whole eight-channel block: 168 Ghostbusters, 80 Whoa Nellie/Primus/Pabst, 272 Game of Thrones LE/Pro, 176 KISS, 104 WWE, 112 Heavy Metal, 136 Supreme/Spider-Man The Pin, and 64 Transformers The Pin/Avengers The Pin. Padding and absent references are address slots, not proof of fitted emitters. The driver visits at most 256 ROM LED entries. It exports references from 1 through that game's padded limit, excluding entries whose class includes motor-drive bit 0x08; Light Reference 0 is also omitted. GI and flashers are LED channels in this group; nGI is zero and no separate GI group is exported. RGB emitters use three ordinary channels; do not infer channel color or quantity from consecutive numbers alone. Preserve individual channels with unique IDs and establish shared-emitter/color metadata from the game's own manual or exact table evidence. LED levels are linear values 0-255, with node-model fade timing; physical-output mode exposes the stored level divided by 255 in the plugin and byte levels through LibPinMAME, while binary mode reports any nonzero level as on. A documented physical motor can therefore be absent from the public lamp export even when the subsystem uses its LED channel internally.

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 13 machines