Skip to content

mdaub/6502-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

6502-Emulator

An emulation of the MOS 6502 CPU

It is not cycle accurate, and does not currently impliment any real timing. The only IO device currently attached to the bus is the terminal, which allows string printing to the screen. It also allows the CPU to request the emulation to terminate.

Building

For now there is only a makefile for GNU/Linux. It is configure to use GCC as the compiler. The only external build requirements is the C standard library.

There are only two build targets, release and debug. To build them, run

$ make

for release, and

$ make debug

for the debug build.

Disclaimer

I have so far only tested a small hello world program, and the vast majority of instructions are untested at this point. If you chose to use my code, do so at your own risk!

About

An emulation of the MOS 6502 CPU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published