Debugging and Profiling 6502-based Computers

Debugging and Profiling 6502-based Computers

1.958 Lượt nghe
Debugging and Profiling 6502-based Computers
I wanted to demonstrate the process of debugging software and hardware faults in homebrew 6502 computer systems, using a cheap logic analyzer and the excellent 6502 Decoder software. The logic analyzer is Cypress EZ-USB FX2LP. The fx2pipe and decoder software is here: https://github.com/hoglet67/6502Decoder 00:00 Intro 00:33 Example code to debug 02:38 Monitoring the circuit 03:38 Cypress EZ-USB FX2LP 06:24 Capturing data 08:00 Manual inspection 09:48 The 6502 Decoder 13:21 Diagnosing a software bug 15:07 Deeper investigations 17:11 Diagnosing hardware bugs 20:37 Faster clock speeds 24:49 Profiling your code 27:17 Conclusion