Apple FORTRAN: Installing and using on an Apple IIe

To install Apple FORTRAN on an Apple IIe with 2 drives and 64K, you will need the following diskettes.
1. FORTRAN diskettes:
a. FORT1:
b. FORT2:

2. Pascal diskettes:
a. APPLE1:
b. APPLE2:

Installing FORTRAN:

1. Put APPLE1: in drive 1 and FORT1: in drive 2.

2. Turn on the Apple.

3. When the command line comes up, type F for Filer.

4. Type T for Transfer to transfer the following files from APPLE1: to FORT1:.

Respond to the question Transfer what file?, by typing: APPLE1:?,FORT1:$

Answer Y to the question to transfer files:

SYSTEM.APPLE
SYSTEM.PASCAL
SYSTEM.MISCINFO

5. Leave APPLE1: in drive 1.

6. Replace FORT1: with FORT2: in drive 2.

7. Type T for Transfer to transfer the following files from APPLE1: to FORT2:.

Respond to the question Transfer what file?, by typing: APPLE1:?,FORT2:$

Answer Y to the question to transfer files:

SYSTEM.EDITOR
SYSTEM.FILER
SYSTEM.CHARSET

8. Leave FORT2: in drive 2.

9. Replace APPLE1: with APPLE2: in drive 1.

10. Type T for Transfer to transfer the following file from APPLE2: to FORT2:.

Respond to the question Transfer what file?, by typing: APPLE2:SYSTEM.LINKER,FORT2:$

11. Leave FORT2 in drive 2.

12. Replace APPLE2: with FORT1: in drive 1.

13. Type T for Transfer to transfer the following files between FORT2: and FORT1:.

Respond to the question Transfer what file?, by typing:

FORT2:SYSTEM.LIBRARY,FORT1:$
FORT1:FORTLIB.CODE,FORT2:$

14. At the conclusion of the transfer process, FORT1: and FORT2: should contain the following files:

a. FORT1:b. FORT2:You can check this by typing L for list, put FORT1: in drive 1 and FORT2: in drive 2.

Respond to the question Dir listing of what vol? by typing:
#4: (for drive 1)
#5: (for drive 2).

15. Make Backup diskettes. Refer to the Apple FORTRAN manual, page 159.

Using FORTRAN

1. Place FORT1: in disk drive #4: (slot 6, drive 1), and FORT2: in disk drive #5: (slot 6, drive 2).

Note: At this point that diskette FORT1: will always be your boot or system diskette.

2. Turn on your Apple.

3. When the command line appears, type E to select the Edit option.

4. When this message appears:

>EDIT
NO WORKFILE IS PRESENT. FILE? (<RET> FOR NO FILE <ESC-RET> TO EXIT)

Press RETURN for new file.

5. When this prompt line appears:

>EDIT: A(DJST C(PY D(LETE F(IND I(NSRT J(MP R(PLACE Q(UIT X(CHNG Z(AP

Type I for Insert.

6. When this prompt line appears: >INSERT: TEXT A CHAR, A LINEII ACCEPTS, ESCAPES]

Type in this demo program starting with the FORTRAN comment line:
C FORTAN DEMO.

The format, punctuation, and spelling must be exactly as shown. The indentation of the lines is important in FORTRAN. The indented lines must start in column seven. 1 2 123456789012345678901234 C FORTRAN DEMO DO 10 I = 1, 10 10 WRITE (*,'(I5)')I WRITE (*,'(I5)')I END

7. Type Control-C at end by holding down the control key first and typing C.

8. Type Q for Quit.

9. Type U to update the system work file

10. Now type R to Run the program

11. Respond to the question Listing File? by typing CONSOLE:

WARNING: If you are using Pascal 1.2, you will get an error message saying that the version numbers are incompatible. You must run the FORTRANFIX program.

To get the FORTRANFIX program, see the article FORTRAN: Using Fortran 1.0 with Pascal 1.2.

To use the FORTRANFIX program:

1. At the command line, type X for Execute.

2. Respond to the question, Execute what file? by typing

a. the volume name of the volume the program is on
b. one colon at the end of the volume name
c. the name of the program, FORTRANFIX
d. a carriage return

for example, FORT0:FORTRANFIX

3. Follow the directions as they appear on the console.
Published Date: Feb 19, 2012