uxn/examples/devices.usm

21 lines
268 B
Plaintext

( blank )
:dev/r fff8 ( std read port )
:dev/w fff9 ( std write port )
&Console { stdout 1 }
|0100 @RESET
BRK
|c000 @FRAME BRK
|d000 @ERROR BRK
|FF00 ;dev/console Console
|FF08 ;device2 Device
|FFF0 [ f2ac 35bb 2b53 ] ( palette )
|FFFA .RESET .FRAME .ERROR