New 8K ROM Features

Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v2 n5 (Volume 2, Issue 5)
Date: May 1981
Pages: 9

Sinclair‘s 8K ROM may well be a reality to North American owners by now (see story p.1). Here is an updated list of the redesigned 8K ROM features not available on the 4K ROM and a brief explanation of their functions. Check the 8K manual for additional explanations. Note the demise of the READ-DATA and DRAW-UNDRAW statements since our last report of ROM features. The printer commands and some ZX81-specific statements, such as FAST and SLOW, are new.

FEATURE      FUNCTION

COPY         outputs screen display to printer
FOR..STEP    increments FOR-TO statements by a definable number
K-L MODE     changes cursor mode between keyword and letter
LLIST        lists to printer instead of screen
LOAD F       loads program named F and its variables from cape
LOAD ""      loads the first program found on tape
LPRINT       directs output to printer instead of acreen
PAUSE N      sends display file to screen for N frames or until
             any key is pressed
PLOT M,N     sends the plot position (a system variable) to (M,N),
             line M and column N, and blacks in that pixel
PRINT AT     moves the print position to line M, character N
  M,N
SAVE F       saves program and variables on tape, naming it F
SCROLL       scrolls display file up 1 line, losing top line and
             making space at bottom
UNPLOT       like plot, but blanks pixels instead of blackening them
  M,N
FAST, SLOW   selects display mode, useful only for ZX81 (not currently
             available in North America)

In addition, the new ROM provides these functions:

ARCOS        arc cosine in radians
ARCSIN       arc sine in radians
ARCTAN       arc tangent in radians
COS          cosine in radians
EXP          e^x
INKEY$       reads the keyboard, giving character representing key
             pressed, otherwise empty string
LEN X$       number of characters in string X, including spaces
LN           natural log
PI           3.1415927
SGN          yields -1, 0, +1
SIN          sine in radians
SQRT         square root
TAB X        moves print position to column X
TAN          tangent in radians
VAL          (followed by a string) evaluates X as a numerical
             expression, X must not contain quote character

All graphics can be entered directly from the keyboard; SHIFT 9 enters graphics mode until terminated by (NL) or another SHIFT 9.