added offline version of the client as a generic bootloader, and made confirmation controls a bit more intuitive

This commit is contained in:
Iris Lightshard 2021-10-16 19:38:35 -06:00
parent 388bd3bc97
commit df0c4db3b4
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
2 changed files with 1079 additions and 9 deletions

1070
uxn-client/xrxs-local.tal Normal file

File diff suppressed because it is too large Load diff

View file

@ -670,6 +670,7 @@ RTN
DUP #01 NEQ ,&no-a-btn JCN
.state LDZ INC .state STZ
#00 .btn-state STZ
;set-button-state-by-key .Controller/vector DEO2
;set-button-state-by-mouse .Mouse/vector DEO2
&no-a-btn
@ -679,25 +680,24 @@ BRK
@set-button-state-by-key ( -> )
.Controller/button DEI #00 NEQ ,&action JCN
BRK
&action
.btn-state LDZ #ff EQU ,&from-null JCN
.btn-state LDZ #00 EQU ,&from-no JCN
( from yes )
.Controller/button DEI #80 NEQ ,&check-action JCN
.Controller/button DEI #10 MOD #00 NEQ ,&check-action JCN
#00 .btn-state STZ
BRK
&from-no
.Controller/button DEI #40 NEQ ,&check-action JCN
.Controller/button DEI #10 MOD #00 NEQ ,&check-action JCN
#01 .btn-state STZ
BRK
&from-null
( in from left )
.Controller/button DEI #80 NEQ ,&in-from-right JCN
#01 .btn-state STZ
BRK
&in-from-right
.Controller/button DEI #40 NEQ ,&check-action JCN
&from-null
.Controller/button DEI #10 MOD #00 NEQ ,&check-action JCN
#00 .btn-state STZ
BRK