--- np2/pccore.h 2003/12/04 06:41:23 1.8 +++ np2/pccore.h 2004/01/09 07:27:15 1.12 @@ -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 @@ -81,10 +85,12 @@ typedef struct { BYTE MOTOR; BYTE MOTORVOL; BYTE PROTECTMEM; + BYTE hdrvacc; char hddfile[2][MAX_PATH]; // ver0.30 char fontfile[MAX_PATH]; char biospath[MAX_PATH]; + char hdrvroot[MAX_PATH]; } NP2CFG; typedef struct { @@ -99,8 +105,8 @@ typedef struct { UINT32 frame1000; UINT32 raster; UINT32 hsync; - BYTE cpumode; - BYTE model; + UINT8 cpumode; + UINT8 model; } PCCORE; @@ -117,7 +123,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);