Implementing TGI
git-svn-id: svn://svn.cc65.org/cc65/trunk@1311 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -55,7 +55,8 @@ typedef struct {
|
||||
unsigned xres; /* X resolution */
|
||||
unsigned yres; /* Y resolution */
|
||||
unsigned char colors; /* Number of available colors */
|
||||
unsigned char res[7]; /* Reserved for extensions */
|
||||
unsigned char error; /* Error code */
|
||||
unsigned char res[6]; /* Reserved for extensions */
|
||||
|
||||
/* Jump vectors. Note that these are not C callable */
|
||||
void* install; /* INSTALL routine */
|
||||
@@ -75,6 +76,23 @@ typedef struct {
|
||||
|
||||
|
||||
|
||||
/* TGI kernel variables */
|
||||
extern tgi_drv_header tgi_drv; /* Pointer to driver */
|
||||
extern unsigned char tgi_error; /* Last error code */
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Code */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
const char* __fastcall__ tgi_map_mode (unsigned char mode);
|
||||
/* Map a tgi mode to a driver name. Returns NULL if no driver available. */
|
||||
|
||||
|
||||
|
||||
/* End of tgi-kernel.h */
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user