Primes by Trial Division - Spectravideo Compumate

27 November 2016

The Spectravideo Compumate adds significant capability to the Atari 2600, compared to Atari's 2600 BASIC. Even though there are FOR-NEXT loops, the ability to work with numbers up to ±999999, and a relatively huge memory... there is no array variable. So the program is still catastrophically limited.

10 LetC=3
20 LetI=2
30 IfC=IThenGoto80
40 LetP=C/I
50 IfP=Int[P]ThenGoto90
60 LetI=I+1
70 Goto30
80 PrtC
90 LetC=C+1
99 Goto20

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026

Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Primes Benchmark Source

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Primes Benchmark Results

Other BASICs

Applesoft BASIC

Atari 2600 BASIC

BBC BASIC

Commodore BASIC

DRI Personal BASIC

HP BASIC/V

IBM 5100 BASIC

IBM PC BASIC

PICK/BASIC

Rocky Mountain BASIC

Sinclair ZX80 BASIC

Spectravideo Compumate

TI 99/4 BASIC

TRS-80 Level 1 BASIC

V-Tech Laser 50

VAX BASIC

Structured BASIC

Amiga BASIC

Dartmouth True BASIC

Microsoft QuickBASIC

Microware Basic09

Topaz S-BASIC