An emulator for a non-existent machine
Find a file
2024-09-02 07:57:32 +02:00
.vscode [0.4.1600] - New Assembler Export Functionality 2024-09-02 07:28:56 +02:00
extra Sync push 2024-09-02 07:57:32 +02:00
src [0.4.1600] - New Assembler Export Functionality 2024-09-02 07:28:56 +02:00
.gitignore Better README and better build script 2023-12-28 01:34:43 +01:00
build.nr Sync push 2024-09-02 07:57:32 +02:00
CMakeLists.txt [0.4.1600] - New Assembler Export Functionality 2024-09-02 07:28:56 +02:00
compile [0.2.1588] - Fully implemented ExtMov CPU extension 2024-03-30 22:01:44 +01:00
count_lines.sh Added <neg> instruction 2024-01-12 22:47:09 +01:00
README.md Better README and better build script 2023-12-28 01:34:43 +01:00

DragonVM

An amulator for a 16-bit machine that never existed

Build instructions - All

This project requires the OmniaFramework library I wrote, which can be found at https://github.com/OmniaX-dev/OmniaFramework
This library must be correctly installed in clang's search paths (include, lib, bin) before compiling this project.

Build instructions - Windows

Step 1: download MSYS2 from https://www.msys2.org/ and install it

Step 2: run MSYS2, and in the terminal run:

pacman -Syuu
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-clang mingw-w64-ucrt-x86_64-gdb mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-SDL2_mixer mingw-w64-ucrt-x86_64-SDL2_image

Step 3: open a UCRT64/MSYS2 command prompt inside the root directory of the project

Step 4: execute this command:

./compile

Build instructions - Linux (Arch)

Step 1: open a terminal and run:

sudo pacman -Syuu
sudo pacman -S --needed base-devel clang gdb cmake make sdl2 sdl2_mixer sdl2_image

Step 2: open a terminal inside the root directory of the project and run this command:

./compile

Build instructions - Linux (Ubuntu)

Step 1: open a terminal and run:

sudo apt update && sudo apt upgrade
sudo apt install clang gdb make cmake libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev libxcb-randr0-dev

Step 2: open a terminal inside the root directory of the project and run this command:

./compile

For other Linux distros, install the dependencies using your package manager.