Microsoft BASIC

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Microsoft BASIC
Designed by Microsoft
Developer Microsoft
Appeared in 1975 (cf. Altair BASIC)
Stable release cf. Visual Basic .NET / 2012

Microsoft BASIC was the foundation product of the Microsoft company. It first appeared in 1975 as Altair BASIC, which was the first BASIC by Microsoft and the first high level programming language available for the Altair 8800 microcomputer.

Altair BASIC and early microcomputers[edit]

The Altair BASIC interpreter was developed by Microsoft founders Paul Allen and Bill Gates with help from Monte Davidoff, using a self made Intel 8080 software simulator running on a PDP-10 minicomputer.[1] The dialect of BASIC was similar to Digital Equipment Corporation interpreters, especially in string operations, which varied between BASIC implementations. BASIC used dynamically allocated strings which stored their size. Early BASIC only supported single letter and digit names, but Microsoft BASIC supported long variable names. Only two characters were significant though; AD, ADDRESS1, and ADDRESS2 would all point to the same value. The runtime symbol table used a linear search so that a program which used many distinct variables would run much slower than a program which used a single array for all its variables.

It was delivered on paper tape and in its original version took 4 KB of memory. The extended 8 KB version was then generalized into BASIC-80 (8080/85, Z80), and ported into BASIC-68 (6800), BASIC-69 (6809), and MOS Technology 6502-BASIC (unfortunately spilling over to 9 KB, in an era when 8 KB ROM chips were standard), as well as the 16-bit BASIC-86 (8086/88). It was ideal for ROM-based computers since it did not require an editor (each line requires a number), nor a disk drive to store object code or linked executable. It was less sophisticated than software for industrial desktop computers, which had dedicated keys to load, store, and keys for editing within a line and debugging, but personal computer pricing, in contrast, started at $1,565, not $7,000.

Licenses to home computer makers[edit]

After the initial success of Altair BASIC, Microsoft BASIC became the basis for a lucrative software licensing business, being ported to the majority of the numerous home and personal computers of the 1970s and especially the 1980s, and extended along the way. Contrary to the original Altair BASIC, most home computer BASICs were resident in ROM, and thus were available on the machines at power-on in the form of the characteristic "READY." prompt. Hence, Microsoft's and other variants of BASIC constituted a significant and visible part of the user interface of many home computers' rudimentary operating systems.

BASIC-80[edit]

8K BASIC-80[edit]

Extended BASIC-80[edit]

Known variants:

  • NCR Basic Plus 6, released in Q1/1977 for NCR 7200 model VI data-entry terminal.[2] The adaptation of Microsoft's Extended BASIC-80 was carried out by Marc McDonald in 1976/1977.

Disk BASIC-80[edit]

MBASIC is available for CP/M-80 and ISIS-II. Also available for TEKDOS.

Standalone Disk BASIC-80[edit]

First implementation to use an 8-bit variant of the File Allocation Table was a BASIC adaptation[nb 1] for an Intel 8080-based NCR 7200,[nb 1] 7520[nb 1] or 7530[nb 1] data-entry terminal with 8-inch floppy disks in 1977/1978.

BASIC-86[edit]

Extended BASIC-86[edit]

Standalone Disk BASIC-86[edit]

The first implementation was for Seattle Computer Products S-100 bus 8086 CPU card in 1979. It was utilizing an 8-bit FAT file system.

Microsoft also offered a version of Standalone BASIC-86 for SBC-86/12 for Intel's 8086 Single Board Computer platform in 1980.

Modern descendants[edit]

No variety of Microsoft BASIC (BASICA, GW-BASIC, QuickBasic, QBasic) is currently distributed with Microsoft Windows or DOS. However, versions which will still run on modern machines can be downloaded from various internet sites or be found on old DOS disks. The latest incarnation of Microsoft BASIC is Visual Basic .NET which incorporates some features from C++ and C# and can be used to develop web forms, Windows forms, console applications and server-based applications. Most .NET code samples are presented in VB.NET as well as C#, and VB.NET continues to be favored by former Visual Basic programmers.

In October 2008, Microsoft released Small Basic.[3] The language itself has only 14 keywords.[4] Small Basic Version 1.0 (12 June 2011)[5] was released with an updated Microsoft MSDN website that included a full teacher curriculum,[6] a Getting Started Guide,[7] and several e-books.[8] Small Basic exists to help students as young as age eight[9] learn the foundations of computer programming and then graduate to Visual Basic via the downloadable software, Visual Studio Express, where they can continue to build on the foundation by learning Visual C#, VB.NET, and Visual C++.[10]

Variants and derivatives of Microsoft BASIC[edit]

See also[edit]

Notes[edit]

  1. ^ a b c d Sources differ in regard to the first NCR data entry terminal integrating support for the FAT file system. According to Stephen Manes and Paul Andrews, "Gates", development was for a NCR 8200 in late 1977, incorrectly classified as a floppy-based upgrade to the NCR 7200, which had been released in 1975-11 and was built around an Intel 8080 8-bit processor, but was cassette-based only. However, the NCR Century 8200 was a 16-bit minicomputer, onto which several data entry terminals could be hooked up. Marc McDonald even remembered a NCR 8500, a mainframe of the Criterion series, which can be ruled out as well. Other sources indicate that either the NCR 7200 itself or its successor were the actual target platform. The NCR 7500 series was released in 1978, based on a similar 8080 hardware, but now including NCR 7520 and 7530 models featuring 8-inch diskettes. NCR Basic +6, a precursor or adaptation of Microsoft Standalone Disk BASIC-80 was available for them at least since 1979. One source claims that a special NCR 7200 model variant with two 8-inch diskettes and Microsoft BASIC existed and was imported by NCR Sydney into Australia the least.


References[edit]

  1. ^ Martin S. Fridson, How to be a billionaire: proven strategies from the titans of wealth,John Wiley and Sons, 1999 ISBN 0-471-33202-X pages 116-120
  2. ^ "NCR Mini, Micro Among Debuts Made on NRMA Convention Floor". Computerworld. 1977-01-17. Retrieved 2014-06-04.  (Mentions a 8080-based cassette-based NCR 7200 model VI with NCR Basic Plus 6 (Extended BASIC) to be delivered in Q1/1977. The NCR 7200 model I and model IV were already released in 1975-11, but did not came with BASIC.)
  3. ^ Small Basic Blog: Hello World
  4. ^ What are the 14 keywords of Small Basic?
  5. ^ Small Basic 1.0 is here!
  6. ^ Small Basic Curriculum
  7. ^ Small Basic Getting Started Guide
  8. ^ Small Basic E-Books
  9. ^ Small Basic - Elementary and Middle School Student Testimonials
  10. ^ Graduating from Small Basic
  11. ^ Microsoft BASIC 6502 Timeline, Bill Gates’ Personal Easter Eggs in 8 Bit BASIC, see external links

External links[edit]