Renamed README files (add jslinux README)

This commit is contained in:
Emile Clark-Boman 2025-07-22 08:56:38 +10:00
parent 34a31b41ba
commit e89cb756f9
3 changed files with 28 additions and 1 deletions

2
README
View file

@ -1,5 +1,5 @@
# TinyEMU System Emulator # 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 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)*. the latest stable release of `enscriptem`. I provide a `flake.nix` dev shell too *(cause I'm super nice)*.

27
README.jslinux Normal file
View file

@ -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.