********** pre commands:
1 NOP
2 NOP
3 NOP
4 NOP
5 Set gprm(0) =(mov) gprm(5)
6 if ( gprm(0) != 0 ) then { Goto line 8 }
7 Set gprm(0) =(mov) 1
8 Set gprm(0) &=(and) 63
9 Set gprm(0) *=(mul) 1024
10 NOP
11 Set gprm(3) =(mov) 10
12 (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
13 Set gprm(1) =(mov) 0
********** post commands:
1 Set gprm(3) =(mov) 0
2 Set gprm(0) =(mov) sprm(8:Highlighted button number)
3 Set gprm(0) /=(div) 1024
4 if ( gprm(0) != 1 ) then { Goto line 8 }
5 Set gprm(4) =(mov) 266
6 (JumpSS) Jump to VMGM PGC 2
7 NOP
8 if ( gprm(0) != 2 ) then { Goto line 12 }
9 Set gprm(5) =(mov) 5
10 LinkPGCN PGC 17
11 NOP
12 if ( gprm(0) != 3 ) then { Goto line 16 }
13 Set gprm(5) =(mov) 1
14 LinkPGCN PGC 8
15 NOP
16 NOP
********** cell commands:
I have done some editing and now when playing it, it just goes into a loop. These Commands above are exactly the same for Before and After the mods. (except line 10 is now PGC15 and line 14 is PGC6). The sequence is as follows...
original dvd....
Post Commands 1, 2, 3, 4, 8, 12, 13, 14... then it goes to VTSM1 PGC8 the main menu. This is right.
modified dvd....
Post Commands 1, 2, 3, 4, 8, 9, 10... then it goes to LinkPGCN PGC15 and into an endless oblivion.
I can sort of follow what is happening but not why it goes to the wrong place. Set gprm is the same values as before/after isn't it?
1 NOP
2 NOP
3 NOP
4 NOP
5 Set gprm(0) =(mov) gprm(5)
6 if ( gprm(0) != 0 ) then { Goto line 8 }
7 Set gprm(0) =(mov) 1
8 Set gprm(0) &=(and) 63
9 Set gprm(0) *=(mul) 1024
10 NOP
11 Set gprm(3) =(mov) 10
12 (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
13 Set gprm(1) =(mov) 0
********** post commands:
1 Set gprm(3) =(mov) 0
2 Set gprm(0) =(mov) sprm(8:Highlighted button number)
3 Set gprm(0) /=(div) 1024
4 if ( gprm(0) != 1 ) then { Goto line 8 }
5 Set gprm(4) =(mov) 266
6 (JumpSS) Jump to VMGM PGC 2
7 NOP
8 if ( gprm(0) != 2 ) then { Goto line 12 }
9 Set gprm(5) =(mov) 5
10 LinkPGCN PGC 17
11 NOP
12 if ( gprm(0) != 3 ) then { Goto line 16 }
13 Set gprm(5) =(mov) 1
14 LinkPGCN PGC 8
15 NOP
16 NOP
********** cell commands:
I have done some editing and now when playing it, it just goes into a loop. These Commands above are exactly the same for Before and After the mods. (except line 10 is now PGC15 and line 14 is PGC6). The sequence is as follows...
original dvd....
Post Commands 1, 2, 3, 4, 8, 12, 13, 14... then it goes to VTSM1 PGC8 the main menu. This is right.
modified dvd....
Post Commands 1, 2, 3, 4, 8, 9, 10... then it goes to LinkPGCN PGC15 and into an endless oblivion.
I can sort of follow what is happening but not why it goes to the wrong place. Set gprm is the same values as before/after isn't it?
Comment