Over the years, a lot of people have come up with a lot of theories about the Saturn ring protection system. And I mean a *lot*. I've been researching this for a week and it hurt my head.
On the one hand, there is the data in the ring - pretty well understood at this point: the right timestamps in the Q subchannel and in the Mode 2 header, and the appropriate bytes for pretty EFM patterns in the payload.
On the other hand, there are a number of people who've claimed, without providing any concrete information, that the rings cannot be duplicated. [HR][/HR] I decided to do some investigation of my own.
After burning a bunch of coasters with everything down to the Q subchannel correct based on public ring data, I decided to go seek out some answers (if you'll pardon the pun) in the drive itself.
I took the drive out of my VA7 Saturn, and attached a little atmega32u4 breakout to it, to the command and status lines. Now I have a pet drive that I can control over USB, including issuing the all-important ring seeks. Here's the assembly on my stupendously messy desk:
![[IMG]](https://web.archive.org/web/2im_/http://james.laird-wah.net/sh1cd/out/img_0002.jpeg)
And here's a detail of the connection to the data bus. The green wire snakes off to control the door closed pin:
![[IMG]](https://web.archive.org/web/2im_/http://james.laird-wah.net/sh1cd/out/img_0001.jpeg)
There are two sets of power wires, because this particular drive really doesn't like having the drive motor noise on its sense-side power supply. The left wires supply the drive motors from a benchtop power supply, while the right-hand ones supply the sense and control circuitry from USB.
I then used this rig to issue seek commands to ring data as well as regular data, both on burned and real discs.
Aside from the data content, the real difference between ring and regular data is in the status responses from the drive. After completing a seek to the ring, a B6 response comes back, eg:
B6 44 F1 03 F4 35 09 09 09 09 00 XX 01
where XX is the checksum, 03 F4 35 is the address the seek hit, and B6 is the seek-complete code.
During the seek, the code B2 is returned, and the four bytes before the checksum count up from zero to various numbers. The latter two always seem to count to the same number, but the first two don't on a regular CD - they only do it for a ring. This has been documented before.
[TABLE]
[TR]
[TD] Seek on the ring:
b2 00 00 04 ad 3f 00 00 00 00 00 5d 01
b2 00 00 04 ad 3f 01 01 00 00 00 5b 01
b2 00 00 04 ad 3f 01 01 01 01 00 59 01
b2 00 00 04 ad 3f 02 02 01 01 00 57 01
b2 00 00 04 ad 3f 02 02 02 02 00 55 01
b2 00 00 04 ad 3f 03 03 02 02 00 53 01
b2 00 00 04 ad 3f 03 03 03 03 00 51 01
b2 00 00 04 ad 3f 04 04 03 03 00 4f 01
b2 00 00 04 ad 3f 04 04 04 04 00 4d 01
b2 00 00 04 ad 3f 05 05 04 04 00 4b 01
b2 00 00 04 ad 3f 05 05 05 05 00 49 01
b2 00 00 04 ad 3f 06 06 05 05 00 47 01
b2 00 00 04 ad 3f 06 06 06 06 00 45 01
b2 00 00 04 ad 3f 07 07 06 06 00 43 01
b2 00 00 04 ad 3f 07 07 07 07 00 41 01
b2 00 00 04 ad 3f 08 08 07 07 00 3f 01
b2 00 00 04 ad 3f 08 08 08 08 00 3d 01
b2 00 00 04 ad 3f 09 09 08 08 00 3b 01
b2 00 00 04 ad 3f 09 09 09 09 00 39 01
b2 48 5a 04 ad 3f 0a 0a 09 09 00 95 01
b6 48 59 04 ad 3f 0a 0a 09 09 00 92 01
[/TD]
[TD] Seek on normal track:
b2 00 00 03 ad 3f 00 00 00 00 00 5e 01
b2 00 00 03 ad 3f 01 00 00 00 00 5d 01
b2 00 00 03 ad 3f 01 00 01 01 00 5b 01
b2 00 00 03 ad 3f 02 00 01 01 00 5a 01
b2 00 00 03 ad 3f 02 00 02 02 00 58 01
b2 00 00 03 ad 3f 03 00 02 02 00 57 01
b2 00 00 03 ad 3f 03 00 03 03 00 55 01
b2 00 00 03 ad 3f 04 00 03 03 00 54 01
b2 00 00 03 ad 3f 04 00 04 04 00 52 01
b2 00 00 03 ad 3f 05 00 04 04 00 51 01
b2 00 00 03 ad 3f 05 00 05 05 00 4f 01
b2 00 00 03 ad 3f 06 00 05 05 00 4e 01
b2 00 00 03 ad 3f 06 00 06 06 00 4c 01
b2 00 00 03 ad 3f 07 00 06 06 00 4b 01
b2 00 00 03 ad 3f 07 00 07 07 00 49 01
b2 00 00 03 ad 3f 08 00 07 07 00 48 01
b2 00 00 03 ad 3f 08 00 08 08 00 46 01
b2 43 27 03 ad 3f 09 00 08 08 00 db 01
b6 43 27 03 ad 3f 09 00 08 08 00 d7 01
[/TD]
[/TR]
[/TABLE]
OK, so it's there, everyone agrees on this. But what's it from?
Since it's not possible to dump the firmware from the drive microcontroller without decapping it, I dug into the next best thing: the schematics for the drive.
Luckily, my drive is almost the same revision as that documented in the leaked Tectoy schematics - relevant page here, for you to follow along. The head amplifier chip AN8807 and signal processor MN6627x datasheets are also necessary reading - unfortunately the latter doesn't seem to be floating around for this particular chip. I used the newer MN662785TBUC chip's datasheet to map my way around.
One of the theories going around was that there was "non EFM" data in the ring, or that there are sectors written with C1/C2 errors (lower than a burner can write, even in raw mode).
That's pretty easily put paid to - the C2 error flag doesn't even go to the microcontroller, so it won't know about any such thing! Scoping this line during a ring read also shows no activity. (These come from the signal processing LSI - see C2F signal, which pops out on the line to the Saturn, and the FLAG line, which goes only to the testpoint array).
So perhaps it's something funky in the subcodes? If so, none of the dumps have shown anything but timecode. Maybe bad CRCs? But on a real ring, the STAT line stays high, indicating good CRC. So that's not it either. [HR][/HR] So that's it for the popular theories: now time to make one of my own. Looking at the schematic, one thing really jumps out at me: the VDET signal on the head amplifier (called WDET elsewhere). This is referred to as a "vibration detect" signal, and is used in portable CD players. Portable. Not fixed, because you don't carry your Saturn around, do you? (Well, I don't.)
Looking at the AN8807 datasheet, this signal is driven by a window comparator from the tracking error signal, so if the tracking error starts jumping around a lot, it'll trigger. Well, that is definitely an odd thing to find here. It's also routed to the microcontroller, and is broken out on the debugging testpoints along with /STEST and /WTEST, which makes it extra interesting. Let's take a look at the tracking error!
Here we are reading non-ring tracks:
![[IMG]](https://web.archive.org/web/2im_/http://neuropathy.axdf.net/~jhl/pub/sh1cd/out/tracking_normal.png)
The blue trace is the BLKCK (aka SI, sector indicator?) signal, which rises once each sector. Note that the CD is running at double speed mode - so the sectors appear at 150Hz. The yellow trace is the TEBPF signal, which is the tracking error output to the signal processing LSI. I'm probing this straight off C312.
Nothing much going on here, as expected. The WDET signal stays low. But if we seek into the ring:
![[IMG]](https://web.archive.org/web/2im_/http://neuropathy.axdf.net/~jhl/pub/sh1cd/out/tracking_ring.png)
Hmm! Every second sector is radially offset from the previous one. Looking at WDET:
![[IMG]](https://web.archive.org/web/2im_/http://neuropathy.axdf.net/~jhl/pub/sh1cd/out/wdet.png)
This represents the heart of the CD copy protection: the sectors in the ring are not laid out straight, but they jump in and out radially at the sector boundaries - they "wobble". It's not enough to make the drive lose tracking - given it was designed for this task - but it's certainly enough to give my TSSTcorp drive vicious hiccups (it won't read many ring sectors even on a good day).
This is pretty similar to ATIP, the method used to encode timing and disc information in the pregroove on blank CD-Rs, but both simpler and more extreme. There have been occasional rumours about such a "wobble" method being used, and something similar was apparently used on the PS1.
I hope this lays the matter to rest, and prevents anyone from wasting more time on it (like my day burning useless discs).
I'm sure someone will wave their hands around and say that custom burner firmware could do the job, but good luck finding a burner with a programmable DSP in the pregroove tracking loop and managing to modify it to do the job. The dream is dead. Goodnight!
[SUB]with many thanks to Lazerbeat for pointing me in the direction of this crazy fun console[/SUB]
On the one hand, there is the data in the ring - pretty well understood at this point: the right timestamps in the Q subchannel and in the Mode 2 header, and the appropriate bytes for pretty EFM patterns in the payload.
On the other hand, there are a number of people who've claimed, without providing any concrete information, that the rings cannot be duplicated. [HR][/HR] I decided to do some investigation of my own.
After burning a bunch of coasters with everything down to the Q subchannel correct based on public ring data, I decided to go seek out some answers (if you'll pardon the pun) in the drive itself.
I took the drive out of my VA7 Saturn, and attached a little atmega32u4 breakout to it, to the command and status lines. Now I have a pet drive that I can control over USB, including issuing the all-important ring seeks. Here's the assembly on my stupendously messy desk:
![[IMG]](https://web.archive.org/web/2im_/http://james.laird-wah.net/sh1cd/out/img_0002.jpeg)
And here's a detail of the connection to the data bus. The green wire snakes off to control the door closed pin:
![[IMG]](https://web.archive.org/web/2im_/http://james.laird-wah.net/sh1cd/out/img_0001.jpeg)
There are two sets of power wires, because this particular drive really doesn't like having the drive motor noise on its sense-side power supply. The left wires supply the drive motors from a benchtop power supply, while the right-hand ones supply the sense and control circuitry from USB.
I then used this rig to issue seek commands to ring data as well as regular data, both on burned and real discs.
Aside from the data content, the real difference between ring and regular data is in the status responses from the drive. After completing a seek to the ring, a B6 response comes back, eg:
B6 44 F1 03 F4 35 09 09 09 09 00 XX 01
where XX is the checksum, 03 F4 35 is the address the seek hit, and B6 is the seek-complete code.
During the seek, the code B2 is returned, and the four bytes before the checksum count up from zero to various numbers. The latter two always seem to count to the same number, but the first two don't on a regular CD - they only do it for a ring. This has been documented before.
[TABLE]
[TR]
[TD] Seek on the ring:
b2 00 00 04 ad 3f 00 00 00 00 00 5d 01
b2 00 00 04 ad 3f 01 01 00 00 00 5b 01
b2 00 00 04 ad 3f 01 01 01 01 00 59 01
b2 00 00 04 ad 3f 02 02 01 01 00 57 01
b2 00 00 04 ad 3f 02 02 02 02 00 55 01
b2 00 00 04 ad 3f 03 03 02 02 00 53 01
b2 00 00 04 ad 3f 03 03 03 03 00 51 01
b2 00 00 04 ad 3f 04 04 03 03 00 4f 01
b2 00 00 04 ad 3f 04 04 04 04 00 4d 01
b2 00 00 04 ad 3f 05 05 04 04 00 4b 01
b2 00 00 04 ad 3f 05 05 05 05 00 49 01
b2 00 00 04 ad 3f 06 06 05 05 00 47 01
b2 00 00 04 ad 3f 06 06 06 06 00 45 01
b2 00 00 04 ad 3f 07 07 06 06 00 43 01
b2 00 00 04 ad 3f 07 07 07 07 00 41 01
b2 00 00 04 ad 3f 08 08 07 07 00 3f 01
b2 00 00 04 ad 3f 08 08 08 08 00 3d 01
b2 00 00 04 ad 3f 09 09 08 08 00 3b 01
b2 00 00 04 ad 3f 09 09 09 09 00 39 01
b2 48 5a 04 ad 3f 0a 0a 09 09 00 95 01
b6 48 59 04 ad 3f 0a 0a 09 09 00 92 01
[/TD]
[TD] Seek on normal track:
b2 00 00 03 ad 3f 00 00 00 00 00 5e 01
b2 00 00 03 ad 3f 01 00 00 00 00 5d 01
b2 00 00 03 ad 3f 01 00 01 01 00 5b 01
b2 00 00 03 ad 3f 02 00 01 01 00 5a 01
b2 00 00 03 ad 3f 02 00 02 02 00 58 01
b2 00 00 03 ad 3f 03 00 02 02 00 57 01
b2 00 00 03 ad 3f 03 00 03 03 00 55 01
b2 00 00 03 ad 3f 04 00 03 03 00 54 01
b2 00 00 03 ad 3f 04 00 04 04 00 52 01
b2 00 00 03 ad 3f 05 00 04 04 00 51 01
b2 00 00 03 ad 3f 05 00 05 05 00 4f 01
b2 00 00 03 ad 3f 06 00 05 05 00 4e 01
b2 00 00 03 ad 3f 06 00 06 06 00 4c 01
b2 00 00 03 ad 3f 07 00 06 06 00 4b 01
b2 00 00 03 ad 3f 07 00 07 07 00 49 01
b2 00 00 03 ad 3f 08 00 07 07 00 48 01
b2 00 00 03 ad 3f 08 00 08 08 00 46 01
b2 43 27 03 ad 3f 09 00 08 08 00 db 01
b6 43 27 03 ad 3f 09 00 08 08 00 d7 01
[/TD]
[/TR]
[/TABLE]
OK, so it's there, everyone agrees on this. But what's it from?
Since it's not possible to dump the firmware from the drive microcontroller without decapping it, I dug into the next best thing: the schematics for the drive.
Luckily, my drive is almost the same revision as that documented in the leaked Tectoy schematics - relevant page here, for you to follow along. The head amplifier chip AN8807 and signal processor MN6627x datasheets are also necessary reading - unfortunately the latter doesn't seem to be floating around for this particular chip. I used the newer MN662785TBUC chip's datasheet to map my way around.
One of the theories going around was that there was "non EFM" data in the ring, or that there are sectors written with C1/C2 errors (lower than a burner can write, even in raw mode).
That's pretty easily put paid to - the C2 error flag doesn't even go to the microcontroller, so it won't know about any such thing! Scoping this line during a ring read also shows no activity. (These come from the signal processing LSI - see C2F signal, which pops out on the line to the Saturn, and the FLAG line, which goes only to the testpoint array).
So perhaps it's something funky in the subcodes? If so, none of the dumps have shown anything but timecode. Maybe bad CRCs? But on a real ring, the STAT line stays high, indicating good CRC. So that's not it either. [HR][/HR] So that's it for the popular theories: now time to make one of my own. Looking at the schematic, one thing really jumps out at me: the VDET signal on the head amplifier (called WDET elsewhere). This is referred to as a "vibration detect" signal, and is used in portable CD players. Portable. Not fixed, because you don't carry your Saturn around, do you? (Well, I don't.)
Looking at the AN8807 datasheet, this signal is driven by a window comparator from the tracking error signal, so if the tracking error starts jumping around a lot, it'll trigger. Well, that is definitely an odd thing to find here. It's also routed to the microcontroller, and is broken out on the debugging testpoints along with /STEST and /WTEST, which makes it extra interesting. Let's take a look at the tracking error!
Here we are reading non-ring tracks:
The blue trace is the BLKCK (aka SI, sector indicator?) signal, which rises once each sector. Note that the CD is running at double speed mode - so the sectors appear at 150Hz. The yellow trace is the TEBPF signal, which is the tracking error output to the signal processing LSI. I'm probing this straight off C312.
Nothing much going on here, as expected. The WDET signal stays low. But if we seek into the ring:
Hmm! Every second sector is radially offset from the previous one. Looking at WDET:
![[IMG]](https://web.archive.org/web/2im_/http://neuropathy.axdf.net/~jhl/pub/sh1cd/out/wdet.png)
This represents the heart of the CD copy protection: the sectors in the ring are not laid out straight, but they jump in and out radially at the sector boundaries - they "wobble". It's not enough to make the drive lose tracking - given it was designed for this task - but it's certainly enough to give my TSSTcorp drive vicious hiccups (it won't read many ring sectors even on a good day).
This is pretty similar to ATIP, the method used to encode timing and disc information in the pregroove on blank CD-Rs, but both simpler and more extreme. There have been occasional rumours about such a "wobble" method being used, and something similar was apparently used on the PS1.
I hope this lays the matter to rest, and prevents anyone from wasting more time on it (like my day burning useless discs).
I'm sure someone will wave their hands around and say that custom burner firmware could do the job, but good luck finding a burner with a programmable DSP in the pregroove tracking loop and managing to modify it to do the job. The dream is dead. Goodnight!
[SUB]with many thanks to Lazerbeat for pointing me in the direction of this crazy fun console[/SUB]
