diff 3rdparty/drivers/burke/bbxfhdisk.asm @ 91:c10820aa211b

Added
author boisy
date Wed, 03 Jul 2002 03:41:59 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/drivers/burke/bbxfhdisk.asm	Wed Jul 03 03:41:59 2002 +0000
@@ -0,0 +1,61 @@
+*******************************************
+***                                     ***
+***     COPYRIGHT 1988 BURKE & BURKE    ***
+***     ALL RIGHTS RESERVED             ***
+***                                     ***
+*******************************************
+
+        nam     BBXFHDISK
+
+*
+*   CoCo XT Hard Disk Driver  07/26/87
+*   (with formatting capability)
+*
+*
+*   For Western Digital WD1002-WX2 (or WX1) Controller.
+*
+*   This is a general purpose driver.  It can handle
+*   1-2 hard drives, the parameters of which are described
+*   in the device descriptors.  The drives may be of different
+*   sizes.  This version is optimized for the CoCo 2 under
+*   level 1, version 1 OS9.  It does not mess with the clock 
+*   speed -- the native speed is used.  It also verifies disk 
+*   writes, and uses read caching.
+*
+*   THIS VERSION CAN FORMAT THE HARD DISK!  IT ALSO
+*   SUPPORTS WRITE PROTECTION.
+*
+*   Chris Burke  Schaumburg, IL  07/26/87
+*
+
+ page
+*
+*  Conditional assembly control
+*
+
+Drives  equ     2           ;Number of drives supported
+
+irqflg  equ     1           ;non-zero to mask interrupts during HD access
+trsflg  equ     0           ;non-zero if optimized for 4x40 disk
+cchflg  equ     1           ;non-zero if read cache supported
+vrfflg  equ     1           ;non-zero if write verification supported
+tboflg  equ     0           ;non-zero if jump to 2 MHz for block moves
+fstflg  equ     1           ;non-zero if fast transfers supported
+sysram  equ     1           ;non-zero to use system RAM for verf buffer
+sizflg  equ     1           ;non-zero to allow drives of different sizes
+
+fmtflg  equ     1           ;non-zero if hard formatting supported
+errflg  equ     0           ;non-zero for good error messages
+icdflg  equ     0           ;non-zero to ignore C/D status bit
+timflg  equ     0           ;non-zero to support access timer
+
+XLEVEL  equ     1           ;Bogus level 2 flag
+
+testing equ     0           ;non-zero to call driver "XD", not "HD"
+
+*
+*   Include the main line
+*
+
+        use     xtos9.src
+