home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 18
/
amigaformatcd18.iso
/
-in_the_mag-
/
emulation
/
emus
/
fs1541
/
disk.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-07-31
|
643b
|
34 lines
/*
FS1541
disk.h
*/
#include <devices/trackdisk.h>
LONG InitDiskSS(STRPTR device, ULONG unit, ULONG flags);
void QuitDiskSS(void);
void ResetDisk(void);
BOOL LoadDisk(void);
void MotorOff(void);
struct DataBlock *getblock_ts(UBYTE t, UBYTE s);
struct DataBlock *putblock_ts(UBYTE t, UBYTE s, APTR data);
struct DataBlock *getputblock(ULONG blk, BOOL write);
extern BOOL autoscan;
extern LONG numsofterrors;
extern struct IOExtTD *diskreq;
extern int wprotected, hardwprot;
extern struct MsgPort *dpsender;
extern ULONG chgcount;
#define D64_SIZE 683*256 /* 174848 */
#define SEC_NOT_LOADED 0
#define SEC_OK 1
#define SEC_ERROR -1