HC-16: 16-bit CPU from 74xx with graphics TFT
16-bit CPU from 74xx, draws on the TFT by itself.
- 74xx CPU
- ST7735 TFT
- FT232RL
Open in the simulatorNo account needed: press Simulate and it runs.

How it works
Single-cycle 16-bit CPU from real chips: four 74LS181 + 74LS182 as ALU (all 32 functions), registers A/B/X from 74HC173, stack with CALL/RET, 74HC161 program counter, six AT28BV64B as program ROM (16-bit constant + 32-bit control word), two AS6C62256 as 32K×16 RAM. An SPI port from 74HC165/74HC161 drives the ST7735 directly: the CPU initializes the display itself and draws every pixel, including the text (5×7 font in RAM). Input over USB-UART. Commands HELP, CLS, FIB, PRIMES, DEMO (color bars and diagonal). 100 kHz clock. U_CPU → "Open internals" shows all chips.
Wiring
Each line is one connection (net) and the pins it joins.
| Net | Pins |
|---|---|
| GND | C_USB1 2C_USB2 2DS_TFT GNDLED_HALT KR_RST 2USB_UART GNDUSB_UART GND18USB_UART GND21USB_UART AGNDUSB_UART TESTV_USB −V1 − |
| VCC | BTN_RST 1C_RST 1C_USB2 1DS_TFT VCCUSB_UART VCCIOUSB_UART RESETnV1 + |
| LED_HALT | LED_HALT AR_HALT 2 |
| RST | BTN_RST 2C_RST 2R_RST 1 |
| USB5V | C_USB1 1USB_UART VCCV_USB + |
- BTN_RST
- Push button
- C_RST
- Capacitor
- C_USB1
- Capacitor
- C_USB2
- Capacitor
- LED_HALT
- LED
- R_HALT
- Resistor
- R_RST
- Resistor
- V_USB
- DC voltage