A C++ based 65C816 Emulator
Go to file
andrew-jacobs 6a42a6c276 Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
examples Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
.gitignore Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
Makefile Initial file import 2016-06-27 20:24:56 +01:00
README.md Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
emu816.cc Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
emu816.h Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
emu816.sln Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
emu816.vcxproj Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
emu816.vcxproj.filters Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
emu816.vcxproj.user Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
mem816.cc Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
mem816.h Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
program.cc Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
wdc816.cc Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00
wdc816.h Added Visual Studio solution and example files 2016-06-27 23:01:09 +01:00

README.md

emu816 - A C++ based 65C816 Emulator

The repository contains the source code for a simple 65C816 emulator for Windows, Linux and the embedded ChipKIT platform.

This is the first release of the code and it has only had a limited amount of testing. Currently there is no support for decimal arithmetic but the full instruction set is supported.

There is no I/O at the moment or source of interrupts. Executing a WDM #$FF will cause the emulator to exit.

Building

The code is provided with a Visual Studio project for Windows and a Makefile for Linux plaforms.

A (very) simple example built with my DEV65 assembler is provided in the examples folder. Use the following command to run it.

emu816 -t examples/simple/simple.s28