Started to add text output functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1427 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -40,6 +40,16 @@ _tgi_init:
|
||||
txa
|
||||
jsr _tgi_setcolor ; tgi_setcolor (tgi_getmaxcolor ());
|
||||
|
||||
; Set the text style
|
||||
|
||||
lda #TGI_TEXT_HORIZONTAL
|
||||
sta _tgi_textdir
|
||||
ldx #1
|
||||
stx _tgi_textmagx
|
||||
ldy #1
|
||||
sty _tgi_textmagy
|
||||
jsr tgi_textstyle ; Tell the driver about the text style
|
||||
|
||||
; Clear the screen
|
||||
|
||||
jmp tgi_clear
|
||||
|
||||
Reference in New Issue
Block a user