Apple DOS - Technical Details - Integer BASIC and Applesoft Floating Point BASIC Support

Integer BASIC and Applesoft Floating Point BASIC Support

The Apple II started out using a simple BASIC interpreter known originally as Apple BASIC and later as Integer BASIC. It could only handle integer numbers ranging from -32768 to 32767 and only had built-in support for low-resolution graphics. But it was the first version of BASIC available for the Apple II and is what the earliest BASIC programs used.

Only months after the Apple II's release, Apple commissioned Microsoft to develop a much more capable interpreter known as Applesoft BASIC, capable of handling floating-point real numbers with up to nine digits of precision and base 10 multipliers from -38 to +38, and with support for high-resolution graphics. While more capable, Applesoft could not run Integer BASIC programs, causing some users to resist upgrading to it.

DOS 3.3 was released when Applesoft BASIC was standard in ROM on the Apple II Plus, so Apple designed it to support switching back and forth between the two BASIC interpreters. The DOS 3.3 System Master disk contained Integer BASIC and Applesoft on disk as a binary files which could be loaded into RAM, allowing whichever language was not resident in ROM to be used on any machine with enough RAM. The user could switch between BASICs by typing either FP or INT at either BASIC prompt. DOS automatically chose the needed language when running a saved program. Applesoft programs were saved as type A files, while Integer BASIC programs were saved as type I files.

Read more about this topic:  Apple DOS, Technical Details

Famous quotes containing the words basic, floating, point and/or support:

    It is a strange fact that freedom and equality, the two basic ideas of democracy, are to some extent contradictory. Logically considered, freedom and equality are mutually exclusive, just as society and the individual are mutually exclusive.
    Thomas Mann (1875–1955)

    The true reformer does not want time, nor money, nor coöperation, nor advice. What is time but the stuff delay is made of? And depend upon it, our virtue will not live on the interest of our money. He expects no income, but outgoes; so soon as we begin to count the cost, the cost begins. And as for advice, the information floating in the atmosphere of society is as evanescent and unserviceable to him as gossamer for clubs of Hercules.
    Henry David Thoreau (1817–1862)

    Parents who want a fresh point of view on their furniture are advised to drop down on all fours and accompany the nine or ten month old on his rounds. It is probably many years since you last studied the underside of a dining room chair. The ten month old will study this marvel with as much concentration and reverence as a tourist in the Cathedral of Chartres.
    Selma H. Fraiberg (20th century)

    ... the outcome of the Clarence Thomas hearings and his subsequent appointment to the Supreme Court shows how misguided, narrow notions of racial solidarity that suppress dissent and critique can lead black folks to support individuals who will not protect their rights.
    bell hooks (b. c. 1955)