Initial submission of the PCem-Experimental source code.
This commit is contained in:
25
src/model.h
Normal file
25
src/model.h
Normal file
@@ -0,0 +1,25 @@
|
||||
typedef struct
|
||||
{
|
||||
char name[24];
|
||||
int id;
|
||||
struct
|
||||
{
|
||||
char name[16];
|
||||
CPU *cpus;
|
||||
} cpu[5];
|
||||
int fixed_gfxcard;
|
||||
int is_at;
|
||||
int min_ram, max_ram;
|
||||
int ram_granularity;
|
||||
void (*init)();
|
||||
} MODEL;
|
||||
|
||||
extern MODEL models[];
|
||||
|
||||
extern int model;
|
||||
|
||||
int model_count();
|
||||
int model_getromset();
|
||||
int model_getmodel(int romset);
|
||||
char *model_getname();
|
||||
void model_init();
|
||||
Reference in New Issue
Block a user