diff --git a/skoolkit/tap2sna.py b/skoolkit/tap2sna.py index 8d53198c..03ed13d0 100644 --- a/skoolkit/tap2sna.py +++ b/skoolkit/tap2sna.py @@ -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