XEMAG 1.0: Difference between revisions
Related form: Sierra check needs error 23 twice; NATO Commander corrected |
Related form: Adventures in Colorland (unformatted tracks, any error passes) |
||
| Line 68: | Line 68: | ||
a wrong data checksum, and the program needs error 23 for both. Ghostbusters (Activision) has the same two faulty sectors. | a wrong data checksum, and the program needs error 23 for both. Ghostbusters (Activision) has the same two faulty sectors. | ||
No duplicator text of Xemag is known for these disks; they are not counted as XEMAG 1.0 here. | No duplicator text of Xemag is known for these disks; they are not counted as XEMAG 1.0 here. | ||
Adventures in Colorland - Space Sagas (Hayden) also sends the two commands, in machine code. There tracks 2 and 3 are | |||
unformatted, and the check only looks at the first character of the answer: any error passes, only the answer | |||
<code>00, OK</code> fails. It is not counted as XEMAG 1.0 either. | |||
== Copying == | == Copying == | ||
| Line 82: | Line 86: | ||
== Verification on this wiki == | == Verification on this wiki == | ||
* The sector images of all G64 on the wiki were searched for the two commands. They are on the titles of the tracks 2 and 3 form listed above, on the two Sierra titles of the related form, and on Adventures in | * The sector images of all G64 on the wiki were searched for the two commands. They are on the titles of the tracks 2 and 3 form listed above, on the two Sierra titles of the related form, and on Adventures in Colorland - Space Sagas and Stellar 7. NATO Commander reads sector 15 of track 2 and sector 15 of track 3. | ||
* Each title of the list was run against a copy in which the two tracks are written again without errors (same data, correct checksums). The copy fails on every title of the list; the original starts. | * Each title of the list was run against a copy in which the two tracks are written again without errors (same data, correct checksums). The copy fails on every title of the list; the original starts. | ||
* Arcade Album 1: Spy's Demise starts on the copy too; only the other two games are checked. | * Arcade Album 1: Spy's Demise starts on the copy too; only the other two games are checked. | ||
* Not confirmed: Stellar 7 (the copy shows another screen than the original | * Not confirmed: Stellar 7 (the copy shows another screen than the original). NATO Commander showed no difference up to the choice of the difficulty. | ||
* Tracks 2 and 34: confirmed on images whose track 2 holds all 21 sectors. On several images of Choplifter!, David's Midnight Magic, Drol, Lode Runner, Matchboxes, Spare Change and Spelunker only one sector of track 2 can be read; these and Operation Whirlwind, Raid on Bungeling Bay, Stealth, The Mask of the Sun and The Serpent's Star were not confirmed. | * Tracks 2 and 34: confirmed on images whose track 2 holds all 21 sectors. On several images of Choplifter!, David's Midnight Magic, Drol, Lode Runner, Matchboxes, Spare Change and Spelunker only one sector of track 2 can be read; these and Operation Whirlwind, Raid on Bungeling Bay, Stealth, The Mask of the Sun and The Serpent's Star were not confirmed. | ||
Revision as of 12:44, 24 November 2026
XEMAG 1.0
This analysis is based on the state of the wiki from 24 Nov 2026.
XEMAG 1.0 is the name used on this wiki for the first protection of the duplicator Xemag, on US releases of
Penguin Software, Hayden, Strategic Simulations and Brøderbund from 1983 to 1985. The disks do not carry a version
number: the duplicator text on them reads XEMAG GENERIC - CBM 64 PRT (DUP) or names the tracks
(PRT TK 2-3, PRT TK 2-34). The later protection of the same duplicator is XEMAG 2.0.
The disk is a normal CBM DOS disk on which two tracks give read errors on purpose.
In short: every data block of track 2 has a wrong checksum and every header of track 3 (Brøderbund: track 34) has a wrong checksum. The program reads one sector of each track with a DOS command and needs the error codes 23 and 27.
The disk
| Track | Content | Error of CBM DOS |
|---|---|---|
| 2 | 21 sectors with good headers; the checksum of every data block is wrong | 23 (read error, also shown as error 5) |
| 3, on Brøderbund releases 34 | All sectors with a wrong header checksum; the data blocks are good | 27 (read error, also shown as error 9) |
- All other tracks are normal. The two tracks hold no data of the program.
- The duplicator text of the disks, where it is on the wiki page, names the scheme:
| Duplicator text | Titles |
|---|---|
XEMAG GENERIC - CBM 64 PRT (DUP) - 48/35 1S GCR |
Expedition Amazon, Final Conflict, The Cosmic Balance |
C-64 XEMAG PRT.(DUP) 5" 48/35 1S GCR SS TK.2-3 |
Sargon III |
C-64 V3 PROT DUP 5"-48/35 1S GCR VS (PRT TK 2-3) |
Minit Man, The Cosmic Balance, Stellar 7 (similar text) |
C-64 V-3 XEMAG PRT(DUP) 5" 48/35 1S GCR TK.2,34 |
Raid on Bungeling Bay, Stealth, The Mask of the Sun |
BRODERBUND SPL. C-64 (DUP) PRT TK 2-34 48/35 1S |
Choplifter!, Drol, Gumball, Lode Runner, Matchboxes, Operation Whirlwind, Spare Change, Spelunker |
The check
The check runs on the C64 and uses only commands of CBM DOS. Final Conflict (Hayden, 1983), BASIC:
200 OPEN 15,8,15 210 OPEN 5,8,5,"#" 220 PRINT#15,"B-R:5,0,2,15" 230 INPUT#15,E,EN$,T,S 240 IF E<>23 THEN O$="X" 250 PRINT#15,"B-R:5,0,3,16" 260 INPUT#15,E,EN$,T,S 270 IF E<>27 THEN O$="X" 280 CLOSE 5:CLOSE 15
- Sector 15 of track 2 must give error 23 and sector 16 of track 3 must give error 27. On a copy without the errors the answer is 0 and the program does not go on.
- The same two commands
B-R:5,0,2,15andB-R:5,0,3,16are in every title of the tracks 2 and 3 form, in BASIC or in machine code. The BASIC lines of Final Conflict, Sargon II and The Cosmic Balance are the same down to the names of the variables, so the routine was probably handed out with the protection. - What happens after a failed check differs: Fortress prints "THIS DISK IS NOT ORIGINAL", The Cosmic Balance "THIS DISK IS A COPY"; other titles reset the computer, stay at the title or return to BASIC. Sargon II fills the BASIC memory with zeros first.
- The Brøderbund releases read track 2 and track 34 with commands of their own (for example
U1: 5 0 02 2on Choplifter!,B-R:5,0,34,15on Raid on Bungeling Bay).
Related form
Donald Duck's Playground and Winnie the Pooh in the Hundred Acre Wood (Sierra) send the same two commands, but the check is not the same: only the two sectors that are read have a fault, sector 15 of track 2 and sector 16 of track 3, both with a wrong data checksum, and the program needs error 23 for both. Ghostbusters (Activision) has the same two faulty sectors. No duplicator text of Xemag is known for these disks; they are not counted as XEMAG 1.0 here.
Adventures in Colorland - Space Sagas (Hayden) also sends the two commands, in machine code. There tracks 2 and 3 are
unformatted, and the check only looks at the first character of the answer: any error passes, only the answer
00, OK fails. It is not counted as XEMAG 1.0 either.
Copying
- A sector copy stops at the two tracks; a copy that skips them or writes them without errors fails the check.
- A copy needs the two tracks with the same kind of error: wrong data checksums on track 2, wrong header checksums on track 3 or 34. A copy of the raw tracks works.
Titles on this wiki
Tracks 2 and 3: Arcade Album 1 (for The Spy Strikes Back! and Thunderbombs), Expedition Amazon, Final Conflict, Fortress, King Cribbage, Minit Man, Sargon II, Sargon III (also on Hit Quartett), The Cosmic Balance, The Quest, The Spy Strikes Back!, Thunderbombs, Transylvania.
Tracks 2 and 34: Championship Lode Runner, Gumball, Lode Runner, Spelunker, Whistler's Brother.
Verification on this wiki
- The sector images of all G64 on the wiki were searched for the two commands. They are on the titles of the tracks 2 and 3 form listed above, on the two Sierra titles of the related form, and on Adventures in Colorland - Space Sagas and Stellar 7. NATO Commander reads sector 15 of track 2 and sector 15 of track 3.
- Each title of the list was run against a copy in which the two tracks are written again without errors (same data, correct checksums). The copy fails on every title of the list; the original starts.
- Arcade Album 1: Spy's Demise starts on the copy too; only the other two games are checked.
- Not confirmed: Stellar 7 (the copy shows another screen than the original). NATO Commander showed no difference up to the choice of the difficulty.
- Tracks 2 and 34: confirmed on images whose track 2 holds all 21 sectors. On several images of Choplifter!, David's Midnight Magic, Drol, Lode Runner, Matchboxes, Spare Change and Spelunker only one sector of track 2 can be read; these and Operation Whirlwind, Raid on Bungeling Bay, Stealth, The Mask of the Sun and The Serpent's Star were not confirmed.
Pages that refer to this protection
- Fortress (← links)
- Descriptions of old disk copy protections (← links)
- Matchboxes (← links)
- Donald Duck's Playground (← links)
- Thunderbombs (← links)
- The Spy Strikes Back! (← links)
- The Mask of the Sun (← links)
- Stellar 7 (← links)
- Minit Man (← links)
- Arcade Album 1 (← links)
- Fahrenheit 451 (← links)
- Winnie the Pooh in the Hundred Acre Wood (← links)
- Hit Quartett (← links)
- Spelunker (← links)
- Lode Runner (← links)
- NATO Commander (← links)
- Sargon III (← links)
- Adventures in Colorland - Space Sagas (← links)
- King Cribbage (← links)
- Amazon (← links)
- Below the Root (← links)
- Championship Lode Runner (← links)
- Whistler's Brother (← links)
- Transylvania (Penguin) (← links)
- The Quest (← links)
- Choplifter! (← links)
- Drol (← links)
- Expedition Amazon (← links)
- Final Conflict (← links)
- Gumball (← links)
- Operation Whirlwind (← links)
- Sargon II (← links)
- Spare Change (← links)
- Stealth (← links)
- The Cosmic Balance (← links)
- Spinnaker Protection (← links)