uxn/examples/pixel.usm

31 lines
445 B
Plaintext

( draw pixel )
|0100 @RESET
,0001 IOW ( x0 )
,0001 IOW ( x1 )
,0001 IOW ( y0 )
,0001 IOW ( y1 )
,0101 IOW ( clr )
,0001 IOW ( noredraw )
,0001 IOW ( x0 )
,0101 IOW ( x1 )
,0001 IOW ( y0 )
,0001 IOW ( y1 )
,0201 IOW ( clr )
,0001 IOW ( noredraw )
,0001 IOW ( x0 )
,0201 IOW ( x1 )
,0001 IOW ( y0 )
,0001 IOW ( y1 )
,0301 IOW ( clr )
,0101 IOW ( redraw! )
BRK
|c000 @FRAME BRK
|d000 @ERROR BRK
|FFFA .RESET .FRAME .ERROR