The response to the first packet is "@***", The second response should be "&[8 digit number]" and the number was used in the calculation about USB Key CVKEY files, so it might be a unique ID for each IO board and USB key pair. A JVS emulator won't be that easy to make, since the protocol might use data from USB key as encryption key. An in-memory hook for its input routines might be a better solution.
In-game JVS errors
4001 Serial port not found, or wrong data read from serial port
4003 Initial handshake with serial port failed
4004 ???
4006 ???
EDIT: The serial input packages are of at least 5 types, starting with ASCII 'P', 'S', 'Q', 'R' and '!'.
Command "!!!" should be a heartbeat signal and is detected by the game every 6 seconds.
Command 'S' inserts coin.
1p
51 00 no key
51 80 start
51 01 button 1
51 02 button 2
51 04 right
51 08 left
51 10 down
51 20 up
51 40 service
2p
52 00 no key
52 80 start
52 01 button 1
52 02 button 2
52 04 right
52 08 left
52 10 down
52 20 up
52 40 service
50 00 test switch up
50 FF test switch down