commit 4fc1a239d168cb8f585d5b3f8f0e0f0dcb2cf755
parent 89fef553728d417977ae822efc1bd54ac3dcb9cd
Author: Eamon Caddigan <eamon.caddigan@gmail.com>
Date: Sun, 31 Dec 2023 15:03:40 -0800
Updated README and removed superseded files
Diffstat:
M | README.md | | | 9 | ++++++++- |
D | hello.tal | | | 159 | ------------------------------------------------------------------------------- |
D | infinite-tone.tal | | | 45 | --------------------------------------------- |
3 files changed, 8 insertions(+), 205 deletions(-)
diff --git a/README.md b/README.md
@@ -1,9 +1,16 @@
# December Adventure 2023
This is the repository for my December Adventure. Read about it here:
-<https://www.eamoncaddigan.net/december-adventure/2023-01/>
+<https://www.eamoncaddigan.net/december-adventure/>
I'm hoping to eventually write a game for uxn to help me learn Morse Code,
but mostly I'm hoping to have fun and "pay homage to all the great
practitioners of computer, past and present, who have added beauty to the
world."
+
+At the end of the month (with commit `89fef55`) I completed
+`december-adventure.tal`, which prints a message on the screen and plays a
+Morse Code version through audio. I had to learn a lot about uxn and varvara
+to get here, so I'm pretty happy about it!
+
+I'll probably continue working on my project in this repository. Why not?
diff --git a/hello.tal b/hello.tal
@@ -1,159 +0,0 @@
-( hello.tal )
-
-|00 @System &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 &debug $1 &halt $1
-|10 @Console &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1
-|20 @Screen &vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1
-|80 @Controller &vector $2 &button $1 &key $1
-|90 @Mouse &vector $2 &x $2 &y $2 &state $1 &pad $3 &scrollx $2 &scrolly $2
-|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
-
-|0000
-
-|0100
- #0a6f .System/r DEO2
- #05cf .System/g DEO2
- #0caf .System/b DEO2
-
- #0008 .Screen/x DEO2
- #0008 .Screen/y DEO2
- ;message/part-1 ;draw-string JSR2
- ;message/part-2 ;draw-string JSR2
-
-BRK
-
-@draw-character ( char -- )
- #20 SUB #00 SWP #30 SFT2
- ;font ADD2 .Screen/addr DEO2
- #43 .Screen/sprite DEO
-JMP2r
-
-@draw-string ( text* -- )
- [ #00 .Screen/auto DEI ] .Screen/x DEI2 ROT2
- #01 .Screen/auto DEO
- &while
- LDAk
- [ #00 ] NEQk NIP ,¬-00 JCN
- POP
- ,&end-while JMP
- ¬-00
- [ #0a ] NEQk NIP ,¬-0a JCN
- POP
- OVR2 .Screen/x DEO2
- .Screen/y DEI2 #0008 ADD2 .Screen/y DEO2
- ,&end-if JMP
- ¬-0a
- ( else )
- ;draw-character JSR2
- &end-if
- INC2 ,&while JMP
- &end-while
- POP2 POP2
- .Screen/auto DEO POP
-JMP2r
-
-@message
- &part-1
- "West 20 "of 20 "House 0a 0a
- "You 20 "are 20 "standing 20 "in 20 "an 20 "open 20 "field 20 "west 20
- "of 20 "a 20 "white 20 "house, 20 "with 0a
- "a 20 "boarded 20 "front 20 "door. 0a 0a 00
- &part-2
- "There 20 "is 20 "a 20 "small 20 "mailbox 20 "here. 00
-
-@font
- 0000 0000 0000 0000
- 1818 1818 1800 1800
- 6c6c 6c00 0000 0000
- 3636 7f36 7f36 3600
- 0c3f 683e 0b7e 1800
- 6066 0c18 3066 0600
- 386c 6c38 6d66 3b00
- 0c18 3000 0000 0000
- 0c18 3030 3018 0c00
- 3018 0c0c 0c18 3000
- 0018 7e3c 7e18 0000
- 0018 187e 1818 0000
- 0000 0000 0018 1830
- 0000 007e 0000 0000
- 0000 0000 0018 1800
- 0006 0c18 3060 0000
- 3c66 6e7e 7666 3c00
- 1838 1818 1818 7e00
- 3c66 060c 1830 7e00
- 3c66 061c 0666 3c00
- 0c1c 3c6c 7e0c 0c00
- 7e60 7c06 0666 3c00
- 1c30 607c 6666 3c00
- 7e06 0c18 3030 3000
- 3c66 663c 6666 3c00
- 3c66 663e 060c 3800
- 0000 1818 0018 1800
- 0000 1818 0018 1830
- 0c18 3060 3018 0c00
- 0000 7e00 7e00 0000
- 3018 0c06 0c18 3000
- 3c66 0c18 1800 1800
- 3c66 6e6a 6e60 3c00
- 3c66 667e 6666 6600
- 7c66 667c 6666 7c00
- 3c66 6060 6066 3c00
- 786c 6666 666c 7800
- 7e60 607c 6060 7e00
- 7e60 607c 6060 6000
- 3c66 606e 6666 3c00
- 6666 667e 6666 6600
- 7e18 1818 1818 7e00
- 3e0c 0c0c 0c6c 3800
- 666c 7870 786c 6600
- 6060 6060 6060 7e00
- 6377 7f6b 6b63 6300
- 6666 767e 6e66 6600
- 3c66 6666 6666 3c00
- 7c66 667c 6060 6000
- 3c66 6666 6a6c 3600
- 7c66 667c 6c66 6600
- 3c66 603c 0666 3c00
- 7e18 1818 1818 1800
- 6666 6666 6666 3c00
- 6666 6666 663c 1800
- 6363 6b6b 7f77 6300
- 6666 3c18 3c66 6600
- 6666 663c 1818 1800
- 7e06 0c18 3060 7e00
- 7c60 6060 6060 7c00
- 0060 3018 0c06 0000
- 3e06 0606 0606 3e00
- 183c 6642 0000 0000
- 0000 0000 0000 00ff
- 1c36 307c 3030 7e00
- 0000 3c06 3e66 3e00
- 6060 7c66 6666 7c00
- 0000 3c66 6066 3c00
- 0606 3e66 6666 3e00
- 0000 3c66 7e60 3c00
- 1c30 307c 3030 3000
- 0000 3e66 663e 063c
- 6060 7c66 6666 6600
- 1800 3818 1818 3c00
- 1800 3818 1818 1870
- 6060 666c 786c 6600
- 3818 1818 1818 3c00
- 0000 367f 6b6b 6300
- 0000 7c66 6666 6600
- 0000 3c66 6666 3c00
- 0000 7c66 667c 6060
- 0000 3e66 663e 0607
- 0000 6c76 6060 6000
- 0000 3e60 3c06 7c00
- 3030 7c30 3030 1c00
- 0000 6666 6666 3e00
- 0000 6666 663c 1800
- 0000 636b 6b7f 3600
- 0000 663c 183c 6600
- 0000 6666 663e 063c
- 0000 7e0c 1830 7e00
- 0c18 1870 1818 0c00
- 1818 1800 1818 1800
- 3018 180e 1818 3000
- 316b 4600 0000 0000
- ffff ffff ffff ffff
diff --git a/infinite-tone.tal b/infinite-tone.tal
@@ -1,45 +0,0 @@
-( hello.tal )
-
-|00 @System &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 &debug $1 &halt $1
-|10 @Console &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1
-|20 @Screen &vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1
-|30 @Audio0 &vector $2 &position $2 &output $1 &pad $3 &adsr $2 &length $2 &addr $2 &volume $1 &pitch $1
-|40 @Audio1 &vector $2 &position $2 &output $1 &pad $3 &adsr $2 &length $2 &addr $2 &volume $1 &pitch $1
-|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 &pad $3 &scrollx $2 &scrolly $2
-|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
-
-|0000
-
-|0100
- #0a6f .System/r DEO2
- #05cf .System/g DEO2
- #0caf .System/b DEO2
-
- ;sin-pcm .Audio0/addr DEO2
- #0100 .Audio0/length DEO2
- #0040 .Audio0/adsr DEO2
- #ff .Audio0/volume DEO
-
- #4e .Audio0/pitch DEO
-BRK
-
-@sin-pcm
- 8083 8689 8c8f 9295 989b 9ea1 a4a7 aaad
- b0b3 b6b9 bbbe c1c3 c6c9 cbce d0d2 d5d7
- d9db dee0 e2e4 e6e7 e9eb ecee f0f1 f2f4
- f5f6 f7f8 f9fa fbfb fcfd fdfe fefe fefe
- fffe fefe fefe fdfd fcfb fbfa f9f8 f7f6
- f5f4 f2f1 f0ee eceb e9e7 e6e4 e2e0 dedb
- d9d7 d5d2 d0ce cbc9 c6c3 c1be bbb9 b6b3
- b0ad aaa7 a4a1 9e9b 9895 928f 8c89 8683
- 807d 7a77 7471 6e6b 6865 625f 5c59 5653
- 504d 4a47 4542 3f3d 3a37 3532 302e 2b29
- 2725 2220 1e1c 1a19 1715 1412 100f 0e0c
- 0b0a 0908 0706 0505 0403 0302 0202 0202
- 0102 0202 0202 0303 0405 0506 0708 090a
- 0b0c 0e0f 1012 1415 1719 1a1c 1e20 2225
- 2729 2b2e 3032 3537 3a3d 3f42 4547 4a4d
- 5053 5659 5c5f 6265 686b 6e71 7477 7a7d