Skip to content
Kristiyan Stoimenov edited this page Apr 22, 2021 · 2 revisions

За версията на български кликнете тук


6502 emulator

This is an emulator of the MOS 6502 CPU.


Currently supported features

  • support for all legal opcodes
  • support for all addressing modes
  • emulates cycle-correctness
  • easy integration with GUI monitor

Future upgrades

  • illegal opcodes support
  • more monitor customization options
  • web integration

In case you want to try it

  • Since the technology of use is Rust you will need to have it installed. If you need help, check here how to do that.
  • The next thing you will need is the source code itself. You can do that by either cloning the repository or downloading it. (Note: For cloning the repository you will need to have git installed.)
  • A set of example programs and usages have been added in the examples/ directory. You can pick any of them to try out.
  • Now you can just go with cargo run in the src/ directory of the example.

Example:

# Clone the repository
git clone https://github.com/boki1/6502-emulator

# Choose the example you would like to try out
cd 6502-emulator/examples/fib/src

# Run it
cargo run

A few images...

A Fibonacci sequence calculator
Fibonacci


Greatest common divider euclidean algorithm
Greatest common divider

Clone this wiki locally