Deathsmile II

Discussion in 'Arcade and Supergun' started by yksoft, Jul 15, 2014.

  1. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    Does anyone has picture of its JVS interface?
    What I know about that is it uses Direct3D 9 and XAudio, has an USB to serial convertor known to its XPE OS as COM3 and COM4.
    Its dongle is just a standard USB flash drive without any special drivers.
     
  2. Shou

    Shou Gutsy Member

    Joined:
    Nov 13, 2009
    Messages:
    465
    Likes Received:
    5
    I just sent one out for repair but it is a custom sub board that connect to a USB header.
     
  3. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    With a Renesas USB to serial chip if my analysis was correct.
    I've heard that it does run with a Type X JVS board however the game program has extra JVS verifications that aren't used in Type X games.
     
  4. Jackalus

    Jackalus Robust Member

    Joined:
    Jan 22, 2011
    Messages:
    237
    Likes Received:
    23
    I believe arcademodbios has some kit for sale that allows you to run it on Taito Type X2.
     
  5. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    I did get it running without jvs, however it seemed that no JVS emulators could be used on this..
    IMG_2489.jpg
     
  6. vectrex_rox

    vectrex_rox Enthusiastic Member

    Joined:
    Oct 11, 2008
    Messages:
    584
    Likes Received:
    1
    yes it runs on type x but has glitches
     
  7. Jackalus

    Jackalus Robust Member

    Joined:
    Jan 22, 2011
    Messages:
    237
    Likes Received:
    23
    haha 1 byte patch :D Well make your own JVS emu.
     
  8. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    It's 7 bytes in fact.
    Someone with a Type X system already tried this but the game hangs with a JVS error 4003. Cave must used some custom protocol in their JVS board, and as no save files are found anywhere in CF card and USB key it might even store hi-score data within IO board.
     
    Last edited: Jul 22, 2014
  9. MetalliC

    MetalliC Spirited Member

    Joined:
    Apr 23, 2014
    Messages:
    155
    Likes Received:
    127
    here is it

    [​IMG]

    on logic level it is "JVS Host": as COM3 it have custom commands input, and output standard JVS commands to (standard) JVS board.

    if you REd cave's custom protocol and want to make JVS emulator - https://github.com/zxmarcos/ttx_monitor can be useful to you.
     
  10. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    The game sends packet 40 2A 2A 2A and 26 2A 2A 2A to COM3 (38400 bps) on cvgame.exe start. If no response there will be a JVS error 4003.
     
  11. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    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
     
    Last edited: Jul 25, 2014
  12. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    I think I would need to get help from someone familiar with Windows hooks...
    Clipboard05_zps962e2717.png
    [​IMG]
     
  13. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    Note that the Player Controls command is only sent when the button status changed.
     
  14. kzd

    kzd Spirited Member

    Joined:
    Oct 26, 2012
    Messages:
    121
    Likes Received:
    16
    Maybe soyandroid would be of some help with this? He seems to be quite familiar with Windows-based hardware ;)
     
  15. yksoft

    yksoft Member

    Joined:
    Jul 15, 2014
    Messages:
    18
    Likes Received:
    11
    I already made a loader by forking Romhack's EX-board xb_loader. However it's not allowed to discuss such things here I think.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page