Housekeeping

This commit is contained in:
Devine Lu Linvega 2024-02-11 11:45:51 -08:00
parent 0cc2e70c1b
commit b2cfc76267
1 changed files with 6 additions and 8 deletions

View File

@ -172,11 +172,6 @@
[ LIT2 &color 03 -Screen/sprite ] DEOk DEOk DEOk DEO
JMP2r
@<draw-times> ( color times -- )
OVR .Screen/sprite DEO
INC DUP ?<draw-times>
POP2 JMP2r
@<draw-frame> ( x* y* w h sprite* -- )
.Screen/addr DEO2
,&h STR
@ -205,14 +200,17 @@
,&w LDR <draw-frame>/repeat
<draw-frame>/next
[ LIT2 81 -Screen/sprite ] DEO
( fill ) <draw-frame>/next
,&x LDR2 #0008 ADD2 .Screen/x DEO2
,&y LDR2 #0008 ADD2 .Screen/y DEO2
JMP2r
&next .Screen/addr DEI2k #0010 ADD2 ROT DEO2
JMP2r
&repeat #00 &repeat-loop [ LIT2 81 -Screen/sprite ] DEO
INC GTHk ?&repeat-loop
&repeat #8100 ROT SUB
( >> )
@<draw-times> ( color times -- )
OVR .Screen/sprite DEO
INC DUP ?<draw-times>
POP2 JMP2r
@<update-pointer> ( color addr* -- )