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:
parent
df0c7b0219
commit
388bd3bc97
2 changed files with 8 additions and 2 deletions
|
@ -82,8 +82,12 @@ Similarly, you can stop the service with:
|
||||||
./xrxs-srv.sh stop
|
./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
|
### 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.
|
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.
|
||||||
|
|
|
@ -2,4 +2,6 @@
|
||||||
|
|
||||||
rm xrxs.rom 2>/dev/null
|
rm xrxs.rom 2>/dev/null
|
||||||
uxnasm xrxs.tal xrxs.rom
|
uxnasm xrxs.tal xrxs.rom
|
||||||
uxnemu xrxs.rom
|
if [ "$1" = "-r" ]; then
|
||||||
|
uxnemu xrxs.rom
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue