mirror of https://git.sr.ht/~rabbits/left
Minor optimization
This commit is contained in:
parent
650ba6fad9
commit
bcd43c8e2e
|
@ -1242,10 +1242,10 @@
|
|||
@<draw-glyph-ascii> ( char -- )
|
||||
[ LITr -Screen/x ] DEI2r
|
||||
( glyph* ) #00 OVR #20 SUB #50 SFT2 ;font/glyphs ADD2 .Screen/addr DEO2
|
||||
( width* ) #0000 ROT ;font ADD2 LDA STHk
|
||||
( width* ) [ LIT2r 0000 STH LIT2r =font ] ADD2r LDAr DUPr
|
||||
( draw2 ) [ LIT2 &color 01 -Screen/sprite ]
|
||||
( draw1 ) [ LITr 08 LTHr JMPr DEOk ] DEO
|
||||
STH2r ADD2 .Screen/x DEO2
|
||||
ADD2r [ LITr -Screen/x ] DEO2r
|
||||
JMP2r
|
||||
|
||||
@<draw-glyph-icon> ( length* addr* -- )
|
||||
|
|
Loading…
Reference in New Issue