|
|
| version 1.2, 2004/08/04 15:18:26 | version 1.3, 2004/08/05 11:30:12 |
|---|---|
| Line 1 | Line 1 |
| enum { | |
| D88_TRACKMAX = 164, | |
| D88_HEADERSIZE = 0x20 + (D88_TRACKMAX * 4) | |
| }; | |
| #if defined(__GNUC__) | #if defined(__GNUC__) |
| // D88ヘッダ (size: 2b0h bytes) | // D88ヘッダ (size: 2b0h bytes) |
| typedef struct { | typedef struct { |
| Line 7 typedef struct { | Line 13 typedef struct { |
| UINT8 protect; // Write Protect bit:4 | UINT8 protect; // Write Protect bit:4 |
| UINT8 fd_type; // Disk Format | UINT8 fd_type; // Disk Format |
| UINT8 fd_size[4]; // Disk Size | UINT8 fd_size[4]; // Disk Size |
| UINT8 trackp[164][4]; // Track_pointer | |
| } __attribute__ ((packed)) _D88HEAD, *D88HEAD; | } __attribute__ ((packed)) _D88HEAD, *D88HEAD; |
| // D88セクタ (size: 16bytes) | // D88セクタ (size: 16bytes) |
| Line 34 typedef struct { | Line 39 typedef struct { |
| UINT8 protect; // Write Protect bit:4 | UINT8 protect; // Write Protect bit:4 |
| UINT8 fd_type; // Disk Format | UINT8 fd_type; // Disk Format |
| UINT8 fd_size[4]; // Disk Size | UINT8 fd_size[4]; // Disk Size |
| UINT8 trackp[164][4]; // Track_pointer | |
| } _D88HEAD, *D88HEAD; | } _D88HEAD, *D88HEAD; |
| // D88セクタ (size: 16bytes) | // D88セクタ (size: 16bytes) |