Sitenotice:
2020: NameSpaces are going to be implemented this year to better separate content. OS-9 Al (talk) 11:18, 15 April 2020 (CDT)
2020-05-17: If a page gives you an error about some revision not being found, just EDIT the page and the old page should appear in the editor. If it does, just SAVE that and the page should be restored. OS-9 Al (talk) 12:22, 17 May 2020 (CDT)

BASIC-09

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigation Jump to search

BASIC09 is an enhanced structured Basic language programming system specially created for the 6809 Advanced Microprocessor used by the TRS-80/Tandy Color Computer. In addition to the standard BASIC language statements and functions, BASIC09 includes many of the useful elements of the PASCAL programming language so that programs can be modular, well-structured, and use sophisticated data structures. It also permits full access to almost all of the OS-9 Operating System commands and functions so it can be used as a systems programming language. These features make BASIC09 an ideal language for many applications: scientific, business, industrial control, education and more.

BASIC09 is unusual in that it is an Interactive Compiler that has the best of both kinds of language system: it gives the fast execution speed typical of compiler languages plus the ease of use and memory space efficiency typical of interpreter languages. BASIC09 is a complete programming system that includes a powerful text editor, multi-pass compiler, run-time interpreter, high-level interactive debugger, and a system executive. Each of these components was carefully integrated to give the user a friendly, highly interactive programming resource. that provides all the tools and helpful "extra" facilities needed for fast, accurate creation and testing of structured programs.

BASIC09 Features

  • Structured, recursive BASIC with Pascal-type enhancements:
    • allows multiple, independent, named procedures
    • procedures called by name with parameters
    • multi-character, upper or lower case identifiers
    • variables and line numbers local to procedures
    • line numbers optional
    • automatic linkage to ROM or RAM "library" procedures
    • PACK command compacts program and provides security
    • PRINT USING with FORTRAN-like format specifications
  • Extended data structures:
    • Five Basic data types: BYTE, INTEGER, REAL, BOOLEAN, and STRING
    • One, two, or three dimensional arrays
    • User-defined complex structures and data types
  • Extended Control Structures (with Unique Closure Elements):
  • Graphics Interface Module for Access to TRS-80/Tandy Color Computer Color Graphics Functions
  • Powerful interactive debugging and editing features:
    • Integral, full-featured text editor
    • Syntax error check upon line entry and procedure compile
    • Trace mode reproduces original source statements
    • Renumber command for line numbered procedures
  • High-speed, high-accuracy math:
    • 9 decimal-digit 40 bit binary floating point
    • Full set of transcendentals (SIN, ASN, ACS, LOG, etc.)


BASIC09_Programming_Language_Reference_Manual