simple6502 2.0.0

A dead-simple MOS 6502 emulator, no std or allocator needed, no dependencies.
Documentation
  • Coverage
  • 15.26%
    29 out of 190 items documented0 out of 31 items with examples
  • Size
  • Source code size: 105.76 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.31 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • balt-dev

Simple6502

A simple MOS 6502 emulator, written in Rust.

No std needed, no allocator needed, just the core library.


let mut emu = Emulator::default()
  .with_ram(*include_bytes!("example.bin"))
  .at(0x400);

print!("\x1B[2J");

while !emu.status.r#break() {
    emu.step();
    print!("\x1B[1;1H{emu:?}");
}

println!("\nInterrupted");