Altair BASIC
From Wikipedia, the free encyclopedia
Altair BASIC was an interpreter for the BASIC programming language that ran on the MITS Altair 8800 and subsequent S-100 bus computers. It was Microsoft's first product (as Micro-Soft), distributed by MITS under a contract. Altair BASIC was the start of the Microsoft BASIC product range.
[edit] Origin and development
Bill Gates recalls that when he and Paul Allen read about the Altair in Popular Electronics, they understood that the price of computers would soon drop to the point that selling software for them would be a profitable business. Gates believed that by providing a BASIC interpreter for the new computer they could make it more attractive to hobbyists. They contacted MITS founder Ed Roberts, told him that they were developing an interpreter, and asked whether he would like to see a demonstration. This followed the common engineering industry practice of a trial balloon, an announcement of a non-existent product to gauge interest. Roberts agreed to meet them for a demonstration in a few weeks.
Gates and Allen had neither an interpreter nor even an Altair system on which to develop and test one. However, Allen had written an Intel 8008 emulator for their previous venture, Traf-O-Data, that ran on a PDP-10 minicomputer. He adapted this emulator based on the Altair programmer guide, and they developed and tested the interpreter on Harvard's PDP (in possible violation of school policies). They hired Harvard student Monte Davidoff to write floating-point arithmetic routines for the interpreter, a feature not available in many of its competitors. The finished interpreter, including its own I/O system and line editor, fit in only four kilobytes of memory, leaving plenty of room for the interpreted program. In preparation for the demo, they stored the finished interpreter on a punched tape that the Altair could read and flew to Albuquerque. While on the plane they each wrote a bootstrap program to read the tape into memory, competing to see who could make it shortest. Only when they loaded the program onto an Altair and saw a prompt asking for the system's memory size did Gates and Allen know that their interpreter actually worked on the real hardware.
[edit] Versions and distribution
Roberts agreed to distribute the interpreter. He also hired Gates and Allen to maintain and improve it, causing Gates to take a leave of absence from Harvard. They produced several versions: the original 4K BASIC and later 8K BASIC, Extended Basic, Extended ROM BASIC, and Disk BASIC. As they expected, the Altair was very popular with hobbyists such as the Homebrew Computer Club. Altair BASIC, as MITS's preferred BASIC interpreter, was also popular. However, the hobbyists took a "share-alike" approach to software and thought nothing of copying the BASIC interpreter for other hobbyists. Homebrew member Dan Sokol was especially prolific; after somehow obtaining a pre-market tape of the interpreter, he made 25 copies and distributed them at the next Homebrew meeting, urging recipients to make more copies. Gates responded in 1976 with a strongly-worded Open Letter to Hobbyists that accused the copiers of theft and declared that he could not continue developing computer software that people did not pay for. Many hobbyists reacted defensively to the letter.
Under the terms of the purchase agreement, MITS would receive the rights to the interpreter after it had paid a certain amount in royalties. However, Microsoft had developed versions of the interpreter for other systems such as the Motorola 6800. When they decided to leave MITS, a dispute arose over whether the full amount had been paid and whether the agreement applied to the other versions. Microsoft and MITS took the dispute to an arbitrator, who much to Roberts's surprise decided in favor of Microsoft. BASIC interpreters remained the core of Microsoft's business until the early 1980s, when it shifted to MS-DOS.
[edit] Further reading
- Frieberger, Paul, and Michael Swaine. Fire in the Valley: The Making of the Personal Computer. ISBN 0-07-135892-7.
- Gates, Bill, Nathan Myhrvold, and Peter Rinearson. The Road Ahead. ISBN 0-670-77289-5.