No description
Find a file
2022-05-13 01:00:26 +02:00
.vscode Loading programs at runtime 2022-05-12 11:27:24 +02:00
premake Add build support for Windows 2022-05-12 09:09:09 +02:00
src Instruction to opcode 2022-05-12 23:47:38 +02:00
.gitignore x64 2022-05-12 09:20:20 +02:00
code.ino Include arduino code 2022-05-13 01:00:26 +02:00
fibonacci.bin Loading programs at runtime 2022-05-12 11:27:24 +02:00
premake.bat Add build support for Windows 2022-05-12 09:09:09 +02:00
premake.sh Working state 2022-05-11 19:23:44 +02:00
premake5.lua x64 2022-05-12 09:20:20 +02:00
readme.md Loading programs at runtime 2022-05-12 11:27:24 +02:00
run.sh Basic setup 2022-04-19 22:53:58 +02:00

A simple CPU emulator

A very simple emulator for a very simple 8 bit CPU.

It's based on a real CPU with an Arduino running the control logic. To be able to debug the Arduino code in the emulator it's code is in control.cpp, and various functions have been adapted to control the virtual CPU instead of setting signals in the real world.

Usage

cpuemu [binary]

Where [binary] is a path to a binary file containing the initial contents of memory, loaded in at boot time.