You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
433 B
C
25 lines
433 B
C
1 year ago
|
|
||
|
typedef struct
|
||
|
{
|
||
|
unsigned char buffer[0x80];
|
||
|
unsigned int sector;
|
||
|
unsigned char command;
|
||
|
|
||
|
char *name;
|
||
|
unsigned char serial[16];
|
||
|
int type;
|
||
|
|
||
|
} drivestruct;
|
||
|
|
||
|
drivestruct drives[256];
|
||
|
|
||
|
char defdiskname[256];
|
||
|
char defdisktype;
|
||
|
|
||
|
extern int drive_io_penality;
|
||
|
|
||
|
void drive();
|
||
|
void drive_store(int id, int ptr, unsigned char value);
|
||
|
unsigned char drive_load(int id, int ptr);
|
||
|
void drive_type(int id, int type);
|