History’s Greatest TS2068 POKEs and Extras

Author(s): Frank Davis
Publication: Update Magazine
Pub Details: Update January 1993
Date: January 1993
Pages: 14-15

Over the last several years most of us have collected from our own research, fellow users and newsletters some POKES that we have found useful to us while using the TS2068 or Spectrum. I want to share with you some I have put to use over the years. If you find some that I have forgotten, or never knew about, drop a line to me at UPDATE Magazine. Also program tips are shown.

(1) To put the TS2068 in CAPS LOCK mode–POKE 23658,8. To take the TS2068 out of CAPS LOCK mode–POKE 23658,0.

(2) To cause the computer to PAUSE until a key is pressed (any key)–PAUSE 0.

(3) POKE 23609,X (where X is from 1 to 255) will give you varying key click.

(4) POKE 23659,0 will make a program unstopable by using up all 24 lines. This can be used in just part of a program or throughout the entire program to limit user input.

(5) POKE 23692,1 will cause the computer to scroll 22 lines to a key press, then a key must be pressed for every line.

(6) POKE 23692,2 can be used before every print for automatic scrolling. This gives you a SCROLL command like you had on the TS1000 and the TS1500.

(7) On the Spectrum, you POKE 23617,142 in order to get the Pound Sign (CHR$ 96). On the Spectrum to get the $ Sign, you have to POKE 23617240 (which is CHR$ 36).

(8) For the Spectrum to get a fast auto repeat you POKE 23562,1. In order to disable the auto repeat on the Spectrum you POKE 23561,0.

(9) Also on the Spectrum you can find useful the following POKES: POKE 23617,238 for a flashing blank square; POKE 23617,223 for a question mark; POKE 23617,252 for a ‘less than’ sign and POKE 23617,253 for a ‘more than’ sign. If you should POKE 23617,190 you will get the word USR, while POKE -23617,192 will give you the word BIN, and POKE 23617,208 will give you the word DATA.

(10) On the Spectrum or TS2068 emulating a Spectrum you can find out your memory size by the following little program:

10 PRINT (((PEEK 23732+256*PEEK 23733)+1)/1024)-16

and it will be printed to the screen.

(11) On the Spectrum, if you want to disable the BREAD key, you need to enter this line into your program:

LET a= PEEK 23613-2: POKE 23613,a

(12)On the Spectrum if you POKE 23692,n with ‘n’ being upto a maximum of 255, you will over ride the SCROLL command ‘n’ times.

(13) Also on the Spectrum you can get a BRIGHT window at the bottom of the screen (lines 22 and 23) by entering the following: POKE 23624,120

(14) If you want to get a loading pattern on your screen then enter the following: LET a=1278

(15) On the Spectrum in order to find out how many 50ths of a second it took for a key to be pressed, then do the following: ‘LET t=7997-USR 7997’ and then ‘PRINT t’ to get the results.

(16) On the TS2068 to get a question mark displayed in an INPUT statement as a cursor you need to: POKE 23617,236

(17) On the TS2068 to get a delay between successive repeats of a key being held down you enter ‘POKE 23562,*’ where * will be on the order of *=1 to 5.

(18) On the TS2068 to control the time that a key must be held down before it repeats enter the following, ‘POKE 23561,*’. On this *=1 to 35,which can be varied on games according to ones skill and preferably 0-15 if you are entering text in a program such as a word processor.

(19) Some folks never liked (and got confused by) the SAVE message “Start tape then press Enter”. On the TS2068 you just need to ‘POKE 26689,38’ and on the Spectrum ‘POKE 23736,181’ and you will start SAVEing immediately.

(20) Have you ever had a program that loads in several parts off of tape that gave you the following annoyance? You have the loader program, then a pretty screen presentation, followed by the loading of the main program overprinting the screen and giving an unaesthetic look? To get rid of this problem do the following in the loader program: POKE 23570,16 and in the main program you can restore by using POKE 23570,6. If you do not restore by the second POKE then PRINT and LIST will be corrupted in your program.

(21) If you have ever had the problem on the TS2068 that is caused by the INPUT command on the TS2068 not being able to see a letter in upper case (caps) as the same as lowercase, then try the following in your programs: POKE 23658,8 for UPPERCASE mode; POKE 23658,0 for LOWECASER mode; POKE 23617,2 for GRAPHIC mode; POKE 23617,1 for EXTENDED mode.

(22) To get contrasting color between ink or paper on the screen try INK 9 or PAPER 9.

(23) If you can’t get line number 0 on a listing then try POKE 26711,0 and you will have line 0. To change line 0 to line 1 try POKE 26711,1.

(24) Should you want to send all data that is normally headed for the screen to the printer instead then use ‘OPEN #2’. To cancel the above you need only enter ‘CLOSE #2’.

I hope you can find some of these of use to you. Bye, Frank.