]> git.sur5r.net Git - cc65/blobdiff - asminc/tgi-error.inc
Fixed _textcolor definition.
[cc65] / asminc / tgi-error.inc
index 258c0c24c827b3f39a7827c74a1b4b1dcbdb4be0..a4559bb2a97a9ac7fd91395e1b173e8c58774db6 100644 (file)
@@ -6,10 +6,10 @@
 ;*                                                                           */
 ;*                                                                           */
 ;*                                                                           */
-;* (C) 2002      Ullrich von Bassewitz                                       */
-;*               Wacholderweg 14                                             */
-;*               D-70597 Stuttgart                                           */
-;* EMail:        uz@musoftware.de                                            */
+;* (C) 2002-2012, Ullrich von Bassewitz                                      */
+;*                Roemerstrasse 52                                           */
+;*                D-70794 Filderstadt                                        */
+;* EMail:         uz@cc65.org                                                */
 ;*                                                                           */
 ;*                                                                           */
 ;* This software is provided 'as-is', without any expressed or implied       */
 
 
 ; Error constants
-TGI_ERR_OK              = 0     ; No error
-TGI_ERR_NO_DRIVER       = 1     ; No driver available
-TGI_ERR_LOAD_ERROR      = 2     ; Error loading driver
-TGI_ERR_INV_DRIVER      = 3     ; Invalid driver
-TGI_ERR_INV_MODE        = 4     ; Mode not supported by driver
-TGI_ERR_INV_ARG         = 5     ; Invalid function argument
-TGI_ERR_INV_FUNC       = 6     ; Function not supported
+.enum
+        TGI_ERR_OK              ; No error
+        TGI_ERR_NO_DRIVER       ; No driver available
+        TGI_ERR_CANNOT_LOAD     ; Error loading driver or font
+        TGI_ERR_INV_DRIVER      ; Invalid driver
+        TGI_ERR_INV_MODE        ; Mode not supported by driver
+        TGI_ERR_INV_ARG         ; Invalid function argument
+        TGI_ERR_INV_FUNC        ; Function not supported
+        TGI_ERR_INV_FONT        ; Font file is invalid
+        TGI_ERR_NO_RES          ; Out of resources (memory, handles, ...)
+        TGI_ERR_UNKNOWN         ; Unknown error
+        TGI_ERR_INSTALLED       ; A driver is already installed
 
+        TGI_ERR_COUNT           ; Special: Number of error messages
+.endenum