User`s guide

5
10
20
30
35
llo
4S
4g
5o
55
5B
59
6o
7a
BO
90
g4
e5
99
100
110
111
TT2
T13
r74
I20
t30
t4o
r49
t5a
r59
t6o
r69
170
180
999
Contestr
First
person
to
write
to
me with
an
explanation
of
what
"cHrP-8"
means
wins
a
free
cHrp-B
game
(undocumeniea
uut
wiit
j-nstructions)
never
before publish6d.
in
""*"
of
postmark
ties,
the
first
correct
answer
t
iee
wins.
r
figured
it o;t-::-'"""-v6"e
(Even
Rick
Simpson
doesn't
ffi*
---at
feas{
that,s
what
he told
me!)
NorTerryr
$ou
are
not
eligible.
PRIXE
,TIXIE
LISTING
REM
REQUIRES
VIP
TINY
BASIC
CIS
\
PR]NT
''HOW
MANY
PRIMES
''
INPUT X
IF X<2
T}IEN
10
PRINT
PRINT
''OK.
HERE
GOES!
''
REM FIRST
PRIIM
IS
'2'
A(1)
=
2
PRINI
"1
=
2"
REM
J
IS
NUMBER
PRIMES
FOUND
REM
N IS ODD
cANDIDATES
(T-,TTn
IGNNEDY
AT
THIS
poTxT)
N=j
d-l_
J=J+1
A(J)=u
REM
OUTPUT
PRIIUE
NUMBER
;RiN'i
-
;;
;l=i;;-
n(
}
i
-'---.
REM
TEST FOR DONE
IF
J=X
TItrN
999
N=N+2
REM NOW DIVIDE CANDIDAIES BY
REM
PRIMES FOUND
(A(K)'S)
SO
FAR
REM
Q
IS
THE
QUOT]ENT
REM R IS
THE
REMAINDER
K=2
Q=N/A
(K)
R=N-Q*A(K)
REM PRrnm PossrBLE?
(ny'o)
IF
R=0 TIIEN
110
REM PRIII{E?
(Qs=pRnM
DIvISOR)
IT
Q(=A(K)
THEN
80
,REM
N IS NOT PRIIUE
li=r*f
c0T0
130
END
LAST MONIH''S
ANSWERST
f)
Wipe Off Modifications
--
Auto
Speed Up
(plus
auto
restart
on
Key 0 at
end
of
game.)
Load
CHIP-8
lnlipe
Off and
normal CHIP-8
as
listed
in
the VIPmanual
then
enter
the
fol-lowing.
00Ac
Ec
-
-
Switch
to
Hi- speed
CHIP
-
B
0218
-I
0234
a;iz
67OA,
;V7=0A
Optional
--
#
bal1s
=
10
for higher
challenge
1300
INII
Jump
to
initialize
V8,V9
each
baLl
t3t}
TIIUE Jump
to speed
eontrol during
play
2.OB/O9
,
4O