Docs: ZX81 keyboard and keywords

If you're using a ZX81 emulator (instead of a hardware ZX81), a picture of the ZX81's keyboard layout certainly comes in handy, as it contains all BASIC keywords, operators, and graphics characters.

ZX81 keyboard layout (click to enlarge)

Quick keyword/function/symbol/operator-to-key lookup tables:

Keyword/Function   Key     Code (dec/hex)

ABS                G       210 / $D2
AND                2       218 / $DA
ARCCOS (ACS)       S       203 / $CB
ARCSIN (ASN)       A       202 / $CA
ARCTAN (ATN)       D       204 / $CC
AT                 C       193 / $C1
CHR$               U       214 / $D6
CLEAR              X       253 / $FD
CLS                V       251 / $FB
CODE               I       196 / $C4
CONT               C       232 / $E8
COPY               Z       255 / $FF
COS                W       200 / $C8
DIM                D       233 / $E9
EXP                X       206 / $CE
FAST               F       229 / $E5
FOR                F       235 / $EB
GOSUB              H       237 / $ED
GOTO               G       236 / $EC
IF                 U       250 / $FA
INKEY$             B        65 / $41
INPUT              I       238 / $EE
INT                R       207 / $CF
LEN                K       198 / $C6
LET                L       241 / $F1
LIST               K       240 / $F0
LN                 Z       205 / $CD
LOAD               J       239 / $EF
LLIST              G       226 / $E2
LPRINT             S       225 / $E1
NEW                A       230 / $E6
NEXT               N       243 / $F3
NOT                N       215 / $D7
OR                 W       217 / $D9
PAUSE              M       242 / $F2
PEEK               O       211 / $D3
PI (π)             M        66 / $42
PLOT               Q       246 / $F6
POKE               O       244 / $F4
PRINT              P       245 / $F5
RAND               T       249 / $F9
REM                E       234 / $EA
RETURN             Y       254 / $FE
RND                T        64 / $40
RUN                R       247 / $F7
SAVE               S       248 / $F8
SCROLL             B       231 / $E7
SGN                F       209 / $D1
SIN                Q       199 / $C7
SLOW               D       228 / $E4
SQR                H       208 / $D0
STEP               E       224 / $E0
STOP               A       227 / $E3
STR$               Y       213 / $D5
TAB                P       194 / $C2
TAN                E       201 / $C9
THEN               3       222 / $DE
TO                 4       223 / $DF
UNPLOT             W       252 / $FC
USR                L       212 / $D4
VAL                J       197 / $C5

Symbol/Operator    Key     Code (dec/hex)

"                  P        11 / $0B         
£                 
Space    12 / $0C         
$                 
U        13 / $0D         
:                  Z       
14 / $0E         
?                  C       
15 / $0F         
(                  I       
16 / $10         
)                  O       
17 / $11         
>                  M       
18 / $12         
<                  N       
19 / $13         
=                  L       
20 / $14         
+                  K       
21 / $15         
-                  J       
22 / $16         
*                  B       
23 / $17         
/                  V       
24 / $18         
;                  X       
25 / $19         
,                  .       
26 / $1A    
""                 Q       192 / $C0
**                 H       216 / $D8
<=                 R       219 / $DB
>=                 Y       220 / $DC
<>                 T       221 / $DD


No comments:

Post a Comment