dio bugfix, added get_tv and get_ostype functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@889 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst
2001-09-10 21:43:15 +00:00
parent 1da6f339dc
commit 490e3b8c0f
6 changed files with 103 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
GEOS system functions
ported to small C on 27.10.1999
by Maciej 'YTM/Alliance' Witkowiak
by Maciej 'YTM/Elysium' Witkowiak
*/
#ifndef _GSYS_H
@@ -23,4 +23,21 @@ char __fastcall__ GetRandom(void);
void __fastcall__ SetDevice(char newdev);
char __fastcall__ get_ostype(void);
/* possible return values of get_ostype, machine and version flags will
be combined */
#define GEOS64 0x00
#define GEOS128 0x80
#define GEOS_V10 0x10
#define GEOS_V12 0x12 /* ??? not sure */
#define GEOS_V20 0x20
char __fastcall__ get_tv(void);
/* possible return values of get_tv, these flags will be combined
note that columns state can be changed during runtime */
#define COLUMNS40 0x00
#define COLUMNS80 0x01
#define TV_PAL 0x00
#define TV_NTSC 0x80
#endif