]> git.sur5r.net Git - cc65/blob - include/geos/gsys.h
added GetFile implementation
[cc65] / include / geos / gsys.h
1 /*
2   GEOS system functions
3
4   ported to small C on 27.10.1999
5   by Maciej 'YTM/Elysium' Witkowiak
6 */
7
8 #ifndef _GSYS_H
9 #define _GSYS_H
10
11 void __fastcall__ FirstInit(void);
12 void __fastcall__ InitForIO(void);
13 void __fastcall__ DoneWithIO(void);
14 void __fastcall__ MainLoop(void);
15 void __fastcall__ EnterDeskTop(void);
16 void __fastcall__ ToBASIC(void);
17 void __fastcall__ Panic(void);
18
19 void __fastcall__ CallRoutine(void *myRoutine);
20
21 int __fastcall__ GetSerialNumber(void);
22 char __fastcall__ GetRandom(void);
23
24 void __fastcall__ SetDevice(char newdev);
25
26 char __fastcall__ get_ostype(void);
27 /* possible return values of get_ostype, machine and version flags will
28    be combined */
29 #define GEOS64          0x00
30 #define GEOS128         0x80
31 #define GEOS_V10        0x10
32 #define GEOS_V12        0x12    /* ??? not sure */
33 #define GEOS_V20        0x20
34
35 char __fastcall__ get_tv(void);
36 /* possible return values of get_tv, these flags will be combined
37    note that columns state can be changed during runtime */
38 #define COLUMNS40       0x00
39 #define COLUMNS80       0x01
40 #define TV_PAL          0x00
41 #define TV_NTSC         0x80
42
43 #endif