Hi
Almost finished my 6502 cpu and need to compare it to something, running nestest.nes goes *kinda* well, gives some problems with bit shifting opcodes but other than that it's fine. However the tests in instr_test_v5 all give me errors(excpet for the 01 basics test which passes for some reason). Test 02-Implied reports failed for pretty much every opcode:
And all other tests also report errors but they go off track(starts executing 00's and FF's) before even showing me the "Failed" text.
I thought this was weird since nestest.nes didn't complain that much, so I want to investigate. nestest had the adventage of using only a few instruction, making it easier for me to find the part where it went wrong and then compare it to nintendulator debug and fix it.
However instr_test_v5 is much bigger and I cannot debug it the way I debug nestest, so I need to compare it to a log to see where it goes wrong. However, I cannot find a log of those rom's and nintendulator crashes on my linux PC when creating a log.
So I need another NES emulator that is able to pass the tests correctly that can generate a text log for me to load into my program and compare.
Does anyone know such emulator?
Also, any advice on my errors is apreciated.
Thanks!
Almost finished my 6502 cpu and need to compare it to something, running nestest.nes goes *kinda* well, gives some problems with bit shifting opcodes but other than that it's fine. However the tests in instr_test_v5 all give me errors(excpet for the 01 basics test which passes for some reason). Test 02-Implied reports failed for pretty much every opcode:
Code:
0A ASL A
6A ROR A
4A LSR A
8A TXA
98 TYA
AA TAX
A8 TAY
E8 INX
C8 INY
CA DEX
88 DEY
38 SEC
18 CLC
F8 SED
D8 CLD
78 SEI
58 CLI
B8 CLV
EA NOP
1A NOP
3A NOP
5A NOP
7A NOP
DA NOP
FA NOP
02-implied
Failed
6A ROR A
4A LSR A
8A TXA
98 TYA
AA TAX
A8 TAY
E8 INX
C8 INY
CA DEX
88 DEY
38 SEC
18 CLC
F8 SED
D8 CLD
78 SEI
58 CLI
B8 CLV
EA NOP
1A NOP
3A NOP
5A NOP
7A NOP
DA NOP
FA NOP
02-implied
Failed
And all other tests also report errors but they go off track(starts executing 00's and FF's) before even showing me the "Failed" text.
I thought this was weird since nestest.nes didn't complain that much, so I want to investigate. nestest had the adventage of using only a few instruction, making it easier for me to find the part where it went wrong and then compare it to nintendulator debug and fix it.
However instr_test_v5 is much bigger and I cannot debug it the way I debug nestest, so I need to compare it to a log to see where it goes wrong. However, I cannot find a log of those rom's and nintendulator crashes on my linux PC when creating a log.
So I need another NES emulator that is able to pass the tests correctly that can generate a text log for me to load into my program and compare.
Does anyone know such emulator?
Also, any advice on my errors is apreciated.
Thanks!