mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-12-02 02:27:25 +00:00
16 lines
294 B
Tal
16 lines
294 B
Tal
( 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
|
|
|