Saturn CD Block ROM dumped

Discussion in 'Sega Saturn Programming and Development' started by jhl, Jun 30, 2014.

  1. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    I'll have to get back to you on 55/56, I haven't untangled all the relevant yet, and have no hardware to test on here. Meanwhile, in CDB105:

    FF00: returns CR3:CR4 as CR1:2, CR3:4 (no side effects)
    FF01: returns 8 RAM bytes from F000000 (start of SH-1 SRAM)
    else: returns zeroes

    Presumably it used to do more. The first half of the RAM locations (CR1:CR2) are likely blank, as the location referenced is only used in debug mode (which prevents multitasking/command mode from even starting). The latter half (CR3:CR4) contain a ROM checksum (DWORDwise sum), which would be interesting to catalogue if one couldn't dump the ROM. By my calculations (`perl -e 'undef$/;printf"%08X\n",unpack("%32L>*",<>)'`) a CDB105 has a sum of zero, and a YGR022 has 0x00000080.
     
  2. petterk

    petterk Spirited Member

    Joined:
    Dec 30, 2011
    Messages:
    137
    Likes Received:
    11
    Great work! Keep it up! Deunan is working on a drive-replacement for the Saturn. I bet he would love to see this information aswell.
     
  3. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    Prototype board (with USB and microSD) is taped out today, and I've got some of the CDB strapped into an emulator rig now. Progress...
     
  4. caius

    caius Rising Member

    Joined:
    Jul 17, 2007
    Messages:
    66
    Likes Received:
    5
  5. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    It's not a race... there are at least 3 different devices with quite different characteristics in the mix here. It makes me very happy to see such a healthy ecosystem. It does seem curious that all this has appeared in the last year after a fairly long hiatus, though - am I just missing what's been happening in between?
     
  6. caius

    caius Rising Member

    Joined:
    Jul 17, 2007
    Messages:
    66
    Likes Received:
    5
    Probably the Sega Saturn is getting very older and need really new organs...:)
    Joking part, I think this flourishing is due the introduction of programmable logical devices like CPLD and FPGA.
     
  7. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  8. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    Alright, no problem. By the way, if you need something tested, let me know. I'm setup for code testing and I have code for issuing out custom CD block commands, etc.

    So I'm trying to understand 0xFF, so basically with a 0xFF00 write to CR1, and CR3-CR4 write as well? Then data returned to CR1 and CR3? Or am I misunderstanding? And I guess 0xFF01 doesn't take any additional data from the other command registers.

    Interesting, I guess the checksum comes in handy for doing QA testing.

    Yeah, I don't see why people think there needs to be some kind of competition. If anything, I think it's great that there's so many people still seriously working on Saturn hacking. I won't deny I was pretty discouraged to see how big of a ghost town places like SegaXtreme or Yabause's forum have gotten lately. Nice to see there's people still busy. Also, I think it tends to come in cycles. I noticed already way back when I first got into Saturn hacking (in like 2001 or so) you'd see several talented people come in, do some awesome stuff, then move on. I'd say the cycles tend to be around 2-4 years for most.
     
    Last edited: Jul 6, 2014
  9. cafealpha2

    cafealpha2 Site Supporter 2015

    Joined:
    Jul 4, 2014
    Messages:
    280
    Likes Received:
    20
    You forgot :
    3. the people who have the necessary knowledge for such projects are busy with family or real work
    :)


    To jhl:
    Do you know if it is possible to load custom code from custom MPEG cartridge to SH1 CPU without Saturn motherboard modification ?
     
  10. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    Yes, that's what's going on in this picture:

    [​IMG]

    A real MPEG card is combined with a USB interface to take over the SH1 (and then, in this case, dump it over USB). The card is just in the MPEG slot, the only motherboard connections are me debugging.

    In essesnce, that's the board I'm putting together now, just with lots more shiny features :)
     
  11. cafealpha2

    cafealpha2 Site Supporter 2015

    Joined:
    Jul 4, 2014
    Messages:
    280
    Likes Received:
    20
    Basically, is the board on the picture as described on the diagram below ?
    20140707.png
    And can you remap SH-1 ROM to another address while mapping USB instead of SH-1 ROM ??
    Please let me know if I am completely wrong :)
     
  12. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  13. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    It is more or less that board (though that diagram doesn't match the Saturn exactly), and you can map in as much as you like. There are three available chip selects before you even need glue.


    That box, if it's meant to represent the MPEG card, should have ~512kb ROM, 512kb RAM, an MPEG audio and an MPEG video chip.
     
  14. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  15. HI_Ricky

    HI_Ricky Intrepid Member

    Joined:
    Jun 7, 2007
    Messages:
    650
    Likes Received:
    187
    today hardware is easy way to emu CD-Laser streaming
    than just do samething look like Saturn dev , use retail hardware to mod , it should work
     
  16. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    Really? Interesting. The Saturn itself checks the 512kb before allowing the MPEG ROM to boot, actually. Luckily they're crap at random numbers...
     
  17. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    It'd be very appealing to plug something in and be able to run games off SD or some other type of storage. Maybe it would motivate more translations of games.

    An exploit in how discs are authenticated and loaded would also be impressive. It reminds me of the PS2 and the exploit where you patch games to look like DVD movies.
     
  18. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    That would be awesome. Off-topic: What would help with translations is better tooling for debugging (CyberWarriorX has made major contributions). Booting without having to burn a CD is a bonus.

    The mere fact that we can now improve the documentation for CD-block is amazing.
     
  19. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  20. gmipf

    gmipf Active Member

    Joined:
    Sep 8, 2013
    Messages:
    34
    Likes Received:
    0

    I have a JVC RG-VC3. How I can check the ROM and RAM size?
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page