*** empty log message ***
authorhachti <hachti>
Wed, 26 Apr 2006 22:23:04 +0000 (22:23 +0000)
committerhachti <hachti>
Wed, 26 Apr 2006 22:23:04 +0000 (22:23 +0000)
bin/fload [new file with mode: 0755]
sys/super3.sys [new file with mode: 0644]

diff --git a/bin/fload b/bin/fload
new file mode 100755 (executable)
index 0000000..f94bc6e
--- /dev/null
+++ b/bin/fload
@@ -0,0 +1,50 @@
+#!/bin/bash
+# FORTRAN IV simple loading routine
+
+if [ ! $1 ] ; then
+    echo "Argument missing!"
+    exit 2
+fi
+
+objname=$1
+locname=`basename $1 .obj`
+
+echo $locname
+echo $objname
+
+LIBS="$H316/lib/fortran/lib/flib1.lib\
+       $H316/lib/fortran/lib/flib2.lib\
+       $H316/lib/fortran/lib/flib3.lib\
+       $H316/lib/iolib/lib/io.lib\
+"
+
+cat > $locname.go <<EOF
+rest $H316/sys/super3.sys
+at ptr $objname
+go 36000
+go
+e p
+EOF
+
+for library in $LIBS; do
+    if [ ! -e "$library" ]; then
+       echo "Error: $library not found!"
+       exit 3;
+    fi
+    echo "at ptr $library" >> $locname.go
+    echo "go" >> $locname.go
+done
+
+cat >> $locname.go <<EOF
+r
+! echo -e "\n************************"
+EOF
+    
+#cat $locname.go
+h316 $locname.go 
+rm -f $locname.go
+
+exit 0
+
+
+
diff --git a/sys/super3.sys b/sys/super3.sys
new file mode 100644 (file)
index 0000000..103904b
Binary files /dev/null and b/sys/super3.sys differ