changeset 2468:f2592e82a68d

Formalized RFM descriptor creation
author boisy
date Sun, 28 Feb 2010 12:37:07 +0000
parents d637eada60c6
children abdd67f458dd
files level1/coco/modules/makefile level1/modules/rfmdesc.asm level1/modules/y0_rfm.asm level2/coco3/modules/makefile level2/coco3_6309/modules/makefile
diffstat 5 files changed, 106 insertions(+), 42 deletions(-) [+]
line wrap: on
line diff
--- a/level1/coco/modules/makefile	Sun Feb 28 00:51:43 2010 +0000
+++ b/level1/coco/modules/makefile	Sun Feb 28 12:37:07 2010 +0000
@@ -29,8 +29,6 @@
                 clock2_smart clock2_harris clock2_cloud9 clock2_soft \
 		clock2_messemu clock2_jvemu clock2_dw3
 
-RFM		= rfm.mn rfmdrv.dr y0_rfm.dd
-
 RBF		= rbf.mn \
 		rbdw3.dr dw3.sb dw3_coco1.sb \
 		rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \
@@ -54,6 +52,8 @@
 		piper.dr \
 		pipe.dd
 
+RFM		= rfm.mn rfmdrv.dr ddy0.dd y0.dd y1.dd y2.dd y3.dd
+
 ALLOBJS		= $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) $(RFM)
 
 all:	$(ALLOBJS)
@@ -209,6 +209,22 @@
 x3.dd: dwdesc.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3
 
+# RFM descriptors
+ddy0.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0
+
+y0.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0
+
+y1.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1
+
+y2.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2
+
+y3.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3
+
 rel: rel.asm
 	$(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/modules/rfmdesc.asm	Sun Feb 28 12:37:07 2010 +0000
@@ -0,0 +1,50 @@
+********************************************************************
+* RFMDesc - Remote File Manager Device Descriptor Template
+*
+* $Id$
+*
+* Edt/Rev  YYYY/MM/DD  Modified by
+* Comment
+* ------------------------------------------------------------------
+*   0      2003/03/28  Boisy G. Pitre
+* Created.
+
+         nam   RFMDesc
+         ttl   Remote File Manager Device Descriptor Template
+
+         ifp1  
+         use   defsfile
+         endc  
+
+
+tylg     set   Devic+Objct
+atrv     set   ReEnt+rev
+rev      set   $00
+
+DNum     set   0
+
+         mod   eom,name,tylg,atrv,mgrnam,drvnam
+
+         fcb   DIR.!SHARE.!PEXEC.!PWRIT.!PREAD.!EXEC.!UPDAT. mode byte
+         fcb   HW.Page    extended controller address
+         fdb   $0000+DNum      physical controller address
+         fcb   initsize-*-1 initilization table size
+         fcb   DT.RFM    device type:0=scf,1=rbf,2=pipe,3=scf
+         fcb   dnum       drive number
+initsize equ   *
+
+         IFNE  DD
+name     fcs   /DD/
+         ELSE
+name     fcc   /Y/
+         fcb   176+DNum
+         ENDC
+
+mgrnam   fcs   /RFM/
+drvnam   fcs   /RFMDrv/
+
+
+         emod  
+eom      equ   *
+         end   
+
--- a/level1/modules/y0_rfm.asm	Sun Feb 28 00:51:43 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-********************************************************************
-* Y0 - Remote file manager test
-*
-
-         nam   Y0
-         ttl   Remote File Manager Device Descriptor
-
-         ifp1  
-         use   defsfile
-         endc  
-
-
-tylg     set   Devic+Objct
-atrv     set   ReEnt+rev
-rev      set   $00
-
-         mod   eom,name,tylg,atrv,mgrnam,drvnam
-
-         fcb   DIR.!SHARE.!PEXEC.!PWRIT.!PREAD.!EXEC.!UPDAT. mode byte
-         fcb   $00        extended controller address
-         fdb   $0000      physical controller address
-         fcb   initsize-*-1 initilization table size
-         fcb   DT.RFM    device type:0=scf,1=rbf,2=pipe,3=scf
-initsize equ   *
-
-name     fcs   /Y0/
-mgrnam   fcs   /RFM/
-drvnam   fcs   /RFMDrv/
-
-
-         emod  
-eom      equ   *
-         end   
-
--- a/level2/coco3/modules/makefile	Sun Feb 28 00:51:43 2010 +0000
+++ b/level2/coco3/modules/makefile	Sun Feb 28 12:37:07 2010 +0000
@@ -29,8 +29,6 @@
 		clock2_smart clock2_harris clock2_cloud9 clock2_soft \
 		clock2_jvemu clock2_messemu clock2_dw3
 
-RFM		= rfm.mn rfmdrv.dr y0_rfm.dd
-
 RBF		= rbf.mn \
 		rbdw3.dr dw3.sb \
 		rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \
@@ -67,6 +65,8 @@
 		piper.dr \
 		pipe.dd
 
+RFM		= rfm.mn rfmdrv.dr ddy0.dd y0.dd y1.dd y2.dd y3.dd
+
 #
 # The following macros represent a collection of modules for various
 # kernel tracks and bootfile configurations.
@@ -76,7 +76,7 @@
 KERNEL_KENTON	= rel_32 $(TPB)/boot_kenton krn
 KERNEL_IDE	= rel_32 $(TPB)/boot_ide krn
 
-ALLOBJS		=  $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RFM) $(RBF) $(SCF) $(PIPE)
+ALLOBJS		=  $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) $(RFM)
 
 all:	$(ALLOBJS)
 
@@ -262,6 +262,22 @@
 x3.dd: dwdesc.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3
 
+# RFM descriptors
+ddy0.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0
+
+y0.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0
+
+y1.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1
+
+y2.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2
+
+y3.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3
+
 # VDGInt Modules
 covdg.io: covdg.asm
 	$(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1
--- a/level2/coco3_6309/modules/makefile	Sun Feb 28 00:51:43 2010 +0000
+++ b/level2/coco3_6309/modules/makefile	Sun Feb 28 12:37:07 2010 +0000
@@ -29,8 +29,6 @@
 		clock2_smart clock2_harris clock2_cloud9 clock2_soft \
 		clock2_jvemu clock2_messemu clock2_dw3
 
-RFM		= rfm.mn rfmdrv.dr y0_rfm.dd
-
 RBF		= rbf.mn \
 		rbdw3.dr dw3.sb \
 		rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \
@@ -67,6 +65,8 @@
 		piper.dr \
 		pipe.dd
 
+RFM		= rfm.mn rfmdrv.dr ddy0.dd y0.dd y1.dd y2.dd y3.dd
+
 #
 # The following macros represent a collection of modules for various
 # kernel tracks and bootfile configurations.
@@ -76,7 +76,7 @@
 KERNEL_KENTON	= rel_32 $(TPB)/boot_kenton krn
 KERNEL_IDE	= rel_32 $(TPB)/boot_ide krn
 
-ALLOBJS		=  $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RFM) $(RBF) $(SCF) $(PIPE)
+ALLOBJS		=  $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) $(RFM)
 
 all:	$(ALLOBJS)
 
@@ -262,6 +262,22 @@
 x3.dd: dwdesc.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3
 
+# RFM descriptors
+ddy0.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0
+
+y0.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0
+
+y1.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1
+
+y2.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2
+
+y3.dd: rfmdesc.asm
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3
+
 # VDGInt Modules
 covdg.io: covdg.asm
 	$(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1