Peeks and Pokes for the Spectrum

See all articles from Sinc-Link v4 n2
Author(s): Jim Dodrill
Publication: Sinc-Link
Pub Details: Sinc-Link v4 n2 (Volume 4, Issue 2)
Date: March/April 1986
Pages: 12-13

(Some will work on the TS2068)

POKE 23736,181

When SAVEing a multi-part program insert POKE 23736,181 between SAVE statements, and the computer will then save all parts of the program without the “START TAPE” prompt.

example: 9999 SAVE "prog" LINE 10: POKE 23736,181:
SAVE "byte" CODE 64599,760

POKE 23756,0

Will change the first line of a program to LINE 0.

POKE 23692,255

This POKE will give auto SCROLL on long text programs.

POKE 23617,14

When inserted before an INPUT statement this POKE will change the curser to ” – ” and INPUT will be in CAPS.

POKE 23613,PEEK (23730)-5

When this POKE is used the BREAK key will be disabled, and the program will crash.

POKE 23755,100

When used at the beginning of a program, the program will not LIST.

POKE 23658,8

Will turn on CAPS LOCK

POKE 23658,0

Will turn off CAPS LOCK.

POKE 23561,20

Address 23561 stores the length of time a key is held down before it repeats (35 is the default value) Set at a lower value for fast typists.

LET t = USR 3582

Scrolls screen one line

LET t = USR 3583

Scrolls bottom half of screen one line.

LET t = USR 3330

Scrolls whole screen to top line. Must be followed by CLS.

From the Sinclair Louisville Users Group newsletter

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.