Housekeeping

This commit is contained in:
Devine Lu Linvega 2024-06-04 20:32:45 -08:00
parent f6ffc5812b
commit d5819e0d25
1 changed files with 4 additions and 4 deletions

View File

@ -250,10 +250,10 @@
,&x2 STR2 ,&x2 STR2
STH2 STH2
STH2 STH2
SWP2r ,&x2 LDR2 OVR2r STH2r SUB2 abs2 ,&dx STR2 ( dx ) SWP2r ,&x2 LDR2 OVR2r STH2r SUB2 abs2 ,&dx STR2
#0000 ,&y2 LDR2 STH2kr SUB2 abs2 SUB2 ,&dy STR2 ( dy ) #0000 ,&y2 LDR2 STH2kr SUB2 abs2 SUB2 ,&dy STR2
#ffff #00 OVR2r STH2r ,&x2 LDR2 lts2 DUP2 ADD2 ADD2 ,&sx STR2 ( sx ) #0001 #ffff OVR2r STH2r ,&x2 LDR2 lts2 [ JMP SWP2 POP2 ] ,&sx STR2
#ffff #00 STH2kr ,&y2 LDR2 lts2 DUP2 ADD2 ADD2 ,&sy STR2 ( sy ) #0001 #ffff STH2kr ,&y2 LDR2 lts2 [ JMP SWP2 POP2 ] ,&sy STR2
,&dx LDR2 ,&dy LDR2 ADD2 ,&dx LDR2 ,&dy LDR2 ADD2
&>while ( -- ) &>while ( -- )
( draw ) OVR2r STH2r STH2kr [ LIT &color $1 ] <set-pixel> ( draw ) OVR2r STH2r STH2kr [ LIT &color $1 ] <set-pixel>