Рет қаралды 4,278
In this video I implement the "Break" BRK instruction and the "Return From Interrupt" instruction RTI. These (i thought!) are the last instructions to be implemented, after which we can start trying out real test programs in the next video.
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 Intro
0:30 BRK instruction
2:40 BRK program counter test
7:30 BRK program counter implementation
9:52 B Flag test
10:54 B Flag implemented
11:12 Stack values test
16:10 Pushing stack values
27:00 Refactoring PushPCToStack
30:30 RTI instruction
31:00 RTI test
33:28 RTI implementation
41:11 Fixing failing tests
44:15 Closing comments
45:01 6502 test program