Zenathdark
New member
Could somone maybe tak a look at my 6502 core? I am trying to run SMB1, but it is always ending in a loop somewhere
lain:
I have made a Log, with some debug info in it, containing the registers opcodes , and at which PC they where executed.
I am fairly sure that i am loading the ROM correctly into memory, because SMB1 should not contain a mapper, right? So i am just loading in the program code in at 0x8000, and not including the header. And I am "Swapping" in the CHR-ROM in my Ppu Memory at 0x0000 - 0x2000.
So I think that somewhere in the my 6502 instructions core, lies an error somewhere. It should not be hard to track down, using the Debug Log provided :bouncy:
But since I am not a hardcore 6502 ASM buff, I find it a little tricky to know if I am emulating the instructions correct.
Maybe someone can help?
I have made a Log, with some debug info in it, containing the registers opcodes , and at which PC they where executed.
I am fairly sure that i am loading the ROM correctly into memory, because SMB1 should not contain a mapper, right? So i am just loading in the program code in at 0x8000, and not including the header. And I am "Swapping" in the CHR-ROM in my Ppu Memory at 0x0000 - 0x2000.
So I think that somewhere in the my 6502 instructions core, lies an error somewhere. It should not be hard to track down, using the Debug Log provided :bouncy:
But since I am not a hardcore 6502 ASM buff, I find it a little tricky to know if I am emulating the instructions correct.
Maybe someone can help?