Science Fair Projects Ideas - Apple Pascal

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Apple Pascal

Apple Pascal refers to an operating system for the Apple II family of computers released in August of 1979 between the Apple DOS 3.2 and 3.3 versions. The system was included as part of a software/hardware package adding support for the Pascal language to the Apple II. It added a number of features that would later be incorporated into the 3.3 version, as well as others that would not be seen again until the introduction of ProDOS.

The biggest changes were to the disk format and file storage methods, as Apple Pascal was designed to take advantage of 140K 5.25" floppy disks. Instead of dividing the disk into 256-byte sectors as with DOS 3.2, Apple Pascal divided it into "blocks" of 512 bytes each, each block thus contained two sectors. This made for 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. This caused larger files to become fragmented and slowed down access to the disk when loading and saving. Apple Pascal attempted to rectify this by saving only to consecutive blocks on the disk.

Drawbacks included the new limitations on the naming of files. While 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. This was done to create a cleaner look to the disk's catalog, or file listing, as shorter filenames would minimize the "wrap-around" on the screen. As most Apple displays at the time were only 40 characters wide, the filename limitations were not seen as that great a drawback.

The consecutive file saving method also created some problems. Deleted filespace could not be used if it was not at the "end" of the disk (after the most recently-saved file). A utility, charmingly called Krunch, was included in the package to "clean up" the disk by moving files until they were all consecutively stored again.

The advantages though, were significant, aside from just the increase in disk access speed. Apple Pascal increased the number of supported file types from the original eight by introducing a two-byte code to indicate type. A timestamp feature was also added, indicating the date and time of a file's creation or last modification. This data would then be shown on a line with the filename by the CATalog command. Previously only a file's name, basic type, and size would be shown. Strangely enough, the timestamp feature was not made a part of the later DOS 3.3.

Disks could also be named for the first time. Under Apple DOS, disks could only be given a volume number, but Apple Pascal disk volume names could be up to seven characters in length.

The Apple Pascal software package also included disk maintenance utilities, the Pascal compiler (set to the UCSD standard), and a decently-featured assembler to complement the Apple II's built-in "monitor" assembler.

03-10-2013 05:06:04
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice