|
|
IDENTIFICATION SERVEUR : 10.0.97.65 - CLIENT : 54.167.196.208 |
|
Voir le sujet précédent :: Voir le sujet suivant |
Auteur |
Message |
toinet Site Admin
Inscrit le: 15 Juin 2007 Messages: 2928 Localisation: Le Chesnay, France
|
Posté le: Dim 17 Sep 2017, 18:40 Sujet du message: Borrowed time (Activision, 1985) |
|
|
#978 - A great text/gfx adventure game by Interplay and published by Activision.
Disk structure
A double-sided game. A DOS 3.3 like structure with 16 sectors and 35 tracks.
Protection type
A slightly modified address field: D5xxyy xxyyEB. The address field is standard. xx and yy are taken from a table and the index is the track number modulo 0-15. Only T0 is D5AA96. T1 is D596ED 96EDEB.
Code: |
11AD- 96 97 9A 9B 9D 9E 9F A6 ED EE EF F2 F3 F4 F5 F6
11BD- ED EE EF F2 F3 F4 FF F7 96 A6 AA D5 DF EA AE FE
|
Boot trace
We use our recurring code:
Code: |
9600 receives C60.C6FFM
96F8:20 DA FD 60
9600G
01
96F8:A9 59 8D 56 08 A9 FF 8D 57 08 4C 01 08
|
And we have the code. We find the routine that sets the markers at $11CF.
How to copy
Boot my copy disk and launch Advanced Demuffin
We will recopy the code from Borrowed time and use it to copy both sides.
Code: |
Enter the monitor and type the following code:
B600:84 48 85 49 A0 04 B1 48 F0 10 29 0F A8 B9 80 B6 8D 5F B9 B9 90 B6 8D 6A B9 60 A9 AA 8D 5F B9 A9 96 8D 6A B9 60
B680:96 97 9A 9B 9D 9E 9F A6 ED EE EF F2 F3 F4 F5 F6
B690:ED EE EF F2 F3 F4 FF F7 96 A6 AA D5 DF EA AE FE
BD00:20 00 B6 EA
B942:38
B98B:18 60 EA
Press ctrl-y to return to the program
Copy both sides
|
How to normalize
Boot my copy disk and launch Disk Fixer
We'll change the routine at $11CF to always set AA96 in the address field.
Code: |
Search for F0 10 29 0F
Two answers at T0/S9/CF and T3/SD/3D
We'll patch both:
T0/S9/D1:D0 0E // we always jump
T3/SD/3F:D0 0E // we always jump
We also need to patch the check of the epilog markers of the address field:
T0/S1/F4:A4 57 replaced by 18 60
T3/SB/54:A4 F8 replaced by 18 60
|
The disk images are now available at http://www.brutaldeluxe.fr/crack/ - I've been able to make a correct copy of side 1. Don't use the same disk image in OpenEmulator and Sweet16, that is the lesson of today...
Reboot and... enjoy,
LoGo
9/2017
Dernière édition par toinet le Mar 19 Sep 2017, 18:15; édité 1 fois |
|
Revenir en haut de page |
|
 |
toinet Site Admin
Inscrit le: 15 Juin 2007 Messages: 2928 Localisation: Le Chesnay, France
|
Posté le: Dim 17 Sep 2017, 18:41 Sujet du message: |
|
|
The routine that sets the marker and the read routine
Code: |
11CF- F0 10 BEQ $11E1
11D1- 29 0F AND #$0F
11D3- A8 TAY
11D4- B9 AD 11 LDA $11AD,Y
11D7- 8D C8 09 STA $09C8 ; B95F
11DA- B9 BD 11 LDA $11BD,Y
11DD- 8D D3 09 STA $09D3 ; B96A
11E0- 60 RTS
11E1- A9 AA LDA #$AA
11E3- 8D C8 09 STA $09C8 ; B95F
11E6- A9 96 LDA #$96
11E8- 8D D3 09 STA $09D3 ; B96A
11EB- 60 RTS
11AD- 96 97 9A 9B 9D 9E 9F A6 ED EE EF F2 F3 F4 F5 F6
11BD- ED EE EF F2 F3 F4 FF F7 96 A6 AA D5 DF EA AE FE
09AD- A0 FC LDY #$FC
09AF- 84 52 STY $52
09B1- C8 INY
09B2- D0 04 BNE $09B8
09B4- E6 52 INC $52
09B6- F0 F3 BEQ $09AB
09B8- BD 8C C0 LDA $C08C,X
09BB- 10 FB BPL $09B8
09BD- C9 D5 CMP #$D5
09BF- D0 F0 BNE $09B1
09C1- EA NOP
09C2- BD 8C C0 LDA $C08C,X
09C5- 10 FB BPL $09C2
09C7- C9 AA CMP #$AA
09C9- D0 F2 BNE $09BD
09CB- A0 03 LDY #$03
09CD- BD 8C C0 LDA $C08C,X
09D0- 10 FB BPL $09CD
09D2- C9 96 CMP #$96
09D4- D0 E7 BNE $09BD
09D6- A9 00 LDA #$00
09D8- 85 53 STA $53
09DA- BD 8C C0 LDA $C08C,X
09DD- 10 FB BPL $09DA
09DF- 2A ROL
09E0- 85 52 STA $52
09E2- BD 8C C0 LDA $C08C,X
09E5- 10 FB BPL $09E2
09E7- 25 52 AND $52
09E9- 99 56 00 STA $0056,Y
09EC- 45 53 EOR $53
09EE- 88 DEY
09EF- 10 E7 BPL $09D8
09F1- A8 TAY
09F2- D0 B7 BNE $09AB
09F4- A4 57 LDY $57
09F6- BD 8C C0 LDA $C08C,X
09F9- 10 FB BPL $09F6
09FB- D9 AD 11 CMP $11AD,Y
09FE- D0 AB BNE $09AB
0A00- EA NOP
0A01- BD 8C C0 LDA $C08C,X
0A04- 10 FB BPL $0A01
0A06- D9 BD 11 CMP $11BD,Y
0A09- D0 A0 BNE $09AB
0A0B- 18 CLC
0A0C- 60 RTS
|
|
|
Revenir en haut de page |
|
 |
|
|
Vous ne pouvez pas poster de nouveaux sujets dans ce forum Vous ne pouvez pas répondre aux sujets dans ce forum Vous ne pouvez pas éditer vos messages dans ce forum Vous ne pouvez pas supprimer vos messages dans ce forum Vous ne pouvez pas voter dans les sondages de ce forum
|
|