WHDLoad MantisBT - Darkman
View Issue Details
0005033Darkman[WHDLoad Installs Games] OCSpublic2021-02-21 21:062021-03-06 17:03
ReporterJOTD 
Assigned ToCFOU 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version[WHDLoad Installs Games] none 
Target VersionFixed in Version 
MachineA1200
CPU68020
CPUSpeed50
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem0 MB
WorkbenchOS 3.0
KickROM40 - Kick 3.1
KickSoftNone
WHDLoad18.6
imported
Summary0005033: possible missing protection removal
Description
Seems to be two faults in the slave.

1. Copylock id is not returned at $64, but $60.
2. A checksum routine at address $7DCC have been missed.

https://eab.abime.net/showthread.php?t=105930
TagsNo tags attached.
Attached Files

Notes
(0009652)
CFOU   
2021-02-26 02:34   
first verification:
at: 7DCC sub d0,(AO)

it is Self-Modified code if protection failed.

so if checksum is OK, D0 register will by set to 0.

It's the case, code are not modifyed so not needed to remove instruction at $7DCC

for $60 instead of $60; il will verify next time.
(0009674)
CFOU   
2021-03-06 17:03   
after verification all protections correctly removed

3 track disk protection tested at $54dc, $9908, $10a44

after special track load:
-------------------------
D0 CPu register must contain KEY= $96C1AAFE
3 test codes are similars:

D0:=$96C1AAFE
Move.w #$64,$3e8c
EOR.L #$693e5501,d0 =>D0=$ffffffff
NOT.L D0 =>D0=$00000000
BNE/BEQ label
If there are not 0 in D0 register then game code are badly modified or crypted to cause crashes

no read calls at $64 or $60





Issue History
2021-02-21 21:06JOTDNew Issue
2021-02-21 21:07JOTDStatusnew => assigned
2021-02-21 21:07JOTDAssigned To => CFOU
2021-02-26 02:34CFOUNote Added: 0009652
2021-03-06 17:03CFOUStatusassigned => closed
2021-03-06 17:03CFOUResolutionopen => no change required
2021-03-06 17:03CFOUNote Added: 0009674