echo Super 3 loaded.
EOF
+if [ -e "$1" ]; then
+ echo "echo Running $1." >> super3.do
+ echo "do $1" >> super3.do
+fi
+
h316 super3.do
rm -f super3.do
$H316/lib/fortran/lib/math.lib\
$H316/lib/iolib/lib/io.lib\
$H316/lib/hachti/lib/stack.lib\
+ $H316/lib/hachti/lib/lock.lib\
"
#LOAD_LIBS="\
org/F$F5
org/F$IO
org/F$HT
-# obj/PCHAR
+ obj/PCHAR
# obj/LPCHAR
# obj/UCHAR
obj/REBOOT
*
********************************************************************************
*
- SUBR PL$RST,RST
SUBR PL$MV,MOVE
+ SUBR PL$RST,RST
SUBR PL$X,XU
SUBR PL$Y,YU
SUBR PL$MVR,MVR
@ cd $(OBJ_DIR) && $(ASM_COMMAND) ../$(subst $$,\$$,$^) $(LISTING)
@ cd $(OBJ_DIR) && $(LDC_COMMAND) $(notdir $(subst $$,\$$,$@))
-$(LIBS):$(LIB_DIR)/%.lib: $(RECIPE_DIR)/%$(RECIPE_SUFFIX) $(ORG_OBJDIR)/lastrun $(OBJECTS)
+$(LIBS):$(LIB_DIR)/%.lib: $(RECIPE_DIR)/%$(RECIPE_SUFFIX) $(ORG_OBJDIR)/lastrun $(OBJECTS)
@./buildlib.sh genlib $(RECIPE_DIR)/$(basename $(notdir $@))$(RECIPE_SUFFIX)
-C
+C DRAW A PENTAGRAM IN A CIRCLE
C
C
C
INTEGER RADIUS
REAL RADIUR,RADF
C
- RADIUS=100
+ RADIUS=400
RADIUR=RADIUS
PI=3.14159265
RADF=(2.0*PI)/360.0
C
- CALL PL$RST
+ CALL PL$INI
CALL PL$MV(RADIUS,RADIUS)
CALL PL$RST
C
WRITE (1,55)
55 FORMAT (1H0)
C
+ CALL PLOTI
CALL CALC2
C
WRITE(1, 60)
SUBROUTINE PLOTI
INTEGER PEN,PENX
COMMON /PENSTA/PEN,PENX
- CALL PL$UP
+ CALL PL$INI
+ CALL PL$SCL(3.0)
+ CALL PL$PU
PEN=0
PENX=0
RETURN
CALL PL$R
IF (PEN.EQ.0) CALL PL$PD
PEN=1
- CALL PL$UP
+ CALL PL$U
CALL PL$R
- CALL PL$DN
+ CALL PL$D
PENX=PENX+2
RETURN
END
PENX=PENX-1
GO TO 8000
8100 CONTINUE
- CALL PL$DN
- CALL PL$DN
+ CALL PL$D
+ CALL PL$D
RETURN
END
C
INTEGER X,Y
C
C
- 1000 CALL PL$RST
+C
+ 1000 CALL PL$INI
+ CALL PL$SCL(2.54)
C
CALL GITTER
CALL PL$PU
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C
SUBROUTINE GITTER
- INTEGER X,Y
+ INTEGER X,Y,STAK(400)
+ CALL S$INIT(STAK,400)
DO 2000 X=0,600,50
CALL LINE(X,-100,X,100)
2000 CONTINUE
CALL LINE (0,-1,600,-1)
CALL LINE (-1,-100,-1,100)
CALL LINE (1,-100,1,100)
+ CALL PL$PU
+ CALL PL$MV(0,110)
+ CALL PL$TXT(STAK,37HSinus-Demo, 08.11.2008, Ph. Hachtmann,37)
C
RETURN
END
C
C
10000 CALL REBOOT
+ CALL LIBLOK
END
$0