Working on the TGI API, adding vector fonts. Only roughly tested!

git-svn-id: svn://svn.cc65.org/cc65/trunk@4432 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-11-02 22:29:49 +00:00
parent fdc7604d8f
commit 87866e3099
8 changed files with 247 additions and 31 deletions

View File

@@ -8,7 +8,7 @@
.include "tgi-kernel.inc"
.include "tgi-error.inc"
.import pushax
.import pushax, pusha
.importzp ptr1
.proc _tgi_init
@@ -48,7 +48,8 @@
ldx #>$100
jsr pushax ; Width scale
jsr pushax ; Heigh scale
jsr _tgi_textstyle ; A = Direction = TEXT_VERTICAL
jsr pusha ; Text direction = TGI_TEXT_VERTICAL
jsr _tgi_textstyle ; A = Font = TGI_FONT_BITMAP
; Clear the screen