mtojek / 6502-monitor

6502 monitor for Arduino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monitor 6502 microprocessor with Arduino UNO R3 and custom input extension

This repository contains Kicad schematics and .ino source files to extend your Arduino UNO R3 with additional inputs. If you are following the Ben's Eater course to build a 6502 computer, you will see that Ben operates on Arduino MEGA. Use schematics and source code from this repository to continue the Ben's course with Arduino UNO.

The 6502 monitor is programmed to observe address and data buses, and the read/write mode. For debugging and learning purposes, it's advised to use the external clock signal.

Sample output

Check Arduino serial monitor to preview buses:

<address> <data> <address_hex> <Read/Write mode> <data_hex>
0000000110010110 00000000    0196 R 00
1111111111111100 00000000    fffc R 00
1111111111111101 00000000    fffd R 00
0000000000000000 00000000    0000 R 00
0000000000000001 00000000    0001 R 00
0000000110010101 00000000    0195 W 00
0000000110010100 00000010    0194 W 02
0000000110010011 00000110    0193 W 06
1111111111111110 00000000    fffe R 00
1111111111111111 00000000    ffff R 00
0011000000110000 00000000    3030 R 00
0011000000110001 00000000    3031 R 00
0011000000110010 00000000    3032 R 00
0011000000110011 00000000    3033 R 00
0011000000110100 00000000    3034 R 00
0011000000110101 00000000    3035 R 00

Kicad preview

Photos

About

6502 monitor for Arduino

License:Apache License 2.0


Languages

Language:C++ 96.3%Language:C 3.7%