HOME

TheInfoList



OR:

Altair BASIC is a discontinued interpreter for the
BASIC programming language BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College ...
that ran on the MITS
Altair 8800 The Altair 8800 is a microcomputer designed in 1974 by MITS and based on the Intel 8080 CPU. Interest grew quickly after it was featured on the cover of the January 1975 issue of Popular Electronics and was sold by mail order through advertiseme ...
and subsequent
S-100 bus The S-100 bus or Altair bus, IEEE 696-1983 ''(withdrawn)'', is an early computer bus designed in 1974 as a part of the Altair 8800. The bus was the first industry standard expansion bus for the microcomputer industry. computers, consisting of p ...
computers. It was
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washi ...
's first product (as Micro-Soft), distributed by MITS under a contract. Altair BASIC was the start of the
Microsoft BASIC Microsoft BASIC is the foundation software product of the Microsoft company and evolved into a line of BASIC interpreters and compiler(s) adapted for many different microcomputers. It first appeared in 1975 as Altair BASIC, which was the first ...
product range.


Origin and development

Bill Gates William Henry Gates III (born October 28, 1955) is an American business magnate and philanthropist. He is a co-founder of Microsoft, along with his late childhood friend Paul Allen. During his career at Microsoft, Gates held the positions ...
recalls that, when he and
Paul Allen Paul Gardner Allen (January 21, 1953 – October 15, 2018) was an American business magnate, computer programmer, researcher, investor, and philanthropist. He co-founded Microsoft Corporation with childhood friend Bill Gates in 1975, whic ...
read about the Altair in the January 1975 issue of ''
Popular Electronics ''Popular Electronics'' was an American magazine published by John August Media, LLC, and hosted at TechnicaCuriosa.com. The magazine was started by Ziff-Davis Publishing Company in October 1954 for electronics hobbyists and experimenters. It soo ...
'', they understood that the price of computers would soon drop to the point that selling
software Software is a set of computer programs and associated documentation and data. This is in contrast to hardware, from which the system is built and which actually performs the work. At the lowest programming level, executable code consist ...
for them would be a
profit Profit may refer to: Business and law * Profit (accounting), the difference between the purchase price and the costs of bringing to market * Profit (economics), normal profit and economic profit * Profit (real property), a nonpossessory inter ...
able business. "While walking through Harvard Square one day, Allen spotted the Popular Electronics cover that features the Altair. ... Allen ran to tell Bill that he thought their big break had finally come. Bill agreed." 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 questionable 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, in March 1975. 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 The Intel 8008 ("''eight-thousand-eight''" or "''eighty-oh-eight''") is an early byte-oriented microprocessor designed by Computer Terminal Corporation (CTC), implemented and manufactured by Intel, and introduced in April 1972. It is an 8-bit CP ...
emulator In computing, an emulator is hardware or software that enables one computer system (called the ''host'') to behave like another computer system (called the ''guest''). An emulator typically enables the host system to run software or use pe ...
for their previous venture, Traf-O-Data, that ran on a
PDP-10 Digital Equipment Corporation (DEC)'s PDP-10, later marketed as the DECsystem-10, is a mainframe computer family manufactured beginning in 1966 and discontinued in 1983. 1970s models and beyond were marketed under the DECsystem-10 name, espec ...
time-sharing In computing, time-sharing is the sharing of a computing resource among many users at the same time by means of multiprogramming and multi-tasking.DEC Timesharing (1965), by Peter Clark, The DEC Professional, Volume 1, Number 1 Its emergence ...
computer. Allen adapted this emulator based on the Altair programmer guide, and they developed and tested the interpreter on Harvard's PDP-10. Harvard officials were not pleased when they found out, but there was no written policy that covered the use of this computer. Gates and Allen bought computer time from a timesharing service in Boston to complete their BASIC program debugging. When fellow Harvard student Monte Davidoff stated he believed the system should use
floating-point arithmetic In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be ...
instead of the integer arithmetic of the original versions, and claimed he could write such a system that could still fit within the memory limits, they hired Davidoff to write the package. 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 Five- and eight-hole punched paper tape Paper tape reader on the Harwell computer with a small piece of five-hole tape connected in a circle – creating a physical program loop Punched tape or perforated paper tape is a form of data storage ...
that the Altair could read, and Paul Allen flew to
Albuquerque Albuquerque ( ; ), ; kee, Arawageeki; tow, Vakêêke; zun, Alo:ke:k'ya; apj, Gołgéeki'yé. abbreviated ABQ, is the most populous city in the U.S. state of New Mexico. Its nicknames, The Duke City and Burque, both reference its founding i ...
. While on final approach into the Albuquerque airport, Allen realized that they had forgotten to write a bootstrap program to read the tape into memory. Writing in 8080 machine language, Allen finished the program before the plane landed. 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 worked on the Altair hardware. Later, they made a bet on who could write the shortest bootstrap program, and Gates won.


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. The original version would retroactively be known as 4K BASIC when they added upgraded versions, including 8K BASIC, Extended BASIC, Extended ROM BASIC, and Disk BASIC. The smallest version, 4K BASIC, could run within a 4K RAM machine, leaving only about free for program code. In order to fit the language into such a small space, the 4K version lacked string manipulation and a number of common mathematical functions. These were added into the 8K BASIC version, which had string variables and manipulation functions, a larger set of math functions including RND for random numbers, Boolean operators, and PEEK and POKE. The 8K version is the basis for most versions of BASIC during the home computer era. Extended BASIC added PRINT USING and basic disk commands, while Disk BASIC further extended the disk commands to allow raw I/O. In October 1975, 4K BASIC sold for , 8K BASIC for , and Extended BASIC for (, , and , respectively). The prices were discounted to , , and respectively for those who purchased "8K of Altair memory, and an Altair I/O board". The language versions were distributed on paper tape or cassette tape. As they expected, the Altair was very popular with hobbyists such as the
Homebrew Computer Club The Homebrew Computer Club was an early computer hobbyist group in Menlo Park, California, which met from March 1975 to December 1986. The club had an influential role in the development of the microcomputer revolution and the rise of that asp ...
. Altair BASIC, as MITS' 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 Theft is the act of taking another person's property or services without that person's permission or consent with the intent to deprive the rightful owner of it. The word ''theft'' is also used as a synonym or informal shorthand term for som ...
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' surprise, decided in favor of Microsoft based on MITS failure to market the software with their "best efforts". BASIC interpreters remained the core of Microsoft's business until the early 1980s, when it shifted to
MS-DOS MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few o ...
.


References


Further reading

* * * Cringely, Robert X. '' Triumph of the Nerds''. PBS, 1996. *


External links


Altair BASIC 3.2 (4K) - Annotated Disassembly

Altair BASIC 3.2 (4K) - Annotated Disassembly

Altair BASIC 3.2 (4K) - Annotated Disassembly


compiled by Reuben Harris and archived at archive.org

Interview with Bill Gates, Interviewer: David Allison (DA), Division of Computers, Information, & Society, National Museum of American History, Smithsonian Institution
History of Microsoft Video: Bill Gates Talks about Altair Basic
(Lisa Feigenbaum) 24 Jun 2009, The Visual Basic Team, MSDN Blogs {{BASIC 1975 software Discontinued Microsoft BASICs BASIC programming language family Microsoft programming languages