Altair BASIC

Last updated
Original author(s) Micro-Soft
Developer(s)
Initial release2.0 (4K and 8K editions) July 1, 1975;48 years ago (1975-07-01) [3] [4] [5] [6]
Stable release
5.0 / 14 July 1978;45 years ago (1978-07-14)
Platform Altair 8800
Type Microsoft BASIC

Altair BASIC is a discontinued 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.

Contents

Origin and development

Bill Gates recalls that, when he and Paul Allen read about the Altair in the January 1975 issue of 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. [7] 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 emulator for their previous venture, Traf-O-Data, that ran on a PDP-10 time-sharing 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. [8] 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 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 that the Altair could read, and Paul Allen flew to Albuquerque.

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. [9] [10]

Versions and distribution

Altair 8K BASIC on paper tape Altair BASIC Paper Tape.jpg
Altair 8K BASIC on paper tape

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 790 bytes 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. [11] [12]

In October 1975, 4K BASIC sold for $150, 8K BASIC for $200, and Extended BASIC for $350 (equivalent to $849in 2023, equivalent to $1,132in 2023, and equivalent to $1,982in 2023, respectively). The prices were discounted to $60, $75, and $150 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. [13]

As they expected, the Altair was very popular with hobbyists such as the Homebrew Computer Club. 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 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". [14] BASIC interpreters remained the core of Microsoft's business until the early 1980s, when it shifted to MS-DOS.

Related Research Articles

Tiny BASIC is a family of dialects of the BASIC programming language that can fit into 4 or fewer KBs of memory. Tiny BASIC was designed by Dennis Allison and the People's Computer Company (PCC) in response to the open letter published by Bill Gates complaining about users pirating Altair BASIC, which sold for $150. Tiny BASIC was intended to be a completely free version of BASIC that would run on the same early microcomputers.

<span class="mw-page-title-main">Homebrew Computer Club</span> Computer hobbyist users group in California

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 aspect of the Silicon Valley information technology industrial complex.

<span class="mw-page-title-main">Altair 8800</span> Microcomputer designed in 1974

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 advertisements there, in Radio-Electronics, and in other hobbyist magazines. According to Harry Garland, the Altair 8800 was the product that catalyzed the microcomputer revolution of the 1970s. It was the first commercially successful personal computer. The computer bus designed for the Altair was to become a de facto standard in the form of the S-100 bus, and the first programming language for the machine was Microsoft's founding product, Altair 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 version of BASIC published by Microsoft as well as the first high-level programming language available for the Altair 8800 microcomputer.

<span class="mw-page-title-main">Kansas City standard</span> Data storage standard

The Kansas City standard (KCS), or Byte standard, is a data storage protocol for standard cassette tapes at 300 bits per second. It originated in a symposium sponsored by Byte magazine in November 1975 in Kansas City, Missouri to develop a standard for the storage of digital microcomputer data on inexpensive consumer quality cassettes. The first systems based on the standard appeared in 1976.

<span class="mw-page-title-main">SWTPC</span> Defunct US electronic kit and computer producer

Southwest Technical Products Corporation, or SWTPC, was an American producer of electronic kits, and later complete computer systems. It was incorporated in 1967 in San Antonio, Texas, succeeding the Daniel E. Meyer Company. In 1990, SWTPC became Point Systems, before ceasing a few years later.

"An Open Letter to Hobbyists" is a 1976 open letter written by Bill Gates, the co-founder of Microsoft, to early personal computer hobbyists, in which Gates expresses dismay at the rampant software piracy taking place in the hobbyist community, particularly with regard to his company's software.

<span class="mw-page-title-main">History of computing hardware (1960s–present)</span>

The history of computing hardware starting at 1960 is marked by the conversion from vacuum tube to solid-state devices such as transistors and then integrated circuit (IC) chips. Around 1953 to 1959, discrete transistors started being considered sufficiently reliable and economical that they made further vacuum tube computers uncompetitive. Metal–oxide–semiconductor (MOS) large-scale integration (LSI) technology subsequently led to the development of semiconductor memory in the mid-to-late 1960s and then the microprocessor in the early 1970s. This led to primary computer memory moving away from magnetic-core memory devices to solid-state static and dynamic semiconductor memory, which greatly reduced the cost, size, and power consumption of computers. These advances led to the miniaturized personal computer (PC) in the 1970s, starting with home computers and desktop computers, followed by laptops and then mobile computers over the next several decades.

<i>Hackers: Heroes of the Computer Revolution</i> 1984 non-fiction book by Steven Levy

Hackers: Heroes of the Computer Revolution (ISBN 0-385-19195-2) is a book by Steven Levy about hacker culture. It was published in 1984 in Garden City, New York by Doubleday. Levy describes the people, the machines, and the events that defined the Hacker culture and the Hacker Ethic, from the early mainframe hackers at MIT, to the self-made hardware hackers and game hackers.

Micro Instrumentation and Telemetry Systems (MITS) was an American electronics company founded in Albuquerque, New Mexico that began manufacturing electronic calculators in 1971 and personal computers in 1975.

Pertec Computer Corporation (PCC), formerly Peripheral Equipment Corporation (PEC), was a computer company based in Chatsworth, California which originally designed and manufactured peripherals such as floppy drives, tape drives, instrumentation control and other hardware for computers.

<span class="mw-page-title-main">Ed Roberts (computer engineer)</span> American engineer, entrepreneur and doctor

Henry EdwardRoberts was an American engineer, entrepreneur and medical doctor who invented the first commercially successful personal computer in 1974. He is most often known as "the father of the personal computer." He founded Micro Instrumentation and Telemetry Systems (MITS) in 1970 to sell electronics kits to model rocketry hobbyists, but the first successful product was an electronic calculator kit that was featured on the cover of the November 1971 issue of Popular Electronics. The calculators were very successful and sales topped one million dollars in 1973. A brutal calculator price war left the company deeply in debt by 1974. Roberts then developed the Altair 8800 personal computer that used the new Intel 8080 microprocessor. This was featured on the cover of the January 1975 issue of Popular Electronics, and hobbyists flooded MITS with orders for this $397 computer kit.

Electric Pencil, released in December 1976 by Michael Shrayer, was the first word processor for home computers.

<span class="mw-page-title-main">Processor Technology</span> Personal computer company, founded 1975

Processor Technology Corporation was a personal computer company founded in April 1975, by Gary Ingram and Bob Marsh in Berkeley, California. Their first product was a 4K byte RAM board that was compatible with the MITS Altair 8800 computer but more reliable than the MITS board. This was followed by a series of memory and I/O boards including a video display module.

<span class="mw-page-title-main">History of personal computers</span> History of the consumer personal computer

The history of the personal computer as a mass-market consumer electronic device began with the microcomputer revolution of the 1970s. A personal computer is one intended for interactive individual use, as opposed to a mainframe computer where the end user's requests are filtered through operating staff, or a time-sharing system in which one large processor is shared by many individuals. After the development of the microprocessor, individual personal computers were low enough in cost that they eventually became affordable consumer goods. Early personal computers – generally called microcomputers – were sold often in electronic kit form and in limited numbers, and were of interest mostly to hobbyists and technicians.

<span class="mw-page-title-main">Heathkit H8</span> 1970s microcomputer

Heathkit's H8 is an Intel 8080A-based microcomputer sold in kit form starting in 1977. The H8 is similar to the S-100 bus computers of the era, and like those machines is often used with the CP/M operating system on floppy disk.

In computing, Microsoft Binary Format (MBF) is a format for floating-point numbers which was used in Microsoft's BASIC languages, including MBASIC, GW-BASIC and QuickBASIC prior to version 4.00.

<span class="mw-page-title-main">Cromemco Bytesaver</span>

The Bytesaver, introduced by Cromemco in 1976, was the first programmable memory board for the MITS Altair and S-100 bus microcomputer systems. The Bytesaver had sockets for 8 UV-erasable EPROMs providing up to 8 Kbytes of storage. The EPROMs could be programmed by the Bytesaver, or read as computer memory. In the history of microcomputer systems, the Bytesaver was the first viable alternative to the use of punched paper tape for storing programs, and has been called “a great advance in microcomputer technology”.

<span class="mw-page-title-main">BASIC interpreter</span> Interpreter that enables users to enter and run programs in the BASIC language

A BASIC interpreter is an interpreter that enables users to enter and run programs in the BASIC language and was, for the first part of the microcomputer era, the default application that computers would launch. Users were expected to use the BASIC interpreter to type in programs or to load programs from storage.

References

  1. Raiders of the Lost Altair BASIC Source Code, Andrew Orlowski, 13 May 2001, The Register
  2. Altair 8800 BASIC Reference_Manual 1975, Page 3 of PDF, ...and the joint authors of the ALTAIR BASIC interpreter, Bill Gates, Paul Allen and Monte Davidoff, will be glad to assist you.
  3. Microsoft Fast Facts: 1975, Posted May 9, 2000, Bill Gates and Paul Allen complete BASIC and license it to their first customer, MITS of Albuquerque, N.M., the manufacturer of the Altair 8800 personal computer. This is the first computer language program written for a personal computer., Gates and Allen’s BASIC officially ships as version 2.0 in both 4K and 8K editions.
  4. microsoft's timeline from 1975 - 1990 Archived 2008-05-14 at the Wayback Machine , July 1, Bill Gates' and Paul Allen's BASIC officially ships as version 2.0 in both 4K and 8K editions.
  5. Computer_Notes 1975 01 05, Page 14, ALTAIR BASIC, CLAIM: Not just anybody's BASIC, FACT: Not just anybody's BASIC, BY: KEITH BRITTON, ROBERT MULLEN, Altair BASIC version 2.0 had a serious problem in that a jump out of a FOR.... NEXT loop left garbage on the stack. . Do this too often and the stack would grow relentlessly down from high memory until it ate the program. This has been fixed in version 3.0, according to Paul Allen
  6. Computer_Notes 1975 01 05, Page 15, Advert: Altair BASIC]
  7. Freiberger, Paul; Swaine, Michael (2000). Fire in the Valley: The Making of the Personal Computer. New York, NY: McGraw-Hill. p.  53. ISBN   0-07-135892-7. "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."
  8. Wallace, James; Jim Erickson (1992). Hard Drive: Bill Gates and the Making of the Microsoft Empire. John Wiley & Sons. pp.  81–83. ISBN   0-471-56886-4.
  9. "We have a BASIC". New Mexico Museum of Natural History and Science. Archived from the original on March 23, 2012. Retrieved 2007-04-18.
  10. Wallace, James; Jim Erickson (1992). Hard Drive: Bill Gates and the Making of the Microsoft Empire. John Wiley & Sons. p.  78. ISBN   0-471-56886-4.
  11. "4 Altair Language Systems". Altair BASIC.
  12. Altair BASIC (PDF). MITS. 25 August 1975.
  13. Altair Basic for the 6800 Archived 7 February 2020 at the Wayback Machine , In January 1978 I purchased Altair 680 Basic from Computer Kits in Berkeley CA. I paid full price, $200, I didn't want Bill Gates to go broke. If you bought an Altair 680B kit with 16 K of RAM for $685 you would get BASIC for free., Michael Holley's SWTPC Collection Home Page
  14. Allen, Paul (2011). Idea Man: A Memoir by the Cofounder of Microsoft . New York: Penguin Group. p. 107. ISBN   978-1-59184-537-9. MITS/Pertec 'materially breached its best efforts obligation...'

Further reading