Command list - TheOnlyJoey/openjvs GitHub Wiki
Command packets consist of the following:
sync (0E) | destination address | length of data + checksum | data byte 1 | data byte 2 | ... | data byte N-1 | checksum |
Commands marked as 'required' must be implement to conform to the standard. The rest can be left unimplemented, support is indicated by the reply to command 0x14 'get slave features'.
ID | Required | Description |
---|---|---|
broadcast commands (meant for all active nodes, sent to node ID FF) | ||
F0 | x | reset |
F1 | x | set node address |
F2 | set up communications | |
initialization commands | ||
10 | x | read ID data |
11 | x | get command format revision |
12 | x | get JVS revision |
13 | x | get supported communications versions |
14 | x | get slave features |
15 | convey ID of main board | |
I/O commands | ||
20 | read switch inputs | |
21 | read coin inputs | |
22 | read analog inputs | |
23 | read rotary inputs | |
24 | read key code input? | |
25 | read screen position input (duckhunt gun style) | |
26 | read general-purpose (unrelated to player) input | |
2e | something with payouts? | |
2f | x | request to retransmit data in case of checksum failure |
30 | decrease number of coins | |
31 | output the number of payouts? | |
32 | general-purpose output | |
33 | analog output | |
34 | output character data, e.g. to LCD | |
35 | output the total number of coins? | |
36 | subtract payouts? | |
37 | general-purpose output 2 | |
38 | general-purpose output 3 | |
Manufacturer-specific | ||
60-7F | reserved for manufacturer-specific commands |