5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
9 #include <aros/macros.h>
10 #include <devices/trackdisk.h>
12 #include <dos/dosextens.h>
13 #include <dos/exall.h>
14 #include <dos/filehandler.h>
15 #include <dos/filesystem.h>
16 #include <dos/stdio.h>
17 #include <exec/interrupts.h>
18 #include <exec/types.h>
19 #include <aros/debug.h>
20 #include <proto/dos.h>
21 #include "afshandler.h"
23 #define OS_BE2LONG AROS_BE2LONG
24 #define OS_LONG2BE AROS_LONG2BE
26 #define OS_PTRALIGN AROS_PTRALIGN
33 struct IOExtTD
*ioreq
;
34 struct IOExtTD
*iochangeint
;
35 struct Interrupt mc_int
;
36 struct Interrupt vbl_int
;
37 struct AFSBase
*afsbase
; /* for interrupt code */
46 #define IOHF_MOTOR_OFF (1<<0)
47 #define IOHF_MEDIA_CHANGE (1<<1)
48 #define IOHF_DISK_IN (1<<2)
49 #define IOHF_TRACKDISK (1<<3)
51 void checkDeviceFlags(struct AFSBase
*);