|
|
| version 1.2, 2004/01/22 01:10:04 | version 1.7, 2005/03/23 08:07:48 |
|---|---|
| Line 3 | Line 3 |
| extern "C" { | extern "C" { |
| #endif | #endif |
| extern int diskdrv_delay[4]; | // extern int diskdrv_delay[4]; |
| extern char diskdrv_fname[4][MAX_PATH]; | // extern OEMCHAR diskdrv_fname[4][MAX_PATH]; |
| void diskdrv_sethdd(REG8 drv, const char *fname); | void diskdrv_setsxsi(REG8 drv, const OEMCHAR *fname); |
| OEMCHAR *diskdrv_getsxsi(REG8 drv); | |
| void diskdrv_hddbind(void); | |
| void diskdrv_setfdd(BYTE drv, const char *fname, int readonly); | void diskdrv_readyfddex(REG8 drv, const OEMCHAR *fname, |
| UINT ftype, int readonly); | |
| void diskdrv_setfddex(REG8 drv, const OEMCHAR *fname, | |
| UINT ftype, int readonly); | |
| void diskdrv_callback(void); | void diskdrv_callback(void); |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |
| #endif | #endif |
| // ---- macro | |
| #define diskdrv_readyfdd(d, f, r) diskdrv_readyfddex(d, f, FTYPE_NONE, r) | |
| #define diskdrv_setfdd(d, f, r) diskdrv_setfddex(d, f, FTYPE_NONE, r) | |
| // ---- old interface | |
| #define diskdrv_sethdd(d, f) diskdrv_setsxsi(d, f) | |