Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroCVM

MicroCVM is a lightweight retro-style virtual machine written in Rust, featuring a custom 16-bit CPU, virtual memory, video RAM, and its own instruction set.

Originally written in C, this Rust version continues the minimalist spirit of the original with improved performance and modern tooling.


🔧 Features

  • Custom 16-bit virtual CPU
  • 2MB RAM and 1.7MB video memory
  • Framebuffer-based graphics output
  • Simple binary executable format
  • Easy to embed, debug, and extend
  • Cross-platform and fast

✍️ Writing Programs

Use the official assembler:
👉 MicroCVM-rs-Assembler
It assembles human-readable .asm files into executable binaries that run on the VM.


📕 Documentation

For further documentation, visit docs


📦 Download

You can:

  • 📁 Download precompiled binaries from the Releases page
  • 📦 Use the portable version (no installation required)
  • 🛠️ Build from source (see below)

🛠️ Building from Source

Requires Rust and Cargo.

git clone https://github.com/5DPixel/MicroCVM-rs
cd MicroCVM-rs
cargo build --release

About

A rust port of my retro-styled virtual machine MicroCVM. The original MicroCVM repo is now deprecated.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages