Code: Select all
[perole@localhost jvsmon]$ ./jvsmon
Broadcast, reset state of slave
Broadcast, reset state of slave
Broadcast, looking for I/O board 1
Acking 1 requests, status: 1
I/O board register
Request packet to node 1 Request I/O ID
Acking 1 requests, status: 1
ack I/O ID:
SEGA ENTERPRISES,LTD.;I/O BD JVS;837-13551 ;Ver1.00;98/10
Request packet to node 1 Requst command format revision
Acking 1 requests, status: 1
ack commandrev: 1.1
Request packet to node 1 Requst Jamma revison
Acking 1 requests, status: 1
ack jamma revision: 2.0
Request packet to node 1 Requst communication version
Acking 1 requests, status: 1
ack communications version: 1.0
Request packet to node 1 Unknown request 1
0|
14|
It basically works like this:
rs-485, 115200kbps half duplex, game is master, i/o boards slaves. Game constantly sends requests to i/o board, which replies back with status of input switches, coins, and in the case of naomis analog inputs:
Code: Select all
Request packet to node 1 |SW input req- 2 players 2 bytes pr player|Coin input request|Analog input Request 8 channels
Acking 3 requests, status: 1
ack 1 switchstate
0| 1| 2| 3| 4|
0| 0| 0| 0| 0|
ack 2 coininput
0| 1| 2| 3|
0| 0| 0| 0|
ack 3 analog input
0| 1| 2| 3| 4| 5| 6| 7| 8| 9|10|11|12|13|14|15|
14| 0|14| 0|14| 0|14| 0|15| 0|15| 0|15| 0|15| 0|
http://www.jamma.or.jp/siryou/siryou02/JVST_VER3.pdf
Struggling a bit with command 14, on page 21 - if anyone here reads Japanese, a translation would be great.
If anyone wants to help, all you need is a RS-485 to USB converter, I got mine on ebay for 20USD
