mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-01-13 15:17:43 +00:00
- Common code for scrolling and paging - Separate menu data from the menu engine - Dialog box functions - 6k less flash space
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
#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();
|