add -r flag to client build script to make running vanilla rom optional, document this and debug server flag in README
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmFrJ9MACgkQO3+8IhRO Y5ioDQ//U7frNCKEV3hTJxISkWQb9ObB/m75KR3q7xFAZMxh3vjGKvqo8DJEFRjV Q52gBVRpCuR/CFNVdcKrQH0Ly6CYwjgG1qUBOaKMHfFTDf0VThlvkww1ApYNsJQb GAqUH5V7dKtMfEmOoNNc+MVEJODbFwX59dTzgYye0cGJX5c8umP95uewiXOjSCIB lJnOpFCcvnX7K5Oc9eEE6S35fTGgyspRyD9Ug/4uJQ7PUqeQzV9v8hJdjblHCYJJ sSj7m2K/7rFJkvS34gxdc2lEvvaqd+uRFuVn73E/1kW100fz22oMdkIuTy8HQgnB a0/rVjsTRqWzFRx+k8pHMjf8d+CQAK6vvYuuWUX0O4LvXpe5bsnIqt+q51vG7bhU PWFAvbNDl6F9QnHz4+aHGEQyirsOEJqfCbTKaJsmoCpDmL+a3DUchQQSlBRh7mLn 4nQqoCDpwWp6eNvPCv+/k8Qt8lm4bs3VCax9EeLl868kXRefB9aVSE2luE3EvsBv j+jbH5S7DF9bpymokfWUV46metJGU23PQCScc5YBkohWlVt6hjoMzEPry9IPaYXL muoG0dxx3bo0CFrwuuLynOmSjuQ8yj9D4YmNUskYNy0SiVco9QnLjEL+4LLJkMlF c0pkNNicULC9QQM+ogOm+16Sdj9ddj2J6sDVJjrNUE/X15iMKRg= =DuO9 -----END PGP SIGNATURE-----
2 files changed,
8 insertions(+),
2 deletions(-)
M
README.md
→
README.md
@@ -82,8 +82,12 @@ ```
./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.
M
uxn-client/build.sh
→
uxn-client/build.sh
@@ -2,4 +2,6 @@ #!/bin/sh
rm xrxs.rom 2>/dev/null uxnasm xrxs.tal xrxs.rom -uxnemu xrxs.rom+if [ "$1" = "-r" ]; then + uxnemu xrxs.rom +fi