The CPU is based on Ben Eater's 8-bit breadboard CPU. A built-in debugger allows pausing the CPU, loading programs, inspecting/modifying registers, etc.
The debugger is accessible over I2C at address 0x2A (0x54 write, 0x55 read). The provided dbg
program can be used to load programs, inspect registers, etc.
Optionally, data can be provided on the input pins and consumed on the output pins. They are accessible to the CPU as the IN and OUT registers.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Input Port | Output Port | |
1 | Input Port | Output Port | |
2 | Input Port | Output Port | SCL |
3 | Input Port | Output Port | SDA |
4 | Input Port | Output Port | HALTED |
5 | Input Port | Output Port | |
6 | Input Port | Output Port | |
7 | Input Port | Output Port |