Tuesday, November 1, 2022

Apple IIe - Apple Pascal 1.3 - Setup & Configuration

My notes for setting up Apple Pascal 1.3 on an Apple IIe with two 5 1/4" disk ][ drives.

Download disk images for the four Apple Pascal 1.3 disks. I went here https://mirrors.apple2.org.za/Apple%20II%20Diskware/Pascal/

The following was a "good enough" reference. It required jumping around a bit to understand the command structure. https://archive.org/details/apple-ii-pascal-1.3. The following description of the four disks was found in this reference.

APPLE0: contains all the files needed to edit and run Pascal programs, especially on a one-drive system; it includes SYSTEM.COMPILER, but not SYSTEM.APPLE, which is needed to start up the system. This is the second of two disks used for a two-stage boot on a one-drive system. 

APPLEl: contains all the files you need to edit text and to start up the system. It is used in conjunction with the APPLE2: disk to compile or run Pascal programs. 

APPLE2: contains the Compiler, Linker, Assembler, and other program development tools. It is used for program development. 

APPLE3: contains SYSTEM.APPLE, the Formatter program, several other utility programs, a few demonstration programs for the general user, and the 128K.APPLE and 128K.PASCAL files needed to use additional memory. It also contains the .MISCINFO files needed for use on an Apple II or II Plus. This is the first of two disks used for a two-stage boot. 

First, create the four floppy disks needed for Apple Pascal 1.3. This proved to be harder than I thought. ATDPro was too picky about audio levels to work. I ended up using the command line program c2t used by X found on GitHub here https://github.com/datajerk/c2t. I converted the disk images to low bit rate wave files and moved them to the Apple II using the "LOAD" command.

Once I had all four disks (named "APPLE0",  "APPLE1", "APPLE2", and "APPLE3"), I inserted disk APPLE1 into drive 1 and booted.

I was greeted with this screen:

Command: F(ile, E(dit, R(un, C(omp, L(ink, X(ecute, A(ssem, ? [1.3]


Welcome APPLE1, to Apple II Pascal 1.3

Based on UCSD Pascal II.1

Current date is 10-Apr-90

Pascal system size is 68K


Copyright Apple Computer 1970,1980,1983,1984,1985

Copyright U.C. Regents 1979


My Apple IIe has the 80 column 64K expansion card, so the first thing I did was duplicate the APPLE1 disk and modify it to support 128K. 

First, you need to format a disk. 

  1. Insert disk APPLE3 into drive 1.
  2. Insert an unformatted disk into drive 2.
  3. Type "X" to start the execute command.
  4. At the prompt "Execute what file ?", type "APPLE3:FORMATTER" and press Enter.
  5. At the prompt "Format which volume # ? (4, 5, 9..12, <esc> to exit) ==>", type "#5" and press Enter for the second drive. 
  6. At the prompt, "Enter new volume name for this disk. (<ret> for default name of BLANK:, <esc> to exit) ==>", press Enter.
  7. Press ESC to return to the command line.
Then you will need to transfer disk APPLE1 to the newly formatted disk.
  1. Insert disk APPLE1 into drive 1.
  2. Insert the formatted blank disk into drive 2. 
  3. Type "F" to enter Filer from the command line.
  4. Type "T" to enter Transfer from the command line. 
  5. At the prompt "Transfer what file?", type "APPLE1:" and press Enter.
  6. At the prompt "To where?", type "#5" and press Enter.
  7. At the prompt, "Transfer 280 blocks ? (Y/N)", type "Y" and press Enter.
Now, copy the files 128K.SYSTEM and 128K.PASCAL from APPLE3 to APPLE1 overwriting SYSTEM.APPLE and SYSTEM.PASCAL respectively. 
  1. Insert disk APPLE1 into drive 1.
  2. Insert disk APPLE3 into drive 2.
  3. Type "F" to enter Filer from the command line.
  4. Type "T" to enter Transfer from the command line.
  5. At the prompt "Transfer what file?", type "APPLE3:128K.SYSTEM" and press Enter.
  6. At the prompt "To where?", type "APPLE1:SYSTEM.APPLE" and press Enter.
  7. At the prompt "Delete APPLE1:SYSTEM.APPLE", type "Y" and press Enter.
  8. Repeat steps 5 and 6 for SYSTEM.PASCAL.
Remove disk APPLE3 and reboot. You should now see the start up screen with the following:

Pascal system size is 128K

1 comment: