TS2068 Programming Tips

Authors

Publication

Pub Details

Date

Pages

See all articles from T-S Horizons n7

Our thanks to Games to Learn By for letting us borrow these tips from their Timex Survivors Flyer (P.0,Box 575, 2 South Street, Williamsburg, MA 01096).

1st + 2nd Displays

You can use this routine to move the Function Dispatcher so you can utilize the 2nd Dispatcher.

10 CLEAR 39999 
20 FOR i=40000 to 40017
30 READ n:POKE i,n
40 NEXT i
50 DATA 1,254,254,205,153,100,62,2,205,142,14,1,255,0, 205,89,252,201

After the lst use, you then have to use these commands-otherwise you will BOMB OUT.

OUT 255,2 for the 2nd Display 
OUT 255,0 for the 1st Display

22nd + 23rd Display Lines

If you would like to use the 22nd + 23rd lines on the screen without using the INPUT COMMAND, use this command

PRINT #1:AT 0,2:"Hi there!!" 
PRINT #1;AT 1,5;"Bye Now!!!"

The computer will continue to process the program, which is fine unless you have to put a question or a prompt and are waiting for a response.

In which case you would have to put in a loop so that until you got your needed answer the program would not continue.

Just for FUN try this

1 CLS 
5 INK 0: ON ERR GO TO 1
10 INPUT INK 0;"Enter Number";n
15 IF n<210 THEN GO TO 10
17 IF n>800 THEN GO TO 10
20 INPUT INK 0; "Enter Ink";i
25 IF i<0 THEN GO TO 20
30 IF i>7 THEN GO TO 20
35 CLS
40 INK i; PLOT 75,85: DRAW 50,50,n
42 REM 50,50 can be changed to 25,25
43 PRINT #1; AT 0,0;"PRESS Z for copy to PRINTER"
45 PRINT #1; AT 0,0;"Press any other key to continue"
46 IF INKEY$=""" THEN GO TO 46
49 IF INKEY$="Z" THEN COPY : LPRINT "Number";n:LPRINT: LPRINT
50 GO TO 10

SCROLLING

If you POKE a number from 1 to 255 into the location 23692, the computer will scroll that many line plus 21 (IF THERE IS THAT MUCH TEXT TO BE SCROLLED)

Otherwise it will return to the beginning of the text and use that to print the number of lines you estimated.

POKE 23692,# #=Any number from 1 to 255

Faster Control

If you have a long text to edit and you feel like your computer is worn out before it starts, OR if your laser guns aren’t firing fast enough for you, Try these commands BUT BEWARE!!!

POKE 23561,# (#= 1 T0 35) (I prefer 10 to 15 for Text)
POKE 23562,# (#=1 to 5) (I prefer 3 for Text)

For the touch typist this is really a terrific advantage.

MORE FLAGS

For those of you that do some business programming where you would like to capitalize occasionally, here is POKE for you!!

POKE 23658,8 (CAPITALS)

BEEP for TYPING

For those of you who are Hard of Hearing or just like to hear the reassuring beep of the typewriter keys, Try this command:

POKE 23609,# (# = 1 to 255)

The sounds range from wood blocks to Morse Code. 0 being no sound.

Products

 

Downloadable Media

 

People

No people associated with this content.

Scroll to Top