North Star BASIC

Last updated
North Star BASIC
Paradigm imperative
Designed by Charles A. Grant,
Mark Greenberg
Developer North Star Computers
Influenced
BaZic, Megabasic, S.A.I.L.B.O.A.T.

North Star BASIC was a dialect of the BASIC programming language for the Intel 8080 microprocessor used on the North Star Horizon and available for purchase on other S-100 bus machines of the late 1970s. [1]

Contents

Overview

The BASIC interpreter was implemented by Dr. Charles A. Grant and Dr. Mark Greenberg, of North Star Computers, Inc.

One notable difference with other dialects of BASIC of the time was the way in which substrings were addressed using an array-like syntax, a concept sometimes referred to as "slicing". For example, A$(13,17) in North Star BASIC corresponded to MID$(A$,13,5) in Microsoft BASIC-derived dialects. [2] This slicing technique is analogous to the one used in Fortran, and was introduced to BASIC with HP Time-Shared BASIC and later used on Atari BASIC and Sinclair BASIC, among others. Strings could be of any length, limited only by available memory, but had to be "DIMensioned" before use. [3]

While the language was very similar to other BASICs overall, one interesting addition was the addition of an EXIT keyword to pop out of a FOR loop. [4] Different dialects of BASIC handled this in different ways, the equivalent in Integer BASIC and Atari BASIC was POP. FILL could be used to fill a block of memory with a given value. [5]

Most other differences were minor. GOTO was supported, but the alternate form GO TO was not. Computed-gotos, ON X GOTO... did not support GOSUB. INPUT allowed a prompt; INPUT "TYPE IN YOUR AGE",A. INPUT1 worked identically to INPUT, but suppressed the following question-mark. [4] NEW became SCRatch, PEEK became EXAM, and INSTR became MATCH. [6] The language used the backslash (\) instead of a colon (:) to delimit statements on a single line.

The language also added a number of direct-mode commands like BYE to exit BASIC and return to DOS, REN to renumber the lines in the program, and NULL which defined how many nulls to print after pressing return, to use as fill characters. [7]

Version 5 was assembled for 8-digit floating-point precision. North Star would re-assemble the interpreter for customers with a different precision, up to 14 digits. [8]

Some other dialects of BASIC were created that were based on and inspired by North Star BASIC, such as BaZic (a rewrite of North Star BASIC, taking advantage of the faster Zilog Z80 instructions), [1] Megabasic and S.A.I.L.B.O.A.T. (a basic optimized for Z80 and X86 MS-DOS). Some of these were available for other hardware and operating systems, including Unix, CP/M and DOS.

Related Research Articles

Applesoft BASIC is a dialect of Microsoft BASIC, developed by Marc McDonald and Ric Weiland, supplied with the Apple II series of computers. It supersedes Integer BASIC and is the BASIC in ROM in all Apple II series computers after the original Apple II model. It is also referred to as FP BASIC because of the Apple DOS command used to invoke it, instead of INT for Integer BASIC.

<span class="mw-page-title-main">BASIC</span> Family of programming languages

BASIC 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 in 1963. They wanted to enable students in non-scientific fields to use computers. At the time, nearly all computers required writing custom software, which only scientists and mathematicians tended to learn.

<span class="mw-page-title-main">BBC BASIC</span> Version of the BASIC programming language

BBC BASIC is a version of the BASIC programming language released in 1981 as the native programming language for the BBC Micro home/personal computer, providing a standardized language for a UK computer literacy project of the BBC. It was written mainly by Sophie Wilson.

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 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">Atari BASIC</span> Dialect of the BASIC programming language

Atari BASIC is an interpreter for the BASIC programming language that shipped with the Atari 8-bit family of 6502-based home computers. Unlike most American BASICs of the home computer era, Atari BASIC is not a derivative of Microsoft BASIC and differs in significant ways. It includes keywords for Atari-specific features and lacks support for string arrays, for example.

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.

Integer BASIC is a BASIC interpreter written by Steve Wozniak for the Apple I and Apple II computers. Originally available on cassette for the Apple I in 1976, then included in ROM on the Apple II from its release in 1977, it was the first version of BASIC used by many early home computer owners.

Commodore BASIC, also known as PET BASIC or CBM-BASIC, is the dialect of the BASIC programming language used in Commodore International's 8-bit home computer line, stretching from the PET (1977) to the Commodore 128 (1985).

<span class="mw-page-title-main">Vilnius BASIC</span> Dialect of the BASIC programming language

Vilnius BASIC, sometimes known as BK BASIC, is a dialect of the BASIC programming language running on the Elektronika BK-0010-01/BK-0011M and UKNC computers. It was developed at Vilnius University, located in Lithuania which was a republic of the Soviet Union at the time.

HP Time-Shared BASIC is a BASIC programming language interpreter for Hewlett-Packard's HP 2000 line of minicomputer-based time-sharing computer systems. TSB is historically notable as the platform that released the first public versions of the game Star Trek.

Optimized Systems Software (OSS) was a company that produced disk operating systems, programming languages with integrated development environments, and applications primarily for the Atari 8-bit family of home computers. OSS was best known for their enhanced versions of Atari DOS, Atari BASIC, and the Atari Assembler Editor, all of which were substantially improved over Atari's products, as well as the Action! programming language. OSS also sold some software for the Apple II.

Shepardson Microsystems, Inc. (SMI) was a small company producing operating systems and programming languages for CP/M, the Atari 8-bit family and Apple II computers. SMI is most noted for the original Apple II disk operating system, Atari BASIC, and Atari's disk operating system. Shepardson Microsystems was founded by Robert Shepardson in Saratoga Springs, New York.

Level I BASIC is a dialect of the BASIC programming language that shipped with the first TRS-80, the TRS-80 Model I.

The Rugg/Feldman benchmarks are a series of seven short BASIC programming language programs that are used to test the performance of BASIC implementations on various microcomputers. They were published by Tom Rugg and Phil Feldman in the June 1977 issue of the US computer magazine, Kilobaud.

SCELBAL, short for SCientific ELementary BAsic Language, is a version of the BASIC programming language released in 1976 for the SCELBI and other early Intel 8008 and 8080-based microcomputers like the Mark-8. Later add-ons to the language included an extended math package and string handling. The original version required 8 kB of RAM, while the additions demanded at least 12 kB.

Data General Extended BASIC, also widely known as Nova Extended BASIC, was a BASIC programming language interpreter for the Data General Nova series minicomputers. It was based on the seminal Dartmouth BASIC, including the Fifth Edition's string variables and powerful MAT commands for matrix manipulation. In contrast to the compile-and-go Dartmouth BASIC, Extended BASIC was an interpreter.

SDS BASIC, also known as CP-V BASIC, Batch BASIC or Sigma BASIC depending on the version, is a BASIC programming language compiler for Scientific Data Systems's (SDS) Sigma series mainframe computers, originally released in 1967. Xerox purchased SDS in 1969 and began rebranding it as Xerox Data Systems, and finally just Xerox, at which time the language became known as Xerox BASIC.

<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.

Minimal BASIC is a dialect of the BASIC programming language developed as an international standard. The effort started at ANSI in January 1974, and was joined in September by a parallel group at ECMA. The first draft was released for comments in January 1976 and the final standard, known alternately as ANSI X3.60-1978 or ECMA-55, was published in December 1977. The US Bureau of Standards introduced the NBSIR 77-1420 test suite to ensure implementations met the definition.

References

Citations

  1. 1 2 Richard Milewski, "Micro Mike's baZic release 1", InfoWorld, April 27, 1981
  2. Manual 1977, p. 11.
  3. Manual 1977, p. 10.
  4. 1 2 Manual 1977, p. 8.
  5. Manual 1977, p. 9.
  6. David A. Lien, "The BASIC Handbook" Compusoft Pub., 1981
  7. Manual 1977, p. 5.
  8. Manual 1977, p. 2.

Bibliography