all repos — xrxs @ 31756bc2c9897acc715c79cee0c0e420cec1ecfd

experimental networked application/game server with 9p

update varvara file device, update to version 0.4
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmI/gdgACgkQO3+8IhRO
Y5hkjRAAlFhhRRQNrsrxn1HQ9/+sP+zO03416jH1vTi34jhNyWZoBnZL46f/0JcF
0lsX911F4kos66hRm/k5QDLHfAHGi7/kDDQG2WKvT+Th7N+cnrSxpkSagsqLxZg7
5qZtbJ5GEjKeWA1wK9puxF0KfvZKoRdKHoWMsliMCnpUTZgvv006QMHw6gP1o/Bp
sbaP6+ruI9ERDnRIgomiOzleFAsDX3KpVhVrxPtPUXIg7jpLwcyhiM5ncP33EsTe
tzCPOZGfAgMjH7XwO5TF8VvmAa1foC6E9Iu/QfKqTniTAv0MAn0F749Yw+gHXq+t
ta5wBlvXHkqOUn04/+gebDCFUVvLiVsWVNbYR8cGMU1rGZRGB2Bs0jPoRnGLdW/7
T0xBRximRlLUcxGVo5atyPiEAqsfsnXY2Ki7HmuELRd2QbaYHJJy7fxDHmvdwqCC
wJjjuq15yFgTAUVu7GnjFzHiv+GzepfK5s/HbPXC4HNGVoRLUWlC0XX0XwSJo3ji
NIQHY0jjp+FxofK3AnlWeRCsl/HDSPHLvBIsYvQ+ldOjuq+UVaCc17lffWgm8MUD
hFpHIEBVfYJohtnFH1j/vSQ++A2OkTnc6f1lHYqkDWoIzqNowGc+zFLWHdi65RS5
3+O+Fc9AQ0qJyToFq38kG8zPT50uYjVq2GDD5TMEshQqfF16U2U=
=FHI0
-----END PGP SIGNATURE-----
commit

31756bc2c9897acc715c79cee0c0e420cec1ecfd

parent

6864b143f2a3c787f982bd882902bc37d70b7984

3 files changed, 27 insertions(+), 25 deletions(-)

jump to
M server/xrxs.cserver/xrxs.c

@@ -17,7 +17,7 @@ #include "universe.h"

#include "realm.h" #include "user.h" -char version[] = "0.3"; +char version[] = "0.4"; int chatty9p = 0;
M uxn-client/xrxs-local.taluxn-client/xrxs-local.tal

@@ -29,8 +29,9 @@ |50 @Audio2 [ &vector $2 &position $2 &output $1 &pad $3 &adsr $2 &length $2 &addr $2 &volume $1 &pitch $1 ]

|60 @Audio3 [ &vector $2 &position $2 &output $1 &pad $3 &adsr $2 &length $2 &addr $2 &volume $1 &pitch $1 ] |80 @Controller [ &vector $2 &button $1 &key $1 ] |90 @Mouse [ &vector $2 &x $2 &y $2 &state $1 &wheel $1 ] -|a0 @File [ &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 ] -|b0 @DateTime [ &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &isdst $1 ] +|a0 @File0 [ &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 ] +|b0 @File1 [ &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 ] +|c0 @DateTime [ &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &isdst $1 ] ( variables )

@@ -79,10 +80,10 @@ #20 .anim-speed STZ

#ff .btn-state STZ GET-USABLE-HEIGHT .list-height STZ - ;carts-file .File/name DEO2 - #2000 .File/length DEO2 - ;list-buf .File/read DEO2 - .File/success DEI2 .list-len STZ2 + ;carts-file .File0/name DEO2 + #2000 .File0/length DEO2 + ;list-buf .File0/read DEO2 + .File0/success DEI2 .list-len STZ2 CENTER-X .logo-coords/x STZ2 CENTER-Y .logo-coords/y STZ2

@@ -851,7 +852,7 @@ untouched, so they could introduce a device state to the next ROM that

it's not expecting. ) - .File/name DEO2 + .File0/name DEO2 ( clear wst ) #ab

@@ -916,9 +917,9 @@ OVR2 #f8fe ( arguments for STZ2 at fd and JMP (repeat) )

OVR2 #f6fe ( arguments for STZ2 at fd and JMP (repeat) ) OVR2 #f401 ( arguments for STZ2 at fd, plus an extra 01 ) STHkr ( first argument for ADD2 ) - .File/success ( argument for DEI2 ) - #0100 .File/read ( arguments for DEO2 ) - #ff00 .File/length DEO2 + .File0/success ( argument for DEI2 ) + #0100 .File0/read ( arguments for DEO2 ) + #ff00 .File0/length DEO2 #00f0 JMP2 &zero-page-loader
M uxn-client/xrxs.taluxn-client/xrxs.tal

@@ -29,8 +29,9 @@ |50 @Audio2 [ &vector $2 &position $2 &output $1 &pad $3 &adsr $2 &length $2 &addr $2 &volume $1 &pitch $1 ]

|60 @Audio3 [ &vector $2 &position $2 &output $1 &pad $3 &adsr $2 &length $2 &addr $2 &volume $1 &pitch $1 ] |80 @Controller [ &vector $2 &button $1 &key $1 ] |90 @Mouse [ &vector $2 &x $2 &y $2 &state $1 &wheel $1 ] -|a0 @File [ &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 ] -|b0 @DateTime [ &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &isdst $1 ] +|a0 @File0 [ &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 ] +|b0 @File1 [ &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 ] +|c0 @DateTime [ &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &isdst $1 ] ( variables )

@@ -79,10 +80,10 @@ #20 .anim-speed STZ

#ff .btn-state STZ GET-USABLE-HEIGHT .list-height STZ - ;carts-file .File/name DEO2 - #2000 .File/length DEO2 - ;list-buf .File/read DEO2 - .File/success DEI2 .list-len STZ2 + ;carts-file .File0/name DEO2 + #2000 .File0/length DEO2 + ;list-buf .File0/read DEO2 + .File0/success DEI2 .list-len STZ2 CENTER-X .logo-coords/x STZ2 CENTER-Y .logo-coords/y STZ2

@@ -824,10 +825,10 @@

.state LDZ INC .state STZ ( send it! ) - #0020 .File/length DEO2 - #01 .File/append DEO2 - ;ctl-file .File/name DEO2 - ;load-cmd .File/write DEO2 + #0020 .File0/length DEO2 + #01 .File0/append DEO2 + ;ctl-file .File0/name DEO2 + ;load-cmd .File0/write DEO2 ;slot-file ;load-rom JSR2 RTN

@@ -844,7 +845,7 @@ untouched, so they could introduce a device state to the next ROM that

it's not expecting. ) - .File/name DEO2 + .File0/name DEO2 ( clear wst ) #ab

@@ -909,9 +910,9 @@ OVR2 #f8fe ( arguments for STZ2 at fd and JMP (repeat) )

OVR2 #f6fe ( arguments for STZ2 at fd and JMP (repeat) ) OVR2 #f401 ( arguments for STZ2 at fd, plus an extra 01 ) STHkr ( first argument for ADD2 ) - .File/success ( argument for DEI2 ) - #0100 .File/read ( arguments for DEO2 ) - #ff00 .File/length DEO2 + .File0/success ( argument for DEI2 ) + #0100 .File0/read ( arguments for DEO2 ) + #ff00 .File0/length DEO2 #00f0 JMP2 &zero-page-loader