# pixel_center.tal -rw-r--r-- 430 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|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 $2 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1

|100

@on-reset ( -> )
	#0f00 .System/r DEO2
	#0f00 .System/g DEO2
	#0f00 .System/b DEO2
	( | center )
	.Screen/width DEI2 #01 SFT2 .Screen/x DEO2
	.Screen/height DEI2 #01 SFT2 .Screen/y DEO2
	( | pixel )
	#01 .Screen/pixel DEO
	BRK