mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Minor optimizations
LiquidDirt and TypeChar (8x8 on graphics screen - like tanks) are little faster now.
This commit is contained in:
+9
-17
@@ -1175,7 +1175,7 @@ DrawLine .proc
|
||||
sec
|
||||
sbc ydraw
|
||||
sta tempbyte01
|
||||
jsr plot
|
||||
jsr plot.MakePlot
|
||||
;rts
|
||||
jmp IntoDraw ; jumps inside Draw routine
|
||||
; because one pixel is already plotted
|
||||
@@ -1261,29 +1261,21 @@ CopyMask
|
||||
ldx ybit
|
||||
beq MaskOK00
|
||||
MakeMask00
|
||||
clc ; INVERSE
|
||||
ror mask1
|
||||
lsr mask1 ; INVERSE
|
||||
ror mask2
|
||||
clc ; INVERSE
|
||||
ror mask1+1
|
||||
lsr mask1+1 ; INVERSE
|
||||
ror mask2+1
|
||||
clc ; INVERSE
|
||||
ror mask1+2
|
||||
lsr mask1+2 ; INVERSE
|
||||
ror mask2+2
|
||||
clc ; INVERSE
|
||||
ror mask1+3
|
||||
lsr mask1+3 ; INVERSE
|
||||
ror mask2+3
|
||||
clc ; INVERSE
|
||||
ror mask1+4
|
||||
lsr mask1+4 ; INVERSE
|
||||
ror mask2+4
|
||||
clc ; INVERSE
|
||||
ror mask1+5
|
||||
lsr mask1+5 ; INVERSE
|
||||
ror mask2+5
|
||||
clc ; INVERSE
|
||||
ror mask1+6
|
||||
lsr mask1+6 ; INVERSE
|
||||
ror mask2+6
|
||||
clc ; INVERSE
|
||||
ror mask1+7
|
||||
lsr mask1+7 ; INVERSE
|
||||
ror mask2+7
|
||||
sec ; INVERSE
|
||||
ror char1
|
||||
|
||||
Reference in New Issue
Block a user