Data update
This commit is contained in:
parent
72eb4943cb
commit
4d5544505c
2347 changed files with 62432 additions and 16731 deletions
|
|
@ -1,3 +1,2 @@
|
|||
color 900
|
||||
move 50 50
|
||||
rect 0.5 0.5
|
||||
gcolor 900
|
||||
grect 50 50 0.5 0.5
|
||||
|
|
|
|||
8
Task/Draw-a-pixel/OPL/draw-a-pixel.opl
Normal file
8
Task/Draw-a-pixel/OPL/draw-a-pixel.opl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
PROC main:
|
||||
LOCAL wndw%
|
||||
wndw%=gCREATE(80,0,320,240,1,1)
|
||||
gXBORDER 1,1
|
||||
gAT 100,100
|
||||
gLINEBY 0,0
|
||||
GET
|
||||
ENDP
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
( $ uxnasm draw-pixel.tal draw-pixel.rom && uxnemu draw-pixel.rom )
|
||||
|
||||
|00 @System &vector $2 &expansion $2 &wst $1 &rst $1 &metadata $2 &r $2 &g $2 &b $2 &debug $1 &state $1
|
||||
|20 @Screen &vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1
|
||||
|
||||
|0100
|
||||
( set theme )
|
||||
#0f00 .System/r DEO2
|
||||
#0000 .System/g DEO2
|
||||
#0000 .System/b DEO2
|
||||
|
||||
( set screen size )
|
||||
#0140 .Screen/width DEO2
|
||||
#00f0 .Screen/height DEO2
|
||||
|
||||
( set position )
|
||||
#0064 .Screen/x DEO2
|
||||
#0064 .Screen/y DEO2
|
||||
|
||||
( draw pixel )
|
||||
#01 .Screen/pixel DEO
|
||||
BRK
|
||||
Loading…
Add table
Add a link
Reference in a new issue