add -r flag to client build script to make running vanilla rom optional, document this and debug server flag in README

This commit is contained in:
Iris Lightshard 2021-10-16 13:28:19 -06:00
parent df0c7b0219
commit 388bd3bc97
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
2 changed files with 8 additions and 2 deletions

View file

@ -82,8 +82,12 @@ Similarly, you can stop the service with:
./xrxs-srv.sh stop
```
You can add `-d` to either the `xrxs` command line or the `xrxs-srv.sh` command line to enable chatty `9p` debug output.
### client
From the `uxn-client` directory, run `./build.sh` to compile the ROM and `./uxn-xrxs.sh` to mount the `9p` service and run the client.
From the `uxn-client` directory, run `./build.sh` to compile the ROM. If you're working on the ROM with some local test files, not over 9p, you can also add the `-r` flag to run after building without starting the `9p` client.
When the ROM has been built, run `./uxn-xrxs.sh` to mount the `9p` service and run the client.
Both scripts assume you have `uxnasm` and `uxnemu` in your `PATH` respectively. `9pfuse` is used to mount the service, but other implementations could possibly be used.

View file

@ -2,4 +2,6 @@
rm xrxs.rom 2>/dev/null
uxnasm xrxs.tal xrxs.rom
if [ "$1" = "-r" ]; then
uxnemu xrxs.rom
fi