cpu_timing_test6 by Blargg
Moderator: Moderators
cpu_timing_test6 by Blargg
The read me said to post Unknown Erros to the forum, so the following is the error I'm getting when testing my emulation.
6502 Timing Test (16 Seconds)
Official Instructions Only
Fail OP :$00
Unknown Error
$019B
If you have any advice/knowledge on what could possibly be wrong with my emulation that would cause this error, that would be great if you could share that to me.
6502 Timing Test (16 Seconds)
Official Instructions Only
Fail OP :$00
Unknown Error
$019B
If you have any advice/knowledge on what could possibly be wrong with my emulation that would cause this error, that would be great if you could share that to me.
- It's the BRK. Do you know the BRK timing diagram?
Code: Select all
1 PC R fetch opcode, increment PC
2 PC R read next instruction byte (and throw it away),
increment PC
3 $0100,S W push PCH on stack, decrement S
4 $0100,S W push PCL on stack, decrement S
5 $0100,S W push P on stack (with B flag set), decrement S
6 $FFFE R fetch PCL
7 $FFFF R fetch PCH
Perhaps I wasn't crystal clear. Look at my message: it has how the BRK works, cycle by cycle (first column at left).
Zepper
RockNES author
RockNES author
About halfway down this document it looks to describe most of what is wanted:
http://nesdev.com/6502_cpu.txt
Al
http://nesdev.com/6502_cpu.txt
Al
-
- Posts: 36
- Joined: Wed Jul 04, 2007 8:40 am
Also useful:
http://users.telenet.be/kim1-6502/6502/hwman.html#AA
Appendix A - SUMMARY OF SINGLE CYCLE EXECUTION
http://users.telenet.be/kim1-6502/6502/hwman.html#AA
Appendix A - SUMMARY OF SINGLE CYCLE EXECUTION