Sierra Protection Track 18 Sector 18
Sierra Protection Track 18 Sector 18
This analysis is based on the state of the wiki from 24 Nov 2026.
Sierra Protection Track 18 Sector 18 is the name used on this wiki for a check on disk releases of Sierra On-Line from 1983 to 1988. The disk is a normal CBM DOS disk on which
sector 18 of track 18 has a data block with a wrong checksum. The duplicator text of several of these disks names it:
CMDR 1541 T-18/S-18 PROT DUP 5"-48/35 1S DD SS (BC's Quest for Tires, Oil's Well),
524-038C CMDR 1541 (100NS) T18/S18 PROT DUP (Stunt Flyer),
523-40A CMDR WATCHMAN SIERRA PROT DUP 5"-48/35 1S DD SS (BC's Quest for Tires / B.C. II: Grog's Revenge).
In short: the loader reads track 18 sector 18 with the DOS command U1 and needs a read error. Without the error it jumps to the program before anything is loaded.
The disk
- Sector 18 of track 18 has a good header and a data block with a wrong checksum (CBM DOS: error 23, also shown as error 5). It is the last sector of the directory track and not part of the directory.
- The loader is not a file: its code is in sector 2 of track 18.
The check
The loader runs in the screen memory at $0400. BC's Quest for Tires (Source 2):
$0400 A9 F3 LDA #$F3 ; buffer $04F3 $0402 85 FD STA $FD $0404 A9 04 LDA #$04 $0406 85 FE STA $FE $0408 A9 12 LDA #$12 ; track 18, sector 18 $040A 85 FB STA $FB $040C 85 FC STA $FC $040E 20 8D 04 JSR $048D ; read the sector into the buffer $0411 A2 0F LDX #$0F ; first character of the answer of the drive $0413 20 C6 FF JSR $FFC6 $0416 20 CF FF JSR $FFCF $0419 C9 32 CMP #$32 ; must be "2": an error 20 to 29 $041B D0 67 BNE $0484 ; no error: start without loading $041D 20 AB FF JSR $FFAB $0420 AD F2 04 LDA $04F2 ; passed: read the sector named in $04F2 $0423 85 FC STA $FC $0425 20 8D 04 JSR $048D $0428 AD F1 04 LDA $04F1 ; until the checksum of its bytes is 0; then load the program (not shown) $042B D0 F3 BNE $0420 $0484 4C 00 60 JMP $6000 ; start of the program $048D 20 AF 04 JSR $04AF ; send the command $0490 20 AE FF JSR $FFAE $0493 A2 02 LDX #$02 ; read the 256 bytes of the buffer of the drive $0495 20 C6 FF JSR $FFC6 $0498 A0 00 LDY #$00 $049A 8C F1 04 STY $04F1 $049D 20 CF FF JSR $FFCF $04A0 91 FD STA ($FD),Y $04A2 4D F1 04 EOR $04F1 ; and add them up with EOR $04A5 8D F1 04 STA $04F1 $04A8 C8 INY $04A9 D0 F2 BNE $049D $04AB 20 AB FF JSR $FFAB $04AE 60 RTS $04AF A2 0F LDX #$0F $04B1 20 C9 FF JSR $FFC9 $04B4 A0 06 LDY #$06 ; the command text is stored backwards: U1:2 0 $04B6 B9 E5 04 LDA $04E5,Y $04B9 20 D2 FF JSR $FFD2 $04BC 88 DEY $04BD 10 F7 BPL $04B6 $04BF A5 FB LDA $FB ; track and sector as decimal numbers $04C1 20 C6 04 JSR $04C6 $04C4 A5 FC LDA $FC
- The command is
U1:2 0 18 18. The textU1:2 0is stored backwards, so it is not found as plain text on the disk. - Only the first character of the answer is tested: every error code from 20 to 29 passes.
- The loader then reads the program block by block with the same command and compares the EOR sum of each block with a table.
- After a failed check it jumps to
$6000, where nothing is loaded yet: the computer hangs or returns to BASIC. - The same loader, with other table addresses, is on Familiar Favorites IV, Mission Asteroid, Oil's Well and Threshold. Learning with Leeper, Donald Duck's Playground (Source 3) and Stunt Flyer have later versions of it with the same command and the same test.
Copying
- A sector copy stops at the sector; a copy that skips it or writes it without error does not start.
- A copy needs a read error on track 18 sector 18.
Titles on this wiki
BC's Quest for Tires (Sources 2 to 4), BC's Quest for Tires / B.C. II: Grog's Revenge (Sources 1 to 4), Donald Duck's Playground (Source 3), Familiar Favorites IV, Learning with Leeper, Mission Asteroid, Oil's Well (Sources 1 to 3), Stunt Flyer, Threshold, Ulysses and the Golden Fleece (Source 2).
Each of these sources was run against a copy in which the data block of track 18 sector 18 has the correct checksum: the copy shows the BASIC start screen or a blank screen, the original starts.
Not confirmed yet (the Protection field names the same sector, but the test did not reach the check or showed no difference): Alice in Wonderland, B.C. II: Grog's Revenge (Source 2), Dragon's Keep, Homeword, Sierra Championship Boxing, Troll's Tale, Ultima II, Wizard of Id's WizType.
On Ulysses and the Golden Fleece (Source 1, Load'n'Go!) and on Wizard and the Princess / Mission Asteroid the loader is the same, but the branch after the test is replaced by NOP: these disks have no check.
Other uses of the sector
- The backwards command text
0 2:1Uis also on disks of other publishers (Heureka Teachware, Commodore Logo and Pilot, Kawasaki Synthesizer and others); it is a block read routine and by itself no sign of this check. - Other publishers have the same faulty sector with other check code: Spinnaker (Spinnaker Protection), Access Software (Neutral Zone, Master Composer), Commodore (Satan's Hollow, The Hulk), SSG (Carriers at War, Europe Ablaze, Rommel, Russia), Ocean (Lethal Weapon, The Simpsons).
Pages that refer to this protection
- Descriptions of old disk copy protections (← links)
- Homeword (← links)
- Donald Duck's Playground (← links)
- Wizard of Id's WizType (← links)
- Learning with Leeper (← links)
- Sierra Championship Boxing (← links)
- Troll's Tale (← links)
- BC's Quest for Tires / B.C. II: Grog's Revenge (← links)
- Mission Asteroid (← links)
- Ulysses and the Golden Fleece (← links)
- BC's Quest for Tires (← links)
- Familiar Favorites IV (← links)
- Ultima II (← links)
- Dragon's Keep (← links)
- The Wizard and the Princess / Mission Asteroid (← links)
- Threshold (← links)
- B.C. II: Grog's Revenge (← links)
- Oil's Well (← links)
- Stunt Flyer (← links)
- Access Protection (← links)