Skip to content
/ MOS6502 Public

A very simple example of an emulator for MOS6502 CPU

License

Notifications You must be signed in to change notification settings

febits/MOS6502

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOS6502

This is a simple example of an emulator for MOS6502 CPU.

Install

$ git clone https://github.com/febits/MOS6502
$ cd MOS6502
$ make
$ ./6502 -p [PROGRAM]

The programs reside in the "./samples" directory, and they are the ones without an extension or with a ".bin" extension. For example:

$ ./6502 -p samples/assembly/fibonacci/fibonacci3.bin
$ ./6502 -p samples/jumps/jsr

Anyway, there are numerous examples covering almost all of the legal instructions for the MOS6502.

Disclaimer

  • I didn´t implement all the addressing modes of 6502.
  • There are instructions missing, but most of them are there (legal ones).
  • I created a lot of conventions myself.
  • This project is purely 4fun purposes, so don't take it too seriously.

About

A very simple example of an emulator for MOS6502 CPU

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published