Started to add tgi text output functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1428 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -42,7 +42,9 @@ TGI_HDR_XRES = 4 ; X resolution
|
||||
TGI_HDR_YRES = 6 ; Y resolution
|
||||
TGI_HDR_COLORCOUNT = 8 ; Number of available colors
|
||||
TGI_HDR_PAGECOUNT = 9 ; Number of screens available
|
||||
TGI_HDR_RES = 10 ; Reserved for extensions
|
||||
TGI_HDR_FONTSIZE_X = 10 ; System font size in X direction
|
||||
TGI_HDR_FONTSIZE_Y = 11 ; System font size in Y direction
|
||||
TGI_HDR_RES = 12 ; Reserved for extensions
|
||||
|
||||
TGI_HDR_JUMPTAB = 16
|
||||
TGI_HDR_INSTALL = TGI_HDR_JUMPTAB+0 ; INSTALL routine
|
||||
@@ -64,8 +66,16 @@ TGI_HDR_HORLINE = TGI_HDR_JUMPTAB+30 ; HORLINE routine
|
||||
TGI_HDR_LINE = TGI_HDR_JUMPTAB+32 ; LINE routine
|
||||
TGI_HDR_BAR = TGI_HDR_JUMPTAB+34 ; BAR routine
|
||||
TGI_HDR_CIRCLE = TGI_HDR_JUMPTAB+36 ; CIRCLE routine
|
||||
TGI_HDR_TEXTSTYLE = TGI_HDR_JUMPTAB+39 ; TEXTSTYLE routine
|
||||
TGI_HDR_OUTTEXT = TGI_HDR_JUMPTAB+42 ; OUTTEXT routine
|
||||
|
||||
TGI_HDR_JUMPCOUNT = 19 ; Number of jump vectors
|
||||
TGI_HDR_JUMPCOUNT = 21 ; Number of jump vectors
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Text style constants
|
||||
|
||||
TGI_TEXT_HORIZONTAL = 0
|
||||
TGI_TEXT_VERTICAL = 1
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Variables
|
||||
@@ -76,10 +86,15 @@ TGI_HDR_JUMPCOUNT = 19 ; Number of jump vectors
|
||||
.global _tgi_curx ; Current drawing cursor X
|
||||
.global _tgi_cury ; Current drawing cursor Y
|
||||
.global _tgi_color ; Current drawing color
|
||||
.global _tgi_textdir ; Current text direction
|
||||
.global _tgi_textmagx ; Text magnification in X dir
|
||||
.global _tgi_textmagy ; Text magnification in Y dir
|
||||
.global _tgi_xres ; X resolution of the current mode
|
||||
.global _tgi_yres ; Y resolution of the current mode
|
||||
.global _tgi_colorcount ; Number of available colors
|
||||
.global _tgi_pagecount ; Number of available screen pages
|
||||
.global _tgi_fontsizex ; System font X size
|
||||
.global _tgi_fontsizey ; System font Y size
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Driver entry points
|
||||
@@ -103,7 +118,8 @@ TGI_HDR_JUMPCOUNT = 19 ; Number of jump vectors
|
||||
.global tgi_line
|
||||
.global tgi_bar
|
||||
.global tgi_circle
|
||||
|
||||
.global tgi_textstyle
|
||||
.global tgi_outtext
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; ASM functions
|
||||
@@ -113,5 +129,8 @@ TGI_HDR_JUMPCOUNT = 19 ; Number of jump vectors
|
||||
.global tgi_inv_arg
|
||||
.global tgi_linepop
|
||||
.global tgi_set_ptr
|
||||
.global tgi_popxy
|
||||
.global tgi_popxy2
|
||||
.global tgi_curtoxy
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user