91
|
1 *******************************************
|
|
2 *** ***
|
|
3 *** COPYRIGHT 1988 BURKE & BURKE ***
|
|
4 *** ALL RIGHTS RESERVED ***
|
|
5 *** ***
|
|
6 *******************************************
|
|
7
|
|
8 nam BBHD
|
|
9
|
|
10 *
|
|
11 * CoCo XT Hard Disk Driver Version 2.0
|
|
12 * (with formatting capability)
|
|
13 *
|
|
14 *
|
|
15 * For Western Digital WD1002-WX2 (or WX1) Controller.
|
|
16 *
|
|
17 * This version is optimized for ONE hard drive having 4
|
|
18 * heads and 32 sectors per track. There is no formatting
|
|
19 * capability and no write verification.
|
|
20 *
|
|
21 * The number of tracks is taken from the device descriptor,
|
|
22 * so this driver can be used with ST-506, ST-412, ST-225 or
|
|
23 * ST-238 drives. This version DOES include the read cache.
|
|
24 * It has the cruddy error messages.
|
|
25
|
|
26 *
|
|
27 * Chris Burke Schaumburg, IL 02/22/88
|
|
28 *
|
|
29
|
|
30 page
|
|
31 *
|
|
32 * Conditional assembly control
|
|
33 *
|
|
34
|
|
35 Drives equ 1 ;Number of drives supported
|
|
36
|
|
37 irqflg equ 0 ;non-zero to mask interrupts during HD access
|
|
38 trsflg equ 1 ;non-zero if optimized for 4 heads, 32 SPT
|
|
39 cchflg equ 1 ;non-zero if read cache supported
|
|
40 vrfflg equ 0 ;non-zero if write verification supported
|
|
41 tboflg equ 0 ;non-zero if jump to 2 MHz for block moves
|
|
42 fstflg equ 1 ;non-zero if fast transfers supported
|
|
43 sysram equ 1 ;non-zero to use system RAM for verf buffer
|
|
44 sizflg equ 0 ;non-zero to allow drives of different sizes
|
|
45
|
|
46 fmtflg equ 0 ;non-zero if hard formatting supported
|
|
47 errflg equ 0 ;non-zero for good error messages
|
|
48 icdflg equ 0 ;non-zero to ignore C/D status bit
|
|
49 timflg equ 0 ;non-zero to support access timer
|
|
50
|
|
51 XLEVEL equ 2 ;Bogus level 2 flag
|
|
52
|
|
53 testing equ 0 ;non-zero to call driver "XD", not "HD"
|
|
54
|
|
55 *
|
|
56 * Include the main line
|
|
57 *
|
|
58
|
|
59 use xtos9.src
|
|
60
|