Mercurial > hg > Members > kono > nitros9-code
changeset 311:2ecb9f08c113
Added DD descriptors, d2 and d3 descriptors
author | boisy |
---|---|
date | Tue, 23 Jul 2002 14:16:03 +0000 |
parents | 4df2bcadf651 |
children | b6c34acda06c |
files | 3rdparty/drivers/sdisk/d2_35s.asm 3rdparty/drivers/sdisk/d2_40d.asm 3rdparty/drivers/sdisk/d2_80d.asm 3rdparty/drivers/sdisk/d3_35s.asm 3rdparty/drivers/sdisk/ddd0_35s.asm 3rdparty/drivers/sdisk/ddd0_40d.asm 3rdparty/drivers/sdisk/ddd0_80d.asm 3rdparty/drivers/sdisk/makefile |
diffstat | 8 files changed, 451 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/drivers/sdisk/d2_35s.asm Tue Jul 23 14:16:03 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* D2 - Disk device descriptor for SDisk +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* Created + + nam D2 + ttl Disk device descriptor for SDisk + + ifp1 + use defsfile + endc + +Type set Devic+Objct +Revs set Reent+1 + +* MODULE HEADER AND FIXED INFORMATION + mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv + + fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC. + + fcb HW.Page port bank + fdb DPort port address + +* USER CHANGEABLE SETTINGS +Drive set 2 drive number (0-3) +DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0) +StpRat set STP.6ms drive stepping rate code +Cyls set 35 number of cylinders (tracks per side) +SecTrk set 18 number of sectors per track +SecTr0 set SecTrk number of sectors per track (track 0, side 0) +Density set DNS.MFM+DNS.STD 48 tpi, MFM +Sides set 1 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 'SDisk' + + emod +DescEnd equ * + end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/drivers/sdisk/d2_40d.asm Tue Jul 23 14:16:03 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* D2 - Disk device descriptor for SDisk +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* Created + + nam D2 + ttl Disk device descriptor for SDisk + + ifp1 + use defsfile + endc + +Type set Devic+Objct +Revs set Reent+1 + +* MODULE HEADER AND FIXED INFORMATION + mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv + + fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC. + + fcb HW.Page port bank + fdb DPort port address + +* USER CHANGEABLE SETTINGS +Drive set 2 drive number (0-3) +DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0) +StpRat set STP.6ms drive stepping rate code +Cyls set 40 number of cylinders (tracks per side) +SecTrk set 18 number of sectors per track +SecTr0 set SecTrk number of sectors per track (track 0, side 0) +Density set DNS.MFM+DNS.STD 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 'SDisk' + + emod +DescEnd equ * + end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/drivers/sdisk/d2_80d.asm Tue Jul 23 14:16:03 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* D2 - Disk device descriptor for SDisk +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* Created + + nam D2 + ttl Disk device descriptor for SDisk + + ifp1 + use defsfile + endc + +Type set Devic+Objct +Revs set Reent+1 + +* MODULE HEADER AND FIXED INFORMATION + mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv + + fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC. + + fcb HW.Page port bank + fdb DPort port address + +* USER CHANGEABLE SETTINGS +Drive set 2 drive number (0-3) +DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0) +StpRat set STP.6ms drive stepping rate code +Cyls set 80 number of cylinders (tracks per side) +SecTrk set 18 number of sectors per track +SecTr0 set SecTrk number of sectors per track (track 0, side 0) +Density set DNS.MFM+DNS.STD 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 'SDisk' + + emod +DescEnd equ * + end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/drivers/sdisk/d3_35s.asm Tue Jul 23 14:16:03 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* D3 - Disk device descriptor for SDisk +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* Created + + nam D3 + ttl Disk device descriptor for SDisk + + ifp1 + use defsfile + endc + +Type set Devic+Objct +Revs set Reent+1 + +* MODULE HEADER AND FIXED INFORMATION + mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv + + fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC. + + fcb HW.Page port bank + fdb DPort port address + +* USER CHANGEABLE SETTINGS +Drive set 3 drive number (0-3) +DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0) +StpRat set STP.6ms drive stepping rate code +Cyls set 35 number of cylinders (tracks per side) +SecTrk set 18 number of sectors per track +SecTr0 set SecTrk number of sectors per track (track 0, side 0) +Density set DNS.MFM+DNS.STD 48 tpi, MFM +Sides set 1 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 'SDisk' + + emod +DescEnd equ * + end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/drivers/sdisk/ddd0_35s.asm Tue Jul 23 14:16:03 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* DD - Disk device descriptor for SDisk +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* Created + + nam DD + ttl Disk device descriptor for SDisk + + ifp1 + use defsfile + endc + +Type set Devic+Objct +Revs set Reent+1 + +* MODULE HEADER AND FIXED INFORMATION + mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv + + fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC. + + fcb HW.Page port bank + fdb DPort port address + +* USER CHANGEABLE SETTINGS +Drive set 0 drive number (0-3) +DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0) +StpRat set STP.6ms drive stepping rate code +Cyls set 35 number of cylinders (tracks per side) +SecTrk set 18 number of sectors per track +SecTr0 set SecTrk number of sectors per track (track 0, side 0) +Density set DNS.MFM+DNS.STD 48 tpi, MFM +Sides set 1 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 fcs 'DD' +DscMgr fcs 'RBF' +DscDrv fcs 'SDisk' + + emod +DescEnd equ * + end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/drivers/sdisk/ddd0_40d.asm Tue Jul 23 14:16:03 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* DD - Disk device descriptor for SDisk +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* Created + + nam DD + ttl Disk device descriptor for SDisk + + ifp1 + use defsfile + endc + +Type set Devic+Objct +Revs set Reent+1 + +* MODULE HEADER AND FIXED INFORMATION + mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv + + fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC. + + fcb HW.Page port bank + fdb DPort port address + +* USER CHANGEABLE SETTINGS +Drive set 0 drive number (0-3) +DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0) +StpRat set STP.6ms drive stepping rate code +Cyls set 40 number of cylinders (tracks per side) +SecTrk set 18 number of sectors per track +SecTr0 set SecTrk number of sectors per track (track 0, side 0) +Density set DNS.MFM+DNS.STD 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 'DD' +DscMgr fcs 'RBF' +DscDrv fcs 'SDisk' + + emod +DescEnd equ * + end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/drivers/sdisk/ddd0_80d.asm Tue Jul 23 14:16:03 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* DD - Disk device descriptor for SDisk +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* Created + + nam DD + ttl Disk device descriptor for SDisk + + ifp1 + use defsfile + endc + +Type set Devic+Objct +Revs set Reent+1 + +* MODULE HEADER AND FIXED INFORMATION + mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv + + fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC. + + fcb HW.Page port bank + fdb DPort port address + +* USER CHANGEABLE SETTINGS +Drive set 0 drive number (0-3) +DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0) +StpRat set STP.6ms drive stepping rate code +Cyls set 80 number of cylinders (tracks per side) +SecTrk set 18 number of sectors per track +SecTr0 set SecTrk number of sectors per track (track 0, side 0) +Density set DNS.MFM+DNS.STD 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 fcs 'DD' +DscMgr fcs 'RBF' +DscDrv fcs 'SDisk' + + emod +DescEnd equ * + end
--- a/3rdparty/drivers/sdisk/makefile Tue Jul 23 13:54:36 2002 +0000 +++ b/3rdparty/drivers/sdisk/makefile Tue Jul 23 14:16:03 2002 +0000 @@ -3,8 +3,9 @@ DEPENDS = ./Makefile DRIVERS = sdisk.dr -DESCS = d0_35s.dd d0_40d.dd d0_80d.dd \ - d1_35s.dd d1_40d.dd d1_80d.dd +DESCS = ddd0_35s.dd d0_35s.dd ddd0_40d.dd d0_40d.dd ddd0_80d.dd d0_80d.dd \ + d1_35s.dd d1_40d.dd d1_80d.dd d2_35s.dd d2_40d.dd d2_80d.dd \ + d3_35s.dd PROGRAMS = bootfix ALLOBJS = $(DRIVERS) $(DESCS) $(PROGRAMS)