home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!fstgds15.tu-graz.ac.at!fm11ap01.tu-graz.ac.at!schuetz
- From: schuetz@fm11ap01.tu-graz.ac.at (Alexander Schuetz)
- Newsgroups: comp.sys.cbm
- Subject: V-MAX: Copy protection with disk drive mystery
- Date: 25 Jan 1993 17:44:18 GMT
- Organization: none
- Lines: 66
- Message-ID: <1k18tiINNln9@fstgds15.tu-graz.ac.at>
- NNTP-Posting-Host: fm11ap01.tu-graz.ac.at
-
-
- Hi guys,
-
- I have a question, well, I dunno where to place it. Maybe in
- alt.diskdrive.mysteries :) ....
-
- On the C64, there is a quite old game called "Defender of the Crown".
- I happen to have its' original, including the everso famous "V-MAX"
- copy protection by Harald Seeley. For the fun of it, I studied the copy
- protection and found out that track #20 of the disk contains important
- data (the oncoming extra DOS routines) WITHOUT ANY SYNC ON THIS TRACK!!
- Now imagine: $0800 bytes of GCR data on a track without any sync, and the
- data still can be read without problems!
-
- The reading routine looks like that: 4 GCR bytes are reserved as a header,
- something like $37 $55 $xx $xx; can't remember the bytes exactly, but they
- were all valid GCR bytes :not more than 2 0-bits and not more than 9 1-bits
- in a row. The reading routine looks for the 4 GCR bytes, and if they are
- NOT being found, it does the following:
- lda $1c00
- eor #$48
- sta $1c00
- ; then, wait for 20 ms with timer $1c05, then again
- lda $1c00
- eor #$48
- sta $1c00
- jmp reading
-
- Explanation: If the read routine doesnt find the header bytes, the speed
- bit and the led is being toggled; a wait loop of 20 ms appears; and the
- led and speed bit is being toggled again (back to normal speed 00) ; and
- then; a jump to the header-read routine appears. And then, after some
- seconds, the mystery happens, the header-read routine finds the headerbytes
- without being synchronized by a sync mark or similar means.
-
- My question is: * How the HELL can some speedtoggling (from speed 0 to 2
- waiting 20 ms and back to speed 0) synchronize the disk drive???????
-
- Answers welcome.....
-
- Alex.
-
-
- By the way: TO SVEN GOLDT! Dont u write to me anymore? Cant telnet to the
- "wiz", only FTP... tell me what to do!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-