mos6502
An emulator for the MOS 6502 CPU written in Rust.
Tested and validated by solid65.
It builds on stable Rust and supports #[no_std]
targets.
What is the MOS 6502?
The MOS Technology 6502 (typically pronounced "sixty-five-oh-two" or "six-five-oh-two") is an 8-bit microprocessor that was designed by a small team led by Chuck Peddle for MOS Technology. [...]
When it was introduced in 1975, the 6502 was the least expensive microprocessor on the market by a considerable margin. It initially sold for less than one-sixth the cost of competing designs from larger companies, such as the 6800 or Intel 8080. Its introduction caused rapid decreases in pricing across the entire processor market. Along with the Zilog Z80, it sparked a series of projects that resulted in the home computer revolution of the early 1980s.
Source: Wikipedia
How to use this library
use Bus;
use Memory;
use Nmos6502;
use cpu;
The same can be achieved, by compiling the euclid example yourself.
First install a 6502 assembler and linker, e.g. cc65.
Then compile and link the assembly file:
This will create a binary file euclid.bin
that you can load into the emulator:
use Bus;
use Memory;
use Nmos6502;
use cpu;
use read;
Credits
This started off as a fork of amw-zero/6502-rs, which seems to be unmaintained at this point.