ArticleslgStudy

computer science

Atari ST BASIC

Atari ST BASIC is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Atari ST BASIC rather than just read about it. In short: Atari ST BASIC (or ST Basic) was the first dialect of BASIC that was produced for the Atari ST line of computers. This BASIC interpreter was bundled with all new STs in the early years of the ST's lifespan, and quickly became the standard BASIC for that platform.

Atari ST BASIC — main illustration
Atari ST BASIC — illustration

Key takeaways

  • Atari ST BASIC belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Atari ST BASIC to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Atari ST BASIC from memory before moving on to harder problems.

Reference excerpt

Atari ST BASIC (or ST Basic) was the first dialect of BASIC that was produced for the Atari ST line of computers. This BASIC interpreter was bundled with all new STs in the early years of the ST's lifespan, and quickly became the standard BASIC for that platform. However, many users disliked it, and improved dialects of BASIC quickly came out to replace it.

Development Atari Corporation commissioned MetaComCo to write a version of BASIC that would take advantage of the GEM environment on the Atari ST. This was based on a version already written for Digital Research called DR-Basic, which was bundled with DR's CP/M-86 operating system. The result was called ST BASIC. At the time the ST was launched, ST BASIC was bundled with all new STs. A further port of the same language called ABasiC was supplied for a time with the Amiga, but Commodore quickly replaced it with the Microsoft-developed AmigaBASIC.

Interface

The user interface consists of four windows:

EDIT, for entering source code LIST, where the source code can be browsed COMMAND, where instructions are entered and immediately executed OUTPUT The windows can only be selected with the mouse.

Bugs ST BASIC has many bugs. Compute! in September 1987 reported on one flaw that it described as "among the worst BASIC bugs of all time". Typing x = 18.9 results in

function not yet done System error #%N, please restart Similar commands, such as x = 39.8 or x = 4.725, crash the computer; the magazine described the results of the last command as "as bad a crash as you can get on the ST without seeing the machine rip free from its cables, drag itself to the edge of the desk, and leap into the trash bin". After citing other flaws (such as ? 257 * 257 and ? 257 ^ 2 not being equivalent) the magazine recommended "avoid[ing] ST BASIC for serious programming". Regarding reports that MetaComCo was "one bug away" from releasing a long-delayed update to the language, it jokingly wondered "whether Atari has only one more bug to eliminate from ST BASIC or one more to add".

Alternatives

The relatively low quality of ST BASIC quickly opened up a market for third-party BASICs on the ST. FaST BASIC and GFA BASIC were two of the first of these third-party BASICs to be released. As these BASICS were not free, a program written in one of these BASICs could only be listed and run if the user had that BASIC. However, compilers and run-time executables started to appear for these BASICs that produced executable code that could run on all STs, and type-in programs became less fashionable, so there was no longer a need for a standard BASIC. By then, HiSoft BASIC, Omikron BASIC and STOS BASIC had appeared. Some of these BASICs even started to be bundled with new STs in the later years.

Books Knight, Tim (1986). Understanding Atari ST BASIC Programming. Sybex. ISBN 0-89588-344-9. Atari ST BASIC Quick Reference Guide — by Atari, copyright 1986, revision A. {DDB-G22} ST BASIC Sourcebook and Tutorial. Atari. 1986. Revision B. {DDB-G22}

References

Worked examples

Example 1 — a first encounter with Atari ST BASIC

Start with the simplest possible case. Write down what Atari ST BASIC claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Atari ST BASIC before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Atari ST BASIC ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Atari ST BASIC

In research
Atari ST BASIC appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Atari ST BASIC in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Atari ST BASIC is common in secondary-school and first-year university syllabi. It links to neighbouring topics Atari ST software, BASIC interpreters, BASIC programming language family, so understanding it makes those chapters shorter.
In everyday life
Look for Atari ST BASIC outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Atari ST BASIC” →

How to study Atari ST BASIC in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Atari ST BASIC means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Atari ST BASIC out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Atari ST BASIC in simple terms?

Atari ST BASIC (or ST Basic) was the first dialect of BASIC that was produced for the Atari ST line of computers. This BASIC interpreter was bundled with all new STs in the early years of the ST's lifespan, and quickly became the standard BASIC for that platform.

Why does Atari ST BASIC matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Atari ST BASIC?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Atari ST BASIC.

Tags

  • Atari ST software
  • BASIC interpreters
  • BASIC programming language family
  • Discontinued BASICs
  • Programming languages created in 1985

Keep exploring