lib6502

Crates.iolib6502
lib.rslib6502
version0.2.2
sourcesrc
created_at2024-05-13 11:24:09.671407
updated_at2024-05-25 20:20:39.10736
descriptionAn experimental 6502 emulation library
homepage
repositoryhttps://github.com/drewwalton19216801/lib6502
max_upload_size
id1238301
size81,640
Drew Walton (drewwalton19216801)

documentation

README

lib6502 CPU emulation library

What is this?

It's an experimental 6502 emulation library written in Rust.

Why is this?

Because I thought it would be fun, I was also inspired by Ben Eater's excellent 6502 video series. Originally I had wanted to create a breadboard computer, but realized that I didn't have the extra cash for things like logic analyzers or oscilloscopes. Besides, emulating in software gives me flexibility to create whatever hardware I want!

Project Status

  • 100% legal opcode implementation
  • Illegal opcode support
  • 100% test coverage
  • Example implementation
  • Cycle-accurate instructions
    • Instruction-level accuracy
    • Cycle-level accuracy

Building

I don't know why you would want to build just this, but:

cargo build

Testing

cargo test

Running

Coming soon.

Helpful Links

NesDev CPU wiki - Fantastic resource for 6502 information, specifically the NES version of the 6502.

mass:werk 6502 tools - A fully functional 6502 CPU emulator, assembler, and disassembler, as well as a great resource for 6502 instruction set internals

Commit count: 37

cargo fmt