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