Small change in the vector font format.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5088 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-07-17 17:15:54 +00:00
parent e33bd9a44c
commit 928f675e4b
3 changed files with 20 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
; Ullrich von Bassewitz, 2009-10-30
;
.include "tgi-kernel.inc"
.include "tgi-vectorfont.inc"
.include "zeropage.inc"
@@ -36,11 +36,8 @@
stx ptr1
lda _tgi_vectorfont+1
sta ptr1+1
ldy #TGI_VECTORFONT::TOP
lda (ptr1),y
ldy #TGI_VECTORFONT::BOTTOM
clc
adc (ptr1),y ; Total font height is top + bottom
ldy #TGI_VECTORFONT::HEIGHT
lda (ptr1),y ; Get height of font
sta ptr1
lda #0