Faster draw-line

This commit is contained in:
Devine Lu Linvega 2024-06-04 20:48:24 -08:00
parent 15653b98ee
commit df9c33f075
1 changed files with 2 additions and 2 deletions

View File

@ -250,8 +250,8 @@
,&x2 STR2 ,&x2 STR2
STH2 STH2
STH2 STH2
( dx ) ,&x2 LDR2 STH2kr SUB2 abs2 ,&dx STR2 ( dx ) #0001 #ffff ,&x2 LDR2 STH2kr SUB2k abs2 ,&dx STR2
( sx ) #0001 #ffff STH2kr ,&x2 LDR2 lts2 [ JMP SWP2 POP2 ] ,&sx STR2 ( sx ) SWP2 lts2 [ JMP SWP2 POP2 ] ,&sx STR2
( y x -> x y ) SWP2r ( y x -> x y ) SWP2r
( dy ) #0000 ,&y2 LDR2 STH2kr SUB2 abs2 SUB2 ,&dy STR2 ( dy ) #0000 ,&y2 LDR2 STH2kr SUB2 abs2 SUB2 ,&dy STR2
( sy ) #0001 #ffff STH2kr ,&y2 LDR2 lts2 [ JMP SWP2 POP2 ] ,&sy STR2 ( sy ) #0001 #ffff STH2kr ,&y2 LDR2 lts2 [ JMP SWP2 POP2 ] ,&sy STR2