-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.h
More file actions
49 lines (35 loc) · 1007 Bytes
/
Copy pathmain.h
File metadata and controls
49 lines (35 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#pragma once
#include <stdint.h>
// global defines
#define X_RES 320
#define Y_RES 200
struct main_props_t {
// global switches here
// fast esfm write mode
// this MUST BE FIRST member of the structure!
bool fast_esfm_out;
// automatic mode select
bool automode;
// low quality mode - remove some flashy stuff
bool lq_mode;
// frame time in seconds - used for deriving refresh rate
float frame_time;
// use IRQ0 timing instead of RTC
// NB: IRQ0 is still hooked to ensure RTC IRQ is always unmasked!
bool use_irq0;
// load modules from disk instead of from memory
bool load_from_disk;
// skip intro for 4 MB RAM machines (and 386 :D)
bool skip_intro;
// activate ESFM input source
bool activate_mixer;
// disable volume controls
bool disable_volume_ctrl;
// unlock ESFM ports by patching TSS
bool tss_unlock;
};
extern "C" {
extern main_props_t mainprops;
}
// dos shell (yes!)
void dos_shell();