Atari Microsoft BASIC
- Medium
- Disk
- Year
- 1981
- Publisher
- Atari, Inc.
- Type
- Language
- Category
- Microsoft BASIC interpreter (disk, later cartridge as Microsoft BASIC II)
- Developer
- Microsoft (Ric Weiland)
- Language
- 6502 machine language
- Requirements
- Disk version (CX8126): 400/800 with 48K RAM and a disk drive; Microsoft BASIC II: cartridge (RX8035) with supporting disk; XL/XE owners may need the Translator for the original disk version
- Tags
- basic, microsoft, interpreter, disk, cartridge, atari-inc, programming
Overview
Atari Microsoft BASIC gave Atari owners the same BASIC dialect found on the Apple II, the TRS-80 and the Commodore PET. Atari BASIC handles strings as dimensioned byte arrays and does all its maths in slow six-byte decimal floating point. Microsoft BASIC offers dynamic strings with LEFT$/MID$/RIGHT$, string arrays, fast integer variables, a choice of single or double precision, and PRINT USING for formatted reports. That made the huge library of published Microsoft-dialect programs much easier to bring across. It first appeared as a disk-based product (CX8126), and Atari later sold an expanded cartridge version, Atari Microsoft BASIC II (RX8035).
Behind the scenes
Microsoft BASIC is in fact where the Atari's BASIC story starts. In early 1978, while the 400 and 800 were still the breadboard prototypes "Colleen" and "Candy", Atari bought the source code of Microsoft's 8K 6502 BASIC, and consultant David Gjerdrum of PRODATA was hired to port it. In his introduction to Inside Atari DOS, Bill Wilkinson recalls that six months and many man-hours later it was only "almost functioning properly", with CES in January 1979 fast approaching. In late summer 1978 Atari asked Shepardson Microsystems for help. SMI proposed a new 10K ROM BASIC instead, and that became Atari BASIC. The Microsoft port, "Atari Disk BASIC", was shown or promised alongside it in 1979 but was cancelled in the winter or spring of that year.
Microsoft BASIC came back a few years later as a product in its own right. Atari's software marketing manager Tandy Trower moved to Microsoft in late 1981 and kept product-management responsibility for the coming Atari Microsoft BASIC. The disk version shipped around the start of 1982, programmed at Microsoft by Ric Weiland, in the same wave as Atari's Macro Assembler. Microsoft BASIC II was announced in late 1982 and shipped in spring 1983.
Features and reception
The 1983 Creative Atari language survey called it "the Basic that Atari should have released initially". Its author praised:
- Integer variables that are "very fast", and a choice of 4- or 8-byte floating-point accuracy, both much quicker than Atari BASIC's BCD maths.
PRINT USINGfor business-style output.- Atari-specific extensions for player/missile graphics and character set redefinition.
- Documentation good enough that the manuals, not the software, were what delayed the launch.
The trade-off was memory. The original was a 19K disk-loaded interpreter, and with about 8K of DOS loaded as well a 48K machine had only about 21K left for your program. Switching to GRAPHICS 8 cut that to about 13K. The Creative Atari told 32K owners to upgrade to 48K before buying it. The same book predicted a 16K cartridge edition with some features, such as renumbering and PRINT USING, still loaded from disk. That edition arrived as Microsoft BASIC II, with a reference manual, user guide and quick-reference card (the card is marked © 1982 Microsoft).
Here is a short program in plain Microsoft dialect. The integer declaration and the string functions would need rewriting for Atari BASIC:
10 DEFINT I
20 A$="ATARI MICROSOFT BASIC"
30 FOR I=1 TO LEN(A$)
40 PRINT LEFT$(A$,I)
50 NEXT I
Compatibility
Programs are not interchangeable with Atari BASIC. The tokens and string model are different, so Atari BASIC software has to be converted by hand, and so does Microsoft BASIC software going the other way. Owners who knew the dialect from other computers welcomed it. But most Atari magazines published their type-ins in Atari BASIC, so Microsoft BASIC never displaced the built-in language. Users report that the original disk version needs Atari's Translator disk to run on XL machines.
Using it today
Disk images of the CX8126 release and dumps of the Microsoft BASIC II cartridge are preserved, and both run in Altirra. For the disk version use a 400/800 configuration with 48K and the BASIC cartridge removed, or an XL/XE with the Translator or an OS-B ROM. For BASIC II, attach the cartridge image and boot its companion disk if you need the disk-based extras. It is a good way to run old Microsoft-dialect listings from books written for the Apple II or TRS-80 with fewer changes. Just remember that graphics, sound and file commands differ between machines.
Credits
- Picture: The instruction manual for the original disk-based Atari Microsoft BASIC (CX8126). — Manual cover scan from AtariMania (Atari Microsoft BASIC) (© Atari, Inc. / Microsoft — used for identification/commentary)
- The Creative Atari (1983) — Atari Languages — AtariArchives.org, 1983
- The Creative Atari (1983) — Questions & Answers (48K requirement) — AtariArchives.org, 1983
- Inside Atari DOS — Introduction (Bill Wilkinson) — AtariArchives.org
- comp.sys.atari.8bit FAQ (Michael Current) — Atari timeline (1978–1983 entries) — Michael Current (comp.sys.atari.8bit FAQ), 1978
- AtariMania — Microsoft BASIC (CX8126) — Manual cover scan from AtariMania (Atari Microsoft BASIC) (© Atari, Inc. / Microsoft — used for identification/commentary)
- AtariMania — Microsoft BASIC II (RX8035) — AtariMania
