I've read "Adding an SNES Intro" by DaMarsMan and followed the instruction, the pic's data inserted into my Rom but there's no change when I start the Rom. I don't know where I was wrong, but I think somewhere the end of the document, which is a bit too vague.
Quote
One more last thing to do. In Intro.asm scroll down towards the bottom where you see this...
;old code from beginning of unchanged rom
CLC
XCE
SEI
REP #$10
JMP.l $008005 ;jump to fifth instruction
This code is all the instructions you are going to overwrite with our JMP opcode at the beginning of the Intro.asm. Open up Geiger's debugger and click Step Into about five times with your rom loaded. In the window you will see something like this....
;old code from beginning of unchanged rom
CLC
XCE
SEI
REP #$10
JMP.l $008005 ;jump to fifth instruction
This code is all the instructions you are going to overwrite with our JMP opcode at the beginning of the Intro.asm. Open up Geiger's debugger and click Step Into about five times with your rom loaded. In the window you will see something like this....
I did start the Debugger, load the Rom, hit the Step Into button 5 times and here's the result
SEI
CLC
XCE
JMP $80917A [$80:917A]
SEP #$20
LDA #$80
As the screenshot below
The 5th instruction is SEP #$20, and according to the document
Quote
You need to add the first four instructions on the debugger screen to the Intro.asm and change the JMP.l $008005 to the location of the fifth instruction. Don't forget to delete my first four. It's going to be different depending on the game.
So I must rewrite the "old cold from begining of unchanged rom" section like this
SEI
CLC
XCE
JMP $80917A
JMP.l $00917E
Is it right or wrong?
I wonder if anyone can help.