summaryrefslogtreecommitdiff
path: root/warriors
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2023-05-31 21:54:39 -0400
committerBenji Dial <benji6283@gmail.com>2023-05-31 21:54:39 -0400
commit2a75cd152585c9cfb603523f473ccebe7b720664 (patch)
tree05ae61ca9e6810b9a824d29349c3f24f31d85e35 /warriors
parent4534c0c569e18e00ca3e41e292524a381cbaeafe (diff)
downloadlib94-2a75cd152585c9cfb603523f473ccebe7b720664.tar.gz
add new sample warrior
Diffstat (limited to 'warriors')
-rw-r--r--warriors/gnat.red25
1 files changed, 25 insertions, 0 deletions
diff --git a/warriors/gnat.red b/warriors/gnat.red
new file mode 100644
index 0000000..2913bf1
--- /dev/null
+++ b/warriors/gnat.red
@@ -0,0 +1,25 @@
+;author Benji Dial
+;name Gnat
+
+ spl s1
+ spl s2
+ spl s3
+ jmp s4
+
+ dat
+ dat
+
+s1
+ jmp #0, {-20
+ dat
+s2
+ jmp #0, <-2
+
+ dat
+ dat
+
+s3
+ jmp #0, {-20
+ dat
+s4
+ jmp #0, <-2