VIDEO SMK-1 poker add-on

From NeoGeo Development Wiki
Jump to navigation Jump to search

The VIDEO/SMK-1 poker add-on is an unidentified board fitted between an arcade cabinet harness and an MVS motherboard. It contains a separate processor, program ROMs, RAM and video circuitry, and runs a five-card video-poker program independently of the NeoGeo's game software. The board revision documented here is marked VIDEO/SMK-1 C and supports an external numeric membrane keypad connected to CN3.

VIDEO/SMK-1 is used here as a descriptive board identifier, not as an established game title or manufacturer attribution. No commercial title, developer credit or manufacturer signature has been identified in the readable ROM text. The presence of "SMK" in the PCB marking, and of NeoGeo game logos in its graphics, does not establish an association with SNK.


Hardware

Item Hardware information
CPU architecture 16-bit x86, compatible with the 8086 instruction set; exact processor model and operating clock not established
Program storage Two 27C020-class EPROMs, IC7 and IC8, 256 KiB each
Additional ROM IC25, 27C040-class, 512 KiB; supplied as the sound ROM
Graphics A 320 × 200, 8-bit indexed framebuffer is used by the examined software
External controls Cabinet inputs, four DIP inputs and a keypad connection at CN3

A two-connector harness assembly is used in one documented installation. Compatibility with every MVS model has not been established as JAMMA connector pinout assignments differ, particularly for audio and service functions.

The PCB contains a Lattice ispLSI 1032E programmable logic device, an Analog Devices ADV476KP35 palette RAM-DAC, static RAM, EPROMs, discrete logic and a MAX691-family supervisor. A rechargeable backup battery is fitted on at least one board. The detailed schematic and the contents of the programmable logic have not been recovered.

The ADV476 provides a 256-entry colour lookup table with six bits per RGB component, consistent with the palette data written by the program. Its identification does not imply VGA output timings: the board's complete raster timing and synchronization circuit remain to be measured.

The poker graphics are generated by this subsystem rather than by a NeoGeo cartridge's C-ROM or S-ROM. Experimental execution of the add-on's program can produce the table, cards and menus without executing the MVS motherboard software. The electrical switching or mixing of the add-on and motherboard video signals has not yet been fully traced.


Program and memory organization

The two program EPROMs reconstruct into a 512 KiB byte stream as follows:

program[2*n]     = IC7[n]
program[2*n + 1] = IC8[n]

IC7 and IC8 are the socket identifiers. Handwritten NG1/NG2 labels occur in different socket order between the supplied sets and should not be used to infer byte order. The following address map is supported by disassembly and experimental execution. It is not a complete hardware decode map; mirrors and untested regions may exist.

Address / convention Observed use
Physical 80000–FFFFF Reconstructed program ROM window
Physical FFFF0 Reset vector; a far jump to 8800:0000
Physical 88000 Main entry point; file offset 08000
DS = ES = SS = 0040 Segment setup used by the program; RAM offsets in this article are relative to physical 00400
Physical 10000–1F9FF 64,000-byte framebuffer used for the 320 × 200 display
Interrupt vector 2 NMI handler; normal handler entry at 8800:006C

The program uses periodic NMI processing to sample inputs and update internal state. The physical interrupt source and its exact frequency have not been established. A writable persistent-data area holds settings and accounting values; cold-start behavior differs depending on whether that area contains valid data.

I/O ports

Port Direction Observed software use
08 Write Board control output; individual electrical functions not fully traced
0A Write Board control output, including state changes associated with display selection
0C Read Player 1 controls
0E Read Four DIP inputs in bits 0–3; keypad/auxiliary inputs in bits 4–7
10 Read Coin and service-related inputs, including the input labelled SWITCH
12 Read Keypad and auxiliary inputs
20 Write Written during interrupt handling; exact hardware function unresolved
30 Write Palette write address
34 Write Palette component data, six bits per component

All port numbers above are hexadecimal addresses in the add-on CPU's I/O space. They are not NeoGeo 68k memory-mapped registers or physical connector pin numbers.


Video-poker program

The software displays five cards, a stake, credits, winnings and HOLD indicators. Captures also show a LOW/HIGH gamble presentation. The displayed pay table includes high pair, two pairs, three of a kind, straight, flush, full house, four of a kind, five of a kind, straight flush and royal flush. The presence of "five of a kind" in the table alone does not establish the deck composition or wildcard rules.

Two presentations have been reproduced:

  • A dedicated blue poker table, with a pay table and large cards.
  • Backgrounds bearing the logos of Blazing Star, Kabuki Klash and Sonic Wings 3, with small card and counter overlays.

The second presentation makes the poker overlays less prominent than the large arcade-game graphics. This is consistent with a possible concealment function.


Graphics resources

Four full-screen backgrounds have been extracted from each program set. Each consists of 64,000 indexed pixels. The offsets below refer to the reconstructed program file, not to an individual EPROM or a CPU segment offset.

Background Set 3.0 offset Set 4.1 offset Palette index
Blazing Star 139E8 13B08 1
Kabuki Klash 233E8 23508 1
Sonic Wings 3 32DE8 32F08 1
Poker table 427E8 42908 4


Palette 1 begins at file offset 09332 and palette 4 at 09C32 in both sets. Each palette contains 256 RGB triplets, with component values from 0 to 63. Cards, text and status indicators are drawn separately from the backgrounds.


Keypad and inputs

A twelve-key membrane keypad connects to CN3 by a flexible printed tail. The keys are arranged as follows:

1  2  3
4  5  6
7  8  9
*  0  #


Software key assignments

At the CPU interface, the ten numeric keys appear as separate active-low bits spread across two input ports. The sampled key bits are inverted before the program uses them, so an active key is represented internally as 1.

Key Port Bit Mask
0 12 0 01
1 12 3 08
2 12 2 04
3 0E 6 40
4 12 6 40
5 12 5 20
6 12 7 80
7 0E 5 20
8 0E 4 10
9 12 4 10

In set 4.1, the inverted port 12 byte is stored at DS:1B13. The inverted upper nibble of port 0E is stored at DS:1B14. The lower nibble is stored without inversion as the DIP value at DS:1AEA. Corresponding set 3.0 offsets are 1A2F, 1A30 and 1A06.


CN3: partial physical assignment

CN3 has thirteen contacts. The A–M labels below are research labels, not factory numbering or JAMMA contact letters. Viewed from the component side, A is the end nearest the adjacent white two-contact header; M is the end nearest the CN3 legend. These provisional assignments are based on measurements and input tests on one board and require independent confirmation.

Research label Reported assignment
A +5 V
B Numeric key 6
C Numeric key 9
D Unresolved
E Numeric key 0
F Numeric key 8
G Numeric key 5
H Numeric key 2
I Unresolved
J Numeric key 7
K Numeric key 4
L Numeric key 1
M Ground

The physical assignment of key 3 remains unknown: no response was obtained during the initial input tests. D and I must not be assigned to key 3, * or # merely by elimination.

Earlier continuity reports associate F, I and J with IC34 pins 14, 11 and 13. If IC34 is correctly identified as a 74HC541 and those connections are direct, these are output pins, creating an unresolved conflict with a simple input-only interpretation (see Texas Instruments: SNx4HC541 data sheet, pin configuration and functions).


DIP switches

The following values are the raw 0/1 states shown by the input diagnostic. The mechanical ON position has not been correlated with those levels.

DIP Software function
1 and 2 Select one of four accounting-based gain-regulation thresholds
3 0: arcade-logo backgrounds and small cards; 1: dedicated poker background and large cards
4 0: permits a startup reinitialization sequence when the required auxiliary inputs are held; 1: inhibits that sequence

DIP 1 and DIP 2

DIP 1 DIP 2 Selected threshold
0 0 50%
1 0 55%
0 1 60%
1 1 65%

The program indexes the table with DIP & 03. A routine compares a percentage of the accumulated input accounting value with the accumulated output value. The arithmetic uses packed BCD; the removal of one low-order byte implements division by 100, not division by 256. The routine's threshold behavior has been checked immediately below, at and above all four boundaries in both original program sets.

These settings are not the probability of winning an individual hand, and the routine-level result is not a measurement of the game's long-term return. The relevant routines start at file offsets 10009 in set 3.0 and 10138 in set 4.1. Their threshold tables are at 0189A and 0197E, respectively.

DIP 4

DIP 4 is tested in a startup path requiring two additional active inputs. When permitted and completed, that path clears persistent data and restores defaults. Changing DIP 4 alone does not trigger reinitialization. The physical assignments of the auxiliary inputs have not been established; the sequence can affect settings and accounting data.

Accessing the poker program

The original program accepts a six-digit numeric sequence to enable the poker display. Both documented sets recognize the fixed sequence 195701, in addition to a configurable access code. This behavior has been verified by executing the unmodified ROMs with simulated keypad inputs.

Normal code entry

  1. Start the board in a compatible cabinet installation with the keypad connected.
  2. Ensure that the external input labelled SWITCH is in its active state. At the CPU interface this is bit 7 of I/O port 10, active low. Its physical switch arrangement and connector assignment are unresolved.
  3. Enter 1 → 9 → 5 → 7 → 0 → 1, releasing each key before pressing the next.
  4. Use the normal credit and game controls once the poker display is enabled. An arcade-logo background may remain visible in the selected presentation mode; code entry does not necessarily produce the blue poker table immediately.

The dedicated poker presentation is selected by DIP 3 = 1 in the input diagnostic. Enabling the display does not itself add credits.

The numeric sequence alone is insufficient if SWITCH is inactive: the program can restore the hidden state immediately after a valid code. A software timeout also returns the display to the hidden state.

Configurable code

The default configurable code is 123456 after initialization to the analyzed defaults. A previously configured board may contain a different value in persistent RAM. The fixed 195701 check is separate from the comparison with that stored value.

Repeated incorrect input is not harmless. In the analyzed path, the nineteenth entered digit without the counter being cleared invalidates the stored configurable code and resets a startup-combination setting. This is a digit counter, not a counter of nineteen complete six-digit attempts.

Partial CN3 correspondence

Using the provisional A–M contact labels in the CN3 table, the fixed sequence corresponds to:

Digit:         1  9  5  7  0  1
CN3 label:     L  C  G  J  E  L


Service and accounting

The original program contains numeric access checks, an input diagnostic labelled I O CHECK, programming screens and accounting displays. An input labelled SWITCH is involved in keeping the poker display enabled, and a software timeout can return it to a hidden state. The input diagnostic displays the four DIP states, ten numeric-key states and cabinet controls. Set 4.1 also contains an additional accounting-display routine with Italian labels. That routine has been rendered by explicitly calling it with prepared state; this does not establish how, or whether, an operator could reach it through the normal controls.


ROM identification

The following hashes identify the two documented ROM sets. Sizes are in bytes; these are identification records, not download links. IC25 is identical in both sets.

Set Socket / EPROM label Size CRC32 SHA-1
3.0 IC7 / NG2 262,144 e8f5dfce 756e506aea2a436db2a24e8ba337bc1fb42dd715
3.0 IC8 / NG1 262,144 7befc8e4 9ece4453600c59b05053cefd8144f3de6b291e57
3.0 IC25 / NG1 524,288 89291fe6 f729e6b90a98151ff64baa1d852137a86bd0ef93
4.1 IC7 / NG1 262,144 ce1f303c 8563ba217357857d0bc49cc64426406fa12a2f9b
4.1 IC8 / NG2 262,144 b85575e5 4fcda845c8e1b6c843cfe0a1f9b06df806325a7d
4.1 IC25 / NG1 524,288 89291fe6 f729e6b90a98151ff64baa1d852137a86bd0ef93

Origin and dating

Both sets contain the Italian phrase "FUORI SERVIZIO". Set 4.1 additionally contains "ENTRATI TOTALE" and "USCITI TOTALE" in accounting resources. These support an Italian-language market or development connection, but do not establish the country of manufacture, supplier or programmer.

The Blazing Star graphic provides a dating clue: SNK dates that game to 1998. An ordinary inference is that the ROM editions incorporating that artwork date from 1998 or later. This does not date the original circuit design or establish when a particular board was assembled. No manufacturer attribution or contemporaneous product name has been established. This article documents technical behavior; it does not determine the legality of manufacturing, distributing or operating a particular installation, or the authorization status of the embedded artwork.