The program is about 1000 lines long split into several files.
Each program header tells me the following:
WATFOR-77 V3.1 Copyright WATCOM Systems Inc. 1984,1989 92/02/27 16:03:32
Reading the source it is clear that the program was designed to run with DOS as it constantly writes batch file to launch .exe files depending on the results from user answers.
I have a working version of the software in the form of .exe program files and the batch files required.
Please see below the smallest source program file for information
WATFOR-77 V3.1 Copyright WATCOM Systems Inc. 1984,1989 92/02/27 15:41:41
Options: list,disk,errorfile,warnings,exe,terminal,check,arraycheck
1 IMPLICIT NONE
2 CHARACTER*8,NAME
3 INTEGER I
4 OPEN(1,FILE='GEN_TEMP.PAR')
5 READ(1,'(A)')NAME
6 IF(NAME(8:8).EQ.' ')THEN
7 I = 7
8 ELSE
9 I = 8
10 ENDIF
11 CLOSE(1)
12 OPEN(1,FILE='DOC_1.BAT')
13 WRITE(1,'(A)')'E:'
14 WRITE(1,'(A)')'CD \\PROG'
15 WRITE(1,'(A)')'CALL HPGL '//NAME(:I)//'.1LD'
16 WRITE(1,'(A)')'CALL HPGL '//NAME(:I)//'.1PD'
17 WRITE(1,'(A)')'CALL PRT '//NAME(:I)//'.PAR'
18 WRITE(1,'(A)')'CALL PRT '//NAME(:I)//'.MPR'
19 WRITE(1,'(A)')'CD \\FS'
20 CLOSE(1)
21 STOP
22 END
Compile time: 00.38 Execution time: 00.00
Size of object code: 626 Number of extensions: 1
Size of local data area(s): 324 Number of warnings: 0
Size of global data area: 8 Number of errors: 0
Object/Dynamic bytes free: 352432/45530 Statements Executed: 0
I would like if possible to build the .exe files from the available source and check the programs works the same as the working copy.
If you have any advice to assist with:
1) Were to get a compiler from (programs to run in DOS)?
2) Should I remove all the block numbers created from the compiler list?
3) Were the source makes reference to the statment C$INCLUDE E:\\FS\\CLRSCREE.FOR should I create seperate source files to reference the inclusion file.
Thank you for any assistance
[/quote]