comparison 3rdparty/drivers/nocan/makefile @ 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
children 24bfa6f85ba6
comparison
equal deleted inserted replaced
3209:2973ecc9567a 3210:6353bb024571
1 include ../../../rules.mak
2
3 DEPENDS = ./makefile
4
5 DRIVERS = rammer_nocan.dr rammer_nocan_63.dr
6 DESCS = r0_nocan.dd
7 ALLOBJS = $(DRIVERS) $(DESCS)
8 DSK = Modules_NoCan_Rammer.dsk
9
10 all: $(ALLOBJS) $(DEPENDS)
11
12 rammer_nocan_63.dr: rammer.asm
13 $(AS) $(ASOUT)$@ $< $(AFLAGS) -DH6309=1
14
15 rammer_nocan.dr: rammer.asm
16 $(AS) $(ASOUT)$@ $< $(AFLAGS)
17
18 r0_nocan.dd: r0.asm
19 $(AS) $(ASOUT)$@ $< $(AFLAGS)
20
21 clean:
22 $(RM) $(ALLOBJS)
23
24 dskclean:
25 $(RM) $(DSK)
26
27 dsk: $(DSK)
28
29 $(DSK): all
30 $(RM) $@
31 $(OS9FORMAT_SS35) $@ -n"NoCanModules"
32 $(MAKDIR) $@,NITROS9
33 $(MAKDIR) $@,NITROS9/6809_L2
34 $(MAKDIR) $@,NITROS9/6309_L2
35 $(MAKDIR) $@,NITROS9/6809_L2/MODULES
36 $(MAKDIR) $@,NITROS9/6309_L2/MODULES
37 $(MAKDIR) $@,NITROS9/6809_L2/MODULES/RBF
38 $(MAKDIR) $@,NITROS9/6309_L2/MODULES/RBF
39 $(OS9COPY) r0_nocan.dd $@,NITROS9/6809_L2/MODULES/RBF/r0_nocan.dd
40 $(OS9COPY) r0_nocan.dd $@,NITROS9/6309_L2/MODULES/RBF/r0_nocan.dd
41 $(OS9COPY) rammer_nocan.dr $@,NITROS9/6809_L2/MODULES/RBF/rammer_nocan.dr
42 $(OS9COPY) rammer_nocan_63.dr $@,NITROS9/6309_L2/MODULES/RBF/rammer_nocan.dr
43
44 dskcopy: $(DSK)
45 $(CP) $(DSK) $(DSKDIR)
46
47 info:
48 @$(ECHO) "*** Modules NoCan Rammer ***"
49 @$(ECHO) $(DSK)
50