From e89cb756f9269dccafea549591e656194cf609ba Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Tue, 22 Jul 2025 08:56:38 +1000 Subject: [PATCH] Renamed README files (add jslinux README) --- README | 2 +- README.jslinux | 27 +++++++++++++++++++++++++++ README.ORIGINAL => README.tinyemu | 0 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 README.jslinux rename README.ORIGINAL => README.tinyemu (100%) diff --git a/README b/README index bc80dbe..232658a 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ # TinyEMU System Emulator -**This repo is a fork** of [Fabrice Bellard's TinyEMU project](https://bellard.org/tinyemu), +**This repo is a fork** of [Fabrice Bellard's TinyEMU project\[v2019-12-21]](https://bellard.org/tinyemu), a lightweight RISC-V and x86 emulator. Specifically migrating the project to the latest stable release of `enscriptem`. I provide a `flake.nix` dev shell too *(cause I'm super nice)*. diff --git a/README.jslinux b/README.jslinux new file mode 100644 index 0000000..89d182e --- /dev/null +++ b/README.jslinux @@ -0,0 +1,27 @@ +JSLinux demo +============ + +You must copy all the files to a directory on a web server in order to +run the demo (it is needed so that the XML HTTP Requests work +correctly). Assuming it is installed in http://localhost/jslinux, +explore in a browser: + +http://localhost/jslinux + +A minimal busybox distribution for RISCV-64 and x86 is provided. The +RISCV-64 version is executed by default. To run the x86 version, +explore: + +http://localhost/jslinux?cpu=x86 + +The source jslinux.js can be modified to change the default +configuration. + +More complete Linux distributions (such as buildroot) can be used +provided you keep using the same precompiled Linux kernels. The +TinyEMU 'splitimg' tool must be used to convert a diskimage to a list +of files. For example: + +splitimg root-riscv64.bin root-riscv64 256 + +The demo VM configurations are in root-riscv64.cfg and root-x86.cfg. diff --git a/README.ORIGINAL b/README.tinyemu similarity index 100% rename from README.ORIGINAL rename to README.tinyemu