changeset 3210:6353bb024571

Created makefile and defsfile for NoCan RAMMER module driver and descriptor Updated rammer.asm in the NoCan driver folder to build the NoCan version of the Driver Updated r0.asm file to create the 6MB version of the descriptor. The makefile creates a disk image with two sets of the required drivers for the 6309 and 6809's in their respective module folders. /NITROS9/6309_L2/MODULES/RBF for the 6309 files and /NITROS9/6809_L2/MODULES/RBF for the 6809 files. This will make it easier for doing a dsave from this disk image into a normal distro disk image so people have these drivers ready for when new memory upgrades allow compatible usage of the NoCan registers.
author David Ladd <drencor-xeen@users.sourceforge.net>
date Wed, 20 Dec 2017 15:15:49 -0600
parents 2973ecc9567a
children aa01cfa11267
files 3rdparty/drivers/nocan/defsfile 3rdparty/drivers/nocan/makefile 3rdparty/drivers/nocan/r0.asm 3rdparty/drivers/nocan/rammer.asm
diffstat 4 files changed, 65 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/drivers/nocan/defsfile	Wed Dec 20 15:15:49 2017 -0600
@@ -0,0 +1,3 @@
+Level  equ 2
+       use os9.d
+       use rbf.d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/drivers/nocan/makefile	Wed Dec 20 15:15:49 2017 -0600
@@ -0,0 +1,50 @@
+include ../../../rules.mak
+
+DEPENDS		= ./makefile
+
+DRIVERS		=	rammer_nocan.dr rammer_nocan_63.dr
+DESCS		= r0_nocan.dd
+ALLOBJS		= $(DRIVERS) $(DESCS)
+DSK			= Modules_NoCan_Rammer.dsk
+
+all:	$(ALLOBJS) $(DEPENDS)
+
+rammer_nocan_63.dr: rammer.asm
+	$(AS) $(ASOUT)$@ $< $(AFLAGS) -DH6309=1
+
+rammer_nocan.dr: rammer.asm
+	$(AS) $(ASOUT)$@ $< $(AFLAGS)
+
+r0_nocan.dd: r0.asm
+	$(AS) $(ASOUT)$@ $< $(AFLAGS)
+
+clean:
+	$(RM) $(ALLOBJS)
+
+dskclean:
+	$(RM) $(DSK)
+
+dsk: $(DSK)
+
+$(DSK): all
+	$(RM) $@
+	$(OS9FORMAT_SS35) $@ -n"NoCanModules"
+	$(MAKDIR) $@,NITROS9
+	$(MAKDIR) $@,NITROS9/6809_L2
+	$(MAKDIR) $@,NITROS9/6309_L2
+	$(MAKDIR) $@,NITROS9/6809_L2/MODULES
+	$(MAKDIR) $@,NITROS9/6309_L2/MODULES
+	$(MAKDIR) $@,NITROS9/6809_L2/MODULES/RBF
+	$(MAKDIR) $@,NITROS9/6309_L2/MODULES/RBF
+	$(OS9COPY) r0_nocan.dd $@,NITROS9/6809_L2/MODULES/RBF/r0_nocan.dd
+	$(OS9COPY) r0_nocan.dd $@,NITROS9/6309_L2/MODULES/RBF/r0_nocan.dd
+	$(OS9COPY) rammer_nocan.dr $@,NITROS9/6809_L2/MODULES/RBF/rammer_nocan.dr
+	$(OS9COPY) rammer_nocan_63.dr $@,NITROS9/6309_L2/MODULES/RBF/rammer_nocan.dr
+
+dskcopy: $(DSK)
+	$(CP) $(DSK) $(DSKDIR)
+
+info:
+	@$(ECHO) "*** Modules NoCan Rammer ***"
+	@$(ECHO) $(DSK)
+
--- a/3rdparty/drivers/nocan/r0.asm	Fri Dec 15 17:29:45 2017 -0600
+++ b/3rdparty/drivers/nocan/r0.asm	Wed Dec 20 15:15:49 2017 -0600
@@ -6,17 +6,17 @@
 * comment
 * Modified by R.Gault for Nocan 2004/2/1
 * ------------------------------------------------------------------
-Nocan set 2   0=64Meg 1=8Meg 2=16Meg based on "hardware" in use
+Nocan set 1   0=64Meg 1=8Meg 2=16Meg based on "hardware" in use
 
-   nam   r0
-   ttl   rammer device descriptor
+		nam   r0
+		ttl   rammer device descriptor
 
-   ifp1  
-   use   /dd/defs/defsfile
-   endc  
+		ifp1
+		use   defsfile
+		endc
 
-tylg     set   devic+objct
-atrv     set   reent+rev
+tylg     set   Devic+Objct
+atrv     set   ReEnt+rev
 rev      set   $00
 
  ifeq  Nocan
@@ -55,6 +55,6 @@
 mgrnam   fcs   /rbf/
 drvnam   fcs   /rammer/
 
-         emod  
+         emod
 eom      equ   *
          end
--- a/3rdparty/drivers/nocan/rammer.asm	Fri Dec 15 17:29:45 2017 -0600
+++ b/3rdparty/drivers/nocan/rammer.asm	Wed Dec 20 15:15:49 2017 -0600
@@ -29,8 +29,8 @@
 * the drive is by default 6Meg, 14Meg, or 62Meg but can be changed by altering
 * the descriptor, r0.
 
-H6309 set 1  0=6809  1=6309
-Nocan set 0 0=64Meg Nocan 1=8Meg MESS and Nocan3 2=16Meg Collyer
+* H6309 set 1  0=6809  1=6309
+Nocan set 1 0=64Meg Nocan 1=8Meg MESS and Nocan3 2=16Meg Collyer
 
 * Select the correct pair for the system RAM
 
@@ -56,7 +56,7 @@
  ttl   nitros-9 level 2 ram disk
 
  ifp1
- use   /dd/defs/defsfile
+ use   defsfile
  endc
 
 tylg set   drivr+objct