• Rise from your gwave!

USB dev cart project

Discussion in 'Saturn Dev' started by antime, Mar 24, 2012.

  1. cafe-alpha

    cafe-alpha Member

    > Is this forum still active?
    Yes.
     
  2. antime

    antime Extra Hard Mid Boss

    I updated the cartridge firmware to take advantage of DMA when transferring data to the Saturn. When uploading to workram-L, the speed increased from about 320KB/s to 430KB/s, and when uploading to workram-H the speed increased from about 370KB/s to 590KB/s. I also added a "run" command to the ftx tool, which calls the specified address without having to upload anything.

    The code is available on GitHub.
     
  3. vbt

    vbt Staff Member

    great  job antime ! :cool:
     
  4. cafe-alpha

    cafe-alpha Member

    An update nearly 3 years after initial release oO Thank you antime !

    USB dev cart is now something like 25 times faster than Action Replay ! :banana:
     
  5. antime

    antime Extra Hard Mid Boss

    I was bored... In practice the difference isn't really noticeable, since the uploaded files are so small.
     
  6. cafe-alpha

    cafe-alpha Member

    Yes, it's something like filling both hram and lram takes something like 5 seconds instead of 6 seconds ... but :D

    Edit : I prepared your new firmware for my USB dev cart :) I plan to use it next week or so.
     
  7. cafe-alpha

    cafe-alpha Member

    Oops, I forgot to reply to this thread :

    (420 KB/s with non-DMA transfer code)

    Speed difference isn't really noticeable, but good job anyway :]
     
  8. mrkotfw

    mrkotfw New Member

    What is the licensing on the ftx tool?
     
  9. antime

    antime Extra Hard Mid Boss

    2-clause BSD (the license text is the first thing in the source file).
     
  10. mrkotfw

    mrkotfw New Member

    Ow, how embarrassing.

    I have that habit of looking for the LICENSE file and not looking at the source files.

    Thanks.
     
  11. mrkotfw

    mrkotfw New Member

    Using FT D2XX library, would there be any reason as to why reading intermittently blocks despite setting the RX timeout to a low value?

    I set the USB in/out payloads to the same values as in antime's tool.

    Any guesses?
     
  12. vbt

    vbt Staff Member

    just dumb question, what's the way to get game saves with the usb dev cart ? i did that with old tool and my isa card and maybe it was possible with the usb data link.
     
  13. cafe-alpha

    cafe-alpha Member

    From command line :
    USB Data Link : SatLink.exe usb_data_link.ini -bs test.bin
    USB dev cart : SatLink.exe usb_dev_cart.ini -bs test.bin

    From GUI :
    Select which device to open (USB Data Link or USB dev cart) in tool bar -> "Open" menu, then click "Receive Backup Memory" in tool bar -> "Receive" menu.
     
  14. vbt

    vbt Staff Member

    nice but is there something better ? i mean you choose the game save you want to get :)
     
  15. cafe-alpha

    cafe-alpha Member

    Something like in yabause's save manager ? No, sorry.
    The only way to do this is to use both SatLink and ss-save-parser tools ...

    I can add such feature to SatLink, but I would like to know how many people are interested in such feature before coding it.
     

Share This Page