Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3_6309/bootfiles/makefile.cust @ 987:30f5cce9eb76
Renamed g0 to x0
author | boisy |
---|---|
date | Mon, 17 Feb 2003 22:56:25 +0000 |
parents | 274cc2d4421d |
children | 4df2fdb9045f |
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 | |
13 KERNEL_1773 = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1 | |
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 \ |
43 $(C9)/drivewire/drivewire_l2.dr \ | |
987 | 44 $(C9)/drivewire/ddx0_l2.dd \ |
980 | 45 $(MD)/rbf.mn \ |
46 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
47 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
985 | 48 $(MD)/windint.io \ |
982 | 49 $(MD)/vdgint_small.io \ |
985 | 50 $(MD)/term_vdg.dt \ |
982 | 51 $(MD)/w7.dw \ |
52 $(MD)/vrn.dr $(MD)/vi.dd $(MD)/ftdd.dd \ | |
980 | 53 $(MD)/clock_tc3 |
54 | |
501 | 55 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller |
56 # 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
|
57 BOOTFILE_TC3 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
980 | 58 $(C9)/superscsi/superscsi_tc3_l2.dr \ |
59 dd_ez135_l2.dd \ | |
60 $(C9)/superscsi/c3_cdrom_l2.dd \ | |
61 $(C9)/superscsi/h5_zip100_l2.dd \ | |
501 | 62 $(MD)/rbf.mn \ |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
63 $(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
|
64 $(MD)/cc3disk.dr \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
65 $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ |
701 | 66 $(MD)/scf.mn $(MD)/cc3io.dr \ |
751
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
67 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
68 $(MD)/windint.io \ |
6ec99f9702bc
init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents:
701
diff
changeset
|
69 $(MD)/term_win80.dt \ |
701 | 70 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ |
71 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
72 $(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
|
73 $(MD)/clock_tc3 |
701 | 74 |
75 # OS-9 disk bootfile to allow booting from Ken-Ton SCSI controller | |
980 | 76 BOOTFILE_KENTON = $(C9)/superscsi/superscsi_ktlr_l2.dr \ |
701 | 77 $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
78 $(MD)/rbf.mn \ | |
980 | 79 $(C9)/superscsi/h0_ez135_l2.dd \ |
80 $(C9)/superscsi/c3_cdrom_l2.dd \ | |
501 | 81 $(MD)/scf.mn $(MD)/cc3io.dr \ |
82 $(MD)/keydrv $(MD)/joydrv_6551L $(MD)/snddrv \ | |
83 $(3PD)/disto/rampak.dr $(3PD)/disto/r0_256_l2.dd \ | |
84 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | |
85 $(MD)/windint.io $(MD)/term_win80.dt \ | |
86 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
87 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
88 $(3PD)/s16550/s16550_large.dr $(3PD)/s16550/t2_s16550.dd \ | |
89 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
701 | 90 $(MD)/clock_soft |
501 | 91 |
985 | 92 BOOTFILES = bootfile_1773 bootfile_drivewire bootfile_tc3 bootfile_kenton bootfile_rom |
93 KERNELS = kernel_1773 kernel_tc3 kernel_drivewire kernel_kenton kernel_rom | |
501 | 94 |
95 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
96 | |
97 all: $(ALLOBJS) | |
98 $(CHMOD) 600 $(ALLOBJS) | |
99 | |
100 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS) | |
101 $(MERGE) $(BOOTFILE_1773)>$@ | |
102 | |
103 bootfile_tc3: $(BOOTFILE_TC3) $(DEPENDS) | |
104 $(MERGE) $(BOOTFILE_TC3)>$@ | |
105 | |
985 | 106 bootfile_drivewire: $(BOOTFILE_DW) $(DEPENDS) |
107 $(MERGE) $(BOOTFILE_DW)>$@ | |
980 | 108 |
501 | 109 bootfile_kenton: $(BOOTFILE_KENTON) $(DEPENDS) |
110 $(MERGE) $(BOOTFILE_KENTON)>$@ | |
111 | |
112 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
113 $(MERGE) $(KERNEL_1773)>$@ | |
114 | |
115 kernel_tc3: $(KERNEL_TC3) $(DEPENDS) | |
116 $(MERGE) $(KERNEL_TC3)>$@ | |
117 | |
985 | 118 kernel_drivewire: $(KERNEL_DW) $(DEPENDS) |
119 $(MERGE) $(KERNEL_DW)>$@ | |
980 | 120 |
501 | 121 kernel_rom: $(KERNEL_ROM) $(DEPENDS) |
122 $(MERGE) $(KERNEL_ROM)>$@ | |
123 | |
124 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS) | |
125 $(MERGE) $(KERNEL_KENTON)>$@ | |
126 | |
980 | 127 dd_ez135_l2.dd: $(C9)/superscsi/h0.asm |
128 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aLevel=2 -aDD=1 | |
129 | |
501 | 130 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 |
985 | 131 bootfile_drivewire_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_drivewire |
982 | 132 $(MERGE) $(BOOTFILE_1773_ROM)>$@ |
133 $(PADROM) \$$6C00 $@ -c=\$$FF | |
985 | 134 $(MERGE) kernel_drivewire>>$@ |
982 | 135 $(PADROM) \$$7FF0 $@ -c=\$$FF |
136 $(MERGE) $(MD)/rom_vectors>>$@ | |
137 | |
138 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
501 | 139 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773 |
140 $(MERGE) $(BOOTFILE_1773_ROM)>$@ | |
141 $(PADROM) \$$6C00 $@ -c=\$$FF | |
142 $(MERGE) kernel_1773>>$@ | |
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 | |
147 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom | |
148 $(MERGE) $(BOOTFILE_ROM)>$@ | |
149 ls -l $@ | |
150 $(PADROM) \$$6C00 $@ -c=\$$FF | |
151 $(MERGE) kernel_rom>>$@ | |
152 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
153 $(MERGE) $(MD)/rom_vectors>>$@ | |
154 | |
155 clean: | |
156 $(RM) $(ALLOBJS) | |
157 |