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:

    Not many appreciate the ultimate power and potential usefulness of basic knowledge accumulated by obscure, unseen investigators who, in a lifetime of intensive study, may never see any practical use for their findings but who go on seeking answers to the unknown without thought of financial or practical gain.
    Eugenie Clark (b. 1922)

    Here undoubtedly lies the chief poetic energy:Min the force of imagination that pierces or exalts the solid fact, instead of floating among cloud-pictures.
    George Eliot [Mary Ann (or Marian)

    The realization that he is white in a black country, and respected for it, is the turning point in the expatriate’s career. He can either forget it, or capitalize on it. Most choose the latter.
    Paul Theroux (b. 1941)

    Because the young child feels with such intensity, he experiences sorrows that seem inconsolable and losses that feel unbearable. A precious toy gets broken or a good-bye cannot be endured. When this happens, words like “sad” or “disappointed” seem a travesty because they cannot possibly capture the enormity of the child’s loss. He needs a loving adult presence to support him in his pain but he does not want to be talked out of it.
    Alicia F. Lieberman (20th century)