6502

所属分类:处理器开发
开发工具:Python
文件大小:20KB
下载次数:0
上传日期:2014-03-03 17:52:36
上 传 者sh-1993
说明:  6502微控制器的模拟器和调试器
(Emulator and debugger for the 6502 microcontroller)

文件列表:
lib (0, 2014-03-04)
lib\__init__.py (0, 2014-03-04)
lib\assembler.py (3861, 2014-03-04)
lib\controller.py (1523, 2014-03-04)
lib\debugger.py (2579, 2014-03-04)
lib\ops.py (10974, 2014-03-04)
lib\plugins.py (3624, 2014-03-04)
lib\spec.py (153853, 2014-03-04)
run.py (422, 2014-03-04)
samples (0, 2014-03-04)
samples\disco.txt (949, 2014-03-04)
samples\kitt.txt (207, 2014-03-04)
samples\simple.txt (56, 2014-03-04)
samples\snake.txt (2960, 2014-03-04)

## 6502 Emulator ## After I found [this very nice tutorial][tutorial] on writing assembler code for the 6502 microprocessor I gave it a try myself at the following CodingDojo. It took a while to wrap my head around it but at the end of the evening we successfully painted the display blue - not quite the sphere ray-tracing we originally had in mind. So I thought the best way to really understand it, would be to implement an emulator for the processor myself. This is the result. ### Usage ### To run a program enter the following command. `debug` starts the debugger to step through the program instruction by instruction. python run.py [debug] ## Work in Progress ## The emulator is far from being complete. The most important instructions are implemented, but many are still missing. ### Acknowledgement ### I took the snake program from the [tutorial] and part of the test suite from [py65]. [tutorial]: http://skilldrick.github.io/easy6502/ [py65]: https://github.com/mnaberez/py65/

近期下载者

相关文件


收藏者