XEMAG 1.0: Difference between revisions
Related form: Adventures in Colorland (unformatted tracks, any error passes) |
Operation Whirlwind confirmed |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 22: | Line 22: | ||
|- | |- | ||
| 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) | | 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) | ||
|- | |||
| 34 and 35, on Trillium releases || Track 34 like track 2, track 35 like track 3; the tracks 2 and 3 are normal || 23 and 27 | |||
|} | |} | ||
| Line 37: | Line 39: | ||
|- | |- | ||
| <code>C-64 V-3 XEMAG PRT(DUP) 5" 48/35 1S GCR TK.2,34</code> || Raid on Bungeling Bay, Stealth, The Mask of the Sun | | <code>C-64 V-3 XEMAG PRT(DUP) 5" 48/35 1S GCR TK.2,34</code> || Raid on Bungeling Bay, Stealth, The Mask of the Sun | ||
|- | |||
| <code>SPINNAKER SPL. C-64 V-3 (DUP) 5" 48/35 1S GCR PR</code> (end of the text not readable) || Fahrenheit 451 (Trillium) | |||
|- | |- | ||
| <code>BRODERBUND SPL. C-64 (DUP) PRT TK 2-34 48/35 1S</code> || Choplifter!, Drol, Gumball, Lode Runner, Matchboxes, Operation Whirlwind, Spare Change, Spelunker | | <code>BRODERBUND SPL. C-64 (DUP) PRT TK 2-34 48/35 1S</code> || Choplifter!, Drol, Gumball, Lode Runner, Matchboxes, Operation Whirlwind, Spare Change, Spelunker | ||
| Line 59: | Line 63: | ||
* 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. | * 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 <code>B-R:5,0,2,15</code> and <code>B-R:5,0,3,16</code> are 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. | * The same two commands <code>B-R:5,0,2,15</code> and <code>B-R:5,0,3,16</code> are 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. | * 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. NATO Commander goes on and lets the player lose. 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 <code>U1: 5 0 02 2</code> on Choplifter! | * Below the Root (Windham Classics, a label of Spinnaker) reads the two tracks with the routine of the [[Spinnaker Protection]]: <code>U1: 5 0 02</code> with the sectors 1 to 16 until one gives error 23, then the same on track 3 for error 27. | ||
* The Trillium releases of Amazon and Fahrenheit 451 (a label of Spinnaker, later Telarium) have the two tracks at 34 and 35. Their "Trillium Corp. Game Loader" reads the sectors 0 to 16 of track 34 until one gives error 23, then the sectors of track 35 until one gives error 27. After a failed check it shows <code>This disk is defective. Please contact Trillium Corp.</code> | |||
* The Brøderbund releases read track 2 and track 34 with commands of their own (for example <code>U1: 5 0 02 2</code> on Choplifter!). Some of them do not stop after a failed check but run with garbled levels or graphics. | |||
== Related form == | == Related form == | ||
| Line 66: | Line 72: | ||
Donald Duck's Playground and Winnie the Pooh in the Hundred Acre Wood (Sierra) send the same two commands, but the check | 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 | 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. | a wrong data checksum, and the program needs error 23 for both. Ghostbusters (Activision) has the same two faulty sectors, but checks them with the [[Error and Good Sector Check]]: it reads sector 15 of track 2 with <code>U1:2,0,2,15</code>, needs an error code that starts with 2, takes three bytes of the sector from the buffer, and then needs a read without error of sector 11 of track 1. | ||
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. | ||
| Line 80: | Line 86: | ||
== Titles on this wiki == | == 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 3: Arcade Album 1 (for The Spy Strikes Back! and Thunderbombs), Below the Root, Expedition Amazon, Final Conflict, Fortress, King Cribbage, Minit Man, NATO Commander, Sargon II, Sargon III (also on Hit Quartett), Stellar 7, The Cosmic Balance, The Quest, The Spy Strikes Back!, Thunderbombs, Transylvania. | ||
Tracks 34 and 35: Amazon (Source 3), Fahrenheit 451 (Sources 1, 2 and 4). | |||
Tracks 2 and 34: Championship Lode Runner, Gumball, Lode Runner, Spelunker, Whistler's Brother. | Tracks 2 and 34: Championship Lode Runner, Choplifter!, Drol, Gumball, Lode Runner, Matchboxes, Operation Whirlwind, Spare Change, Spelunker, Stealth, The Mask of the Sun, Whistler's Brother. | ||
== 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 Colorland - Space Sagas and Stellar 7. NATO Commander reads sector 15 of track 2 and sector 15 of track 3. | * 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 (MicroProse) has the same two tracks and 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. | ||
* | * Below the Root: the copy shows a black screen after the title picture; the original goes on. | ||
* Tracks 2 and 34: | * Tracks 34 and 35: the copy with both tracks written without errors shows the message of the loader that the disk is defective; the original starts. | ||
* Stellar 7: the copy stays at the line "THE RAVEN COMETH..." and does not react; the original goes on to the mission briefing. | |||
* NATO Commander: the copy starts, but in the game the units of the player surrender without a fight (three runs each: on the copy cities are overrun and the report shows no casualties; on the original the report shows normal fighting). | |||
* Tracks 2 and 34: the copy with both tracks written without errors fails on every title of the list (garbled levels, a black screen, a stop at the title or corrupted graphics). Choplifter! reads sector 2 of the tracks 2, 1, 34 and 35 and needs the codes 23, 00, 27, 00. | |||
* Operation Whirlwind reads sector 15 of track 2 and of track 34 about ten minutes after the start; on the copy the screen fills with garbage instead of the menu. | |||
* Not confirmed for tracks 2 and 34: David's Midnight Magic (reads track 2 and gets the error, but the copy plays like the original), The Serpent's Star (reads track 34, the copy reaches the game) and Raid on Bungeling Bay (no read of the two tracks seen in the first ten minutes). | |||
==== Pages that refer to this protection ==== | ==== Pages that refer to this protection ==== | ||
{{Special:Whatlinkshere/XEMAG 1.0}} | {{Special:Whatlinkshere/XEMAG 1.0}} | ||
Latest revision as of 23:21, 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) |
| 34 and 35, on Trillium releases | Track 34 like track 2, track 35 like track 3; the tracks 2 and 3 are normal | 23 and 27 |
- 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 |
SPINNAKER SPL. C-64 V-3 (DUP) 5" 48/35 1S GCR PR (end of the text not readable) |
Fahrenheit 451 (Trillium) |
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. NATO Commander goes on and lets the player lose. Sargon II fills the BASIC memory with zeros first.
- Below the Root (Windham Classics, a label of Spinnaker) reads the two tracks with the routine of the Spinnaker Protection:
U1: 5 0 02with the sectors 1 to 16 until one gives error 23, then the same on track 3 for error 27. - The Trillium releases of Amazon and Fahrenheit 451 (a label of Spinnaker, later Telarium) have the two tracks at 34 and 35. Their "Trillium Corp. Game Loader" reads the sectors 0 to 16 of track 34 until one gives error 23, then the sectors of track 35 until one gives error 27. After a failed check it shows
This disk is defective. Please contact Trillium Corp. - The Brøderbund releases read track 2 and track 34 with commands of their own (for example
U1: 5 0 02 2on Choplifter!). Some of them do not stop after a failed check but run with garbled levels or graphics.
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, but checks them with the Error and Good Sector Check: it reads sector 15 of track 2 with U1:2,0,2,15, needs an error code that starts with 2, takes three bytes of the sector from the buffer, and then needs a read without error of sector 11 of track 1.
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), Below the Root, Expedition Amazon, Final Conflict, Fortress, King Cribbage, Minit Man, NATO Commander, Sargon II, Sargon III (also on Hit Quartett), Stellar 7, The Cosmic Balance, The Quest, The Spy Strikes Back!, Thunderbombs, Transylvania.
Tracks 34 and 35: Amazon (Source 3), Fahrenheit 451 (Sources 1, 2 and 4).
Tracks 2 and 34: Championship Lode Runner, Choplifter!, Drol, Gumball, Lode Runner, Matchboxes, Operation Whirlwind, Spare Change, Spelunker, Stealth, The Mask of the Sun, 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 (MicroProse) has the same two tracks and 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.
- Below the Root: the copy shows a black screen after the title picture; the original goes on.
- Tracks 34 and 35: the copy with both tracks written without errors shows the message of the loader that the disk is defective; the original starts.
- Stellar 7: the copy stays at the line "THE RAVEN COMETH..." and does not react; the original goes on to the mission briefing.
- NATO Commander: the copy starts, but in the game the units of the player surrender without a fight (three runs each: on the copy cities are overrun and the report shows no casualties; on the original the report shows normal fighting).
- Tracks 2 and 34: the copy with both tracks written without errors fails on every title of the list (garbled levels, a black screen, a stop at the title or corrupted graphics). Choplifter! reads sector 2 of the tracks 2, 1, 34 and 35 and needs the codes 23, 00, 27, 00.
- Operation Whirlwind reads sector 15 of track 2 and of track 34 about ten minutes after the start; on the copy the screen fills with garbage instead of the menu.
- Not confirmed for tracks 2 and 34: David's Midnight Magic (reads track 2 and gets the error, but the copy plays like the original), The Serpent's Star (reads track 34, the copy reaches the game) and Raid on Bungeling Bay (no read of the two tracks seen in the first ten minutes).
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)