uxn/projects/examples/devices/console.tal

20 lines
248 B
Tal

( dev/console )
|0e @System/debug
|18 @Console/write
( init )
|0100 ( -> )
;hello-word
&loop
( send ) LDAk .Console/write DEO
( incr ) #0001 ADD2
( loop ) LDAk ,&loop JCN
POP2
#01 .System/debug DEO
BRK
@hello-word "Hello 20 "World!