simple6502

Crates.iosimple6502
lib.rssimple6502
version2.0.0
sourcesrc
created_at2023-11-01 18:49:11.806441
updated_at2023-11-01 23:50:13.4576
descriptionA dead-simple MOS 6502 emulator, no std or allocator needed, no dependencies.
homepage
repository
max_upload_size
id1021549
size104,413
Balt (balt-dev)

documentation

README

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");
Commit count: 0

cargo fmt