Applied all mainline PCem commits (changes configuration files!); Fixed EGA and (S)VGA overscan border drawing; Added ability to invert the colors when using a (S)VGA graphics card, to appear like an early laptop monitor; Changed version to 1.03.
42 lines
882 B
C
42 lines
882 B
C
/* Copyright holders: Sarah Walker, Tohka
|
|
see COPYING for more details
|
|
*/
|
|
#define MODEL_AT 1
|
|
#define MODEL_PS2 2
|
|
#define MODEL_AMSTRAD 4
|
|
#define MODEL_OLIM24 8
|
|
#define MODEL_NEC 16
|
|
#define MODEL_FUJITSU 32
|
|
#define MODEL_RM 64
|
|
|
|
typedef struct
|
|
{
|
|
char name[32];
|
|
int id;
|
|
char internal_name[24];
|
|
struct
|
|
{
|
|
char name[16];
|
|
CPU *cpus;
|
|
} cpu[5];
|
|
int fixed_gfxcard;
|
|
int flags;
|
|
int min_ram, max_ram;
|
|
int ram_granularity;
|
|
void (*init)();
|
|
struct device_t *device;
|
|
} MODEL;
|
|
|
|
extern MODEL models[];
|
|
|
|
extern int model;
|
|
|
|
int model_count();
|
|
int model_getromset();
|
|
int model_getmodel(int romset);
|
|
char *model_getname();
|
|
char *model_get_internal_name();
|
|
int model_get_model_from_internal_name(char *s);
|
|
void model_init();
|
|
struct device_t *model_getdevice(int model);
|