commit b05209ea0c8669e46b23037ef3f6bb69e8c897e1
parent eaae4695d299ea88150a605f113e0f7a2f08ec1b
Author: Luxferre <lux@ferre>
Date: Fri, 29 Jul 2022 22:33:02 +0300
4x1 scanline output debugged
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tal-lib/font.tal b/tal-lib/font.tal
@@ -12,11 +12,11 @@ BRK
BRK
&adv
#fa DBG
- INC
+ DEC
BRK
&back
#fb DBG
- DEC
+ INC
BRK
( sprite and text drawing routines )
@@ -42,7 +42,7 @@ BRK
SWP SWP2 ( x y nibble counter -- )
DUP ,&lp JCN
POP2 ( x y nibble counter -- x y )
- SWP #04 SUB SWP
+ SWP #04 SUB SWP ( restore x coord )
JMP2r
( 4x4 sprite output from the memory )