I've recently been working on a full HTML5 conversion of the Sinclair Spectrum +3 manual with full canvas-drawn screenshots and diagrams for smooth scaling/high res displays as well as some close font matching and layout as well as cross-reference links all over the place. More on that in the future.
What I wanted to show today was the odd commands, pokes and outs that were hastily scribbled down in the back of my manual over the years.
Spectrum +3/+2A specific
- You know you can type
SPECTRUMto go from +3 BASIC to 48K BASIC but, did you know you can get back?
RANDOMIZE USR 23354. It leaves CHR$ 163/164 as UDGs.
- Switch off the +3 drive with
POKE 23399,4. In 48K mode, you can use
POKE 23611,221if it somehow stayed on.
- 128K machines are very compatible but the last two user-defined graphics (UDGs) T and U have become the
PLAYcommand (for switching to 48K mode and using the AY-3-8912 sound chip). You can, however, switch them back to UDGs using
POKE 23611,205; RANDOMIZE USR 4867;alternative way to switch from 128K to 48K.
A couple of VTX-5000 modem specific hacks:
OUT 8189,0to switch the 128K ROM back in.
POKE 23611,29also to switch from 48K to 128K mode.
POKE 23617,nchanges the input mode for INPUT prompts. 0=Alpha (C/L), 1=Extended (E), 2=Graphics (G), 4=Keyword (K).
POKE 23658,0turns off CAPS LOCK while
POKE 23658,1turns it on.
POKE 23692,255will suppress the
Scroll?prompt 255 times so you can auto-scroll.
RANDOMIZE USR 3582to scroll the screen one line.
RANDOMIZE USR 3330to scroll the entire screen.
LET A=32768: POKE 23607,A/256: POKE 23606,A-(PEEK 23607 * 256)
A few pokes to stop people messing with your BASIC programs!
POKE 23756,nto change the first line number to
n. If you set this to
0then, it is not editable without reversing the poke! In 128K mode it lists line 0 over and over and can cause the editor to crash while adding new lines!
POKE 23613,82will disable the BREAK key in your BASIC program
POKE 23613,0causes BREAK to crash.
POKE 23755,100causes the program listing to be invisible on BREAK while running (use POKE
23755,0to get it back)
Header-less tape loading and saving...
LD A,255 LD IX,@START LD DE,@LENGTH SCF JP 1218 ; Save or JP 1366 ; Load