Mercurial > hg > Members > kono > nitros9-code
changeset 3245:e17533e90076
Updated level2/coco3/makefile to now create DriveWire disk images using the
Deluxe RS232 Pak and DirectModem Pak SY6551 UART addresses.
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Fri, 09 Mar 2018 13:43:06 -0600 |
parents | ea8c903215a1 |
children | be3446f758ca |
files | level2/coco3/makefile |
diffstat | 1 files changed, 118 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/level2/coco3/makefile Fri Mar 09 13:40:50 2018 -0600 +++ b/level2/coco3/makefile Fri Mar 09 13:43:06 2018 -0600 @@ -5,6 +5,8 @@ DISTROVER = $(DISTRONAME)_$(NITROS9VER)_$(PORT) BOOTFILE_DW = bootfiles/bootfile_dw BOOTFILE_BECKER = bootfiles/bootfile_becker +BOOTFILE_RS232PAK = bootfiles/bootfile_rs232pak +BOOTFILE_DIRECTMODEMPAK = bootfiles/bootfile_directmodempak BOOTFILE_ARDUINO = bootfiles/bootfile_arduino BOOTFILE_COCOSDC = bootfiles/bootfile_cocosdc BOOTFILE_DW_HEADLESS = bootfiles/bootfile_dw_headless @@ -18,6 +20,8 @@ KERNELFILE_50HZ = bootfiles/kernel_1773_50hz KERNELFILE_DW = bootfiles/kernel_dw KERNELFILE_BECKER = bootfiles/kernel_becker +KERNELFILE_RS232PAK = bootfiles/kernel_rs232pak +KERNELFILE_DIRECTMODEMPAK = bootfiles/kernel_directmodempak KERNELFILE_ARDUINO = bootfiles/kernel_arduino KERNELFILE_COCOSDC = bootfiles/kernel_cocosdc DIRS = cmds modules defs sys bootfiles wwwroot @@ -62,6 +66,10 @@ LDSK720K = $(DISTRONAME)_80d.dsk DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk +DSKRS232PAK = $(DISTROVER)_rs232pak.dsk +LDSKRS232PAK = $(DISTRONAME)_rs232pak.dsk +DSKDIRECTMODEMPAK = $(DISTROVER)_directmodempak.dsk +LDSKDIRECTMODEMPAK = $(DISTRONAME)_directmodempak.dsk LDSKBECKER = $(DISTRONAME)_becker.dsk LDSKARDUINO = $(DISTRONAME)_arduino.dsk LDSKCOCOSDC = $(DISTRONAME)_cocosdc.dsk @@ -72,11 +80,11 @@ DSKS = $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) \ $(DSK720K) $(DSK720K_50HZ) $(DSKDW) $(DSKDWHEADLESS) \ $(DSKBECKER) $(DSKARDUINO) $(DSKBECKERHEADLESS) \ - $(DSKARDUINOHEADLESS) $(DSKCOCOSDC) + $(DSKARDUINOHEADLESS) $(DSKCOCOSDC) $(DSKRS232PAK) $(DSKDIRECTMODEMPAK) LDSKS = $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) \ $(LDSK720K) $(LDSK720K_50HZ) $(LDSKDW) $(LDSKDWHEADLESS) \ $(LDSKBECKER) $(LDSKARDUINO) $(LDSKBECKERHEADLESS) \ - $(LDSKARDUINOHEADLESS) $(LDSKCOCOSDC) + $(LDSKARDUINOHEADLESS) $(LDSKCOCOSDC) $(LDSKRS232PAK) $(LDSKDIRECTMODEMPAK) # Make all components all: @@ -208,6 +216,114 @@ $(RM) $(LDSKBECKER) $(SOFTLINK) $@ $(LDSKBECKER) +$(DSKRS232PAK): + $(RM) $@ + $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL)" + $(OS9GEN) $@ -b=$(BOOTFILE_RS232PAK) -t=$(KERNELFILE_RS232PAK) + $(MAKDIR) $@,CMDS + $(MAKDIR) $@,SYS + $(MAKDIR) $@,DEFS + $(OS9COPY) modules/$(CCBKRN) $@,$(CCBKRN) + $(OS9COPY) modules/$(SYSGO) $@,sysgo + $(OS9ATTR_EXEC) $@,sysgo + $(CD) cmds; $(OS9COPY) $(CMDS_DW) ../$@,CMDS + $(OS9ATTR_EXEC) $(foreach file,$(CMDS_DW),$@,CMDS/$(file)) + $(CD) sys; $(OS9COPY) $(SYSBIN) ../$@,SYS + $(OS9ATTR_TEXT) $(foreach file,$(SYSBIN),$@,SYS/$(file)) + $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS + $(OS9ATTR_TEXT) $(foreach file,$(notdir $(SYSTEXT)),$@,SYS/$(file)) + $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS + $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) + $(CPL) $(STARTUP_DW) $@,startup + $(OS9ATTR_TEXT) $@,startup + $(MAKDIR) $@,NITROS9 + $(MAKDIR) $@,NITROS9/$(DISTRO) + $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS + $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS + $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/$(DISTRO)/CMDS/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK + $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK + $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL + $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL + $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS + $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS + $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS + $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS + $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF + $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF + $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/$(DISTRO)/MODULES/RBF/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF + $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF + $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/$(DISTRO)/MODULES/SCF/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE + $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE + $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS + $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS + $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS + $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS + $(RM) $(LDSKRS232PAK) + $(SOFTLINK) $@ $(LDSKRS232PAK) + +$(DSKDIRECTMODEMPAK): + $(RM) $@ + $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL)" + $(OS9GEN) $@ -b=$(BOOTFILE_DIRECTMODEMPAK) -t=$(KERNELFILE_DIRECTMODEMPAK) + $(MAKDIR) $@,CMDS + $(MAKDIR) $@,SYS + $(MAKDIR) $@,DEFS + $(OS9COPY) modules/$(CCBKRN) $@,$(CCBKRN) + $(OS9COPY) modules/$(SYSGO) $@,sysgo + $(OS9ATTR_EXEC) $@,sysgo + $(CD) cmds; $(OS9COPY) $(CMDS_DW) ../$@,CMDS + $(OS9ATTR_EXEC) $(foreach file,$(CMDS_DW),$@,CMDS/$(file)) + $(CD) sys; $(OS9COPY) $(SYSBIN) ../$@,SYS + $(OS9ATTR_TEXT) $(foreach file,$(SYSBIN),$@,SYS/$(file)) + $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS + $(OS9ATTR_TEXT) $(foreach file,$(notdir $(SYSTEXT)),$@,SYS/$(file)) + $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS + $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) + $(CPL) $(STARTUP_DW) $@,startup + $(OS9ATTR_TEXT) $@,startup + $(MAKDIR) $@,NITROS9 + $(MAKDIR) $@,NITROS9/$(DISTRO) + $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS + $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS + $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/$(DISTRO)/CMDS/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK + $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK + $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL + $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL + $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS + $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS + $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS + $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS + $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF + $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF + $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/$(DISTRO)/MODULES/RBF/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF + $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF + $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/$(DISTRO)/MODULES/SCF/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE + $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE + $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file)) + $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS + $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS + $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS + $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS + $(RM) $(LDSKDIRECTMODEMPAK) + $(SOFTLINK) $@ $(LDSKDIRECTMODEMPAK) + $(DSKARDUINO): $(RM) $@ $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL)"