Mercurial > hg > Members > kono > nitros9-code
changeset 2205:a0012a9f84eb
added DW3 support
author | boisy |
---|---|
date | Sat, 14 Mar 2009 22:10:09 +0000 |
parents | 2252a95c5725 |
children | 612a4ff2e5f8 |
files | 3rdparty/packages/multivue/makefile |
diffstat | 1 files changed, 134 insertions(+), 54 deletions(-) [+] |
line wrap: on
line diff
--- a/3rdparty/packages/multivue/makefile Sat Mar 14 20:29:36 2009 +0000 +++ b/3rdparty/packages/multivue/makefile Sat Mar 14 22:10:09 2009 +0000 @@ -1,7 +1,9 @@ include $(NITROS9DIR)/rules.mak -DISK68 = multivue_6809.dsk -DISK63 = multivue_6309.dsk +DSK68_FLOPPY = multivue_6809.dsk +DSK63_FLOPPY = multivue_6309.dsk +DSK68_DW3 = multivue_6809_dw3.dsk +DSK63_DW3 = multivue_6309_dw3.dsk CMDS68 = $(shell $(CD) cmds_6809; make showobjs) CMDS63 = $(shell $(CD) cmds_6309; make showobjs) ICONS = icon.demo @@ -13,10 +15,12 @@ MD68 = $(LEVEL2)/coco3/modules MD63 = $(LEVEL2)/coco3_6309/modules -KERNEL68 = $(MD68)/rel_40 $(MD68)/boot_1773_6ms $(MD68)/krn -KERNEL63 = $(MD63)/rel_40 $(MD63)/boot_1773_6ms $(MD63)/krn +KERNEL68_FLOPPY = $(MD68)/rel_40 $(MD68)/boot_1773_6ms $(MD68)/krn +KERNEL63_FLOPPY = $(MD63)/rel_40 $(MD63)/boot_1773_6ms $(MD63)/krn +KERNEL68_DW3 = $(MD68)/rel_40 $(MD68)/boot_dw3 $(MD68)/krn +KERNEL63_DW3 = $(MD63)/rel_40 $(MD63)/boot_dw3 $(MD63)/krn -OS9BOOT68 = $(MD68)/krnp2 $(MD68)/ioman $(MD68)/init \ +BOOTFILE68_FLOPPY = $(MD68)/krnp2 $(MD68)/ioman $(MD68)/init \ $(MD68)/rbf.mn \ $(MD68)/rb1773.dr $(MD68)/ddd0_40d.dd \ $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ @@ -28,7 +32,7 @@ $(MD68)/clock_60hz $(MD68)/clock2_soft \ $(MD68)/sysgo_dd -OS9BOOT63 = $(MD63)/krnp2 $(MD63)/ioman $(MD63)/init \ +BOOTFILE63_FLOPPY = $(MD63)/krnp2 $(MD63)/ioman $(MD63)/init \ $(MD63)/rbf.mn \ $(MD63)/rb1773.dr $(MD63)/ddd0_40d.dd \ $(MD63)/d0_40d.dd $(MD63)/d1_40d.dd \ @@ -40,6 +44,29 @@ $(MD63)/clock_60hz $(MD63)/clock2_soft \ $(MD63)/sysgo_dd +BOOTFILE68_DW3 = $(MD68)/krnp2 $(MD68)/ioman $(MD68)/init \ + $(MD68)/rbf.mn \ + $(MD68)/rbdw3.dr $(MD68)/dw3.sb $(MD68)/ddx0.dd \ + $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ + $(MD68)/scf.mn $(MD68)/vtio.dr \ + $(MD68)/keydrv_cc3.sb $(MD68)/joydrv_joy.sb $(MD68)/snddrv_cc3.sb \ + $(MD68)/cowin.io $(MD68)/term_win40.dt \ + $(MD68)/w.dw $(MD68)/w1.dw $(MD68)/w2.dw $(MD68)/w3.dw \ + $(MD68)/w4.dw $(MD68)/w5.dw $(MD68)/w6.dw $(MD68)/w7.dw \ + $(MD68)/clock_60hz $(MD68)/clock2_dw3 \ + $(MD68)/sysgo_dd + +BOOTFILE63_DW3 = $(MD63)/krnp2 $(MD63)/ioman $(MD63)/init \ + $(MD63)/rbf.mn \ + $(MD63)/rbdw3.dr $(MD63)/dw3.sb $(MD63)/ddx0.dd \ + $(MD68)/rb1773.dr $(MD68)/d0_40d.dd $(MD68)/d1_40d.dd \ + $(MD63)/scf.mn $(MD63)/vtio.dr \ + $(MD63)/keydrv_cc3.sb $(MD63)/joydrv_joy.sb $(MD63)/snddrv_cc3.sb \ + $(MD63)/cowin.io $(MD63)/term_win40.dt \ + $(MD63)/w.dw $(MD63)/w1.dw $(MD63)/w2.dw $(MD63)/w3.dw \ + $(MD63)/w4.dw $(MD63)/w5.dw $(MD63)/w6.dw $(MD63)/w7.dw \ + $(MD63)/clock_60hz $(MD63)/clock2_dw3 \ + $(MD63)/sysgo_dd # Make all components all: @@ -58,58 +85,111 @@ -$(CD) cmds_6309; make clean -$(CD) sys; make clean -dsk: all - $(RM) $(DISK68) - $(OS9FORMAT_DS40) $(DISK68) -q -n"Multi-Vue" - $(MERGE) $(OS9BOOT68)>os9boot - $(MERGE) $(KERNEL68)>kernel - $(OS9GEN) $(DISK68) -b=os9boot -t=kernel +dsk: all $(DSK68_FLOPPY) $(DSK63_FLOPPY) $(DSK68_DW3) $(DSK63_DW3) + +$(DSK68_FLOPPY): + $(RM) $@ + $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue" + $(MERGE) $(BOOTFILE68_FLOPPY)>os9boot + $(MERGE) $(KERNEL68_FLOPPY)>kernel + $(OS9GEN) $@ -b=os9boot -t=kernel + $(RM) os9boot kernel + $(MAKDIR) $@,CMDS + $(MAKDIR) $@,CMDS/ICONS + $(MAKDIR) $@,SYS + $(MAKDIR) $@,DEMO + $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS + $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) + $(OS9RENAME) $@,CMDS/gshell AutoEx + $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS + $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) + $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS + $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO + $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) + $(CPL) $(ROOTFILES) $@,. + $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) + +$(DSK63_FLOPPY): + $(RM) $@ + $(OS9FORMAT_DS40) $@ -q -n"Multi-Vue" + $(MERGE) $(BOOTFILE63_FLOPPY)>os9boot + $(MERGE) $(KERNEL63_FLOPPY)>kernel + $(OS9GEN) $@ -b=os9boot -t=kernel $(RM) os9boot kernel - $(MAKDIR) $(DISK68),CMDS - $(MAKDIR) $(DISK68),CMDS/ICONS - $(MAKDIR) $(DISK68),SYS - $(MAKDIR) $(DISK68),DEMO - $(CD) cmds_6809; $(CP) $(CMDS68) ../$(DISK68),CMDS - $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $(DISK68),CMDS/$(notdir $(file));) - $(OS9RENAME) $(DISK68),CMDS/gshell AutoEx - $(CD) icons; $(CP) $(ICONS) ../$(DISK68),CMDS/ICONS - $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $(DISK68),CMDS/ICONS/$(file);) - $(CD) sys; $(CP) $(SYSBIN) ../$(DISK68),SYS - $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $(DISK68),SYS/$(file);) - $(CD) sys; $(CPL) $(SYSTEXT) ../$(DISK68),SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $(DISK68),SYS/$(file);) - $(CD) demo; $(CPL) $(DEMO) ../$(DISK68),DEMO - $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $(DISK68),DEMO/$(file);) - $(CPL) $(ROOTFILES) $(DISK68),. - $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $(DISK68),$(file);) - $(RM) $(DISK63) - $(OS9FORMAT_DS40) $(DISK63) -q -n"Multi-Vue" - $(MERGE) $(OS9BOOT63)>os9boot - $(MERGE) $(KERNEL63)>kernel - $(OS9GEN) $(DISK63) -b=os9boot -t=kernel + $(MAKDIR) $@,CMDS + $(MAKDIR) $@,CMDS/ICONS + $(MAKDIR) $@,SYS + $(MAKDIR) $@,DEMO + $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS + $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) + $(OS9RENAME) $@,CMDS/gshell AutoEx + $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS + $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) + $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS + $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO + $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) + $(CPL) $(ROOTFILES) $@,. + $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) + +$(DSK68_DW3): + $(RM) $@ + $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" + $(MERGE) $(BOOTFILE68_DW3)>os9boot + $(MERGE) $(KERNEL68_DW3)>kernel + $(OS9GEN) $@ -b=os9boot -t=kernel $(RM) os9boot kernel - $(MAKDIR) $(DISK63),CMDS - $(MAKDIR) $(DISK63),CMDS/ICONS - $(MAKDIR) $(DISK63),SYS - $(MAKDIR) $(DISK63),DEMO - $(CD) cmds_6309; $(CP) $(CMDS63) ../$(DISK63),CMDS - $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $(DISK63),CMDS/$(notdir $(file));) - $(OS9RENAME) $(DISK63),CMDS/gshell AutoEx - $(CD) icons; $(CP) $(ICONS) ../$(DISK63),CMDS/ICONS - $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $(DISK63),CMDS/ICONS/$(file);) - $(CD) sys; $(CP) $(SYSBIN) ../$(DISK63),SYS - $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $(DISK63),SYS/$(file);) - $(CD) sys; $(CPL) $(SYSTEXT) ../$(DISK63),SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $(DISK63),SYS/$(file);) - $(CD) demo; $(CPL) $(DEMO) ../$(DISK63),DEMO - $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $(DISK63),DEMO/$(file);) - $(CPL) $(ROOTFILES) $(DISK63),. - $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $(DISK63),$(file);) + $(MAKDIR) $@,CMDS + $(MAKDIR) $@,CMDS/ICONS + $(MAKDIR) $@,SYS + $(MAKDIR) $@,DEMO + $(CD) cmds_6809; $(CP) $(CMDS68) ../$@,CMDS + $(foreach file, $(CMDS68), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) + $(OS9RENAME) $@,CMDS/gshell AutoEx + $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS + $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) + $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS + $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO + $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) + $(CPL) $(ROOTFILES) $@,. + $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) + +$(DSK63_DW3): + $(RM) $@ + $(OS9FORMAT_SS80) $@ -q -n"Multi-Vue" + $(MERGE) $(BOOTFILE63_DW3)>os9boot + $(MERGE) $(KERNEL63_DW3)>kernel + $(OS9GEN) $@ -b=os9boot -t=kernel + $(RM) os9boot kernel + $(MAKDIR) $@,CMDS + $(MAKDIR) $@,CMDS/ICONS + $(MAKDIR) $@,SYS + $(MAKDIR) $@,DEMO + $(CD) cmds_6309; $(CP) $(CMDS63) ../$@,CMDS + $(foreach file, $(CMDS63), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) + $(OS9RENAME) $@,CMDS/gshell AutoEx + $(CD) icons; $(CP) $(ICONS) ../$@,CMDS/ICONS + $(foreach file, $(ICONS), $(OS9ATTR_EXEC) $@,CMDS/ICONS/$(file);) + $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS + $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(CD) demo; $(CPL) $(DEMO) ../$@,DEMO + $(foreach file, $(DEMO), $(OS9ATTR_TEXT) $@,DEMO/$(file);) + $(CPL) $(ROOTFILES) $@,. + $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) dskcopy: dsk - $(CP) $(DISK68) $(DSKDIR) - $(CP) $(DISK63) $(DSKDIR) + $(CP) $(DSK68_FLOPPY) $(DSK63_FLOPPY) $(DSK68_DW3) $(DSK63_DW3) $(DSKDIR) dskclean: - $(RM) $(DISK68) $(DISK63) + $(RM) $(DSK68_FLOPPY) $(DSK63_FLOPPY) $(DSK68_DW3) $(DSK63_DW3)