Apple Pascal

Apple Pascal is an implementation of Pascal for the Apple II and III computer series. It is based on .Apple (1980), p.248
Just like other UCSD Pascal implementations, it ran on its own operating system (Apple Pascal Operating System, a derivative of UCSD p-System with graphical extensions).Apple (1980), p.2What was the point of Apple Pascal having its own file system? by bjb, StackExchange. 2017-08-31.
Originally released for the Apple II in August 1979, just after Apple DOS 3.2, Apple Pascal pioneered a number of features that would later be incorporated into DOS 3.3, as well as others that would not be seen again until the introduction of ProDOS.
The Apple Pascal software package also included disk maintenance utilities,Apple (1980), p.183 and an assembler meant to complement Apple's built-in "monitor" assembler.Apple (1980), p.134 Silicon Valley Software of Sunnyvale, California developed a compiler for Apple by that generated the same as Apple Pascal.
==Description==
Apple Pascal Operating System introduced a new disk format.Apple Pascal was designed to take advantage of the then new 140K 5.25" floppy disks. Instead of dividing the disk into 256-byte sectors as in DOS 3.2, Apple Pascal divides it into "blocks" of 512 bytes each.Apple (1980), p.25 The p-System also introduced a different method for saving and retrieving files. Under Apple DOS, files were saved to any available sector that the OS could find, regardless of location. Over time, this could lead to , slowing access to the disk. Apple Pascal attempted to rectify this by saving only to consecutive blocks on the disk.Apple (1981), p.162
Other innovations introduced in the file system included the introduction of a feature. Previously only a filename, basic type, and size would be shown. Disks could also be named for the first time.Under Apple DOS, disks can only be given a volume number. Apple Pascal disk volume names can be up to seven characters in length. See Apple (1980), p.27 
Limitations of the p-System included new restrictions on the naming of files.Apple DOS allowed filenames up to thirty characters long and any ASCII character could be used, Apple Pascal dropped the length to fifteen characters and allowed only letters, numbers and periods to be used. See Apple (1980), p.30 Writing files only on consecutive blocks also created problems, because over time free space tended to become too fragmented to store new files. A utility called Krunch was included in the package to consolidate free space.Apple (1980), p.49
The biggest problem with the Apple Pascal system was that it was too big to fit on one floppy disk. This meant that on a system with only one floppy disk drive, frequent disk swapping was needed. A system needed at least two disk drives in order to use the operating system properly.
===Release history===
Platform 	Version 	Date 	Notes
Apple II 	Apple Pascal 1.0	1979-08 	
Apple II 	Apple Pascal 1.1 	1980 	
Apple II 	Apple Pascal 1.2 	1983 	
Apple II 	Apple Pascal 1.3 	1985 	
Apple III	Apple Pascal 1.0 	1981Apple (1981), p.I	
Apple III	Apple Pascal 1.1 	1983Apple (1983), p.I	
==Sources==
*
*
*
===Notes===
==External links ==
*Apple Pascal by Hans Otten at Pascal for small machines
* at Wikipedia
===Articles===
*Pascal Syntax Poster by Jef Raskin at Pascal Central (2004-10-08, archived 2004-10-13)
*The History of Apple’s Pascal “Syntax” Poster, 1979-80 by Lucas Wagner and Jef Raskin at VintageComputer.ca (2018-09-18)
===Books===
*Apple II: Apple Pascal Language Reference Manual (PDF), Apple Computer. 1980.
Category:Discontinued Apple software
Category:Operating systems
Category:Programming languages
Category:1979 introductions