hi everbody
i want ask in this case of changing game from right to left displaying text
i change 3 games to (right to left) but some games give me bad case which i can't handle with it >>> this case
i set the pointer to the text from PPU hex editor, usually i find the routine text from this method but in Contra Force game i can't find the text routine the breakpoint load the characters value into Accumulator and the debugger stop on STA $2007=$00 , this the breakpoint from debugger
$D5C5:9A TXS
$D5C6:60 RTS
$D5C7:A9 FF LDA #$FF
$D5C9:8D 07 20 STA $2007 = #$00 ; it stops here
$D5CC:68 PLA
$D5CD:C9 FF CMP #$FF
$D5CF:D0 F8 BNE $D5C9
$D5D1:A5 17 LDA $0017 = #$22
$D5D3:C9 3F CMP #$3F
$D5D5:D0 03 BNE $D5DA
$D5D7:20 68 D6 JSR $D668
$D5DA:4C 9B D5 JMP $D59B
$D5DD:68 PLA
$D5DE:AA TAX
$D5DF:68 PLA
$D5E0:8D 07 20 STA $2007 = #$00
$D5E3:CA DEX
$D5E4:D0 FA BNE $D5E0
$D5E6:F0 B3 BEQ $D59B
$D5E8:E0 06 CPX #$06
$D5EA:F0 0C BEQ $D5F8
$D5EC:68 PLA
$D5ED:AA TAX
$D5EE:68 PLA
$D5EF:8D 07 20 STA $2007 = #$00
$D5F2:CA DEX
$D5F3:D0 F9 BNE $D5EE
$D5F5:4C 9B D5 JMP $D59B
$D5F8:68 PLA
$D5F9:AA TAX
$D5FA:AD 02 20 LDA $2002 = #$03
$D5FD:A5 17 LDA $0017 = #$22
and as i said the A = #18 , so what is happen.. ? and how i can contrinue figuring the text routine with games like that???
i want ask in this case of changing game from right to left displaying text
i change 3 games to (right to left) but some games give me bad case which i can't handle with it >>> this case
i set the pointer to the text from PPU hex editor, usually i find the routine text from this method but in Contra Force game i can't find the text routine the breakpoint load the characters value into Accumulator and the debugger stop on STA $2007=$00 , this the breakpoint from debugger
$D5C5:9A TXS
$D5C6:60 RTS
$D5C7:A9 FF LDA #$FF
$D5C9:8D 07 20 STA $2007 = #$00 ; it stops here
$D5CC:68 PLA
$D5CD:C9 FF CMP #$FF
$D5CF:D0 F8 BNE $D5C9
$D5D1:A5 17 LDA $0017 = #$22
$D5D3:C9 3F CMP #$3F
$D5D5:D0 03 BNE $D5DA
$D5D7:20 68 D6 JSR $D668
$D5DA:4C 9B D5 JMP $D59B
$D5DD:68 PLA
$D5DE:AA TAX
$D5DF:68 PLA
$D5E0:8D 07 20 STA $2007 = #$00
$D5E3:CA DEX
$D5E4:D0 FA BNE $D5E0
$D5E6:F0 B3 BEQ $D59B
$D5E8:E0 06 CPX #$06
$D5EA:F0 0C BEQ $D5F8
$D5EC:68 PLA
$D5ED:AA TAX
$D5EE:68 PLA
$D5EF:8D 07 20 STA $2007 = #$00
$D5F2:CA DEX
$D5F3:D0 F9 BNE $D5EE
$D5F5:4C 9B D5 JMP $D59B
$D5F8:68 PLA
$D5F9:AA TAX
$D5FA:AD 02 20 LDA $2002 = #$03
$D5FD:A5 17 LDA $0017 = #$22
and as i said the A = #18 , so what is happen.. ? and how i can contrinue figuring the text routine with games like that???