Keyword Entry

This file is part of ISTUG Public Domain Library 6, and Long Island Sinclair Timex (LIST) User Group Library Tape #3.5. Download the collection to get this file.
Date: 198x
Type: Program
Platform(s): TS 2068

Loads two machine code blocks, START and MAIN, that change keyword entry so that every keyword is typed out in full, letter by letter, instead of being entered with a single key in K mode. The loader runs START with RANDOMIZE USR 23300, loads MAIN, then lists itself with a flashing “hit enter” prompt. Its REM says lines 1 to 3 can be deleted once it has run.

This program is on side B of the Long Island Sinclair Timex (LIST) user group library tape #3.5, saved as KEYWORD68 followed by its CODE files START (51 bytes) and MAIN (224 bytes).

Program Analysis

Program Structure

Line 1 is the explanatory REM. Line 2 loads START, calls it at 23300 and loads MAIN. Line 3 clears the screen and lists the program. Nothing in the BASIC shows how the code works.

Source Code

    1 REM ---  KEYWORD ENTRY ---      YOU MUST NOW ENTER ALL KEY      WORDS BY TYPING THEM IN         FULL       
    2 LOAD "START"CODE :              RANDOMIZE USR 23300:            LOAD "MAIN"CODE 
    3 CLS : BORDER 1: LIST :          PRINT AT 20,1; INK 2;           FLASH 1;"hit enter": STOP   :   REM YOU MAY DELETE LINES        1 TO 3 NOW.

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.