global: Corrected absolute paths in bin/ symbolic links
[h316.git] / systems / build_dap16.sh
1 #!/bin/sh
2
3 DO_FILE=dap.do
4
5 if [ ! "$MAKE" ]; then
6 echo "Not run from within a Makefile!"
7 exit 4
8 fi
9
10 cat > $DO_FILE <<EOF
11 REST $SUPER_SYS_FOR_DAP
12
13 at ptr $DAP16
14 run 36000
15 go
16 at ptr $IOS16
17 go
18 at ptr $DAP_LIBRARY
19 go
20 echo now loaded before dumy:
21 run 36002
22 echo now satisfying....
23 at ptr $DUMYX16
24 ;IMPORTANT! THERE ARENT NO MORE UNSATISFIED IN THE FIRST
25 ;EXPORT BLOCK. SECOND BLOCK SEEMS NOT TO TRIGGER DUMMY!
26 d p 36004
27 go
28 go
29
30 at ptr $DECCL
31 go
32 at ptr $SETSIZ
33 go
34 go
35
36 det ptp
37 det ptr
38 det tty3
39 save $DAP_SYS
40
41 r
42 at ptp $DAP_SLST
43 run 37000
44 d a 100
45 go
46 d a 17777
47 go
48
49 d p 1000
50 d a 120420
51
52
53 run 36002
54 q
55 EOF
56
57 h316 $DO_FILE
58 rm $DO_FILE
59
60