31
|
1 BINEX=../utils/binex
|
|
2
|
|
3 all: Term Pty pdisk Init rom.s1
|
|
4
|
|
5 Term: pty-dd.asm
|
|
6 os9asm pty-dd.asm -o=Term
|
|
7 Pty: pty.asm
|
|
8 os9asm pty.asm -o=Pty
|
|
9 pdisk: pdisk.asm
|
|
10 os9asm pdisk.asm -o=pdisk
|
|
11 d0: d0.asm
|
|
12 os9asm d0.asm -o=d0
|
|
13 p: printer.asm
|
|
14 os9asm printer.asm -o=printer
|
|
15
|
|
16 # Init can't be assembled by the cross assembler
|
|
17 #Init: init.asm
|
|
18 # os9asm init.asm -o=Init
|
|
19 Init:
|
|
20 tr '\12' '\15' < init.asm > $(HOME)/OS9/init.asm
|
|
21 os9l1 asm init.asm o=Init
|
|
22 mv $(HOME)/OS9/CMDS/Init .
|
|
23
|
|
24 # part1.s1 is the core module "P1" - must be loaded at $f800
|
|
25 # according to os9sysprog section 3.0
|
|
26 # part2.s1 are all the other position independent modules
|
|
27
|
|
28 part1.s1: OS9
|
|
29 $(BINEX) -o part1.s1 -a f000 -x f076 OS9
|
|
30 part2.s1: OS9p2 SysGo Init IOMan SCF Shell Pty Term
|
|
31 $(BINEX) -o part2.s1 -a d000 OS9p2 SysGo Init IOMan SCF Shell Pty Term
|
|
32 d64intrvect.s1: D64Intrvect
|
|
33 $(BINEX) -o d64intrvect.s1 -a ffe0 D64Intrvect
|
|
34
|
|
35 rom.s1: part1.s1 part2.s1 d64intrvect.s1
|
|
36 cat part2.s1 d64intrvect.s1 part1.s1 >rom.s1
|
|
37
|
|
38 install: rom.s1
|
|
39 mv rom.s1 ../rom.s1
|