A .build.yml => .build.yml +21 -0
@@ 0,0 1,21 @@
+image: debian/stable
+oauth: pages.sr.ht/PAGES:RW
+environment:
+ SITE: rabbits.srht.site/dexe
+sources:
+ - https://git.sr.ht/~rabbits/dexe
+tasks:
+ - prepare: |
+ curl -fsS https://rabbits.srht.site/uxn/uxn-linux-amd64.tar.gz | tar -zx
+ - build: |
+ cd dexe
+ ../uxn/uxnasm src/main.tal ../dexe.rom
+ - upload: |
+ tar -czf out.tar.gz dexe.rom
+ acurl() {
+ set +x
+ curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}"
+ set -x
+ }
+ acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
+ acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI<
\ No newline at end of file
M README.md => README.md +2 -0
@@ 10,6 10,8 @@ You must have the [Uxn](https://git.sr.ht/~rabbits/uxn/) assembler and emulator.
uxnasm src/main.tal bin/nasu.rom && uxnemu bin/nasu.rom
```
+If do not wish to assemble it yourself, you can download [left.rom](https://rabbits.srht.site/left/left.rom).
+
## Controls
- `arrows`, move selection
M src/main.tal => src/main.tal +1 -3
@@ 171,7 171,7 @@ BRK
@on-console ( -> )
( starting )
- ;&trap LDA ,&started JCN
+ [ LIT &trap $1 ] ,&started JCN
#00 ;draw-filepath JSR2
;path/name #0020 ;mclr JSR2
#01 ,&trap STR
@@ 188,7 188,6 @@ BRK
#00 ,&trap STR
BRK
- &trap $1
@on-frame ( -> )
( inactive )
@@ 1147,7 1146,6 @@ RTN
.dataview/x1 LDZ2 .Screen/x DEO2
.dataview/y2 LDZ2 INC2 .Screen/y DEO2
.selection/a LDZ #03 ;draw-byte JSR2
-
( depth1 )
#04 #00
&loop