Skip to content

BASIC Window

WacKEDmaN edited this page Oct 31, 2026 · 3 revisions

BASIC window

Tools → BASIC (next to the assembler) edits Locomotive BASIC programs as text.

Take the program from the machine

From the machine lists the BASIC program in the machine's memory into the editor. BASIC must be at its Ready prompt.

  • This works for a program that was typed, and for a program that was LOADed from tape or disc (for example TOOLKIT.BAS on toolkit.cdt).
  • The In memory tab shows the program as BASIC holds it.

Put the program into the machine

  • Into the machine tokenizes the editor's text and puts it into memory at once, as if it had been typed. The old program goes.
  • Into the machine and RUN also types RUN.
  • The tokenizer gives the same bytes as Locomotive BASIC itself. A line that is not a numbered line gives an error with its line.
  • A program can go up to HIMEM (&A67B on a machine with a disc drive).
  • Line numbers: the lines are sorted by number. A later line with the same number replaces the earlier one, as at the prompt.

Files

  • New, Open..., Save...: BASIC programs as text files.
  • File → Open → BASIC program (text)... also opens one.

Which BASIC

The window works with BASIC 1.0 (the 464) and BASIC 1.1 (664, 6128, Plus). It finds which one is in the machine.

Clone this wiki locally