From: cuz Date: Tue, 15 Jun 2004 09:08:39 +0000 (+0000) Subject: New function tgi_geterrormsg X-Git-Tag: V2.12.0~707 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa0c3bbf81089f9b118398213c551f6a2aea8e26;p=cc65 New function tgi_geterrormsg git-svn-id: svn://svn.cc65.org/cc65/trunk@3125 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/asminc/tgi-kernel.inc b/asminc/tgi-kernel.inc index 00f7e5c12..3079f76be 100644 --- a/asminc/tgi-kernel.inc +++ b/asminc/tgi-kernel.inc @@ -6,7 +6,7 @@ ;* */ ;* */ ;* */ -;* (C) 2002-2003 Ullrich von Bassewitz */ +;* (C) 2002-2004 Ullrich von Bassewitz */ ;* Römerstraße 52 */ ;* D-70794 Filderstadt */ ;* EMail: uz@cc65.org */ @@ -147,6 +147,7 @@ TGI_TEXT_VERTICAL = 1 .global _tgi_init .global _tgi_done .global _tgi_geterror + .global _tgi_geterrormsg .global _tgi_clear .global _tgi_getpagecount .global _tgi_setviewpage diff --git a/include/tgi.h b/include/tgi.h index 43f0c2990..adda65658 100644 --- a/include/tgi.h +++ b/include/tgi.h @@ -104,6 +104,9 @@ unsigned char __fastcall__ tgi_geterror (void); * error. */ +const char* __fastcall__ tgi_geterrormsg (unsigned char code); +/* Get an error message describing the error in code. */ + void __fastcall__ tgi_clear (void); /* Clear the screen. */