annotate level2/coco3_6309/bootfiles/makefile @ 462:1ee5b8655352

Changed booter name
author boisy
date Sat, 28 Sep 2002 16:46:55 +0000
parents 63c0e387d77b
children 77f702b7d816
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 include ../../Makefile.rules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 # Module directory
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 MD = ../MODULES
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 # Commands directory
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 CD = ../CMDS
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 # Third Party directory
355
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
8 3PB = $(3RDPARTY)/booters
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
9 3PD = $(3RDPARTY)/drivers
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 DEPENDS = ./Makefile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 KERNEL_1773 = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
355
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 346
diff changeset
14 KERNEL_ROM = $(MD)/rel $(3PB)/boot_rom $(MD)/os9p1
462
1ee5b8655352 Changed booter name
boisy
parents: 429
diff changeset
15 KERNEL_KENTON = $(MD)/rel $(3PB)/boot_ktlr_id5 $(MD)/os9p1
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
16 KERNEL_TC3 = $(MD)/rel $(3PB)/boot_tc3_id5 $(MD)/os9p1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 # OS-9 disk bootfile to allow booting from WD1773 disk controller
429
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
19 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
20 $(MD)/rbf.mn \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
21 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
22 $(MD)/ddd0_40d.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
23 $(MD)/scf.mn $(MD)/cc3io.dr \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
24 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
25 $(MD)/windint.io $(MD)/vdgint.io \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
26 $(MD)/term_vdg.dt \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
27 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
28 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
29 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
30 $(MD)/clock $(MD)/clock2_soft
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 BOOTFILE_1773_ROM = $(MD)/rominfo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 # OS-9 ROM image to allow booting from ROM
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 $(MD)/sspak.dr $(MD)/ssp.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 $(MD)/clock $(MD)/clock2_soft $(MD)/cc3go_rom \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller
429
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
42 # This is a custom boot for Boisy's system
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
43 BOOTFILE_TC3 = $(3PD)/scsisys/scsisys_68_tc3.dr \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
44 $(MD)/os9p2 $(MD)/ioman $(MD)/init \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
45 $(MD)/rbf.mn \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
46 $(3PD)/scsisys/dd_zip100_tc3_l2.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
47 $(3PD)/scsisys/h5_zip100_tc3_l2.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
48 $(MD)/scf.mn $(MD)/cc3io.dr \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
49 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
50 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
51 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
52 $(MD)/windint.io $(MD)/term_win80.dt \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
53 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
54 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
55 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
56 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
57 $(MD)/clock $(MD)/clock2_soft
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58
429
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
59 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
60 BOOTFILE_KENTON = $(3PD)/scsisys/scsisys_68_ktlr.dr \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
61 $(MD)/os9p2 $(MD)/ioman $(MD)/init \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
62 $(MD)/rbf.mn \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
63 $(3PD)/scsisys/h5_zip100_ktlr_l2.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
64 $(MD)/scf.mn $(MD)/cc3io.dr \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
65 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
66 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
67 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
68 $(MD)/windint.io $(MD)/term_win80.dt \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
69 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
70 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
71 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
72 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
73 $(MD)/clock $(MD)/clock2_soft
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
74
63c0e387d77b Made more changes
boisy
parents: 428
diff changeset
75 BOOTFILES = bootfile_1773 bootfile_tc3 bootfile_kenton bootfile_rom
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
76 KERNELS = kernel_1773 kernel_tc3 kernel_kenton
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
78 ALLOBJS = $(BOOTFILES) $(KERNELS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
79
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
80 all: $(ALLOBJS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
81 $(CHMOD) 600 $(ALLOBJS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 $(MERGE) $(BOOTFILE_1773)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
85
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
86 bootfile_tc3: $(BOOTFILE_TC3) $(DEPENDS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
87 $(MERGE) $(BOOTFILE_TC3)>$@
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
88
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
89 bootfile_kenton: $(BOOTFILE_KENTON) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
90 $(MERGE) $(BOOTFILE_KENTON)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
91
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
92 kernel_1773: $(KERNEL_1773) $(DEPENDS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
93 $(MERGE) $(KERNEL_1773)>$@
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
94
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
95 kernel_tc3: $(KERNEL_TC3) $(DEPENDS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
96 $(MERGE) $(KERNEL_TC3)>$@
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
97
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
98 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
99 $(MERGE) $(KERNEL_ROM)>$@
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
100
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
101 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS)
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
102 $(MERGE) $(KERNEL_KENTON)>$@
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
103
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
104 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
105 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
106 $(MERGE) $(BOOTFILE_1773_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
107 $(PADROM) \$$6C00 $@ -c=\$$FF
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
108 $(MERGE) kernel_1773>>$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 $(PADROM) \$$7FF0 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
110 $(MERGE) $(MD)/rom_vectors>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
112 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
113 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
114 $(MERGE) $(BOOTFILE_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
115 ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
116 $(PADROM) \$$6C00 $@ -c=\$$FF
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
117 $(MERGE) kernel_rom>>$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
118 $(PADROM) \$$7FF0 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
119 $(MERGE) $(MD)/rom_vectors>>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
120
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
121 clean:
428
5fe28064bb4f Kernel trakcs now made here
boisy
parents: 424
diff changeset
122 $(RM) $(ALLOBJS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
123