Reset Routines

 

Issue 11

Sep/Oct 84

Next Article >>

<< Prev Article

 

 

One of the program routines which caused most interest appeared in Issue 6 in the game Scramble. It was a simple means of re-running a program on SYSTEM RESET. The routine shown would not work on the XL models but the following routine will.

10 POKE 2,52:POKE 3,185:POKE 9,2:TRAP 1000

20 GRAPHICS 18:POSITION 1,5:? #6;"press system reset"

30 GOTO 30

1000 RUN

 

A more sophisticated SYSTEM RESET routine is given here. Unfortunately this will not work on the XL models. If anyone can come up with a fix, please let us know.

Cassette users should change lines 30 and 300 as follows.

30 I=ADR(R$):H=INT(I/256):L=I-H*256:POKE 9,2:POKE 2,L:POKE 3,H:POKE 842,12:GRAPHICS 0

300 POKE 9,0:POKE 2,0:POKE 3,0:? "NOW PRESS THE SYSTEM RESET BUTTON":END

Keep those prying eyes out of your programs!

AtariLister - requires Java

top