“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.
C
gcc source/mighf-unix-msys.c -o mighf.bin
[!NOTE] The
mingw-w64
toolkit can also be used to compilemighf
It was tested by me.
./mighf.bin
Load and run an assembly program:
coreshell> load rom/rom.s
coreshell> run
# TDRAW_CLEAR <-- Removed that instruction in commit `e60aecc`
MOV R1, 10
MOV R2, 5
# TDRAW_PIXEL R1, R2, '*' <-- Removed that instruction in commit `e60aecc`
[!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 filePull requests and suggestions are welcome!
Feel free to open issues for bugs or feature requests.
MIT License
Made with ❤️ by OakyMacintosh.