don't click here

New Transfer Cable Protocol

Discussion in 'Engineering & Reverse Engineering' started by Mask of Destiny, Oct 12, 2005.

Thread Status:
Not open for further replies.
  1. Mask of Destiny

    Mask of Destiny

    Tech Member
    87
    0
    6
    This is a preliminary protocol definition to be used with my Sega CD (and soon Sega Saturn) transfer cable. Not all features are likely to be implemented immediately (if at all), but I wanted to think ahead. It's not 100% complete (some commands need further definition, a section on timeouts needs to be added and initial sync needs to be dealt with), but it's pretty close to final. I'm thinking about making checksums on data packets optional for speed reasons or maybe even completely eliminating them. Generally speaking, once synchronized I haven't had many problems with data integrity, though that might change now that I'm using more efficient handshaking (thus speeding transfers).

    I'd like to get some input from other developers on what they would like to see in the protocol. I'd like to make the protocol more accessible to developers and structured so that different developers can make interoperating utilities and generally make the associated tools more useful.
     

    Attached Files:

  2. Heran Bago

    Heran Bago

    Ah! It's Puyo battle then. Tech Member
    Could you give a brief explanation of what this is, for us non-devs who have no idea at all?
     
  3. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    This is how his transfer cable works.

    My only gripe is that you're planning on using the Saturn controller port when the Saturn's serial port is available. It's a shame for the SH-2s to have this wonderful serial bus and waste it.
     
  4. Qjimbo

    Qjimbo

    Your friendly neighbourhood lemming. Oldbie
    Does this means we'll be able to make ram carts and play back roms through real hardware without using a rom copier? Or am I just hoping for too much? ^_^
     
  5. Mask of Destiny

    Mask of Destiny

    Tech Member
    87
    0
    6
    The transfer rate using the controller port will be higher than using serial and the serial port requires more parts. Seems like a no-brainer to me.

    That said, if someone wants to make their own Saturn serial cable I could probably be convinced to make a modified version of the software/protocol to support it.

    You could have done this before witht the old transfer software (well at least the version I had before the hard drive wipe). The only thing preventing it then was the 64KB transfer limit (which was eliminated in my unreleased version). The virtual drive functionality is primarily there for a sort of Sega CD browser functionality.

    Well it's not too useful if you're not a developer. Basically it's a description of a new protocol to use with my Sega CD transfer/dumping cable. The new protocol makes it easier to do some interesting stuff (make a version of SLO that can read files off the host computer, make a Sega CD webbrowser, etc.).
     
  6. Qjimbo

    Qjimbo

    Your friendly neighbourhood lemming. Oldbie
    Wow! How did you manage that? I might seriously start building one of these cables now and get a MegaCD.

    :worship:
     
  7. Mask of Destiny

    Mask of Destiny

    Tech Member
    87
    0
    6
    Well the 64KB limitation was a limitation in the transfer software not a limitation of the hardware. I had been lazy and used a dbra instruction for the receive loop which limited me to 65,535 iterations. I basically just made a version that did multiple 64KB transfers until the whole thing was done (the cart dumping software already did something like this).
     
Thread Status:
Not open for further replies.