I know weve talked about this before but, What patches did you do to "force" the reading of the SS?
thanks -Zenofex-
It won't really matter because the patches didn't work but i tell you what i tried. I don't know much about asm
X34ed:
jb 21h.5,X34f3 ; 34ed 20 0d 03
ljmp X35f0 ; 34f0 02 35 f0
;
X34f3:
jb 23h.1,X34f9 ; 34f3 20 19 03
ljmp X376f ; 34f6 02 37 6f
If 23h.5 bit is not set then it jumps to X35F0 because it thinks and orginal disc is inserted. The SS is reading further down at 36ad.
i tried noping out this jb so it would always jump to 35F0. that didn't work when i tested my copy. when i tested with my orginal halo 2 it would attempt to read the security sector still so it wasn't geting executed with a copy inserted.
someone told me the jump to 376f is the normal read dvd struct.
X34c8:
clr 23h.1 ; 34c8 c2 19
setb 21h.5 ; 34ca d2 0d
mov r6,#82h ; 34cc 7e 82
mov r7,#8ah ; 34ce 7f 8a
lcall Xd9f6 ; 34d0 12 d9 f6
mov 38h,r7 ; 34d3 8f 38
mov a,38h ; 34d5 e5 38
anl a,#60h ; 34d7 54 60
jz X34ed ; 34d9 60 12
setb 23h.1 ; 34db d2 19
mov a,38h ; 34dd e5 38
jnb acc.4,X34e8 ; 34df 30 e4 06
clr 21h.5 ; 34e2 c2 0d
mov r7,#83h ; 34e4 7f 83
sjmp X34ea ; 34e6 80 02
;
X34e8:
mov r7,#82h ; 34e8 7f 82
X34ea:
lcall X096b ; 34ea 12 09 6b
I tried lots of patches in this code. i tried playing with 21h.5. None of which worked. with a few patches it would break the reading of a ss from an orginal this makes me think i am in the right spot but not patching the right stuff because i don't really understand what all is going on. i can understand the execution but not the reasoning.
above that at 348b is the code that executes when a disc is inserted.
X348b:
mov r5,#0 ; 348b 7d 00
mov r6,#8 ; 348d 7e 08
mov r7,#88h ; 348f 7f 88
lcall Xd915 ; 3491 12 d9 15
mov r5,#0 ; 3494 7d 00
mov r6,#8 ; 3496 7e 08
mov r7,#89h ; 3498 7f 89
lcall Xd915 ; 349a 12 d9 15
mov r5,#0 ; 349d 7d 00
mov r6,#8 ; 349f 7e 08
mov r7,#8ah ; 34a1 7f 8a
lcall Xd915 ; 34a3 12 d9 15
mov r5,#0 ; 34a6 7d 00
mov r6,#8 ; 34a8 7e 08
mov r7,#8bh ; 34aa 7f 8b
lcall Xd915 ; 34ac 12 d9 15
mov r6,#82h ; 34af 7e 82
mov r7,#98h ; 34b1 7f 98
lcall Xd9f6 ; 34b3 12 d9 f6
mov a,r7 ; 34b6 ef
jnb acc.7,X34c8 ; 34b7 30 e7 0e
mov r0,#1ah ; 34ba 78 1a
mov a,@r0 ; 34bc e6
mov r7,a ; 34bd ff
swap a ; 34be c4
anl a,#0fh ; 34bf 54 0f
xrl a,#1 ; 34c1 64 01
jz X34c8 ; 34c3 60 03
lcall X095c ; 34c5 12 09 5c
I am going to look at it closer but any help is appreciated thanks.