CYAN Loader A: Difference between revisions
Created page with "Descriptions needs to be done. ==== Pages that refer to this protection ==== {{Special:Whatlinkshere/CYAN Loader A}}" |
Description of the CYAN Loader protection (loader, check, disk signature, failure, variants, emulation) |
||
| Line 1: | Line 1: | ||
Disk layout A of the [[CYAN Loader V2]] protection (track 32 weak-bit check). The loader, the check and the behaviour on failure are described on the [[CYAN Loader V2]] page; this page describes the disk signature. | |||
==== Pages that refer to this protection | Layout A is the most common CYAN Loader signature (releases from 1987 to 1991, mostly Gremlin Graphics and U.S. Gold). | ||
== Disk signature == | |||
Track 32, sector 1 (an empty block, format pattern $4B $01 $01 ...): | |||
* The '''end of the data block''' is replaced by an unstable area. Counted in GCR bytes from the end of the data block sync, the bytes from about 323-325 on differ from read to read. The data block checksum and the two closing bytes are therefore usually unreadable. | |||
* After the unstable area come the normal gap bytes ($55) and the sync of the next header. | |||
The check reads GCR bytes 335-337. In layout A these are gap bytes behind the unstable area. Because the unstable area delivers a different number of bits on every read, the following gap bytes are read with a different bit alignment ($55 $55 $57 one time, $AA $AA $AF the next). So two reads differ, and the check passes. | |||
On some disks the unstable area starts only directly after the data block (byte 326), with an intact checksum. The check works the same way. | |||
Example from the KryoFlux stream of [[Convoy Raider]], bytes 318-337 after the data sync of 32/1 in three revolutions: | |||
<pre> | |||
b5 2d 4b 52 dd a5 69 77 ff ee cf 3f 9d 0f c5 55 55 55 55 55 | |||
b5 2d 4b 52 dd a5 7d 2b 3b fe 5f 7d dc fc 55 55 55 55 55 55 | |||
b5 2d 4b 52 dd a5 d2 7d dd 7b d7 df 45 ff f8 aa aa aa aa aa | |||
</pre> | |||
== G64 images == | |||
In G64 images converted with DTC, the unstable area is stored as a run of about 50-60 zero bits (no flux transitions) at bytes 324-330. The G64 data block of 32/1 therefore has a checksum error. This is correct and must not be "repaired": VICE reads the zero run as random bits, and the check passes. A G64 in which this area was replaced by regular bits fails the check. | |||
== Reliability == | |||
On a real 1541 the check passes in most starts; with some disks a start can fail now and then (model estimate from the streams, not verified on hardware; see [[CYAN Loader V2]]). In VICE a start occasionally fails because two random reads match; reset and load again. | |||
== Pages that refer to this protection == | |||
{{Special:Whatlinkshere/CYAN Loader A}} | {{Special:Whatlinkshere/CYAN Loader A}} | ||
Latest revision as of 08:33, 9 November 2026
Disk layout A of the CYAN Loader V2 protection (track 32 weak-bit check). The loader, the check and the behaviour on failure are described on the CYAN Loader V2 page; this page describes the disk signature.
Layout A is the most common CYAN Loader signature (releases from 1987 to 1991, mostly Gremlin Graphics and U.S. Gold).
Disk signature
Track 32, sector 1 (an empty block, format pattern $4B $01 $01 ...):
- The end of the data block is replaced by an unstable area. Counted in GCR bytes from the end of the data block sync, the bytes from about 323-325 on differ from read to read. The data block checksum and the two closing bytes are therefore usually unreadable.
- After the unstable area come the normal gap bytes ($55) and the sync of the next header.
The check reads GCR bytes 335-337. In layout A these are gap bytes behind the unstable area. Because the unstable area delivers a different number of bits on every read, the following gap bytes are read with a different bit alignment ($55 $55 $57 one time, $AA $AA $AF the next). So two reads differ, and the check passes.
On some disks the unstable area starts only directly after the data block (byte 326), with an intact checksum. The check works the same way.
Example from the KryoFlux stream of Convoy Raider, bytes 318-337 after the data sync of 32/1 in three revolutions:
b5 2d 4b 52 dd a5 69 77 ff ee cf 3f 9d 0f c5 55 55 55 55 55 b5 2d 4b 52 dd a5 7d 2b 3b fe 5f 7d dc fc 55 55 55 55 55 55 b5 2d 4b 52 dd a5 d2 7d dd 7b d7 df 45 ff f8 aa aa aa aa aa
G64 images
In G64 images converted with DTC, the unstable area is stored as a run of about 50-60 zero bits (no flux transitions) at bytes 324-330. The G64 data block of 32/1 therefore has a checksum error. This is correct and must not be "repaired": VICE reads the zero run as random bits, and the check passes. A G64 in which this area was replaced by regular bits fails the check.
Reliability
On a real 1541 the check passes in most starts; with some disks a start can fail now and then (model estimate from the streams, not verified on hardware; see CYAN Loader V2). In VICE a start occasionally fails because two random reads match; reset and load again.
Pages that refer to this protection
- Descriptions of old disk copy protections (← links)
- Rygar (← links)
- Leader Board (← links)
- Robozone (← links)
- Coin-Op Hits I (← links)
- U.N. Squadron (← links)
- Strider (← links)
- Strider 2 (← links)
- Convoy Raider (← links)
- CYAN Loader V1 (← links)
- CYAN Loader V2 (← links)
- Gauntlet II (← links)
- Supersports (← links)
- Capcom Collection (← links)
- Movie Premiere (← links)
- Gauntlet (← links)
- Hollywood Collection (← links)
- Indiana Jones and the Temple of Doom (← links)
- Re-Bounder (← links)
- Roadblasters (← links)
- OutRun (PAL) (← links)
- Challengers (← links)
- The House Mix (← links)
- Chart Attack (← links)
- The Muncher (← links)
- Karate Ace (← links)
- Bonus-Box (← links)
- Super Monaco GP (← links)
- Rolling Thunder (← links)
- Moonwalker (← links)
- Highlander (← links)
- Command Performance (← links)
- Alternative World Games (← links)
- Road Runner (← links)
- Solid Gold (← links)
- Space Ace (← links)
- Leader Board Par 4 (← links)
- Arcade Force Four (← links)
- Sega Master Mix (← links)
- Superheroes (← links)
- Bionic Commando (← links)
- Trantor the Last Stormtrooper (← links)
- Stunt Track Racer (← links)
- Turbo Out Run (← links)
- Indiana Jones and the Last Crusade: The Action Game (← links)
- E-Motion (← links)
- Bedlam (← links)
- 720° (← links)
- Carrier Command (← links)
- Star Paws (← links)