-
Notifications
You must be signed in to change notification settings - Fork 39
/
config.h
47 lines (42 loc) · 1.21 KB
/
config.h
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
#include "fat_compat.h"
#include "hdd.h"
typedef struct
{
unsigned char lores;
unsigned char hires;
} filterTYPE;
typedef struct
{
unsigned char speed;
unsigned char drives;
} floppyTYPE;
typedef struct
{
unsigned char audiofiltermode;
unsigned char powerledoffstate;
} featuresTYPE;
typedef struct
{
char kickstart[80];
filterTYPE filter;
unsigned char memory;
unsigned char chipset;
floppyTYPE floppy;
unsigned char disable_ar3;
unsigned char enable_ide[2];
unsigned char scanlines;
unsigned char pad1;
hardfileTYPE hardfile[HARDFILES];
unsigned char cpu;
unsigned char autofire;
featuresTYPE features;
} configTYPE;
extern configTYPE config;
extern char DebugMode;
char UploadKickstart(char *name);
char UploadActionReplay();
void SetConfigurationFilename(int config); // Set configuration filename by slot number
unsigned char LoadConfiguration(char *filename, int printconfig); // Can supply NULL to use filename previously set by slot number
unsigned char SaveConfiguration(char *filename); // Can supply NULL to use filename previously set by slot number
unsigned char ConfigurationExists(char *filename);
void EjectAllFloppies();