“Who said I’m into building chips? I’m just a creative programmer.”
OakyMacintosh
mighf is a minimal, educational micro-architecture and emulator project.
It lets you experiment with a simple CPU, custom instruction set, and assembly-like programming—all in software.
- Simple 8-register, 1KB memory micro-architecture
- Assembler and Runtime made in pure
C - In-terminal drawing with ASCII graphics
- Interactive shell for loading and running programs
- Easily extensible instruction set
gcc source/mighf-unix-msys.c -o mighf.binNote
The mingw-w64 toolkit can also be used to compile mighf
It was tested by me.
./mighf.binLoad and run an assembly program:
coreshell> load rom/rom.s
coreshell> runTDRAW_CLEAR
MOV R1, 10
MOV R2, 5
TDRAW_PIXEL R1, R2, '*'Tip
To learn about the mighf assembly language read the Docs
source/— Runtime and assembler source coderom/— MicroComputing ROM (also the Mini BIOS)README.md— This file
Pull requests and suggestions are welcome!
Feel free to open issues for bugs or feature requests.
MIT License
Made with ❤️ by OakyMacintosh.