Apple Pascal
Template:Short description {{ safesubst:#invoke:Unsubst||date=__DATE__|$B= Template:Main other {{#invoke:Infobox|infobox}}Template:Template other}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox OS with unknown parameter "_VALUE_"|ignoreblank=y| | bodystyle | caption | collapsible | developer | discontinued | family | first release date | first_release_date | GA date | GA url | GA_date | GA_url | human language | human_language | influenced | influenced by | influenced_by | instruction set | instruction sets | instruction_set | instruction_sets | kernel type | kernel_type | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | license | logo | logo alt | logo caption | logo size | logo_alt | logo_caption | logo_size | marketing target | marketing_target | name | native_name | native_name_lang | other articles | other_articles | package manager | package_manager | preceded by | preceded_by | preview date | preview url | preview version | preview_date | preview_url | preview_version | prog language | prog_language | programmed in | programmed_in | release date | release url | release version | release_date | release_url | release_version | released | repo | RTM date | RTM url | RTM_date | RTM_url | screenshot | screenshot_alt | screenshot_size | source model | source_model | succeeded by | succeeded_by | support status | support_status | supported platforms | supported_platforms | tagline | title | ui | update model | update_model | updatemodel | userland | version of | version_of | website | working state | working_state}}
Apple Pascal is an implementation of Pascal for the Apple II and Apple III computer series, based on UCSD Pascal.[1] Just like other UCSD Pascal implementations, it runs on its own operating system (Apple Pascal Operating System,[2] a derivative of UCSD p-System with graphical extensions).
Originally released for the Apple II in August 1979, just after Apple DOS 3.2, Apple Pascal pioneered features that were 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,[3] and an assembler[4] meant to complement Apple's built-in "monitor" assembler. A FORTRAN compiler (written by Silicon Valley Software of Sunnyvale, California) compiling to the same p-code as Pascal was also available.[5]
Comparison of Pascal OS with DOS 3.2
Apple Pascal Operating System introduced a new disk format.[6] Instead of dividing the disk into 256-byte sectors as in DOS 3.2, Apple Pascal divides it into "blocks" of 512 bytes each.[7] 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 file system fragmentation, slowing access to the disk. Apple Pascal attempted to rectify this by saving only to consecutive blocks on the disk.[8]
Other innovations introduced in the file system included the introduction of a timestamp feature. Previously only a file's name, basic type, and size would be shown. Disks could also be named for the first time.[9]
Limitations of the p-System included new restrictions on the naming of files.[10]
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.[11]
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 | Date | OS |
|---|---|---|
| Apple II | 1979 | Apple Pascal 1.0 |
| 1980 | Apple Pascal 1.1 | |
| 1983 | Apple Pascal 1.2 | |
| 1985 | Apple Pascal 1.3 | |
| Apple III | 1981[12] | Apple Pascal 1.0 |
| 1983[13] | Apple Pascal 1.1 |
Sources
Notes
External links
- The History of Apple's Pascal "Syntax" Poster, 1979-80.
- Pascal Syntax Poster Template:Webarchive
Template:Pascal programming language family
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ Apple Pascal was designed to take advantage of the then new 140K 5.25" floppy disks.
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ 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 Template:Harvnb
- ↑ 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 Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Harvnb