--- np2/pccore.h 2003/11/15 07:10:02 1.7 +++ np2/pccore.h 2004/01/09 04:36:02 1.11 @@ -8,7 +8,11 @@ enum { enum { PCMODEL_VM = 0, - PCMODEL_VX = 1 + PCMODEL_VX = 1, + PCMODELMASK = 0x3f, + + PCMODEL_PC9821 = 0x40, + PCMODEL_EPSON = 0x80 }; #define CPUMODE_8MHz 0x20 @@ -84,6 +88,8 @@ typedef struct { char hddfile[2][MAX_PATH]; // ver0.30 char fontfile[MAX_PATH]; + char biospath[MAX_PATH]; + char hdrvroot[MAX_PATH]; } NP2CFG; typedef struct { @@ -98,8 +104,8 @@ typedef struct { UINT32 frame1000; UINT32 raster; UINT32 hsync; - BYTE cpumode; - BYTE model; + UINT8 cpumode; + UINT8 model; } PCCORE; @@ -116,7 +122,7 @@ extern int soundrenewal; extern BOOL drawframe; extern UINT drawcount; - +void getbiospath(char *path, const char *fname, int maxlen); void screendisp(NEVENTITEM item); void screenvsync(NEVENTITEM item);