Loading 3D model… large boards can take a moment.
This project is a fully microcoded 8-bit CPU designed from scratch and implemented using 100+ 74LS-series ICs across 40+ breadboards.
The system includes:
This is the third architectural iteration. Earlier versions exposed architectural limitations. The current version runs reliably at approximately ~0.25 MHz.
The assembler uses suffix symbols to indicate addressing modes:
$ = Immediate@ = Absolute# = Indirect (pointer-based)& = Absolute + X offsetExample:
lda $10
lda @2000
lda #3000
lda &4000
inx
0x00 lda $
0x01 lda @
0x02 lda #
0x03 lda &
0x04 ldx $
0x05 ldx @
0x06 ldx #
0x07 ldx &
0x08 inx
0x09 dex
0x0A txa
0x0B tax
0x0C add $
0x0D add @
0x0E add #
0x0F add &
0x10 sub $
0x11 sub @
0x12 sub #
0x13 sub &
0x14 adc $
0x15 adc @
0x16 adc #
0x17 adc &
0x18 sbc $
0x19 sbc @
0x1A sbc #
0x1B sbc &
0x1C and $
0x1D and @
0x1E and #
0x1F and &
0x20 orr $
0x21 orr @
0x22 orr #
0x23 orr &
0x24 shr
0x25 shl
0x26 ror
0x27 rol
0x28 sta @
0x29 sta #
0x2A sta &
0x2B stx @
0x2C stx #
0x2D stx &
0x2E pla
0x2F pha
0x30 plx
0x31 phx
0x32 plf
0x33 phf
0x34 xla
0x35 xlx
0x36 jsr @
0x37 rsr
0x38 clf
0x39 msk
0x3A umk
0x3B jmp @
0x3C beq @
0x3D bne @
0x3E bmi @
0x3F bpl @
0x40 bcs @
0x41 bcc @
0x42 ila
0x43 ilx
0x44 isa
0x45 isx
The ALU is implemented using discrete TTL logic:
The CPU uses a horizontal microcode architecture.
The microstep counter increments sequentially and overflows to reset.
Conditional branches do not alter microcode sequencing.
Instead, discrete logic gates PC load signals based on flag conditions (Z, C, S).
Each microinstruction directly drives register enables, ALU operations, bus drivers, PC control, memory read/write, and flag updates.
Total address space: 64KB
Current configuration includes:
Stack resides in a dedicated page and grows downward.
The CPU integrates with a separate VGA driver module.
Features:
The CPU writes character data into shared dual-port memory.
The VGA module independently reads this memory to generate video timing and pixel output.
VGA signal generation approach was inspired by Ben Eater’s methodology and adapted for this architecture.
Custom Python-based programming pipeline:
Two-pass assembler:
Outputs a hex array representation of machine code.
A secondary Python script converts the output into binary format for ROM flashing via XGPro.
Major issue encountered:
Debugging involved:
System runs reliably at approximately ~1 MHz.
Estimated current draw: ~1.2–1.6A under load.
No comments yet. Be the first to ask about this board.