0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-30 17:53:01 +00:00
uxn/projects/examples/devices/console.tal

19 lines
250 B
Tal
Raw Normal View History

2021-04-21 16:09:18 +00:00
( dev/console )
2021-02-20 23:00:34 +00:00
2021-08-10 18:36:07 +00:00
|00 @System $e &debug
|10 @Console $8 &write
2021-04-21 16:48:04 +00:00
( init )
2021-04-21 16:48:04 +00:00
|0100 ( -> )
2021-02-20 23:00:34 +00:00
2021-07-28 22:41:07 +00:00
;hello-word
2021-08-08 17:21:58 +00:00
&while
2021-06-28 16:40:29 +00:00
( send ) LDAk .Console/write DEO
2021-08-18 02:40:07 +00:00
INC2 LDAk ,&while JCN
2021-05-17 22:13:46 +00:00
POP2
2021-08-08 17:21:58 +00:00
( show debugger ) #01 .System/debug DEO
2021-07-28 22:41:07 +00:00
2021-05-13 15:47:18 +00:00
BRK
2021-02-20 23:00:34 +00:00
2021-05-17 22:13:46 +00:00
@hello-word "Hello 20 "World!