Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n2 (Volume 3, Issue 2)
Date: February 1982
Pages: 3
With all the software available for other computers, many ZX80 owners want to convert programs from Microsoft BASIC (used in PETs, Apples, and TRS-80s) to ZX80 BASIC. Sometimes this proves futile due to inconsistencies between Microsoft and ZX80 BASIC.
To know if your attempts to convert to ZX80 BASIC might work, here are some Microsoft BASIC keywords that cannot be practically translated.
Keyword Description
INT(x) computes the integer
value of x; 4K BASIC
does this automatically
HCOLOR=x used by Apple to set
high resolution
graphics color
HPLOT ]
SET ] all used to light up a
RESET ] graphics block (pixel)
DRAW ] or a set of pixels
XDRAW ]
PLOT ]
SYS x executes an assembly
language subroutine
with starting address
x. 4K USR(x) does the
same job, but since
SYS works on computers
with a 6502 processor,
memory locations will
be incompatible
*GETx$ used to receive 1 char.
from keyboard and store
it as x$
ON ERR sends computer to line
GO TO x x if an error occurs
OPEN ]
CLOSE ] all are used for I/O
CMD x ] control; since the 4K
PR#x ] machine does not create
IN#x ] files, it has no func-
GET #x ] tions like these
INPUT #x ]
PRINT #x ]
*can be converted, but requires too
much memory to be practical.