1 C -+-+-+-+-+
\ e H A E S U P . F T
\ e -+-+-+-+-+
3 C SUPERVISOR PROGRAM, CALLS THE DIFFERENT OVERLAYS AND TASKS
15 CALL CLOCK (8,10.) @ START THE CLOCK WITH 0.1 HZ
16 CALL CHKEOF (EOF) @ REGISTER THE END OF FILE FLAG TO FRTS
17 CALL ADATE (STR) @ AND ASK FRTS FOR THE CURRENT DATE
18 WRITE (TTO,1) REVSON,STR @ IDENTIFICATION LINE ONTO TTY
20 10 CALL DECODE @ READ THE NEW COMMAND LINE
21 IF (ACTNUM.EQ.0) GOTO 10 @ NO INPUT AT ALL
22 DO 35 I=1,ACTNUM @ AND EXECUTE COMMAND BY COMMAND
23 OPTION=COMD(I)/100 @ EXTRACT THE OPTION OF THE COMMAND
24 J=MOD(COMD(I),100)+1 @ AND THE NUMBER OF THIS CMD TOO
25 GOTO (90,91,92,93,94,95,96,97,98,99,
26 * 190,191,192,193,194,195,196,197,198,199,
27 * 290,291,292,293,294,295,296,297,298,299),J @ DO THE NEXT TASK
29 IF BREAK(11) WRITE (TTO,2) @ ABORTS A TASK ONLY
30 40 IF BREAK(11) GOTO 40 @ STOP UNTIL SW11 IS SWITCHED OFF
31 IF BREAK(10) GOTO 10 @ SWITCH 10 ABORTS THIS COMMAND INPUT
32 IF (BREAK(9)) WRITE (TTO,3) @ PAUSE
33 50 IF (BREAK(9)) GOTO 50 @ PAUSE UNTIL SW9 IS SWITCHED OFF
36 GOTO 10 @ HERE ALL COMMANDS ARE EXECUTED
39 90 GOTO 30 @ NO COMMAND
40 91 GOTO 30 @ "" "" (SPACE)
56 99 STOP @ EX CLOSE OUTPUT FILES AND EXIT
96 1 FORMAT (/' HAEEG VER',F4.1,' ON ',2(A2,1H/),A2)
97 2 FORMAT (' SCHALTER 11 AUSSCHALTEN')
98 3 FORMAT (' SCHALTER 9 AUSSCHALTEN')