• Stars
    star
    152
  • Rank 244,685 (Top 5 %)
  • Language
    Assembly
  • Created over 3 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Legacy: TTL-only CPU featuring UART I/O, an expansion port, 512KB SSD at up to 10MHz clock speed

Minimal UART CPU System

test

NEW: Check out the full 'Minimal 64 Home Computer': https://github.com/slu4coder/The-Minimal-64-Home-Computer

NEW: Minimal CPU 1.6 'Redux' is now running in beast mode at up to 8.3MHz.

redux

● Build your own 'Minimal CPU System' on breadboards: https://www.youtube.com/watch?v=Gz1VVOsNn_8

● Python-like high-level programming language MIN released: https://www.youtube.com/watch?v=H342TwW4R7k

● 'Minimal VGA Extension Card' released! https://github.com/slu4coder/DIY-VideoRAM/tree/main/KiCAD

● 'Minimal CPU System' Emulator released! See user manual chapter 'Minimal Emulator' for details.

● Native assembler and text editor released!

● User Manual and Reference: https://docs.google.com/document/d/1c2ZHtLd1BBAwcBAjBZZJmCA3AXpbpv80dlAtsMYpuF4/edit?usp=sharing

● Revision 1.5 is out now featuring 512KB FLASH SSD, 3.6864MHz clock speed and an expansion port! https://www.youtube.com/watch?v=osVi06VKvA0

● Minimal Python Assembler released: https://www.youtube.com/watch?v=rdKX9hzA2lU

● The Minimal CPU System now has a dedicated hardware serial 'Minimal Terminal': https://github.com/slu4coder/Minimal-Terminal but can also be operated via a USB-to-serial breakout board and a terminal emulation (e. g. Tera Term) of cause.

I've built my own Computer from scratch - using nothing but TTL chips, because, well, why not? I wanted a CPU that is easy to understand, fun to build and powerful enough to allow for programming educational stuff and little games on it. Ah, and by the way - it should be as simple as possible - sort of the "Simplest Usable Personal Computer". This repo provides you with everything you need to follow my one-and-a-half-year journey down this rabbit hole. Besides running some video game classics, this little DIY CPU is capable of parsing arbitrary mathmatical expressions and performing floating point calculations in single (32-bit) precision. And it comes with an SSD file system, too, since it uses it's own FLASH IC as permanent SSD storage. Over the last year I have written an entire native toolchain: a text editor, an assembler and the Python-like high-level programming language MIN.

WHAT YOU GET:

● Block diagram of the CPU and overview it's instruction set

● KiCAD project files with detailed schematics and PCB layout

● Gerber files ready to be submitted at any PCB manufacturer of your choice

● Bill of material

● Images in .bin format of both the ROM and the CPU's control microcode

● Source code of the minimal operating system MinOS and several demos and games

● Cross-assembler 'asm.exe' running on Windows (or Python) to comfortably write, assemble and upload your own software

TECHNICAL SPECIFICATION:

● Processing power (1.0Mips @8.3MHz) comparable to 2.3 x Commodore 64 or Apple II

● Clear(est?) and simple(st? – you judge!) design for fun and education

● 8-bit data bus, 16-bit address bus, Von-Neumann architecture

● 64 instructions (conditional branching, subroutines, stack and word ops)

● 32KB RAM / 512KB FLASH ROM (OS, memory monitor, disassembler, tools)

● SSD file system (commands LOAD, SAVE, DIR, DELETE, FORMAT as you'd expect)

● UART interface (up to 500kbps) for terminal display, keyboard input and file I/O

● Expansion port (I/O card and VGA card available, build your own!)

● 24 (16) control signals, 2 registers A and B, ALU (arithmetic and logic unit) = simple adder, 3 flags (negative, carry and zero)

● Built from 74HCxx TTL logic on 120mm x 190mm PCB or 8 breadboards

I hope you find this information useful, educational or otherwise interesting. I'd love to hear about your build, so meet me on YouTube.

https://www.youtube.com/channel/UCXYQcMpUBT3aaQKfmAVJNow

Have fun! slu4

More Repositories

1

Minimal-64x4-Home-Computer

My DIY home computer with VGA and PS/2 and 4x(!) the processing power of a Commodore C64 or Apple II.
Assembly
96
star
2

The-Minimal-64-Home-Computer

Legacy: Full TTL-only home computer with VGA and PS/2 and twice the processing power of a Commodore 64
Assembly
73
star
3

Minimal-Terminal

Minimalistic serial UART terminal with 60 x 25 characters VGA output and PS/2 keyboard at up to 230400bps based upon 2x ATmega328P
C++
47
star
4

SST39SF010-FLASH-Programmer

DIY FLASH EEPROM programmer
C++
43
star
5

Arduino-Nano-PC

1 Arduino Nano + 1 Logic Chip = Personal Computer with VGA and PS/2
C++
34
star
6

Minimal-UART-Emulator

Real-time emulator for the 'Minimal UART CPU' REVISION 1.2 in under 250 lines of C++ code.
C++
30
star
7

DIY-VideoRAM

Project files for my DIY video RAM I built from TTL chips as a learning experience.
C++
24
star
8

Minimalistic-8-Bit-CPU

REVISION 0.9 of my 'Minimal 8-Bit Computer' prototype on breadboards. See more recent revisions!
22
star
9

Minimal-UART-CPU-FLASH-Edition

REVISION 1.3 of my 'Minimal UART Computer'. See revision 1.5 for latest updates.
16
star
10

Minimal-UART-Computer

REVISION 1.2 build information of my first released 'Minimal UART CPU' using EEPROMs. See more recent revisions!
10
star
11

YouTube

Smaller projects I've documented on my YouTube channel
C++
9
star
12

Minimal-ATmega328P-VGA

VERY lightweight implementation of 320x200(400) VGA on an Arduino Nano.
C++
9
star
13

ArduinoPS2Keyboard

This is a quick and dirty Arduino sketch that allows you to read out a PS/2 keyboard without additional libraries or external components.
C++
8
star
14

Min

Min Is Not Python... but a computer language I develop for fun.
Python
8
star
15

AT28C64-EEPROM-Programmer

DIY EEPROM image reading and writing for AT28C64
C++
7
star
16

Arduino-Nano-Color-PC

Color mod for my older 'Arduino Nano PC' VERSION 1.0 with VGA and PS/2 keyboard.
C++
2
star