--- /dev/null
+#!/bin/sh
+
+cat > dap-rebuild.go <<EOF
+rest $H316/sys/super2.sys
+at ptr $H316/obj/dap16.obj
+run 36000
+go
+at ptr $H316/obj/ios-16.obj
+go
+at ptr $H316/lib/iolib/lib/small.lib
+go
+at ptr $H316/obj/dumy-x16.obj
+go
+at ptr $H316/obj/setsiz.obj
+go
+go
+at ptr $H316/obj/deccl.obj
+go
+
+;at ptp $H316/slst/dap-auto.slst
+;run 37000
+;d a 400
+;go
+;d b 13000
+;go
+
+run 36002
+EOF
+
+h316 dap-rebuild.go
+rm dap-rebuild.go
+
+