.global _tgi_drv ; Pointer to driver
.global _tgi_error ; Last error code
- .global _tgi_mode ; Graphics mode or zero
+ .global _tgi_gmode ; Flag: graphics mode active
.global _tgi_curx ; Current drawing cursor X
.global _tgi_cury ; Current drawing cursor Y
.global _tgi_color ; Current drawing color
/* TGI kernel variables */
extern tgi_drv_header* tgi_drv; /* Pointer to driver */
extern unsigned char tgi_error; /* Last error code */
-extern unsigned char tgi_mode; /* Graphics mode or zero */
+extern unsigned char tgi_gmode; /* Flag: Graphics mode active */
extern int tgi_curx; /* Current drawing cursor X */
extern int tgi_cury; /* Current drawing cursor Y */
extern unsigned char tgi_color; /* Current drawing color */
-
+