LibDCPU16 is a C library for emulating the 16 bit DCPU-16 processor.
C Objective-C Batchfile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs/html
include
source
specs
.gitignore
LICENSE
LibDCPU16.VC.db
LibDCPU16.sln
LibDCPU16.vcxproj
LibDCPU16.vcxproj.filters
README.md
compile_wasm.bat
doxygen.conf

README.md

LibDCPU16

LibDCPU16 is a C library for emulating the 16 bit DCPU-16 processor.

About

  • Emulation is cycle accurate. Every instruction is processed one cycle at a time.
  • Every feature and instruction from the specification sheet is fully implemented.
  • Supports the LEM1802 Monitor and Generic Clock hardware devices.
  • An API for attaching custom hardware devices is available.
  • Tested on Windows/Linux/Web. It should compile just about anywhere.
  • Doxygen documentation included in the repository.

An interative online emulator using LibDCPU16 is available at http://andrewkersten.com/demu/.

Building

A Visual Studio 2015 solution is included for building a DLL. The compile_wasm.bat file will generate a WebAssembly module if emscripten is installed. Run emsdk_env before running the batch file to set emscripten environment variables.