Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BenjaminSchaaf/turning-complete-riscv
Rust support for a CPU I made
https://github.com/BenjaminSchaaf/turning-complete-riscv
Last synced: 3 months ago
JSON representation
Rust support for a CPU I made
- Host: GitHub
- URL: https://github.com/BenjaminSchaaf/turning-complete-riscv
- Owner: BenjaminSchaaf
- License: gpl-3.0
- Created: 2023-01-12T14:50:18.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T12:37:21.000Z (almost 2 years ago)
- Last Synced: 2024-06-30T13:36:58.154Z (5 months ago)
- Language: Rust
- Size: 11.1 MB
- Stars: 66
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RV32i CPU implemented in [Turing Complete](https://turingcomplete.game/)
This repository contains what's needed to compile rust code for a RISC-V CPU I
made in Turing Complete.![Schematic Collage](/screenshots/collage.jpg?raw=true)
Base off:
* https://github.com/defermelowie/bare-metal-rust-on-riscv
* https://github.com/rust-embedded/riscv-rt## Usage
Simply compile with `cargo build --release`. You can then import the built
executable `target/riscv32i-unknown-none-elf/release/turning-complete-riscv`
into Turing Complete and press run!Currently the only IO implemented is for the 80x24 console.
## Save Game
I've included the save game under `save/circuit.data`. The circuit was made
under version 0.1055 Beta.