Chips to Computer
You'll wire a CPU, some memory and a clock together with your own hands until a prompt shows up on a serial terminal.
About
A Z80 or 6502, a ROM, some RAM, a clock and a serial port is a computer. The breadboard build from Ben Eater's videos is the route these requirements assume, with long wires that pick up noise and a decoupling capacitor needed on every chip, and the parts come to 60 to 100 dollars. A kit like the RC2014 counts if its backplane leaves the bus exposed, so you can still do the slow clock and the NOP loop before the ROM goes in. Either way takes a season of evenings. Most dead builds are a reset line left floating or a clock that never started, so check those first. It's all 5 volts, so the only thing that can burn you is the iron.
At a glance
- Per requirement
- 50 XP
- Completion bonus
- 600 XP
- Requirements
- 6
- Takes
- One season
- Skill level
- Intermediate (months of practice)
- Cost
- Expensive ($100+)
- Supplies
- You need some
- Where
- At home
- Other people
- On your own
Requirements
-
1
Choose a design, draw its block diagram, and get the parts. CPU, ROM, RAM, clock, serial chip and the glue logic, each as a box with its lines to the bus. A kit or a bill of materials from a published design both count. Take a photo of the parts laid out on your drawing. Photo
-
2
Build the clock and reset circuit and show that it ticks. Start with a slow clock, one or two hertz from a 555, with an LED on the line so you can see it. Reset needs a pull-up and a button, and a floating reset is the most common reason nothing ever happens. Film the blink. Video
-
3
Get the CPU executing a NOP loop and show the address lines counting. Tie the data bus to a NOP instruction and put LEDs on the address bus. The CPU is alive when they count up in binary with every tick. Film the count. Video
-
4
Add ROM and RAM and get a monitor or BASIC to a serial terminal. Burn the monitor or BASIC into the ROM, wire the serial chip, and speed the clock up. The first prompt on your laptop's terminal is the moment this whole badge is about. Take a photo of the terminal with the prompt from the board. Photo
-
5
Write a program on it that does something you can see. BASIC or assembly both count. Blink a port LED in a pattern, print a table, or play a tune on a piezo. Film the result. Video
-
6
Explain the memory map in a one-page drawing. Show where ROM, RAM and I/O live, which address lines decide, and why. If you can explain it to a friend in five minutes, you're done. Take a photo of the drawing. Photo