962 B
962 B
TinyEMU System Emulator
This repo is a fork of Fabrice Bellard's TinyEMU project,
a lightweight RISC-V and x86 emulator. Specifically migrating the project to
the current versions enscriptem. I provide a flake.nix dev shell too (cause I'm super nice).
Compiling
Nix
nix develop
makejs # alias for `make -f Makefile.js`
make
Note
emscriptenexpects an FHS so I've instead implemented a shell hook tostealcopy${pkgs.emscripten}/share/emscripten/cacheprior tomakejs. Refer to https://github.com/NixOS/nixpkgs/issues/139943
Not Nix
make -f Makefile.js
make
Tip
The following dependencies are required for compilation, the version numbers are what I compiled against but are not strict.
make[v4.4.1] (akagnumake)emscripten[v4.0.8]SDL[v1.2.68] (akalibsdl)curl[v8.14.1]openssl[v3.4.1]