src-filters: Add missing includes, reduce warnings
[h316.git] / systems / build_super_simple.sh
1 #!/bin/sh
2
3 DO_FILE=s2.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 echo Booting $LDR_APM_8K
12 at ptr $LDR_APM_8K
13 boot ptr
14 echo Loading $LDR_APM
15 ; enter high loader address for loading above itself
16 d 15000 37777
17
18 echo *** Loading $LDR_APM
19 at ptr $LDR_APM
20 d a 33000
21 d p 16000
22 go
23 go
24 at ptr $LDR_DUMY
25 go
26
27 echo *** Loading $PAL_AP
28 at ptr $PAL_AP
29 d a 37000
30 d p 16003
31 go
32 go
33
34 ; Clear memory
35 d 100-27777 0
36
37 ; Common block settings:
38 d 35000 31000
39
40 ; Settings for immediate load after sys restore
41 r
42 d p 36000
43
44 save $SUPER_SIMPLE_SYS
45 echo Complete.
46 q
47 EOF
48 h316 $DO_FILE
49 rm -f $DO_FILE