Mercurial > hg > Members > kono > nitros9-code
changeset 1180:78b0a9ad8d7b
More descriptors are now made
author | boisy |
---|---|
date | Sun, 25 May 2003 15:53:19 +0000 |
parents | 787a9c92be18 |
children | d05758ec0de9 |
files | 3rdparty/drivers/sdisk3/defsfile 3rdparty/drivers/sdisk3/makefile |
diffstat | 2 files changed, 44 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/3rdparty/drivers/sdisk3/defsfile Sun May 25 15:51:50 2003 +0000 +++ b/3rdparty/drivers/sdisk3/defsfile Sun May 25 15:53:19 2003 +0000 @@ -2,3 +2,4 @@ use os9defs use rbfdefs + use systype
--- a/3rdparty/drivers/sdisk3/makefile Sun May 25 15:51:50 2003 +0000 +++ b/3rdparty/drivers/sdisk3/makefile Sun May 25 15:53:19 2003 +0000 @@ -4,26 +4,59 @@ L2DRIVERS = sdisk3_dpj.dr sdisk3_dmc.dr NITROSDRIVERS = sdisk3_dpj_63.dr sdisk3_dmc_63.dr -DESCS = d0_40d.dd ddd0_40d.dd d1_80d.dd +DESCS = ddd0_35s.dd d0_35s.dd d1_35s.dd \ + ddd0_40d.dd d0_40d.dd d1_40d.dd \ + ddd0_80d.dd d0_80d.dd d1_80d.dd ALLOBJS = $(L2DRIVERS) $(NITROSDRIVERS) $(DESCS) +# Device Descriptor Macros +SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ + -aInterlv=3 -aSAS=8 -aDensity=1 +DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ + -aInterlv=3 -aSAS=8 -aDensity=1 +DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ + -aInterlv=3 -aSAS=8 -aDensity=3 + all: $(ALLOBJS) $(DEPENDS) -d0_40d.dd: d0.asm - $(AS) $(ASOUT)$@ $< $(AFLAGS) - -ddd0_40d.dd: d0.asm - $(AS) $(ASOUT)$@ $< $(AFLAGS) -aDD=1 - -d1_80d.dd: d0.asm - $(AS) $(ASOUT)$@ $< $(AFLAGS) -aDrive=1 -aCyls=80 -aDensity=3 - +# Device Drivers sdisk3_dpj_63.dr: sdisk3_dpj.asm $(AS) $(ASOUT)$@ $< $(AFLAGS) -aNitrOS9=1 sdisk3_dmc_63.dr: sdisk3_dmc.asm $(AS) $(ASOUT)$@ $< $(AFLAGS) -aNitrOS9=1 +# Device Descriptors +# 35 Track Single-Sided +ddd0_35s.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDD=1 + +d0_35s.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) + +d1_35s.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDNum=1 + +# 40 Track Double-Sided +ddd0_40d.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDD=1 + +d0_40d.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) + +d1_40d.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDNum=1 + +# 80 Track Double-Sided +ddd0_80d.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDD=1 + +d0_80d.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) + +d1_80d.dd: sdisk3desc.asm + $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDNum=1 + clean: $(RM) $(ALLOBJS)