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
    Last edited: Jul 3, 2014
  2. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    If you mean the ability to burn discs that will boot on an unmodified retail system then no. What it does do is provide a method that could be used to make a modchip or CD emulator that could simply be plugged into the MPEG card slot and which wouldn't even need you to open the console to install it.
     
  3. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    Ok didn't understand it checked wobble and such, i thought it was more a matter of sessions/burning it in a certain way...

    In any case compliments, not having to rely on ancient and difficult to recover and repair cd drives is a great news! Hope the project will move forward
     
  4. MetalliC

    MetalliC Spirited Member

    Joined:
    Apr 23, 2014
    Messages:
    156
    Likes Received:
    127
    it is true in the case if code is 100% bugless, secured and exploit-free. if not - there is always a chance to exploit prot.check by some weird input data ;)

    PS: thanks for impressive work!
    whats next ? maybe MCUs used in GD-ROM ? ;)
     
  5. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    Booting of burned discs on an unmodified console is most definitely possible, even before this discovery but still requires a custom bootloader and specially crafted discs.
     
  6. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,034
    Likes Received:
    891
    This statement is repeated over and over on the internet with no proof whatsoever that it has been done or that it's possible. Please consider releasing publicly any tangible info you might have on that topic.
     
  7. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    Sure, I'm currently just cleaning up my code on a proof of concept and I'll be releasing it on github probably by the weekend.

    As for info. Basically the way to think of it is, normally on any disc you have to send a request to the CD block to authenticate the disc before it allows access beyond the first 16 sectors. How it works depends on the type of disc, and jhl probably has more knowledge in that area. Anyways, one thing I noted some time ago was that VCD's, photo cd's, etc. didn't appear to have any special checks. I mean you could easily play them on the system. So I spent a bunch of time coding up tools and trying to authenticate different discs and see what the result was. I eventually discovered that by just changing the first 16 bytes of a saturn disc to some other string you could authenticate and unlock without a ring check. After that, it was basically just a matter of writing a boot loader which I'm currently running off an Action Replay.
     
    Last edited: Jul 3, 2014
  8. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,034
    Likes Received:
    891
    I like what I read! You exceeded my expectations sir!
     
  9. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    Sure. You could patch the BIOS too. Assuming that games don't check their own authentication status (and why would they bother?). One wonders why nobody's done it before now? You could've sold thousands back in the day.
     
  10. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    Yeah, pretty much. You just need to be able to run your own code. Of course the whole point is doing it on an unmodified console. And doing it through cart is probably the easiest and most accessible.

    I've never seen secondary authentication checks, but yeah if they had done that at the very least it would've made the concept more annoying to implement. And yeah, when I discovered this hole I was pretty shocked too that nobody ever thought to make their own special cart like a st-key like device.
     
  11. Goemon

    Goemon AG Member since 2005!

    Joined:
    Feb 4, 2013
    Messages:
    584
    Likes Received:
    17
    Well i am in for the SD Slot solution.
    Honestly, 32GB is a lot and should be enough for most people. Would a 64GB SD Card also work?

    The SSF Emulator which has a chart saying that the CD BLock ist just 85% emulatated.
    Would your dump help in that case to reach 100%?
     
    Last edited: Jul 4, 2014
  12. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    As usual i might have misunderstood, but the idea is to trick the saturn by telling it a disc is i.e. A photo cd so that it skips a part of the autentication process?

    If that is the trick just modding a disk image would work? Or it would work like the sega saturn system disc i have home that temporarily flashes the bios until machine is shut down?
     
  13. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    In a sense, yes. Basically the idea is to make the Saturn think it's not a Saturn disc, but an ordinary data or mixed mode cd. In it's current implementation I have a tool that patches the first 16 bytes of a disc image that you have to burn to disc.
     
  14. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    So throught patching any and all isos or homebrew could just boot or it would need a code injection too along with the 16bit patch?

    I mean a 16 bit patch plus a special iso preloader?

    Btw i feel proud i did understand a bit of it lol
     
  15. PrOfUnD Darkness

    PrOfUnD Darkness Familiar Face

    Joined:
    Mar 13, 2004
    Messages:
    1,121
    Likes Received:
    48
    This thread is becoming amazing!
     
  16. rso

    rso Gone. See y'all elsewhere, maybe.

    Joined:
    Mar 26, 2010
    Messages:
    2,190
    Likes Received:
    447
    What it sounds like to me: You have to patch each CD image to make the CD block think it's not a Saturn CD (to get around the security ring checks); you also use an Action Replay code or some kind of "chip" (more of a dongle, really) that plugs in the back and makes the Saturn think the "not-a-Saturn"-Saturn-CD is a Saturn CD once again (so it plays the game - duh.). In short, you need both components for it to work.

    How far am I off the mark?
     
  17. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,311
    Sounds about right.
     
  18. jhl

    jhl Spirited Member

    Joined:
    Jul 29, 2013
    Messages:
    103
    Likes Received:
    116
    Plugs in the top, in the cartridge slot. Could you also work a switchable DRAM cart functionality in there? Might get expensive though, I found suitable DRAM parts are getting rather hard to find when I was considering building a USB-cart.
     
  19. rso

    rso Gone. See y'all elsewhere, maybe.

    Joined:
    Mar 26, 2010
    Messages:
    2,190
    Likes Received:
    447
    Thanks for the clarification. Yeah, and many people probably want to be able to keep using their RAM extensions; I guess focussing on an AR-based solution would make the most sense because of that.
     
    Last edited: Jul 5, 2014
  20. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    Yeah, pretty much sums it up. And as already mentioned, it'd have to be an AR or equivalent cart that can execute its own code. For example, you could probably use a Saturn USB dev cart. And yeah, you need both components to work since an unmodified bios won't boot any discs that have been patched using this method.

    By the way jhl, I was going to ask you, could you possibly elaborate on the functions of CD Block commands 0x55 and 0x56? Like what exactly does it do with the selectors and what the command format is? Also what's the command format for 0xFF? Basically I'd like to complete the documentation on Yabause's wiki.
     
    Last edited: Jul 5, 2014
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page