Skip to content

SW SuchiePai

Takashi Toyoshima edited this page Aug 22, 2021 · 3 revisions
Byte\bit bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
0 TEST TILT1 TILT2 TILT3 - - - -
1 (*1) SERVICE (*1) (*1) (*1) (*1) (*1) (*1)
2 - - - - - - - -
3 - - - - - - - -
4 - - - - - - - -

(*1) See mahjong matrix below.

mahjong matrix

output value\bit bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
0x40 A - E I M KAN START -
0x20 B - F J N REACH - -
0x10 C - G K CHI RON - -
0x80 D - H L PON - - -

JVS spec provides an example sw map for mahjong games. It maps all mahjong buttons into a sw table together. But naomi uses a different table that is quite similar way to the legacy mahjong standard harness does. As a result, you can easily create JVS to Mahjong harness bridge with wiring for inputs and quad inverters for outputs.

Only Byte 1 line is used to report buttons, but the line has different means depending on the output value to the general purpose output (kCmdDriverOutput of jvsio library). It should be on-hot value, and the value and report follows the matrix above.

Clone this wiki locally