|
|
| version 1.3, 2004/01/22 01:10:04 | version 1.4, 2004/01/26 14:49:14 |
|---|---|
| Line 25 enum { | Line 25 enum { |
| typedef struct { | typedef struct { |
| char sig[3]; | UINT8 sectors; |
| char ver[4]; | UINT8 surfaces; |
| char delimita; | UINT16 cylinders; |
| char comment[128]; | } SASIHDD; |
| BYTE padding1[4]; | |
| BYTE mbsize[2]; | |
| BYTE sectorsize[2]; | |
| BYTE sectors; | |
| BYTE surfaces; | |
| BYTE cylinders[2]; | |
| BYTE totals[4]; | |
| BYTE padding2[0x44]; | |
| } VHDHDR; | |
| typedef struct { | typedef struct { |
| BYTE cylinders[2]; | BYTE cylinders[2]; |
| Line 55 typedef struct { | Line 46 typedef struct { |
| } HDIHDR; | } HDIHDR; |
| typedef struct { | typedef struct { |
| char sig[16]; | |
| char comment[0x100]; | |
| BYTE headersize[4]; | |
| BYTE cylinders[4]; | |
| BYTE surfaces[2]; | |
| BYTE sectors[2]; | |
| BYTE sectorsize[2]; | |
| BYTE reserved[0xe2]; | |
| } NHDHDR; | |
| typedef struct { | |
| char sig[3]; | |
| char ver[4]; | |
| char delimita; | |
| char comment[128]; | |
| BYTE padding1[4]; | |
| BYTE mbsize[2]; | |
| BYTE sectorsize[2]; | |
| BYTE sectors; | |
| BYTE surfaces; | |
| BYTE cylinders[2]; | |
| BYTE totals[4]; | |
| BYTE padding2[0x44]; | |
| } VHDHDR; | |
| typedef struct { | |
| long totals; | long totals; |
| UINT16 cylinders; | UINT16 cylinders; |
| UINT16 size; | UINT16 size; |
| Line 66 typedef struct { | Line 83 typedef struct { |
| char fname[MAX_PATH]; | char fname[MAX_PATH]; |
| } _SXSIDEV, *SXSIDEV; | } _SXSIDEV, *SXSIDEV; |
| typedef struct { | |
| UINT8 sectors; | |
| UINT8 surfaces; | |
| UINT16 cylinders; | |
| } SASIHDD; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| extern const char sig_vhd[8]; | |
| extern const char sig_nhd[15]; | |
| extern const SASIHDD sasihdd[7]; | extern const SASIHDD sasihdd[7]; |
| void sxsi_initialize(void); | void sxsi_initialize(void); |