YS MegaBasic explained

Developer:Mike Leaman
Latest Release Version:YSMegaBasicV4.0
Operating System:ZX Spectrum
Genre:BASIC programming language interpreter
License:Proprietary

YS MegaBasic is a BASIC programming language interpreter for the 1982 Sinclair Research ZX Spectrum microcomputer, written by Mike Leaman.[1] The interpreter was available by mail-order from Your Spectrum magazine, hence the name "YS MegaBasic".

When loaded it left the user 22K of usable memory. YS MegaBasic allowed keywords to be spelled out letter-for-letter, which was quicker if the user had fitted a full-size full-travel keyboard to their machine, a very popular modification for serious users. This also removed the necessity for memorising the sometimes arcane key combinations necessary to enter less-commonly-used Sinclair BASIC keywords. It also featured three different font sizes, user definable keys, copy-and-paste, a Sinclair QL-like windowing system, sprites and sound effects.[1]

New commands added by YS MegaBasic:

AUTOCauses the computer to automatically produce line numbers
BACKUPCopies tape files
CHANGEManipulates the attributes file
CLWClears the current window on-screen
CURRENTChanges the window used for screen output
DELETEErases a block of program lines
DOWNPrints a string down the screen
EDITDisplays a program line for editing
EXAMINEDisplays headers of tape files
FADEProduces special effects on-screen
FONTSelects the character set used for printing
FXHandles miscellaneous functions
INVERTChanges INK to PAPER and vice versa
KEYCreates user-defined keys
MODEChanges the current character size
MONJumps to front panel
PANScrolls a window to the left or right, pixel by pixel
PLAYProduces complex sound effects
RESTARTEquivalent to ON ERROR GO TO
SPEEDUsed in conjunction with TRON to reduce the speed of program execution
SWAPSwaps one attribute for another
TROFFTurns 'trace' mechanism off
TRONTurns 'trace' mechanism on
VDUEquivalent to PRINT CHR$
WINDOWDefines the size and location of the current window on-screen

Releases[2]

Notes and References

  1. http://www.users.globalnet.co.uk/~jg27paw4/yr08/yr08_50.htm Your Spectrum:YS MegaBasic, Issue 8, October 1984
  2. Web site: World of Spectrum - YS MegaBasic.