diff --git a/README.md b/README.md index dea61dd..b453b0a 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/uxn-client/build.sh b/uxn-client/build.sh index e12f17c..7b87175 100755 --- a/uxn-client/build.sh +++ b/uxn-client/build.sh @@ -2,4 +2,6 @@ rm xrxs.rom 2>/dev/null uxnasm xrxs.tal xrxs.rom -uxnemu xrxs.rom \ No newline at end of file +if [ "$1" = "-r" ]; then + uxnemu xrxs.rom +fi