4 ported to small C on 27.10.1999
5 by Maciej 'YTM/Elysium' Witkowiak
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);
19 void __fastcall__ CallRoutine(void *myRoutine);
21 unsigned __fastcall__ GetSerialNumber(void);
22 char __fastcall__ GetRandom(void);
24 void __fastcall__ SetDevice(char newdev);
26 char __fastcall__ get_ostype(void);
28 /* possible return values of get_ostype, machine and version flags will
29 be combined with OR */
35 #define GEOS_V12 0x12 /* ??? not sure */
37 #define WHEELS 0x40 /* only Wheels? */
39 char __fastcall__ get_tv(void);
41 /* possible return values of get_tv, these flags will be combined
42 note that columns state can be changed during runtime and get_tv
43 always returns the current state */
44 #define COLUMNS40 0x00
45 #define COLUMNS80 0x01