0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-16 03:05:06 +00:00
uxn/projects/examples/devices/console.tal
2021-08-30 14:53:01 -07:00

19 lines
No EOL
248 B
Tal

( dev/console )
|00 @System $e &debug
|10 @Console $8 &write
( init )
|0100 ( -> )
;hello-word
&while
( send ) LDAk .Console/write DEO
INC2 LDAk ,&while JCN
POP2
( show debugger ) #01 .System/debug DEO
BRK
@hello-word "Hello 20 "Uxn!