Sitenotice: 11/29/2018: The wiki is back. It turns out, some anti-virus product on my web server had an issue with the latest version of PHP. My server techs have resolved this issue, and things should be working again. During the investigation, I did restore to a backup from September. There is a chance that any changes done since then were lost, but I do not recall any edits. --OS-9 Al

8/30/2016: Massive re-work is being done on the InfoBox Templates. Read that page to keep up with the plan for that, and adding better keyword tags (categories) to all the pages. --OS-9 Al (talk) 15:28, 31 August 2016 (CDT)

BASIC-09

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to: navigation, 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