changeset 302:d1d725215c01

Added DD for IDE device
author boisy
date Mon, 22 Jul 2002 05:15:12 +0000
parents 3094241040be
children f15de6a06ad6
files 3rdparty/drivers/ide/dd_ide.asm 3rdparty/drivers/ide/makefile
diffstat 2 files changed, 65 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/drivers/ide/dd_ide.asm	Mon Jul 22 05:15:12 2002 +0000
@@ -0,0 +1,58 @@
+********************************************************************
+* H0 - CCIDE device descriptor
+*
+* $Id$
+*
+* Ed.    Comments                                       Who YY/MM/DD
+* ------------------------------------------------------------------
+
+         nam   H0
+         ttl   IDE device descriptor
+
+         ifp1  
+         use   defsfile
+         endc  
+
+dnum     equ   0
+
+tylg     set   Devic+Objct
+atrv     set   ReEnt+rev
+rev      set   $01
+
+         mod   eom,name,tylg,atrv,mgrnam,drvnam
+
+         fcb   DIR.!ISIZ.!SHARE.!PEXEC.!PWRIT.!PREAD.!EXEC.!UPDAT. mode byte
+         fcb   HW.Page    extended controller address
+         fdb   $FF70      physical controller address
+         fcb   initsize-*-1 initilization table size
+         fcb   DT.RBF     device type:0=scf,1=rbf,2=pipe,3=scf
+         fcb   dnum       drive number
+         fcb   $00        step rate
+         fcb   TYP.HARD   drive device type
+         fcb   DNS.FM     media density:0=single,1=double
+         fdb   306        number of cylinders (tracks)
+         fcb   6          number of sides
+         fcb   0          verify disk writes:0=on
+         fdb   32         # of sectors per track
+         fdb   32         # of sectors per track (track 0)
+         fcb   26         sector interleave factor
+         fcb   8          minimum size of sector allocation
+initsize equ   *
+* Additional space for Curtis' new driver
+         fcb   0
+         fcb   0
+         fcb   0
+         fcb   0
+         fcb   0
+         fcb   0
+         fcb   0
+         fcb   0
+         fcb   0
+
+name     fcs   /DD/
+mgrnam   fcs   /RBF/
+drvnam   fcs   /CCIDE/
+
+         emod  
+eom      equ   *
+         end   
--- a/3rdparty/drivers/ide/makefile	Mon Jul 22 05:02:58 2002 +0000
+++ b/3rdparty/drivers/ide/makefile	Mon Jul 22 05:15:12 2002 +0000
@@ -2,7 +2,7 @@
 
 DEPENDS		= ./Makefile
 DRVRS		= ccide_l1.dr ccide_l2.dr
-DESCS		= h0_ide_l1.dd h0_ide_l2.dd
+DESCS		= h0_ide_l1.dd h0_ide_l2.dd dd_ide_l1.dd dd_ide_l2.dd
 ALLOBJS		= $(DRVRS) $(DESCS)
 IDEL1FLAGS	= $(AFLAGS) -aLevel=1
 IDEL2FLAGS	= $(AFLAGS) -aLevel=2
@@ -21,6 +21,12 @@
 h0_ide_l2.dd: h0_ide.asm
 	$(AS) $(ASOUT)$@ $< $(IDEL2FLAGS)
 
+dd_ide_l1.dd: dd_ide.asm
+	$(AS) $(ASOUT)$@ $< $(IDEL1FLAGS)
+
+dd_ide_l2.dd: dd_ide.asm
+	$(AS) $(ASOUT)$@ $< $(IDEL2FLAGS)
+
 clean:
 	$(RM) $(ALLOBJS)