TGI_HDR_YRES = 6 ; Y resolution
TGI_HDR_COLORCOUNT = 8 ; Number of available colors
TGI_HDR_PAGECOUNT = 9 ; Number of screens available
-TGI_HDR_ERROR = 10 ; Error code
-TGI_HDR_RES = 11 ; Reserved for extensions
+TGI_HDR_RES = 10 ; Reserved for extensions
TGI_HDR_JUMPTAB = 16
TGI_HDR_INSTALL = TGI_HDR_JUMPTAB+0 ; INSTALL routine
TGI_HDR_GETDEFPALETTE = TGI_HDR_JUMPTAB+24 ; GETDEFPALETTE routine
TGI_HDR_SETPIXEL = TGI_HDR_JUMPTAB+26 ; SETPIXEL routine
TGI_HDR_GETPIXEL = TGI_HDR_JUMPTAB+28 ; GETPIXEL routine
-TGI_HDR_LINE = TGI_HDR_JUMPTAB+30 ; LINE routine
-TGI_HDR_BAR = TGI_HDR_JUMPTAB+32 ; BAR routine
-TGI_HDR_CIRCLE = TGI_HDR_JUMPTAB+34 ; CIRCLE routine
+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_JUMPCOUNT = 18 ; Number of jump vectors
+TGI_HDR_JUMPCOUNT = 19 ; Number of jump vectors
;------------------------------------------------------------------------------
; Variables
.global tgi_getdefpalette
.global tgi_setpixel
.global tgi_getpixel
+ .global tgi_horline
.global tgi_line
.global tgi_bar
.global tgi_circle
.global tgi_linepop
.global tgi_set_ptr
+
unsigned yres; /* Y resolution */
unsigned char colorcount; /* Number of available colors */
unsigned char pagecount; /* Number of screens available */
- unsigned char error; /* Error code */
- unsigned char res[5]; /* Reserved for extensions */
+ unsigned char res[6]; /* Reserved for extensions */
/* Jump vectors. Note that these are not C callable */
void* install; /* INSTALL routine */
void* getdefpalette; /* GETDEFPALETTE routine */
void* setpixel; /* SETPIXEL routine */
void* getpixel; /* GETPIXEL routine */
+ void* horline; /* HORLINE routine */
void* line; /* LINE routine */
void* bar; /* BAR routine */
void* circle; /* CIRCLE routine */
-
+