r6502
Yet another MOS 6502 emulator.
Designed to support no-std
and not require an allocator nor any unsafe code, and be reasonably fast.
The API of this crate shies away from implementing interrupt handling,
instead having you step the emulator one opcode at a time and handle them yourself.
Feature Flags
The following feature flags exist:
Name | Description |
---|---|
bcd | Enable binary-coded decimal arithmetic.Enabled by default. Disable if you're writing a NES emulator.Note that invalid BCD is left untested and will not function faithfully to the MOS 6502. |
bytemuck | Enables bytemuck support. |
arbitrary | Enables arbitrary support. This will pull in std . |
serde | Enables serde support. |
Example
extern crate std;
use eprintln;
use ;
Licensing
This may be licensed under either the MIT or Apache-2.0 license, at your option.