*** empty log message ***
[h316.git] / systems / build_dap16.sh
diff --git a/systems/build_dap16.sh b/systems/build_dap16.sh
new file mode 100755 (executable)
index 0000000..fc39504
--- /dev/null
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+DO_FILE=dap.do
+
+if [ ! "$MAKE" ]; then
+    echo "Not run from within a Makefile!"
+    exit 4
+fi
+
+cat > $DO_FILE <<EOF
+rest $SUPER_SYS_FOR_DAP
+at ptr $DAP16
+run 36000
+go
+at ptr $IOS16
+go
+at ptr $DAP_LIBRARY
+go
+echo now loaded before dumy:
+run 36002
+echo now satisfying....
+at ptr $DUMYX16
+;IMPORTANT! THERE ARENT NO MORE UNSATISFIED IN THE FIRST
+;EXPORT BLOCK. SECOND BLOCK SEEMS NOT TO TRIGGER DUMMY!
+d p 36004
+go
+go
+
+at ptr $DECCL
+go
+at ptr $SETSIZ
+go
+go
+
+
+r
+at ptp $DAP_SLST
+run 37000
+d a 100
+go
+d a 17777
+go
+
+d p 1000
+d a 120420
+save $DAP_SYS
+
+run 36002
+q
+EOF
+
+h316 $DO_FILE
+rm $DO_FILE
+
+