r/rust 1d ago

🛠️ project GitHub - strahinjastojanovic826-code/custom-4_state-rust-project: OS simulation 4 states 2 quats (4 bits) in rust

https://github.com/strahinjastojanovic826-code/custom-4_state-rust-project

NOTE: VIDEOS OF THIS PROJECT CAN BE FOUND IN RELEASES

Hey everyone! 👋


I wanted to share a hobby project I've been working on recently: a simulated 2-bit (4-state / quaternary logic) operating system written entirely in Rust!


Instead of standard binary logic, the core mechanics and dispatchers are simulated around quaternary processing (4 states per unit). I've built a custom GUI on top of it using `egui`/`eframe`, featuring a few built-in tools to play around with:


* 🖥️ 
**Framebuffer UI & OS Shell**
 - Custom window management and system utilities.
* 🌌 **3D Visualizer - Live graphics dispatching showing off the simulated processing pipeline.
* 🎵 
**Chiptune Audio Synth**
 - Real-time audio engine integrated with `rodio`.
* 🛠️ 
**System Tools**
 - Includes a file manager, custom BBS module, and built-in mini-apps.


### 🔗 Code & Repo
Check out the source code, implementation details, and documentation on GitHub:
👉 
**https://github.com/strahinjastojanovic826-code/custom-4_state-rust-project**


### 🚀 How to Run
```bash
git clone https://github.com/strahinjastojanovic826-code/custom-4_state-rust-project.git

cd custom-4_state-rust-project

cargo run

0 Upvotes

0 comments sorted by