changeset 412:d5e182d35650

RAM Disk descriptors now made from rx.asm
author boisy
date Wed, 04 Sep 2002 17:41:19 +0000
parents e5bf27e3856b
children 15081c20c38b
files level2/modules/makefile level2/modules/r0_128k.asm level2/modules/r0_192k.asm level2/modules/r0_8k.asm level2/modules/r0_96k.asm level2/modules/rx.asm
diffstat 6 files changed, 80 insertions(+), 148 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/makefile	Wed Sep 04 16:47:34 2002 +0000
+++ b/level2/modules/makefile	Wed Sep 04 17:41:19 2002 +0000
@@ -58,6 +58,7 @@
 DSDD80		= -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
 		-aInterlv=3 -aSAS=8
 
+# Floppy descriptors
 ddd0_35s.dd: dx.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1
 
@@ -97,6 +98,31 @@
 d2_80d.dd: dx.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2
 
+# RAM Disk descriptors
+r0_8k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=32
+
+ddr0_8k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=32 -aDD=1
+
+r0_96k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=384
+
+ddr0_96k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=384 -aDD=1
+
+r0_128k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=512
+
+ddr0_128k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=512 -aDD=1
+
+r0_192k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=768
+
+ddr0_192k.dd: rx.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=768 -aDD=1
+
 cc3go_rom: cc3go.asm
 	$(AS) -aROM=1 $(AFLAGS) $< $(ASOUT)$@
 	
--- a/level2/modules/r0_128k.asm	Wed Sep 04 16:47:34 2002 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-         nam   R0
-         ttl   os9 device descriptor
-
-* Disassembled 98/08/23 21:10:26 by Disasm v1.6 (C) 1988 by RML
-
-         ifp1
-         use   defsfile
-         endc
-tylg     set   Devic+Objct   
-atrv     set   ReEnt+rev
-rev      set   $01
-         mod   eom,name,tylg,atrv,mgrnam,drvnam
-         fcb   $BF mode byte
-         fcb   $00 extended controller address
-         fdb   $0000  physical controller address
-         fcb   initsize-*-1  initilization table size
-         fcb   $01 device type:0=scf,1=rbf,2=pipe,3=scf
-         fcb   $00 drive number
-         fcb   $00 step rate
-         fcb   $00 drive device type
-         fcb   $00 media density:0=single,1=double
-         fdb   $0000 number of cylinders (tracks)
-         fcb   $01 number of sides
-         fcb   $00 verify disk writes:0=on
-         fdb   $0200 # of sectors per track
-         fdb   $0000 # of sectors per track (track 0)
-         fcb   $00 sector interleave factor
-         fcb   $04 minimum size of sector allocation
-initsize equ   *
-name     equ   *
-         fcs   /R0/
-mgrnam   equ   *
-         fcs   /RBF/
-drvnam   equ   *
-         fcs   /RAM/
-         emod
-eom      equ   *
--- a/level2/modules/r0_192k.asm	Wed Sep 04 16:47:34 2002 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-         nam   R0
-         ttl   defsfile
-
-* Disassembled 98/08/23 21:10:36 by Disasm v1.6 (C) 1988 by RML
-
-         ifp1
-         use   defsfile
-         endc
-tylg     set   Devic+Objct   
-atrv     set   ReEnt+rev
-rev      set   $01
-         mod   eom,name,tylg,atrv,mgrnam,drvnam
-         fcb   $BF mode byte
-         fcb   $00 extended controller address
-         fdb   $0000  physical controller address
-         fcb   initsize-*-1  initilization table size
-         fcb   $01 device type:0=scf,1=rbf,2=pipe,3=scf
-         fcb   $00 drive number
-         fcb   $00 step rate
-         fcb   $00 drive device type
-         fcb   $00 media density:0=single,1=double
-         fdb   $0000 number of cylinders (tracks)
-         fcb   $01 number of sides
-         fcb   $00 verify disk writes:0=on
-         fdb   $0300 # of sectors per track
-         fdb   $0000 # of sectors per track (track 0)
-         fcb   $00 sector interleave factor
-         fcb   $04 minimum size of sector allocation
-initsize equ   *
-name     equ   *
-         fcs   /R0/
-mgrnam   equ   *
-         fcs   /RBF/
-drvnam   equ   *
-         fcs   /RAM/
-         emod
-eom      equ   *
--- a/level2/modules/r0_8k.asm	Wed Sep 04 16:47:34 2002 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-         nam   R0
-         ttl   os9 device descriptor
-
-* Disassembled 98/08/23 21:10:45 by Disasm v1.6 (C) 1988 by RML
-
-         ifp1
-         use   defsfile
-         endc
-tylg     set   Devic+Objct   
-atrv     set   ReEnt+rev
-rev      set   $01
-         mod   eom,name,tylg,atrv,mgrnam,drvnam
-         fcb   $BF mode byte
-         fcb   $00 extended controller address
-         fdb   $0000  physical controller address
-         fcb   initsize-*-1  initilization table size
-         fcb   $01 device type:0=scf,1=rbf,2=pipe,3=scf
-         fcb   $00 drive number
-         fcb   $00 step rate
-         fcb   $00 drive device type
-         fcb   $00 media density:0=single,1=double
-         fdb   $0000 number of cylinders (tracks)
-         fcb   $01 number of sides
-         fcb   $00 verify disk writes:0=on
-         fdb   $0020 # of sectors per track
-         fdb   $0000 # of sectors per track (track 0)
-         fcb   $00 sector interleave factor
-         fcb   $04 minimum size of sector allocation
-initsize equ   *
-name     equ   *
-         fcs   /R0/
-mgrnam   equ   *
-         fcs   /RBF/
-drvnam   equ   *
-         fcs   /RAM/
-         emod
-eom      equ   *
--- a/level2/modules/r0_96k.asm	Wed Sep 04 16:47:34 2002 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-         nam   R0
-         ttl   os9 device descriptor
-
-* Disassembled 98/08/23 21:10:53 by Disasm v1.6 (C) 1988 by RML
-
-         ifp1
-         use   defsfile
-         endc
-tylg     set   Devic+Objct   
-atrv     set   ReEnt+rev
-rev      set   $01
-         mod   eom,name,tylg,atrv,mgrnam,drvnam
-         fcb   $BF mode byte
-         fcb   $00 extended controller address
-         fdb   $0000  physical controller address
-         fcb   initsize-*-1  initilization table size
-         fcb   $01 device type:0=scf,1=rbf,2=pipe,3=scf
-         fcb   $00 drive number
-         fcb   $00 step rate
-         fcb   $00 drive device type
-         fcb   $00 media density:0=single,1=double
-         fdb   $0000 number of cylinders (tracks)
-         fcb   $01 number of sides
-         fcb   $00 verify disk writes:0=on
-         fdb   $0180 # of sectors per track
-         fdb   $0000 # of sectors per track (track 0)
-         fcb   $00 sector interleave factor
-         fcb   $04 minimum size of sector allocation
-initsize equ   *
-name     equ   *
-         fcs   /R0/
-mgrnam   equ   *
-         fcs   /RBF/
-drvnam   equ   *
-         fcs   /RAM/
-         emod
-eom      equ   *
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level2/modules/rx.asm	Wed Sep 04 17:41:19 2002 +0000
@@ -0,0 +1,54 @@
+********************************************************************
+* RX - OS-9 Level Two RAM Disk Device Descriptor
+*
+* $Id$
+*
+* Ed.    Comments                                       Who YY/MM/DD
+* ------------------------------------------------------------------
+
+         nam   RX        
+         ttl   OS-9 Level Two RAM Disk Device Descriptor
+
+         ifp1            
+         use   defsfile  
+         endc            
+
+tylg     set   Devic+Objct
+atrv     set   ReEnt+rev 
+rev      set   $01       
+
+Sectors  set   512       
+SAS      set   4         
+
+         mod   eom,name,tylg,atrv,mgrnam,drvnam
+
+         fcb   DIR.+PREAD.+PWRIT.+PEXEC.+READ.+WRITE.+EXEC. mode byte
+         fcb   $00        extended controller address
+         fdb   $0000      physical controller address
+         fcb   initsize-*-1 initilization table size
+         fcb   $01        device type:0=scf,1=rbf,2=pipe,3=scf
+         fcb   $00        drive number
+         fcb   $00        step rate
+         fcb   $00        drive device type
+         fcb   $00        media density:0=single,1=double
+         fdb   $0000      number of cylinders (tracks)
+         fcb   $01        number of sides
+         fcb   $00        verify disk writes:0=on
+         fdb   Sectors    # of sectors per track
+         fdb   $0000      # of sectors per track (track 0)
+         fcb   $00        sector interleave factor
+         fcb   SAS        minimum size of sector allocation
+
+initsize equ   *         
+
+         ifne   DD
+name     fcs   /DD/
+         else
+name     fcs   /R0/      
+         endc
+mgrnam   fcs   /RBF/     
+drvnam   fcs   /RAM/     
+
+         emod            
+eom      equ   *         
+         end