]> git.sur5r.net Git - cc65/blobdiff - include/geos/gsys.h
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / include / geos / gsys.h
index a367d255d65bbfba87662b878913d74d6d5677b0..284c38b633a056bef687486c2d053fb1e4c76880 100644 (file)
@@ -1,43 +1,50 @@
 /*
   GEOS system functions
 
-  ported to small C on 27.10.1999
   by Maciej 'YTM/Elysium' Witkowiak
 */
 
-#ifndef        _GSYS_H
+#ifndef _GSYS_H
 #define _GSYS_H
 
-void __fastcall__ FirstInit(void);
-void __fastcall__ InitForIO(void);
-void __fastcall__ DoneWithIO(void);
-void __fastcall__ MainLoop(void);
-void __fastcall__ EnterDeskTop(void);
-void __fastcall__ ToBASIC(void);
-void __fastcall__ Panic(void);
+void FirstInit(void);
+void InitForIO(void);
+void DoneWithIO(void);
+void MainLoop(void);
+void EnterDeskTop(void);
+void ToBASIC(void);
+void Panic(void);
 
 void __fastcall__ CallRoutine(void *myRoutine);
 
-int __fastcall__ GetSerialNumber(void);
-char __fastcall__ GetRandom(void);
+unsigned GetSerialNumber(void);
+char GetRandom(void);
 
 void __fastcall__ SetDevice(char newdev);
 
-char __fastcall__ get_ostype(void);
+char 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);
+   be combined with OR */
+  /* machine flags */
+#define GEOS64          0x00
+#define GEOS4           0x04    /* plus4 geos is not or'ed with version */
+#define GEOS128         0x80
+  /* version flags */
+#define GEOS_V10        0x10
+#define GEOS_V11        0x11
+#define GEOS_V12        0x12    /* ??? not sure */
+#define GEOS_V20        0x20
+#define WHEELS          0x40    /* only Wheels? */
+
+char 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
+   note that columns state can be changed during runtime and get_tv
+   always returns the current state */
+#define COLUMNS40       0x00
+#define COLUMNS80       0x01
+#define TV_PAL          0x00
+#define TV_NTSC         0x80
 
 #endif