Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3_6309/bootfiles/makefile.cust @ 1214:701f6a80163f
bootscripts and bootlists added
author | boisy |
---|---|
date | Sat, 28 Jun 2003 18:43:08 +0000 |
parents | 1e136c413e58 |
children | 3ff579715249 |
rev | line source |
---|---|
501 | 1 include ../../Makefile.rules |
2 | |
3 # Module directory | |
4 MD = ../MODULES | |
5 # Commands directory | |
6 CD = ../CMDS | |
7 # Third Party directory | |
8 3PB = $(3RDPARTY)/booters | |
9 3PD = $(3RDPARTY)/drivers | |
10 | |
11 DEPENDS = ./Makefile | |
12 | |
1214 | 13 KERNEL_1773 = $(MD)/rel $(MD)/boot_1773_6ms $(MD)/os9p1 |
501 | 14 KERNEL_ROM = $(MD)/rel $(3PB)/boot_rom $(MD)/os9p1 |
980 | 15 KERNEL_KENTON = $(MD)/rel $(C9)/superscsi/boot_id0_ktlr_l2 $(MD)/os9p1 |
16 KERNEL_TC3 = $(MD)/rel $(C9)/superscsi/boot_id0_tc3_l2 $(MD)/os9p1 | |
985 | 17 KERNEL_DW = $(MD)/rel $(C9)/drivewire/boot_drivewire_l2 $(MD)/os9p1 |
501 | 18 |
19 # OS-9 disk bootfile to allow booting from WD1773 disk controller | |
20 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ | |
21 $(MD)/rbf.mn \ | |
22 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
23 $(MD)/ddd0_40d.dd \ | |
24 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
25 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
26 $(MD)/windint.io $(MD)/vdgint.io \ | |
27 $(MD)/term_vdg.dt \ | |
28 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
29 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
30 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
701 | 31 $(MD)/clock_tc3 |
501 | 32 |
33 BOOTFILE_1773_ROM = $(MD)/rominfo | |
34 | |
35 # OS-9 ROM image to allow booting from ROM | |
36 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \ | |
37 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \ | |
38 $(MD)/sspak.dr $(MD)/ssp.dd \ | |
701 | 39 $(MD)/clock_soft $(MD)/cc3go_rom \ |
501 | 40 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs |
41 | |
985 | 42 BOOTFILE_DW = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
1020 | 43 $(MD)/rbf.mn \ |
44 $(MD)/cc3disk.dr \ | |
45 $(MD)/d0_40d.dd \ | |
1129 | 46 $(3PD)/ide/ccide_l2.dr \ |
47 $(3PD)/ide/h0_ide_l2.dd \ | |
985 | 48 $(C9)/drivewire/drivewire_l2.dr \ |
987 | 49 $(C9)/drivewire/ddx0_l2.dd \ |
996 | 50 $(C9)/drivewire/x1_l2.dd \ |
51 $(C9)/drivewire/x2_l2.dd \ | |
52 $(C9)/drivewire/x3_l2.dd \ | |
980 | 53 $(MD)/scf.mn $(MD)/cc3io.dr \ |
54 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
985 | 55 $(MD)/windint.io \ |
982 | 56 $(MD)/vdgint_small.io \ |
985 | 57 $(MD)/term_vdg.dt \ |
996 | 58 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ |
59 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
982 | 60 $(MD)/vrn.dr $(MD)/vi.dd $(MD)/ftdd.dd \ |
996 | 61 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
62 $(C9)/drivewire/clock_dw_l2 | |
980 | 63 |
501 | 64 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller |
65 # This is a custom boot for Boisy's system | |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
66 BOOTFILE_TC3 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
980 | 67 $(C9)/superscsi/superscsi_tc3_l2.dr \ |
68 dd_ez135_l2.dd \ | |
69 $(C9)/superscsi/c3_cdrom_l2.dd \ | |
70 $(C9)/superscsi/h5_zip100_l2.dd \ | |
501 | 71 $(MD)/rbf.mn \ |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
72 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_512_l2.dd \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
73 $(MD)/cc3disk.dr \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
74 $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ |
701 | 75 $(MD)/scf.mn $(MD)/cc3io.dr \ |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
76 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
77 $(MD)/windint.io \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
78 $(MD)/term_win80.dt \ |
701 | 79 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ |
80 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
81 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
82 $(MD)/clock_tc3 |
701 | 83 |
84 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller | |
980 | 85 BOOTFILE_KENTON = $(C9)/superscsi/superscsi_ktlr_l2.dr \ |
701 | 86 $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
87 $(MD)/rbf.mn \ | |
980 | 88 $(C9)/superscsi/h0_ez135_l2.dd \ |
89 $(C9)/superscsi/c3_cdrom_l2.dd \ | |
501 | 90 $(MD)/scf.mn $(MD)/cc3io.dr \ |
91 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \ | |
92 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \ | |
93 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
94 $(MD)/windint.io $(MD)/term_win80.dt \ | |
95 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
96 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
97 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \ | |
98 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
701 | 99 $(MD)/clock_soft |
501 | 100 |
985 | 101 BOOTFILES = bootfile_1773 bootfile_drivewire bootfile_tc3 bootfile_kenton bootfile_rom |
102 KERNELS = kernel_1773 kernel_tc3 kernel_drivewire kernel_kenton kernel_rom | |
501 | 103 |
104 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
105 | |
106 all: $(ALLOBJS) | |
107 | |
108 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS) | |
109 $(MERGE) $(BOOTFILE_1773)>$@ | |
110 | |
111 bootfile_tc3: $(BOOTFILE_TC3) $(DEPENDS) | |
112 $(MERGE) $(BOOTFILE_TC3)>$@ | |
113 | |
985 | 114 bootfile_drivewire: $(BOOTFILE_DW) $(DEPENDS) |
115 $(MERGE) $(BOOTFILE_DW)>$@ | |
980 | 116 |
501 | 117 bootfile_kenton: $(BOOTFILE_KENTON) $(DEPENDS) |
118 $(MERGE) $(BOOTFILE_KENTON)>$@ | |
119 | |
120 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
121 $(MERGE) $(KERNEL_1773)>$@ | |
122 | |
123 kernel_tc3: $(KERNEL_TC3) $(DEPENDS) | |
124 $(MERGE) $(KERNEL_TC3)>$@ | |
125 | |
985 | 126 kernel_drivewire: $(KERNEL_DW) $(DEPENDS) |
127 $(MERGE) $(KERNEL_DW)>$@ | |
980 | 128 |
501 | 129 kernel_rom: $(KERNEL_ROM) $(DEPENDS) |
130 $(MERGE) $(KERNEL_ROM)>$@ | |
131 | |
132 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS) | |
133 $(MERGE) $(KERNEL_KENTON)>$@ | |
134 | |
980 | 135 dd_ez135_l2.dd: $(C9)/superscsi/h0.asm |
136 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aLevel=2 -aDD=1 | |
137 | |
501 | 138 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 |
985 | 139 bootfile_drivewire_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_drivewire |
982 | 140 $(MERGE) $(BOOTFILE_1773_ROM)>$@ |
141 $(PADROM) \$$6C00 $@ -c=\$$FF | |
985 | 142 $(MERGE) kernel_drivewire>>$@ |
982 | 143 $(PADROM) \$$7FF0 $@ -c=\$$FF |
144 $(MERGE) $(MD)/rom_vectors>>$@ | |
145 | |
146 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
501 | 147 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773 |
148 $(MERGE) $(BOOTFILE_1773_ROM)>$@ | |
149 $(PADROM) \$$6C00 $@ -c=\$$FF | |
150 $(MERGE) kernel_1773>>$@ | |
151 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
152 $(MERGE) $(MD)/rom_vectors>>$@ | |
153 | |
154 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
155 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom | |
156 $(MERGE) $(BOOTFILE_ROM)>$@ | |
157 ls -l $@ | |
158 $(PADROM) \$$6C00 $@ -c=\$$FF | |
159 $(MERGE) kernel_rom>>$@ | |
160 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
161 $(MERGE) $(MD)/rom_vectors>>$@ | |
162 | |
163 clean: | |
164 $(RM) $(ALLOBJS) | |
165 |