apple
A  containing Apple BASIC for the  computer

A cassette tape containing Apple BASIC for the Apple I computer

Integer BASIC, also called Apple BASIC, was an early BASIC interpreter created by Steve Wozniak for the Apple I computer and the original release of the Apple II computer.

History

The_Celebration_Apple-1_BASIC_Cassette_Tape

The Celebration Apple-1 BASIC Cassette Tape

After working on the video game hardware of Breakout with Steve Jobs at Atari in 1975,[1] Wozniak started work on Game BASIC so he could write games in software without resorting to machine language. Wozniak assembled folders of papers for his BASIC design, which was based on a dialect developed for minicomputers by Hewlett-Packard, where Wozniak worked at the time.[2] Wozniak designed the Apple I around this implementation of BASIC,[3] but was unable to afford a compiler at the time, so he hand assembled the instructions which he coded directly into machine language for the MOS 6502 processor.[4] The first program that Wozniak tested on the Apple I's BASIC interpreter was an early Star Trek text game; the source code had already been ported to HP BASIC for the HP 2000C minicomputer.[5]

Preliminary Apple BASIC users manual, dated October 1976

Preliminary Apple BASIC users manual, dated October 1976

In 1976, Apple BASIC was provided to Apple I owners on a cassette tape that took about 30 seconds to load.[6] Because the standard configuration of the Apple I only contained 4KB of RAM, Wozniak did not have enough room to implement floating-point instructions,[4] which he said also saved himself a few weeks' worth of development time.[2] As games at the time mainly relied on integer functions, he implemented a small virtual machine called "Sweet 16" to support 16-bit integers.[3] However, it was not compatible with the dialect of Microsoft BASIC that Bill Gates had based on Digital Equipment Corporation's BASIC-PLUS.[2]

Apple BASIC was included directly in the ROM of the Apple II computer, released in 1977.[3] Because scientific users requested floating-point support,[4] Wozniak included routines that could be called from the ROMs, but did not have time to integrate them into his Apple BASIC interpreter,[2] which he considered to be the most challenging part of designing the Apple I and II computers. Apple Computer then turned to Microsoft to adapt their version of BASIC, which supported floating-point instructions, into Applesoft BASIC.[4]

References

  1. A Breakout Story by Ethan Johnson, The History of How We Play. 2018-12-29.
  2. 2.0 2.1 2.2 2.3 How Steve Wozniak Wrote BASIC for the Original Apple From Scratch by Steve Wozniak, Gizmodo. 2014-05-01.
  3. 3.0 3.1 3.2 Integer BASIC, MEMIM Encyclopedia. Accessed 2020-02-15.
  4. 4.0 4.1 4.2 4.3 Restoring Woz's Original Apple BASIC by James Grahame, Retro Thing. 2008-07-16.
  5. Steve Wozniak: Star Trek Inspired The Founding Of Apple, TrekMovie.com. 2017-04-20.
  6. Apple BASIC by Tom Owad, Apple Fritter. 2004-05-27.

External links

IPod Nano 6 This article is a semistub. You can help by expanding it with some more information.