Unprotect Procedure for The Duel (Test Drive II) ------------------------------------------------ There are three files on the program disk that require copy protection removal. They are: TD2CGA.EXE (CGA Version) TD2TDY.EXE (Tandy 1000 Version) TD2EGA.EXE (Ega Version) I am giving you the unprotect procedure for all three. Obviously you only have to unprotect the version that you intend to run. Make a copy of the program disk first. Use DISKCOPY so you get the hidden file DISKID.DAT. You might as well DISKCOPY the master disk now as well, although you don't have to make any changes to it. Now we better make sure we are using the same version of The Duel. Checking the date and time on the files is a good idea. Mine are: Name Date Time TD2CGA.EXE 2/26/89 11:18p TD2EGA.EXE 2/26/89 11:16p TD2TDY.EXE 2/26/89 11:20p Also take a look at a partial disassembly of the protection procedure in the CGA version to see if it matches mine: RENAME TD2CGA.EXE TD2CGA.XXX DEBUG TD2CGA.XXX After the - prompt appears, type R and press Enter. Look at the value displayed for the DS register (left hand, second line). Whatever the value is, add 1000 to it. For example, if the DS contains 127B, add 1000 to it to make it 227B. Use this value where I use 227B for ALL 3 FILES. Now take a look at the code: U 227B:0D45 You should see: 227B:0D45 55 PUSH BP 227B:0D46 56 PUSH SI 227B:0D47 57 PUSH DI 227B:0D48 06 PUSH ES 227B:0D49 1E PUSH DS 227B:0D4A 8BF4 MOV SI,SP 227B:0D4C 0E PUSH CS 227B:0D4D 0E PUSH CS 227B:0D4E 33C0 XOR AX,AX 227B:0D50 8ED8 MOV DS,AX 227B:0D52 89361000 MOV [0010],SI 227B:0D56 C70612000102 MOV WORD PTR [0012],0201 etc... If yours is the same, then this ought to work. The EGA and Tandy versions will have the same protection code (up to this point) but at a different memory location. TO CONTINUE WITH THE CGA UNPROTECT: E 227B:0D64 90 E 227B:0DD1 90 90 E 227B:0DD6 90 90 90 E 227B:0DDF 90 90 90 E 227B:0DE5 EB E 227B:0DFB 90 90 90 E 227B:0DFE EB E 227B:0E22 90 90 90 E 227B:0E2E 90 90 E 227B:0E4B 90 90 E 227B:0E6A 90 90 E 227B:0E6C EB That's all the changes. Now enter: W To write the file back to disk, and: Q To exit to DOS. Rename the file back to .EXE: RENAME TD2CGA.XXX TD2CGA.EXE The program should now load normally from the copy. ------------------------------------------------------------------------ FOR THE TANDY VERSION: RENAME TD2TDY.EXE TD2TDY.XXX DEBUG TD2TDY.XXX (Note the DS register as in the CGA version.) E 227B:0A13 90 E 227B:0A80 90 90 E 227B:0A85 90 90 90 E 227B:0A8E 90 90 90 E 227B:0A94 EB E 227B:0AAA 90 90 90 E 227B:0AAD EB E 227B:0AD1 90 90 90 E 227B:0ADD 90 90 E 227B:0AFA 90 90 E 227B:0B19 90 90 E 227B:0B1B EB W Q RENAME TD2TDY.XXX TD2TDY.EXE ------------------------------------------------------------------------ FOR THE EGA VERSION: RENAME TD2EGA.EXE TD2EGA.XXX DEBUG TD2EGA.XXX (Note the DS register as in the CGA version.) E 227B:34AF 90 E 227B:351C 90 90 E 227B:3521 90 90 90 E 227B:352A 90 90 90 E 227B:3530 EB E 227B:3546 90 90 90 E 227B:3549 EB E 227B:356D 90 90 90 E 227B:3579 90 90 E 227B:3596 90 90 E 227B:35B5 90 90 E 227B:35B7 EB W Q RENAME TD2EGA.XXX TD2EGA.EXE ------------------------------------------------------------------------ TO RUN THE DUEL COMPLETELY FROM THE HARD DRIVE: Assuming that the unprotect above went well, you should be able to load The Duel from the copied floppy as well as install it on your hard disk according to the instructions in the manual. Problem: The program STILL insists on being booted from drive A, defeating my entire reason for unprotecting it! Fortunately, there is a way around this using the SUBST command. You need DOS 3.0 or greater (I think) to get the SUBST command. You will also need PC-Tools, Norton's, or some other utility capable of manipulating hidden files. 1. Install The Duel on your hard disk according to Accolade's instructions. You can use the original disk or your newly unprotected copy. 2. Make a DIFFERENT subdirectory to hold the program disk files. I used C:\DUEL for Accolade's install and C:\DUEL\ADISK for the program disk files. 3. Copy all the PROGRAM disk files to the NEW subdirectory. I used PC-Tools to copy the hidden file DISKID.DAT from the PROGRAM disk to the subdirectory. You could also use an un-hide utility, copy DISKID.DAT to the new subdirectory, and hide it again. To make a short story long, you must accomplishT subdiet the SUBST command. You will also need PC-Tools, Norton's, or p the program neomp mnd hide it ag:0A85 9hat the t ag:0A8-ry. You ÿaso yo hisubdieÿÿÿ ee hhnneettrr nn tteebbll nn gg nnssuussff'' gg oonntt mhisubdieÿÿÿ hibdiet thFÿ----w