https://github.com/anopensaucedev/cursed-cpu
Awful, cursed CPU I designed in a couple hours.
https://github.com/anopensaucedev/cursed-cpu
Last synced: 5 days ago
JSON representation
Awful, cursed CPU I designed in a couple hours.
- Host: GitHub
- URL: https://github.com/anopensaucedev/cursed-cpu
- Owner: AnOpenSauceDev
- License: apache-2.0
- Created: 2024-04-12T12:16:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T11:03:47.000Z (about 2 years ago)
- Last Synced: 2025-03-05T19:59:25.468Z (about 1 year ago)
- Language: C
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Cursed-CPU
Cursed CPU implementation (it _can_ do "Hello World!")
Comes with a whopping 256 bytes of RAM, 7 instructions, and ~~5~~ 4 general-purpose registers!
I didn't look at other people's implementations so I could become more knowledgeable about low-level programming.
Currently this is V1. V2 will be a far better CPU design, as i was just coding as i went with this.
Currently working on V1.5, with far better programming standards, magic addresses, and more!
Please do not look at this atrocity, it's ugly and i can't be bothered to polish it yet with switch statements, masking, headers and so on.
requires ncurses-dev, and is kinda broken as of now (thanks, ncurses). Once V2 is done, it will run a minimal POSIX-compliant OS.