Skip to content

Commit

Permalink
Update help text for the 'load' simulated LOAD configuration parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
skoolkid committed Jul 21, 2023
1 parent 35aa71d commit 42750e8
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions skoolkit/tap2sna.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,20 +903,28 @@ def _print_sim_load_config_help():
'LOAD ""CODE' (depending on whether the tape begins with a Bytes block). If
an alternative command line is required to load the tape, it can be specified
by this parameter, where KEYS is a space-separated list of keys to press.
Each alphanumeric key is denoted by its digit or upper case letter. Multiple
Each alphanumeric key is denoted by its digit or letter. Multiple
simultaneous keypresses are denoted by separating them with '+'. All BASIC
tokens except those that contain a space are recognised. The following
special tokens are also recognised:
CS - CAPS SHIFT
SS - SYMBOL SHIFT
SPACE - SPACE
ENTER - ENTER
GOTO - GO TO (G)
GOSUB - GO SUB (H)
DEFFN - DEF FN (CS+SS SS+1)
OPEN# - OPEN # (CS+SS SS+4)
CLOSE# - CLOSE # (CS+SS SS+5)
CS - CAPS SHIFT
SS - SYMBOL SHIFT
SPACE - SPACE
ENTER - ENTER
DOWN - Cursor down (CS+6)
GOTO - GO TO (g)
GOSUB - GO SUB (h)
DEFFN - DEF FN (CS+SS SS+1)
OPEN# - OPEN # (CS+SS SS+4)
CLOSE# - CLOSE # (CS+SS SS+5)
PC=address - Stop the keyboard input simulation at this address
The 'PC=address' token, if present, must appear last. The default address is
either 0x0605 (when a 48K Spectrum is being simulated) or 0x13BE (on a 128K
Spectrum). The simulated LOAD begins at this address.
ENTER is automatically appended to the command line if not already present.
--sim-load-config machine=48/128
Expand Down

0 comments on commit 42750e8

Please sign in to comment.