8 #define BDB_MASK_REG 0x00
9 #define BDB_STAT_REG 0x02
12 #define BDB_OVERRIDE_BUSY_BIT 15
15 #define BDB_BUSY_BIT 15
16 #define BDB_MANUAL_STATE_BIT 14
18 #define BDB_MASK_ALL_ENABLE 0x0
19 #define BDB_MASK_ALL_DISABLE 0x1FFF
22 #define BDB_TPC_0 0x0000
23 #define BDB_TPC_1 0x0100
24 #define BDB_SVT 0x0200
25 #define BDB_FTPC 0x0300
27 #define BDB_SECTOR 0x0000
30 extern int bdbFind(UINT16 a16) ;
31 extern int bdbInit(
int bdb) ;
33 extern int bdbSetMask(
int bdb, UINT16 mask) ;
34 extern UINT16 bdbGetMask(
int bdb) ;
36 extern int bdbSetBusy(
int bdb) ;
37 extern int bdbClearBusy(
int bdb) ;
38 extern int bdbGetBusy(
int bdb) ;
40 extern int bdbGetRBBusy(
int bdb,
int rb) ;
42 extern int bdbSetRBMask(
int bdb,
int rb) ;
43 extern int bdbClearRBMask(
int bdb,
int rb) ;
44 extern int bdbGetRBMask(
int bdb,
int rb) ;
46 extern UINT32 *bdbTable ;