6502 Breadboard Simulator

In-browser 65C02 + 65C22 VIA + 16x2 LCD emulator with the real wiring.

Back to projects

About the 6502 + VIA + LCD breadboard simulator

This is the same 65C02 + 65C22 + HD44780 wiring used on the physical breadboard. Programs talk to the LCD through VIA PORTB (data) and PORTA (E/RW/RS), and read button input on PORTA bits PA0..PA4. Load an example below, press RESET, and run or step to see the LCD light up on the board.

Firmware Editor

VASM-style 6502 assembly. Assemble to ROM at $8000.

Example programs Click an example to load it into the editor.

How to use this simulator

  1. Pick an example or edit the program in the editor.
  2. Press RESET on the breadboard to load it into ROM.
  3. Run, or Step Instruction to execute a single opcode.
  4. Use the buttons to send input on PORTA (PA0..PA4).
  5. The LCD output appears on the breadboard image to the right.

Breadboard + LCD

Real wiring reference with live HD44780 output. 5 + 3 - 2 = 6

  1. 1 Reset
  2. 2 Clock
  3. 3 Step/Run
  4. 4 Watch buses
  5. 5 Inspect
Click the chips and the LCD to see more info.
6502 breadboard computer with VIA and LCD
EEPROM
ADDR$0000
DATA$00
R/WR
65C02 CPU
---
---
EEPROM
---
simple_sum.s
Click to preview what's executed next.
RAM
---
65C22 VIA
---
CLK
Cycles: 0
Step until the program reaches the hold loop at the end.