16 lines
551 B
Tal
16 lines
551 B
Tal
|00 @System &vector $2 &expansion $2 &wst $1 &rst $1 &metadata $2 &r $2 &g $2 &b $2 &debug $1 &state $1
|
|
|10 @Console &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1
|
|
|20 @Screen &vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1
|
|
|
|
|0100
|
|
LIT "B #18 DEO
|
|
#0064 .Screen/width DEO2
|
|
#0064 .Screen/height DEO2
|
|
( set system colors )
|
|
#2ce9 .System/r DEO2
|
|
#01c0 .System/g DEO2
|
|
#2ce5 .System/b DEO2
|
|
( draw a pixel in the screen )
|
|
#0032 .Screen/x DEO2
|
|
#0032 .Screen/y DEO2
|
|
#41 .Screen/pixel DEO ( fg layer, color1 )
|