I have started to write the PPU and I'm still working with nestest. I'm launching nestest from the reset Vector and not from C000 anymore and the program seems to loop. Here's my log :
Code: Select all
c004 78 Set Disable Interrupt Flag A=0 X=0 Y=0 P=24 SP=fd
c005 d8 Clear Decimal Flag A=0 X=0 Y=0 P=24 SP=fd
c006 a2 Load X, Immediate ff A=0 X=ff Y=0 P=a4 SP=fd
c008 9a Transfer X to Stack Pointer A=0 X=ff Y=0 P=a4 SP=ff
c009 ad Load In A, Absolute @ 2002 = 80 A=80 X=ff Y=0 P=a4 SP=ff
c00c 10 Branch on Plus offset = fb A=80 X=ff Y=0 P=a4 SP=ff
c00e ad Load In A, Absolute @ 2002 = 0 A=0 X=ff Y=0 P=26 SP=ff
c011 10 Branch on Plus offset = fb A=0 X=ff Y=0 P=26 SP=ff
c00e ad Load In A, Absolute @ 2002 = 0 A=0 X=ff Y=0 P=26 SP=ff
c011 10 Branch on Plus offset = fb A=0 X=ff Y=0 P=26 SP=ff
c00e ad Load In A, Absolute @ 2002 = 0 A=0 X=ff Y=0 P=26 SP=ff
c011 10 Branch on Plus offset = fb A=0 X=ff Y=0 P=26 SP=ff
c00e ad Load In A, Absolute @ 2002 = 0 A=0 X=ff Y=0 P=26 SP=ff
c011 10 Branch on Plus offset = fb A=0 X=ff Y=0 P=26 SP=ff
I don't see what's going wrong here.