0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-09 15:55:05 +00:00
uxn/projects/examples/devices/console.read.tal

17 lines
294 B
Tal
Raw Normal View History

2023-07-16 17:04:40 +00:00
( usage: uxncli console.read.rom )
|10 @Console &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1
|0100
@on-reset ( -> )
;on-console .Console/vector DEO2
( type something in the console )
BRK
@on-console ( -> )
.Console/read DEI .Console/write DEO
#0a .Console/write DEO
BRK