annotate 3rdparty/drivers/burke/bb1thdisk.asm @ 962:8a0993b04c8a

*** empty log message ***
author boisy
date Fri, 31 Jan 2003 17:35:49 +0000
parents c10820aa211b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
91
boisy
parents:
diff changeset
1 *******************************************
boisy
parents:
diff changeset
2 *** ***
boisy
parents:
diff changeset
3 *** COPYRIGHT 1988 BURKE & BURKE ***
boisy
parents:
diff changeset
4 *** ALL RIGHTS RESERVED ***
boisy
parents:
diff changeset
5 *** ***
boisy
parents:
diff changeset
6 *******************************************
boisy
parents:
diff changeset
7
boisy
parents:
diff changeset
8 nam BB1THDISK
boisy
parents:
diff changeset
9
boisy
parents:
diff changeset
10 *
boisy
parents:
diff changeset
11 * CoCo XT Hard Disk Driver 07/25/87
boisy
parents:
diff changeset
12 *
boisy
parents:
diff changeset
13 * For Western Digital WD1002-WX2 (or WX1) Controller.
boisy
parents:
diff changeset
14 *
boisy
parents:
diff changeset
15 * This is a general purpose driver. It can handle
boisy
parents:
diff changeset
16 * 1-2 hard drives, the parameters of which are described
boisy
parents:
diff changeset
17 * in the device descriptors. The drives may be of
boisy
parents:
diff changeset
18 * different sizes. This version is optimized for the CoCo
boisy
parents:
diff changeset
19 * 3, under level 1, version 2 OS9. It speeds up to 2 MHz
boisy
parents:
diff changeset
20 * during disk I/O, then slows down again. It also verifies
boisy
parents:
diff changeset
21 * disk writes, and uses read caching.
boisy
parents:
diff changeset
22 *
boisy
parents:
diff changeset
23 * Chris Burke Schaumburg, IL 07/25/87
boisy
parents:
diff changeset
24 *
boisy
parents:
diff changeset
25
boisy
parents:
diff changeset
26 page
boisy
parents:
diff changeset
27 *
boisy
parents:
diff changeset
28 * Conditional assembly control
boisy
parents:
diff changeset
29 *
boisy
parents:
diff changeset
30
boisy
parents:
diff changeset
31 Drives equ 2 ;Number of drives supported
boisy
parents:
diff changeset
32
boisy
parents:
diff changeset
33 irqflg equ 0 ;non-zero to mask interrupts during HD access
boisy
parents:
diff changeset
34 trsflg equ 0 ;non-zero if optimized for 4x32 disk
boisy
parents:
diff changeset
35 cchflg equ 1 ;non-zero if read cache supported
boisy
parents:
diff changeset
36 vrfflg equ 1 ;non-zero if write verification supported
boisy
parents:
diff changeset
37 tboflg equ 1 ;non-zero if jump to 2 MHz for block moves
boisy
parents:
diff changeset
38 fstflg equ 1 ;non-zero if fast transfers supported
boisy
parents:
diff changeset
39 sysram equ 1 ;non-zero to use system RAM for verf buffer
boisy
parents:
diff changeset
40 sizflg equ 1 ;non-zero to allow drives of different sizes
boisy
parents:
diff changeset
41
boisy
parents:
diff changeset
42 fmtflg equ 0 ;non-zero if hard formatting supported
boisy
parents:
diff changeset
43 errflg equ 0 ;non-zero for good error messages
boisy
parents:
diff changeset
44 icdflg equ 0 ;non-zero to ignore C/D status bit
boisy
parents:
diff changeset
45 timflg equ 0 ;non-zero to support access timer
boisy
parents:
diff changeset
46
boisy
parents:
diff changeset
47 XLEVEL equ 1 ;Bogus level 2 flag
boisy
parents:
diff changeset
48
boisy
parents:
diff changeset
49 testing equ 0 ;non-zero to call driver "XD", not "HD"
boisy
parents:
diff changeset
50
boisy
parents:
diff changeset
51 *
boisy
parents:
diff changeset
52 * Include the main line
boisy
parents:
diff changeset
53 *
boisy
parents:
diff changeset
54
boisy
parents:
diff changeset
55 use xtos9.src
boisy
parents:
diff changeset
56