Crates.io | simple6502 |
lib.rs | simple6502 |
version | 2.0.0 |
source | src |
created_at | 2023-11-01 18:49:11.806441 |
updated_at | 2023-11-01 23:50:13.4576 |
description | A dead-simple MOS 6502 emulator, no std or allocator needed, no dependencies. |
homepage | |
repository | |
max_upload_size | |
id | 1021549 |
size | 104,413 |
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");