annotate 3rdparty/packages/sierra/christmas86/makefile @ 2494:98e7cb7b3dda

Prevents RS-232 bit at $FF20 from being toggled. RG
author robertgault
date Sun, 04 Apr 2010 02:17:24 +0000
parents d096a278e068
children 0fe5a04e9d0c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
1 ifndef NITROS9DIR
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
2 NITROS9DIR = $(HOME)/nitros9
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
3 endif
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
5
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
6 vpath %.asm ../objs_lsl
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
7
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
8 DEPENDS = ./makefile
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
9
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
10 DSK_FLOPPY = christmas86.dsk
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
11 DSK_DW3 = christmas86_dw3.dsk
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
12
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
13 DSKS = $(DSK_FLOPPY) $(DSK_DW3)
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
14
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
15 DSK_NAME = "Christmas 1986"
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
16
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
17 CMDS = sierra mnln scrn shdw tocgen
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
18 MD = $(LEVEL2)/coco3/modules
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
19
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
20 # We make our own bootfile and kernel track
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
21 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
22 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
23
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
24 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
25 $(MD)/rbf.mn \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
26 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
27 $(MD)/scf.mn $(MD)/vtio.dr \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
28 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
29 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
30 $(MD)/vrn.dr $(MD)/vi.dd \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
31 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
32
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
33 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
34 $(MD)/rbf.mn \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
35 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
36 $(MD)/scf.mn $(MD)/vtio.dr \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
37 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
38 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
39 $(MD)/vrn.dr $(MD)/vi.dd \
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
40 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
41
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
42 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
43 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
44 $(LEVEL2)/coco3/cmds/setime
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
45
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
46 TEXTFILES = startup tOC.txt
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
47
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
48 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 words.tok
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
49
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
50 ALLOBJS = $(CMDS)
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
51
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
52 all: $(ALLOBJS)
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
53
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
54 clean: dskclean
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
55 $(RM) $(ALLOBJS)
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
56
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
57 dsk: $(DSKS)
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
58
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
59 $(DSK_FLOPPY): all
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
60 $(RM) $@
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
61 $(CD) $(LEVEL2)/coco3; make
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
62 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME)
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
63 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
64 $(MERGE) $(KERNEL_FLOPPY)>kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
65 $(OS9GEN) $@ -b=os9boot -t=kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
66 $(RM) os9boot kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
67 $(MAKDIR) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
68 $(CP) $(CMDS) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
69 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
70 $(MERGE) $(BOOTCMDS)>shell
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
71 $(CP) shell $@,CMDS
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
72 $(RM) shell
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
73 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
74 $(OS9RENAME) $@,CMDS/sierra AutoEx
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
75 $(CPL) $(TEXTFILES) $@,.
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
76 $(MOVE) tocgen toctmp
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
77 tocgen $@,tOC.txt $@,tOC
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
78 $(MOVE) toctmp tocgen
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
79 $(CP) $(SUPPORTFILES) $@,.
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
80
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
81 $(DSK_DW3): all
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
82 $(RM) $@
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
83 $(CD) $(LEVEL2)/coco3; make
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
84 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME)
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
85 $(MERGE) $(BOOTFILE_DW3)>os9boot
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
86 $(MERGE) $(KERNEL_DW3)>kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
87 $(OS9GEN) $@ -b=os9boot -t=kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
88 $(RM) os9boot kernel
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
89 $(MAKDIR) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
90 $(CP) $(CMDS) $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
91 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
92 $(MERGE) $(BOOTCMDS)>shell
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
93 $(CP) shell $@,CMDS
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
94 $(RM) shell
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
95 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
96 $(OS9RENAME) $@,CMDS/sierra AutoEx
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
97 $(CPL) $(TEXTFILES) $@,.
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
98 $(RM) tocgen
2208
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
99 tocgen $@,tOC.txt $@,tOC
9aa4880f49e7 Updated for DW3
boisy
parents: 2192
diff changeset
100 $(CP) $(SUPPORTFILES) $@,.
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
101
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
102 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
103 $(CP) $(DSKS) $(DSKDIR)
2192
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
104
36f6b076fd05 New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
diff changeset
105 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
106 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
107
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
108 info:
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
109 @$(ECHO) "*** Christmas 1986 ***"
d096a278e068 Added info targets
boisy
parents: 2208
diff changeset
110 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)