1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-12 10:30:23 +00:00
Experimental 65C02 machine code interpreter/emulator/disassembler.
Go to file
Radosław Kujawa 2cc9d86c64 Simplify error handling if malloc fails.
There's no way to reliable handle out of memory situation in an
emulator. So just bail out by raising assertion.
2018-08-05 23:45:44 +02:00
examples Try to make this build on Linux, NetBSD and OS X. 2018-06-25 13:19:35 +02:00
res Add logo. 2018-03-26 16:28:38 +02:00
src Simplify error handling if malloc fails. 2018-08-05 23:45:44 +02:00
test Add missing include. 2018-06-25 14:06:38 +02:00
.gitignore Ignore .DS_Store 2017-01-23 13:47:22 +01:00
LICENSE Update year. 2018-04-09 17:07:21 +02:00
README.md Clarify needed vasm version. 2018-06-25 14:06:48 +02:00

rk65c02

65C02 code interpreter/emulator/disassembler.

rk65c02 logo

This project is a work in progress. The rk65c02 is a library implementing an emulator of WDC 65C02S CPU. It does not aim to be cycle-exact emulator, but otherwise it tries to mimic behaviour of 65C02S as close as possible. Currently, the following features are implemented:

  • Emulation of all opcodes, including WDC extensions and BCD mode.
  • 16-bit address space.
  • Support for interrupts.

The only external dependencies (besides standard C library) are Boehm GC and uthash. On Fedora these can be installed with gc-devel and uthash-devel packages.

If you want to build tests, kyua quality assurance toolkit, atf testing framework and vasm assembler (6502 with std syntax) are also necessary.