changeset 3190:f5e8a5030fbd

mc09 (Level1 & Level2): Remove unused stuff from makefiles
author Neal Crook <foofoobedoo@gmail.com>
date Sat, 20 May 2017 23:34:27 +0100
parents e9685c909630
children 147d2267d9b8
files level1/mc09/modules/makefile level2/mc09l2/modules/makefile
diffstat 2 files changed, 10 insertions(+), 143 deletions(-) [+]
line wrap: on
line diff
--- a/level1/mc09/modules/makefile	Sat May 20 23:33:48 2017 +0100
+++ b/level1/mc09/modules/makefile	Sat May 20 23:34:27 2017 +0100
@@ -4,56 +4,32 @@
 
 AFLAGS		+= -I$(LEVEL1)/modules
 
-CLOCKELIM       = -DRTCElim=1
-CLOCKDISTO2     = -DRTCDsto2=1
-CLOCKDISTO4     = -DRTCDsto4=1
-CLOCKBNB        = -DRTCBB=1
-CLOCKSMART      = -DRTCSmart=1 -DMPIFlag=1
-CLOCKHARRIS     = -DRTCHarrs=1
-CLOCKCLOUD9     = -DRTCCloud9=1
 CLOCKSOFT       = -DRTCSoft=1
-CLOCKMESSEMU    = -DRTCMessEmu=1
-CLOCKJVEMU      = -DRTCJVEmu=1
-TC3FLAGS        = $(AFLAGS) -DTC3=1 $(FLAGS)
-IDEFLAGS        = $(AFLAGS) -DIDE=1 $(FLAGS)
+
 SDFLAGS		= $(AFLAGS) -DCOCOSDC=1 -DITTYP=128 $(FLAGS)
 
 DEPENDS		= ./makefile
 TPB		= $(3RDPARTY)/booters
 
-BOOTERS		= boot_1773_6ms boot_1773_30ms \
-		boot_burke boot_rampak boot_wd1002 boot_dw \
-		boot_tc3 boot_ide boot_rom boot_dw_becker \
-		boot_dw_arduino boot_dw_coco1 boot_sdc
+BOOTERS		= boot_sdc
 BOOTTRACK	= rel $(BOOTERS)
 KERNEL		= krn krnp2 wbug
-SYSMODS		= ioman init sysgo_dd sysgo_h0 rominfo rominfo_pak vectors
-CLOCKS          = clock_60hz clock_50hz mc09clock_50hz\
-		clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \
-                clock2_smart clock2_harris clock2_cloud9 clock2_soft \
-		clock2_messemu clock2_jvemu clock2_dw
+SYSMODS		= ioman init sysgo_dd sysgo_h0
+CLOCKS          = mc09clock_50hz\
+                clock2_soft \
+		clock2_dw
 
 RBF		= rbf.mn \
-		rbdw.dr dwio.sb dwio_coco1.sb dwio_becker.sb dwio_arduino.sb \
-		mc09sdc.dr rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \
-		ddd0_35s.dd d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \
-		ddd0_40d.dd d0_40d.dd d1_40d.dd d2_40d.dd \
-		ddd0_80d.dd d0_80d.dd d1_80d.dd d2_80d.dd \
+		rbdw.dr \
+		mc09sdc.dr \
 		dds0_80d.dd s0_80d.dd s1_80d.dd s2_80d.dd s3_80d.dd \
 		ddx0.dd x0.dd x1.dd x2.dd x3.dd \
-		rbsuper.dr lltc3.dr llide.dr llcocosdc.dr \
-		ddi0_ide.dd i0_ide.dd i1_ide.dd ih_ide.dd \
 		dds0_tc3.dd s0_tc3.dd s1_tc3.dd s2_tc3.dd s3_tc3.dd s4_tc3.dd \
-                s5_tc3.dd s6_tc3.dd sh_tc3.dd \
-		ddsd0_cocosdc.dd sd0_cocosdc.dd sd1_cocosdc.dd
+                s5_tc3.dd s6_tc3.dd sh_tc3.dd
 
 SCF		= scf.mn \
-		sc6551.dr vrn.dr scbbp.dr scbbt.dr scdwp.dr sspak.dr vtio.dr \
-		covdg.io cohr.io co80.io \
 		nil.dd p_scbbp.dd p_scdwp.dd pipe.dd ssp.dd \
-		term_scbbt.dt term_sc6551.dt t1_scbbt.dd t2_sc6551.dd t3_sc6551.dd \
 		mc6850.dr term_mc6850.dt term_mc6850_t0.dt term_mc6850_t1.dt \
-		term_vdg.dt term_hr.dt term_80.dt \
 		scdwv.dr term_scdwv.dt n_scdwv.dd n1_scdwv.dd n2_scdwv.dd \
 		n3_scdwv.dd n4_scdwv.dd n5_scdwv.dd n6_scdwv.dd n7_scdwv.dd \
 		n8_scdwv.dd n9_scdwv.dd n10_scdwv.dd n11_scdwv.dd n12_scdwv.dd \
@@ -78,37 +54,10 @@
 
 # Special cases
 
-rominfo_pak: rominfo.asm
-	$(AS) $(ASOUT)$@ $< $(AFLAGS) -DROMPak=1
-
-# TC^3 SCSI Booter
-boot_tc3: boot_scsi.asm
-	$(AS) $(ASOUT)$@ $< $(TC3FLAGS)
-
-# SuperIDE/Glenside IDE Booter
-boot_ide: boot_ide.asm
-	$(AS) $(ASOUT)$@ $< $(IDEFLAGS)
-
 # CoCo SDC Booter
 boot_sdc: boot_sdc.asm
 	$(AS) $(ASOUT)$@ $< $(SDFLAGS)
 
-# DriveWire Becker Booter
-boot_dw_becker:	boot_dw.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DBECKER=1
-
-# DriveWire Becker Submodule
-dwio_becker.sb:	dwio.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DBECKER=1
-
-# DriveWire Arduino Booter
-boot_dw_arduino:	boot_dw.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DARDUINO=1
-
-# DriveWire Arduino Submodule
-dwio_arduino.sb:	dwio.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DARDUINO=1
-
 # DriveWire CoCo1 Booter
 boot_dw_coco1:	boot_dw.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DBAUD38400=1
@@ -117,77 +66,6 @@
 dwio_coco1.sb:	dwio.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DBAUD38400=1
 
-# DriveWire 3
-boot_1773_6ms:	boot_1773.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DDNum=0 -DSTEP=0
-
-boot_1773_30ms:	boot_1773.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DDNum=0 -DSTEP=3
-
-rb1773_scii_ff74.dr:	rb1773.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DSCII=1
-
-rb1773_scii_ff58.dr:	rb1773.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DSCII=1 -DSCIIALT=1
-
-# TC^3 SCSI Driver
-lltc3.dr: llscsi.asm
-	$(AS) $(ASOUT)$@ $< $(TC3FLAGS)
-
-# IDE Driver
-llide.dr: llide.asm
-	$(AS) $(ASOUT)$@ $< $(IDEFLAGS)
-
-# Floppy descriptors
-SSDD35		= -DCyls=35 -DSides=1 -DSectTrk=18 -DSectTrk0=18 \
-		-DInterlv=3 -DSAS=8 -DDensity=1
-DSDD40		= -DCyls=40 -DSides=2 -DSectTrk=18 -DSectTrk0=18 \
-		-DInterlv=3 -DSAS=8 -DDensity=1
-DSDD80		= -DCyls=80 -DSides=2 -DSectTrk=18 -DSectTrk0=18 \
-		-DInterlv=3 -DSAS=8 -DDensity=1 -DD35
-
-# HDB-DOS for SuperDriver
-HDBDOS                  = -DHB $(SSDD35) -DITDNS=8 $(ID0)
-
-ddd0_35s.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -DDNum=0 -DDD=1
-
-d0_35s.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -DDNum=0
-
-d1_35s.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -DDNum=1
-
-d2_35s.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -DDNum=2
-
-d3_35s.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -DDNum=3
-
-ddd0_40d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -DDNum=0 -DDD=1
-
-d0_40d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -DDNum=0
-
-d1_40d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -DDNum=1
-
-d2_40d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -DDNum=2
-
-ddd0_80d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -DDNum=0 -DDD=1
-
-d0_80d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -DDNum=0
-
-d1_80d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -DDNum=1
-
-d2_80d.dd: rb1773desc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -DDNum=2
-
 # SDOFFSET is the high 16 bits of the 24-bit block address at
 # which the disk image starts on the SDcard. It must match
 # the value used in the create_sd_image script.
@@ -382,20 +260,9 @@
 	$(AS) $(AFLAGS) $(ASOUT)$@ $<
 
 # Clocks
-clock_60hz: clock.asm
-	$(AS) $(AFLAGS) $(ASOUT)$@ $< -DPwrLnFrq=60
-
-clock_50hz: clock.asm
-	$(AS) $(AFLAGS) $(ASOUT)$@ $< -DPwrLnFrq=50
-
 mc09clock_50hz: mc09clock.asm
 	$(AS) $(AFLAGS) $(ASOUT)$@ $< -DPwrLnFrq=50
 
-clock2_bnb: clock2_ds1315.asm
-	$(AS) $(AFLAGS) $(ASOUT)$@ $< -DBNB=1
-
-clock2_cloud9: clock2_ds1315.asm
-	$(AS) $(AFLAGS) $(ASOUT)$@ $< -DCLOUD9=1
 
 clean:
 	$(CD) kernel; make $@
--- a/level2/mc09l2/modules/makefile	Sat May 20 23:33:48 2017 +0100
+++ b/level2/mc09l2/modules/makefile	Sat May 20 23:34:27 2017 +0100
@@ -17,7 +17,7 @@
 BOOTTRACK	= rel_80 $(BOOTERS) mc09krn
 
 KERNEL		= krnp2 krnp3_perr krnp4_regdump
-SYSMODS		= ioman init sysgo_dd rominfo vectors
+SYSMODS		= ioman init sysgo_dd
 CLOCKS		= clock2_soft clock2_dw mc09clock_50hz mc09clock_91hz
 
 RBF		= rbf.mn \