Рет қаралды 10,193
In this video i compile and run the 6502 test program from github written by Klaus2m5 and use it to try and find and fix bugs in the 6502 implementation.
This video is quite long due to the conflicting documenation i found about how the processor status works when it is being pushed to the stack during a break/interrupt.
Links:
Source for this project: github.com/davepoo/6502Emulator
Google Test: github.com/google/googletest
6502 Information: www.obelisk.me.uk/6502/
6502 test program: github.com/Klaus2m5/6502_65C0...
Timestamps
0:00 Klaus2m5 test program
3:24 Compile test program
5:32 Load test program
9:35 Running the test program
11:00 Problem with PHP & BRK
14:50 Updating tests for PHP
21:33 Updating PHP
23:30 Fixing failing PHP test
26:20 Updating PLP test
27:55 Updating PLP
30:17 More PLP tests
32:26 Rerun test program
34:22 Updating BRK tests
35:35 Updating BRK
38:21 Updating RTI
40:45 Conflicting documentation
43:44 Rerun test program
45:08 Setting the interrupt disable flag
47:10 Rerun test program
48:39 Fixing failing BRK test
49:40 To be continued...