uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

console.read.tal (294B)


      1 ( usage: uxncli console.read.rom )
      2 
      3 |10 @Console &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1
      4 
      5 |0100
      6 
      7 @on-reset ( -> )
      8 	;on-console .Console/vector DEO2
      9 	( type something in the console ) 
     10 	BRK
     11 
     12 @on-console ( -> )
     13 	.Console/read DEI .Console/write DEO
     14 	#0a .Console/write DEO
     15 	BRK
     16