name=`basename $1 .obj`
+LIBS= $H316/lib/fortran/fort.lib\
+ $H316/lib/iolib/io.lib\
+ $H316/lib/fortran/custom.lib
+
echo "rest $H316/sys/super2.sys" > $name.go
echo "at ptr $name.obj" >> $name.go
echo "go" >> $name.go
echo "go" >> $name.go
-echo "at ptr $H316/lib/fortran/original/flib1" >> $name.go
-echo "go" >> $name.go
-echo "at ptr $H316/lib/fortran/original/flib2" >> $name.go
-echo "go" >> $name.go
-echo "at ptr $H316/lib/fortran/original/flib3" >> $name.go
-echo "go" >> $name.go
-if [ -e $H316/lib/iolib/io.lib ]; then
- echo "at ptr $H316/lib/iolib/io.lib" >> $name.go
-else
- echo "io.lib nicht gefunden!"
- exit 3
-fi
-echo "go" >> $name.go
+
+for library in $LIBS; do
+ if [ ! -e $library]; then
+ echo "Error: $library not found!"
+ exit 3;
+ fi
+ echo "at ptr $library" >> $name.go
+ echo "go" >> $name.go
+done
echo "r" >> $name.go
echo "! echo -e \"\\n************************\"" >> $name.go
echo "run 1000" >> $name.go
\item nach dem ersten Durchlauf Band wieder einlegen, wieder \verb:START: drücken.
\end{enumerate}
\vspace{0.5cm}
-Einstellungen für's A-Register:
+Einstellungen im A-Register:
\begin{verbatim}
Bit 1: Immer setzen für 2-pass-Assemblierung
@rm -rf $(OBJ_DIR) $(LIB_DIR) *.lst *.go
@rm -f $(SRC_DIR)/vpunch.asm $(SRC_DIR)/vpunch.2
@$(MAKE) -s -C vpunch-help clean
+ @rm -r org
vpunch-help/use: vpunch-help/use.c vpunch-help/font_8x16.c
$(MAKE) -C vpunch-help use
src/vpunch.asm: src/vpunch.1 src/vpunch.2
cat src/vpunch.1 src/vpunch.2 > src/vpunch.asm
-.PHONY: clean all
+org:
+ makeorg.sh
+
+.PHONY: clean all org