uxn/examples/devices.usm

24 lines
290 B
Plaintext
Raw Normal View History

2021-02-26 18:16:35 +00:00
( blank )
:dev/r fff8 ( std read port )
:dev/w fff9 ( std write port )
&Device { r 8 w 8 }
|0100 @RESET
#aa =device1.r
~device1.r NOP
BRK
|c000 @FRAME BRK
|d000 @ERROR BRK
|FF00
;device1 Device
;device2 Device
|FFF0 [ f2ac 35bb 2b53 ] ( palette )
|FFFA .RESET .FRAME .ERROR