changeset 409:f26f6b021aaf

Descriptors now made from d0.asm with adjustments to Makefile
author boisy
date Wed, 04 Sep 2002 14:16:36 +0000
parents 8de0ac44cbbd
children 9ed77eeace37
files 3rdparty/drivers/sdisk3/d0.asm 3rdparty/drivers/sdisk3/d0_40d.asm 3rdparty/drivers/sdisk3/makefile
diffstat 3 files changed, 75 insertions(+), 67 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/drivers/sdisk3/d0.asm	Wed Sep 04 14:16:36 2002 +0000
@@ -0,0 +1,68 @@
+         nam   D3        
+         ttl   Disk Device Descriptor for SDISK3
+*********************************
+*
+* Device Descriptor for D3 for SDISK3
+*
+*********************************
+
+         ifp1            
+         use   defsfile  
+         endc            
+
+Type     set   Devic+Objct
+Revs     set   Reent+3   
+
+Step30   equ   0         
+Step20   equ   1         
+Step12   equ   2         
+Step06   equ   3         
+
+* MODULE HEADER AND FIXED INFORMATION
+         mod   DescEnd,DescName,Type,Revs,DscMgr,DscDrv
+         fcb   DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC.
+
+         fcb   $07        port bank
+         fdb   $FF40      port address
+
+* USER CHANGEABLE SETTINGS
+Drive    set   0          drive number (0-3)
+DrvTyp   set   $20        5" floppy drive (double density on track 0)
+StpRat   set   Step06     drive stepping rate code
+Cyls     set   40         number of cylinders (tracks per side)
+SecTrk   set   18         number of sectors per track
+SecTr0   set   18         number of sectors per track (track 0, side 0)
+Density  set   0          48 tpi, MFM
+Sides    set   2          number of sides (1 or 2)
+
+* OPTION TABLE
+         fcb   OptEnd-*-1 number of bytes in option section below
+         fcb   DT.RBF     device type = RBF
+         fcb   Drive      drive number
+         fcb   StpRat     step rate code
+         fcb   DrvTyp    
+         fcb   Density   
+         fdb   Cyls       number of cylinders
+         fcb   Sides     
+         fcb   0          verify turned on
+         fdb   SecTrk    
+         fdb   SecTr0    
+         fcb   3          sector interleave offset factor
+         fcb   8          minimum sector allocation size
+         fcb   0          (reserved)
+         fdb   0          (reserved)
+         fcb   $10        sector/track offset (CoCo OS-9 disk format)
+OptEnd   equ   *         
+
+* NAME STRINGS
+         ifne   DD
+DescName fcs   "DD"
+         else
+DescName fcb   'D,'0+Drive+$80
+         endc
+DscMgr   fcs   'RBF'     
+DscDrv   fcs   'SDisk3'  
+
+         emod            
+DescEnd  equ   *         
+         end             
--- a/3rdparty/drivers/sdisk3/d0_40d.asm	Wed Sep 04 14:08:29 2002 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
- NAM D3
- TTL Disk Device Descriptor for SDISK3
-*********************************
-*
-* Device Descriptor for D3 for SDISK3
-*
-*********************************
-
- IFP1
- use defsfile
- ENDC
-
-Type SET Devic+Objct
-Revs SET Reent+3
-
-Step30 EQU 0
-Step20 EQU 1
-Step12 EQU 2
-Step06 EQU 3
-
-* MODULE HEADER AND FIXED INFORMATION
- MOD DescEnd,DescName,Type,Revs,DscMgr,DscDrv
- FCB DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC.
-
- FCB $07 port bank
- FDB $FF40 port address
-
-* USER CHANGEABLE SETTINGS
-Drive SET 0 drive number (0-3)
-DrvTyp SET $20 5" floppy drive (double density on track 0)
-StpRat SET Step06 drive stepping rate code
-Cyls SET 40 number of cylinders (tracks per side)
-SecTrk SET 18 number of sectors per track
-SecTr0 SET 18 number of sectors per track (track 0, side 0)
-Density SET 0 48 tpi, MFM
-Sides SET 2 number of sides (1 or 2)
-
-* OPTION TABLE
- FCB OptEnd-*-1 number of bytes in option section below
- FCB DT.RBF device type = RBF
- FCB Drive drive number
- FCB StpRat step rate code
- FCB DrvTyp
- FCB Density
- FDB Cyls number of cylinders
- FCB Sides
- FCB 0 verify turned on
- FDB SecTrk
- FDB SecTr0
- FCB 3 sector interleave offset factor
- FCB 8 minimum sector allocation size
- FCB 0 (reserved)
- FDB 0 (reserved)
- FCB $10 sector/track offset (CoCo OS-9 disk format)
-OptEnd EQU *
-
-* NAME STRINGS
-DescName FCB 'D,'0+Drive+$80
-DscMgr FCS 'RBF'
-DscDrv FCS 'SDisk3'
-
- EMOD
-
-DescEnd EQU *
-
- END
--- a/3rdparty/drivers/sdisk3/makefile	Wed Sep 04 14:08:29 2002 +0000
+++ b/3rdparty/drivers/sdisk3/makefile	Wed Sep 04 14:16:36 2002 +0000
@@ -3,11 +3,17 @@
 DEPENDS		= ./Makefile
 
 DRIVERS		= sdisk3_dpj.dr sdisk3_dmc.dr
-DESCS		= d0_40d.dd
+DESCS		= d0_40d.dd ddd0_40d.dd
 ALLOBJS		= $(DRIVERS) $(DESCS)
 
 all:	$(ALLOBJS) $(DEPENDS)
 
+d0_40d.dd: d0.asm
+	$(AS) $(ASOUT)$@ $< $(AFLAGS)
+
+ddd0_40d.dd: d0.asm
+	$(AS) $(ASOUT)$@ $< $(AFLAGS) -aDD=1
+
 clean:
 	$(RM) $(ALLOBJS)