annotate 3rdparty/customboots/boisy/makefile @ 2423:8194ea2e9906

Updated
author boisy
date Wed, 27 Jan 2010 14:36:46 +0000
parents 6735ed1656bc
children 375bbafa44fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
1 # NitrOS-9/6809 Level 2 bootfile for a 128K CoCo 3 with a Motorla 6809
2372
bfb8eefc19e1 Renamed S$Peer to S$HUP
boisy
parents: 2369
diff changeset
2 # For Boisy's thesis work
bfb8eefc19e1 Renamed S$Peer to S$HUP
boisy
parents: 2369
diff changeset
3
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
5
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
6 vpath %.asm ../../../utils/boisy:..:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(LEVEL1)/modules:$(NITROS9DIR)/3rdparty/packages/basic09
51975fad5123 New work
boisy
parents: 2309
diff changeset
7
51975fad5123 New work
boisy
parents: 2309
diff changeset
8 AFLAGS += -aNoTerm=1 -acoco3=1
51975fad5123 New work
boisy
parents: 2309
diff changeset
9
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
10 LFLAGS += -y -l=$(NITROS9DIR)/3rdparty/packages/drivewire/netlib/netlib.l -l=$(NITROS9DIR)/3rdparty/libs/alib/alib.l -l=../netlib/netlib.l -l=$(NITROS9DIR)/lib/sys6809l2.l
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
11 3PDW68 = $(3RDPARTY)/packages/drivewire/6809l2
2376
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
12 3PBOISY = $(3RDPARTY)/utils/boisy
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
13
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
14 DEPENDS = ./makefile
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
15
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
16 #AFLAGS += -e -aH6309=1
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
17
51975fad5123 New work
boisy
parents: 2309
diff changeset
18 DSK = thesis.dsk
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
19 CD = $(LEVEL2)/coco3/cmds
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
20 MD = $(LEVEL2)/coco3/modules
2418
306d85fb6576 Updated
boisy
parents: 2417
diff changeset
21 SYSTEXT = motd password inetd.conf
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
22 DSKS = $(DSK)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
23
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
24 CMDS = $(CD)/attr $(CD)/build $(CD)/cmp $(CD)/copy $(CD)/cputype $(CD)/date \
51975fad5123 New work
boisy
parents: 2309
diff changeset
25 $(CD)/deiniz $(CD)/del $(CD)/deldir $(CD)/devs $(CD)/dir $(CD)/display \
51975fad5123 New work
boisy
parents: 2309
diff changeset
26 $(CD)/dmem $(CD)/dmode $(CD)/dump $(CD)/echo $(CD)/edit $(CD)/error \
51975fad5123 New work
boisy
parents: 2309
diff changeset
27 $(CD)/free $(CD)/grfdrv $(CD)/help $(CD)/ident $(CD)/iniz $(CD)/link \
51975fad5123 New work
boisy
parents: 2309
diff changeset
28 $(CD)/list $(CD)/load $(CD)/login $(CD)/makdir $(CD)/mdir $(CD)/merge \
51975fad5123 New work
boisy
parents: 2309
diff changeset
29 $(CD)/mfree $(CD)/mmap $(CD)/mpi $(CD)/pmap $(CD)/proc $(CD)/procs \
51975fad5123 New work
boisy
parents: 2309
diff changeset
30 $(CD)/prompt $(CD)/pwd $(CD)/pxd $(CD)/rename $(CD)/save $(CD)/shell \
51975fad5123 New work
boisy
parents: 2309
diff changeset
31 $(CD)/sleep $(CD)/smap $(CD)/tee $(CD)/tmode $(CD)/touch $(CD)/tsmon \
51975fad5123 New work
boisy
parents: 2309
diff changeset
32 $(CD)/unlink $(CD)/verify $(CD)/xmode $(CD)/utilpak1 $(CD)/basic09 $(CD)/syscall
51975fad5123 New work
boisy
parents: 2309
diff changeset
33
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
34 CMDS_DW = $(3PDW68)/inetd $(3PDW68)/dw \
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
35 $(3PDW68)/telnet $(3PBOISY)/send
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
36
2378
2f771d5be5d3 Added thesis test programs
boisy
parents: 2376
diff changeset
37 CMDS_THESIS = testmul testtfr testexg testadd testcwai
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
38 SRC_THESIS = testmul.asm testtfr.asm testexg.asm testadd.asm testcwai.asm
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
39
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
40 # We make our own bootfile and kernel track
2309
f3e79ee2ffef Driver now moved ISR to dw3, all works
boisy
parents: 2301
diff changeset
41 KERNEL = $(MD)/rel_80 $(MD)/boot_dw3 $(MD)/krn
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
42 BOOTFILE_DWTERM = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
43 $(MD)/rbf.mn \
51975fad5123 New work
boisy
parents: 2309
diff changeset
44 $(MD)/rbdw3.dr $(MD)/dw3.sb \
51975fad5123 New work
boisy
parents: 2309
diff changeset
45 $(MD)/rammer.dr $(MD)/r0_128k.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
46 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
47 $(MD)/scf.mn \
2378
2f771d5be5d3 Added thesis test programs
boisy
parents: 2376
diff changeset
48 $(MD)/sc6551.dr $(MD)/t2_sc6551.dd $(MD)/t3_sc6551.dd \
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
49 $(MD)/scdwn.dr $(MD)/term_scdwn.dt \
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
50 $(MD)/n_scdwn.dd \
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
51 $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
52 $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
53 $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
54 $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
55 $(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
56 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
57 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
2300
boisy
parents: 2297
diff changeset
58 $(MD)/clock_60hz $(MD)/clock2_dw3 \
2419
6735ed1656bc Took out other mods
boisy
parents: 2418
diff changeset
59 $(MD)/sysgo_dd
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
60
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
61 BOOTFILE_WINTERM = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
62 $(MD)/rbf.mn \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
63 $(MD)/rbdw3.dr $(MD)/dw3.sb \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
64 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
65 $(MD)/scf.mn \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
66 $(MD)/vtio.dr \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
67 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
68 $(MD)/cowin.io $(MD)/covdg.io \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
69 $(MD)/term_win80.dt $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
70 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
71 $(MD)/scdwn.dr \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
72 $(MD)/n_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
73 $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
74 $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
75 $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
76 $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
77 $(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
78 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
79 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
80 $(MD)/clock_60hz $(MD)/clock2_dw3 \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
81 $(MD)/sysgo_dd
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
82
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
83 SUPPORTFILES = startup
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
84 BOOTFILE = $(BOOTFILE_DWTERM)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
85
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
86 ALLOBJS = $(CMDS) $(CMDS_DW) $(CMDS_THESIS)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
87
2376
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
88 all: makedepends $(ALLOBJS)
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
89
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
90 makedepends:
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
91 cd $(LEVEL2)/coco3; make
2376
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
92 cd $(3RDPARTY)/packages/drivewire; make
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
93 cd $(3PBOISY); make
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
94
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
95 clean: dskclean
2378
2f771d5be5d3 Added thesis test programs
boisy
parents: 2376
diff changeset
96 -$(RM) $(CMDS_THESIS)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
97
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
98 dsk: all $(DSKS)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
99
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
100 $(DSK):
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
101 cd $(3RDPARTY)/utils/supercomm; make
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
102 $(RM) $@
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
103 $(CD) $(LEVEL2)/coco3; make
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
104 $(OS9FORMAT_SS80) -q $@ -n"NitrOS-9 Level 2 DriveWire Server"
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
105 $(MERGE) $(BOOTFILE)>os9boot
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
106 $(MERGE) $(KERNEL)>kernel
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
107 $(OS9GEN) $@ -b=os9boot -t=kernel
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
108 $(RM) os9boot kernel
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
109 $(MAKDIR) $@,CMDS
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
110 $(MAKDIR) $@,SYS
51975fad5123 New work
boisy
parents: 2309
diff changeset
111 $(CP) $(CMDS) $(CMDS_DW) $(CMDS_THESIS) $@,CMDS
51975fad5123 New work
boisy
parents: 2309
diff changeset
112 $(foreach file, $(CMDS) $(CMDS_DW) $(CMDS_THESIS), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));)
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
113 $(MAKDIR) $@,SRC
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
114 $(CPL) $(SRC_THESIS) $@,SRC
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
115 $(CP) $(3RDPARTY)/utils/supercomm/supercomm $@,CMDS
51975fad5123 New work
boisy
parents: 2309
diff changeset
116 $(OS9ATTR_EXEC) $@,CMDS/supercomm
51975fad5123 New work
boisy
parents: 2309
diff changeset
117 $(CPL) $(SYSTEXT) $@,SYS
51975fad5123 New work
boisy
parents: 2309
diff changeset
118 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
119 $(CPL) $(SUPPORTFILES) $@,.
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
120 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
121
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
122 dskcopy: dsk
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
123 $(CP) $(DSKS) $(DSKDIR)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
124
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
125 dskclean:
2378
2f771d5be5d3 Added thesis test programs
boisy
parents: 2376
diff changeset
126 -$(RM) $(DSKS)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
127
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
128 info:
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
129 @$(ECHO) "*** NitrOS-9/6809 Level 2 DriveWire Server ***"
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
130 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)