Jack, etal, I have been working through the Fortran process. Although I run into problems and have to let it lay for a while to get my head on straight again. Sometimes I need just to do something else for a while, work on the car, walk the dog or try to get PUTR to work. It's all in my own personal programming or as my daughter says it's in the genes.
I've been getting through making a TEST.FT with the editor and have not had any problems with editor at all.
Using F4 also seems to be working. I was wondering about the statement I read somewhere that F4 needs a floating point CPU, mine must have one, because it seems to work. I've been using the /A switch so F$ will not chain to RALF. I'm a controller type.
.R F4
*SDA0:TEST.RA<SDA0:TEST.FT/A
I can add a list file as an addition output file and I get a nice display on that.
Next I run the assembler RALF
.R RALF
*SDA0:TEST.RL<SDA0:TEST.RA
Here is where some odd thing can happen. Some times this works fine, no errors and others there will be errors. I kinda suspect that maybe I still have some machine trouble. These errors only show up after the PDP8E has been powered up for more than 4 hours. AND the only trouble that I can see, so far is with RALF. It apparently has trouble reading the TEST.FT file. The TEST.FT is OK. I can TYPE it or look at it with EDITOR and it's fine. Yet RALF thinks that there are at least 4 errors in it. The next odd thing is that I shut the PDP8E down over night and in the morning RALF works again, for 3-4 hours, with no changes made at all. This has happened twice.
BUT when RALF does work, I can then link it with LOAD,
.R LOAD
*SDA0:TEST.LD<SDA0:TEST.RL
*$
The '$' is escape. This program is a stand alone and is not linked with other RALF modules.
Then I can use FRTS
.R FRTS
*SDA0:TEST.LD$
I haven't gotten this far too many times. I read that the '$' (escape) should load the file and run it. This seems to happen, but the program hangs the machine. I can reboot it by restarting it at 7600. I suspect my code, particularly the READ, unit designation number, statement, because I can not enter anything. This is my Fortran Program. Mike
Code:
C TEST
C 3/20/2016
5 READ (1, 10) A, B, C
10 FORMAT (3E6.3)
15 S=A+B+C
20 AREA=SQRT(S*(S-A)*(S-B)*(S-C))
25 WRITE (1, 30) A, B, C, AREA
30 FORMAT (4E6.3)
35 END