Target-specific black & white values for use by the target-shared TGI kernel

git-svn-id: svn://svn.cc65.org/cc65/trunk@4993 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2011-04-25 17:11:23 +00:00
parent 012e3e456a
commit 5e37ed1a16
15 changed files with 66 additions and 10 deletions

View File

@@ -78,10 +78,7 @@
TGI_API_VERSION = $03
;------------------------------------------------------------------------------
; Color and text constants
TGI_COLOR_BLACK = 0
TGI_COLOR_WHITE = 1
; Text constants
TGI_FONT_BITMAP = 0
TGI_FONT_VECTOR = 1
@@ -99,7 +96,13 @@ TGI_CLIP_BOTTOM = $04
TGI_CLIP_TOP = $08
;------------------------------------------------------------------------------
; C accessible Variables
; ASM accessible color constants
.global tgi_color_black:zp ; Target-specific value for black
.global tgi_color_white:zp ; Target-specific value for white
;------------------------------------------------------------------------------
; C accessible variables
.global _tgi_drv ; Pointer to driver
.global _tgi_error ; Last error code
@@ -125,7 +128,7 @@ TGI_CLIP_TOP = $08
.global _tgi_aspectratio ; Aspect ratio, fixed point 8.8
;------------------------------------------------------------------------------
; ASM accessible Variables
; ASM accessible variables
.global tgi_clip_x1 ; Coordinate for line clipper
.global tgi_clip_y1 ; Coordinate for line clipper