4 // Let's define the window we're operating
5 struct window wholeScreen = {0, SC_PIX_HEIGHT-1, 0, SC_PIX_WIDTH-1};
10 unsigned char os = get_ostype();
11 unsigned char *machine = NULL;
12 unsigned char *version = NULL;
13 unsigned char good = 1;
16 InitDrawWindow(&wholeScreen);
21 version = "GEOS v3.5";
23 if ((os & GEOS128) == GEOS128) {
30 version = "GEOS v1.0";
31 } else if (os == GEOS_V11) {
32 version = "GEOS v1.1";
33 } else if (os == GEOS_V12) {
34 version = "GEOS v1.2";
35 } else if (os == GEOS_V13) {
36 version = "GEOS v1.3";
37 } else if (os == GEOS_V15) {
38 version = "GEOS v1.5";
39 } else if (os == GEOS_V20) {
40 version = "GEOS v2.0";
41 } else if (os == MEGAPATCH3) {
42 version = "MegaPatch 3";
43 } else if (os == GATEWAY) {
45 } else if ((os & WHEELS) == WHEELS) {
48 version = "Unknown GEOS version";
54 cprintf("%s (%s)", version, machine);
56 cprintf("%s (%s) (%d)", version, machine, os);