ZXComputing Jun-Jul 1984
ZXComputing Jun-Jul 1984
ZXComputing Jun-Jul 1984
J u n e July 1984
C1.9S
@©caMfMing
Britain's Best Magazine For The Sinclair user
L' Over 130 pages of
tollow Slogo-
information and
Logo at a Urograms for
nail's the ZX Spectrum,
I»ace9 ZX81 and zxso
Education
and
domestic
urograms
Joryour
ZX81 and technical
spectrum our 3D
ics program
l e a r n BASIC v*
the professional way
s
Going abroad?
Cash in on our
:urrency conversion
, DOWN AND
DOWItAGAI
The deeper you dive, the
eeperthe danger. Through
cavern after cavern to find the
pearls and the treasure. (It's differei
every game!) Sharks, octopuses and
jellyfish are everywhere; and look
out for your oxygen level /
taggering graphics, fantastic C|
- a true arcade adventure.
• f a d j T ^ ' i r >A V.:
Another great quality game from
the house which brought you
"Harrier Attack! "and
"Jungle Trouble"
DURELL:
available from
. SMITH* LASKYS*
NS at DEBENHAMS*
OOTS* MARTINS
COMPUTERS FOR ALL
CTRUM CENT
and many oth
fetail outlets
or order direct from
CASTLE LODGE, CASTLE GREEN.
TAUNTON. SOMERSET TA1 4AB
commodore \
f
ffleoui
DATA RECORDER ITIicro/
DESIGNED FOR RELIABLE SAVING & LOADING OF COMPUTER DATA
• COMPACT SIZE
200mm x 1.10mm x 50mm TAPE
COUNTER
• HIGH RECORD LEVEL
• AUTO STOP
PIEZO
' O U T P U T C U T ON RECORD SOUNDER]
leads left connected
I* AUDIO MONITOR
ON LOAD & SAVF.
BATTERY
OR 6V ADAPTOR
SPECTRUM £24.95 adaptor supplied ZX81 £27.95
INCLUDING INTERFACE!
G U A R A N T E E D FULLY COMPATIBLE
WITH S P E C T R U M & ZX81 OR YOUR MONEY BACK!!
SUPER SOFTWARE
P U R R R F E C T V A L U E tapes for each computer S P E C T R U M 48K
LOOK!!
NEW!!
Road Race Golf P t a y y o u r Kludo for 2 to 6 Stormforce Invasion PROGRAM MKRS
WORKSHOP
A 3D m o v i n g road way r o u n d a 9 hole p l a y e r * w i t h rooms, A n original board
[ i * seen t h r o u g h the r a n d o m course, w e a p o n * , suspects. game for 2 player*.
Gunner FISHY DICK 'Character Generator
windscreen. You Super f a t t M L : Dick m u i l catch Misk JivpUv Clthf jlhfl
h a c h hole i * * e i Full board display, E a c h p l a y e r has 6
3D moving display. i h e fa*) m o v i n g f n k .V 21 t [Mi , + 14"ntn
m u i l stay o n the w i t h b u n k e r * , out r a n d o m solution* commando* and a
Lasers, shields, a* they s w i m i n h i * inarr<>
r o a d foe 45 m i l e * .
F u l l c o n t r o l o f gat,
o f b o u n d s It w a t e r
hazard*. 3D
a n d dealing. Good
f u n for all the
f i e l d gun. C a p t u r e
the e n e m i e s flag.
2 part invader*, river, l i e c a n emu
'Memory Peeker
3 level*. Q u i c k ' Tap* Header
g e a r * , steering. g r a p h i c * . F u l l tet family. Hidden mines and
reactions nr^dedi
a n d strike. M i n d
(he d u c k * !
Diticmblcr
F u l l cockpit display. o f clubs, p u t t i n g , action graphics. ' A t t r i b u t e * Calculator
Beautiful graphic*
I
full wore display. • M . C . Sound EfTecti
A l l m a c h i n r code. Generator
X o r The more fish you IWO'i H «. omhoul mn»
c a t c h the h a r d e r tatfle m*c. ramped i»in
1 Soccer* a tide Bar Billiards Battleships Starbuster Master of i l get*: & lWt> ti«K
Cast It S t r i k e w i t h 'Number Convenor
game for 2 player*. 1 or 2 P l a y e r * . Y o u b a t t l i n g the You a r r h e m m e d i n the R i n g s different bait tor Hnuit kWitmjl tip
1 Rebounding ball, Computer play* I. computer in this by a galaav o f s t a r t , A v o i d losing lives. each f i s h . It' Kt
moving men. wore Red b a l l , break a n d popular board n o v a * a n d super S e a r c h snake p i t , 'Number Translator
| « i . goal*, f o u l * . t o t a l score, p l a n g a m e . Set y o u r nova*. B l a s t I h e m r a v i n e , trees, maze, •IMtii rt>l#& Hittdct
}
P l a n view of pitch. view o f table w i t h fleet, c o m p u t e r * to b i t s a n d m o v e . black r i n g s , d a r k I n i i i m he* >< i k \ u i u l
• ® mushroom*. is r a n d o m . H i g h senre c h a r t . rider*. A l l w i t h traps A ' L D C A r r a y Display
a . T * * - • L, ,•
» • •
F i n d 6 h i d d e n rings.
Action graphics. A
"f
A HUs.1 Jr-pUis «f
'ti»ni cr jphn»
2 SUPER GAMES ONLY
S P E C T R U M (£3.50 each)
£4.95!
ZX81 (3.50 each)]
£6.00 for 2 tape. ON EACH TAPE!! £6.00 f o r 2 tapes
i
t
Editor: Ray Elder
Editorial Assistant: Fiona Eldridge
Group Editor Wendy J Palmer
Sales Executive: Penny Scoular
Origination and design by MM Design Et Print,
1
Advertisement Manager: Barry Bingham
Divisional Advertising Manager: Beverley McNeill Circus House. 2 6 Little Portland Street. London W I N 5 A F .
Copy Controller: Ann McDermott
Managing Editor: Ron Harris Published by Argus Specialist Publications Ltd,
1
Chief Executive: T J Connell 1 Golden Square. London W 1 R 3 A 8 .
welcome
CONTENTS 8 • The 1K corral 39 • Slog o
1
I say, I say, I s a y . . . and so do you! In which you will find a multitude of mini LOGO in B A S I C ? David Nowotnik 1
masterpieces for your unexpanded reveals all in the first of a fascinating
Touchdown 42
Show your mettle in C Stock's all action
airborne game for the Spectrum. Especially for ZX Computing — a
zappo and Zip . . . 71
program to teach as you type it in from T w o sound programs to help you explore
Gamesmanship ..17 Mike Richardson of Durell Software. the capabilities of your Spectrum from E
French and David Mold.
Expert advice from Tim Hartnetl that will Data Store 46 "I
Escape
A Marsh shows how to enhance your
own programs by using what's built into 1
Get yourself out of a tricky situation in
your Spectrum. Bookshelf
Lynne Rollinson's graphics game for the
ZX81.
Readers' Reviews. 58 Resident book reviewer, Patrick Cain,
assesses three new books relevant to
Personal opinions and considered the Sinclair user.
Safecrack comment: the Editor a c c e p t s no
responsibility. . .
1
A program from S Parry to provide a Light Screen
challenge to students of any age. Club Corner 61 Designer 86
wall walk Looking for someone who shares your Toni Baker makes a welcome return with
the first in a machine code series that
interest in computing? Check out our list
A great Spectrum arcade game from Tat of local, national and international pushes the Spectrum to the limit.
Tang. computer clubs.
The contents of this publication including all articles, designs, plans, drawings and programs and a l copyright and Other intellectual property rights therein
belong to Argus Specialist Publications Ltd. All rights conferred by the Law of Copyright and other intellectual property nghts and by virtue of international
copyright conventions are specifically reserved to Argus Specialist Publications Ltd. Any reproduction requires the prior wntten consent ol Argus Specialist
Publications Ltd.
© Argus Specialist Publications Ltd 1984
[2
your money's worth in lire, drachmas,
110 francs. . . Subscription rates: UK C I 2 . 7 0 including postage
Airmeil end Other retes upon epplication to ZX
Computing. Subscriptions. Intonei Ltd. Times
On television recently a thought control
system w a s demonstated — Z X C keeps
X81 Goes Forth. 128 House. 179 The Marlowes. Heme! Hempsteed.
Herts HP! I B B (Tel: 0 4 4 2 484321
you right up to date with this mind Peter Shaw takes a look at a new ZX Computing Is constantly on the look out for
expanding program from D Barraclough. variation on an old theme. we*-written articles end progrems M you think
that your efforts meet our standards pleese feel
free to submit your work to us for consideration for
1K Disassembler .115
listing
A l submissions w l l be ecknowiedged and the
copyright in such works which will pass to Argus
Chris Timson provides a program to help Specials! Publication* Ltd w « be peid lor at com
Disassemble your ZX81 in just 1K? A you make the most of your Spectrum's petitive rates All work for consideration should be
real challenge from H M Tucker. designing facilities. sent to the Editor et our Golden Squere address
;.vy. a™
^ FOR PRCxom
THE ZX
SPECTRUM SOPTWARE
Bonkers and Breakaway are available
from Prism, Woolworths, Rurnbelows, HOW TO ORDER POST TO: PROCO* SOFTWARE.
Telephone orders J09 HIGH ROAD. 10UGHT0N. ESSE*
John Lewis and Debenhams. (01) 508 1216
I
I P.'eaie vena me rhe foncmmg rtemj
* Dealer inquiries to Prism (01)253 2277 OnJiT Card « o « X * v l A t c « v B * c i * y ; * d
Bonkers I 1 Grid Master
* onty) c m p u r c h a s e by tetepfcon* O j w I • (£5.50)
(£5 50) I I (£4 95)
Overseas inquiries welcomed It w C a r d n o . n a m e a d < V e \ s a n d
'fqu-ffd and t o w a d e r * , n c * despatched
rtemi
I Break, ay | I Itst of n«w
llw unt Off • (£5.50 each) | | games'
DO YOU HAVE A GOOD IDEA FOR A GAME? I IPflW tick iltnnl
m^mmmmmm
BY POST i
CALL US! fencMemrcAeowPO «orf _ „
askfor
de t a i l s I
see you
PRexom 309
PR0C0M SOFTWARE I
HIGH ROAD • LOUGHTON ESSEX I r - t e*« card.
T« (tve)
t ^ * cart m *
JOPTWAKE
TEL: (01) 508 1216 , """* " e i r t1
_2X/4^84j
CONFUSED by the vast choice of Spectrum programs? We can help. We ve ployed hundred* to choose the best (some ore on this page). Full details
in our catalogue, free with your order It s the only catalogue to describe the best, omit the rest and quote all the reviews!
All games work with keyboard control and with joytfix at shown. Of course, we have the classics, too. like BLACK CRYSTAL [48K £7 50),
JET-SET WILLY (48K; £5 95) and PHEENIX (16K: £5.50). All gomes ore in stock ond tested by us - BEFORE they are advertised
WE TRY TO SEND YOUR PROGRAMS THE SAME DAY WE GET YOUR ORDER. Access/V.sa cord holders coll 01 789 8546. 24hry from
any country where your own laws allow this.
HUNTER-KILLER A N f X C f i l f NT SIMULATION
FViCcwrpNr.i C o p t o m your own
S - C l o t t t u b o t y o u h ^ n t d o w n o n d kill t h e e n e m y t u b ' 1 8 c o n t r o l l « y t ( P 8 0 T E K t t - c k h e t p i dire
BLUE THUNDER
tnCihng ond very fruttro'ing 'C'ath
SuF¥«fl GRAPHICS ond imooth p..el
i c r o f m g through ui i c e e n i
T a k e oW f r o m o d e t t i o y e i
hugely
f)y you» h e 4 < o p « e r t o o
tuHoce chart your c o u n t w a t c h t h r o u g h y o u r 3 0 p e r i K O p * Ol y o w t o r p e d o e t r u n t o w o r d t remote t k m d * o u w J I o n l y r e w u e yOu> c o m r o d c t you d i « o » e r h o w t o d e t t r o y t h e n u c l e o r
the target Q u i c k kill p r a c t i c e m o d * f u R t c r e e n control room chart r o o m p«'<Kop« t w - e o c t o r ' S tk.il l e v e l t K E M P S T O N STIX 48K Wtkoe £5 95
Very g o o d g r a p h , c t 4IK Protek £7 93
DUNGEON BUILDERrr;57;zr
GO TO JAIL
VXComp
K C f l l f N T GRAPHICS o r e Oted to m o k e a very
•mpretfve duplet? .ndeed
The b e t ' c o m p u t e r vertton of the fomowt g o m e
highly recommended
F r o m 7 to 5 p l o y « n . including the
a n d O halt y e o n « n the moiling b u t n o w y o u c o n e o t . l y I t a m t o wr i t e a n d iHuttrote mochme helpfully tcroll.ng t c r e e n d.tptoy N O STl* 48K Automate £6.00
PAINTBOX It y o u V* 6 m » l o o k i n g f o r a S p » f i r w n g r a p h i c ! w d
ihui hke o n * OI the b * l t |PapCompWHy> At they
tht
SPRING
fhese
All
SUPERourSAVERS
hove o<
progromt appeared in catalogue* Spectrum best!
cloim. even a child c a n m Paintbox to d e f i n e u p t o 8 4 Uie» O e h n o b l e G ' o p h i c t d r a w oil of
t h e m o n tc r e e n t o v t them tor your p r o g r a m ! then there i the ? t p e e d h. rei d r a w i n g E.T.X. Abbei| NOW £5.00 S AVI £1.00
program ond the 78 p o g e monual t h e m e n ' u t e f u l utility w e ever uied
PENETRATOR Melbourne NOW £4.tS SAVf £100
KEmPSIQN CURSOR STl* k|K PrtnitPtoner 17.70
NOW £1.00 SAVE £3.00
G R O U C H O Automata|
NOW £4.00 SAVE £1 50
FIGHTER PILOTHriNG A tuperb timufa'tpn at o p e c e o' SPLAT! Incentive
DENIS
travel Up t o 9 5
Rapid r e i p o m e tuperbJy compJen g a m e
fPopCompWlry
peoce .0
Funny friendly *e it a d v e n t u r e
pub *Ou
g r e o ' fun t o pfoy e>Ce"en>
At Dentt Thatcher y o u
ZZOOM Imagine NOW £4.00 SAVI £1.50
LORDS OF TIME
ony o n e of the Super Savert a b o v e i e i c e p t the W a d M a r t h o t I tor (Ml £1 0 0 (plut p 4 p
S o m e o ' the m a i l intriguing p u / l l e i if
tor foreign a d d r r m i i
you e n , O f t e t t a d v e n t uret rhu u n o ' t o b e
milled /HomeCompWklyJ D e f e n d h i t l o r y o g a m t l 9 evil T i m e l o r d l f r o m t h e k e A g e t o t h e
SpoceAge 200' kxoi'ont ?00- vocabulary N O STl* 41* le.el 9 £9.90
S C U B A C W f n very t p e c i o ' 5 Uteri Oive o v e r b o a r d o n d teek your fortune, the way the
Powcooe
l i t h m o v e i t i n c r e d i b l e ! S e a u t . f u l full t e ' e e n o n u n o t e d g r o p h i c t b u t y o u II n e e d t t r a t e g y ot
w e l l o f t o c ' o t o ge< p o t t o » t h e o c t o p u m ' A l l S T l * 48K Ourefl O . t S
Ptwr* itwv ir.ca*eai<TJ«iv
PROGRAM NAME Ptice
WHEELIE
liftle t o o g ' o p h i c IS
MCfPTfONAXtr COOOCSAPMICS
with l o a d t a ' a n o n a t i o n C'oih
tmoorh
The c a t h
very d e r a i l e d
teauence n a
Uteri j t * n p b u m a n d c a r t o n your S u p e r O r e o m b i k e a v o i d h e d g e h o g t
£
t
but find the g h o t t n d t i Will you b e a t htm* D e m o m o d e G r e a t tound too All STIX
48 K ONCY Mtcrotphere £J 95 i
£
TRASHMAN
mott ployoble g o m e ever (ram M o k o l m E v o n t
Techmcolty
and movement
t h e g o m e it t u p e r b with i m o o t h
wonderful
For 1 or J p l o y e r t CoJIect ihe b m t
IPopCompWHy;
xrolling
o n d the tipt
The £
- 1
OUTSIDE EUIOPE AMCltotrecr piogtwunu. £
^tE^gWCOTOTOTAl XOTAL
VISA/ACCESS: CALL 0 1 - 7 8 9 8 5 4 6 (24 h n }
Friday 7 . 4 5 p m . entered the market with a range
Woken by children asking if I've of ZX81 and Spectrum pro
fallen asleep, reply "just resting grams. The company is a sub-
my e y e s " . sidiary of a Canadian organisa-
Try to prove it by typing "thr tion and all their programs are
quijk bron f o z " ego suffers from well packaged and have been on
Richard Wright
Richmond
Surrey.
2 0 0 0 CLEAR 5 0 9 9 9 :
RESTORE
2 0 1 0 FOR i = 5 1 0 0 0 T O
52417
STEP 10: LET c = 0
and in line 2 0 3 0 , change
3 0 9 9 0 to 5 0 9 9 0
Now RUN the program (with
all the DATA lines in of course).
COMPUTER
WARGAMESI
toWi^ * * * * * * J
Are you ready for the
BjdChaftenpr challenge of real
wargaming? Get Military
Modelling magazine and
find out how your micro
can lead you into a
whole new world of
combat.
JfTVofrrt
!
BatttefieU Butt*s
THE FIRST IN
W H A T IT IS
Whether you are a beginner
or an experienced
1
DYMIY1IC PACKAGES programmer it will make no
difference with the
DYNAMIC GRAPHICS
FROITI
package from Procom. You
will be able to program
professional looking
PROCOIYI
graphics on your Spectrum.
DYNAMIC GRAPHICS
comes in two cassettes at
the price you would
normally pay for one. But do
not let the low price put you
off. DYNAMIC G R A P H I C S
is by far the most unique
and much needed software
aid on the market today.
£14-95
trie VATandPirP
0 t r m r
/ a ' m / a / J
1 DYNAMIC PROGRAMMING
2 DYNAMIC ANIMATION
T H I S IS A C H A R A C T E R DESIGNER WITH A 3 DYNAMIC SOUNDS
D I F F E R E N C E * F U L L S C R E E N ANIMATION OF 4 D Y N A M I C FILING
S P R I T E S * 27 F U N C T I O N S I N C L U D I N G S P R I T E 5 D Y N A M I C EDITOR
H A N D L I N G 96 C H A R A C T E R S W H I C H C A N B E S A V E D
O N T A P E T O U S E IN Y O U R O W N P R O G R A M S & ASSEMBLER
* E A S Y M E T H O D S OF I N C L U D I N G C H A R A C T E R Package tor the ZX Spectrum now!
(Also for the BBC. Electron and CBM 641
D E S I G N S IN Y O U R O W N B A S I C P R O G R A M S * NO
KNOWLEDGE OF MACHINE CODE NEEDED
* S C R E E N SAVING * S P R I T E S MAY BE TREATED A S EASY TO USE
S U P E R L A R G E C H A R A C T E R S (4 x 4). T H E L I S T I S DYNAMIC GRAPHICS is the one
ENDLESS. YOU WILL BE A B L E TO DESIGN LITERALLY that everybody wilt understand. The
T H O U S A N D S OF DIFFERENT C H A R A C T E R S FROM instruction manual is simplicity itself.
No more strained eyes — the manual
P A C M E N T O S P A C E M E N OR S P A C E S H I P S T O has large 10 * 8 pages with plenty of
BATTLESHIPS. diagrams to make it easy for you.
DYNAMIC
FEATURES. S U C H A S FAST FILL A N D R E S C A L E
T H E R E A R E IN A L L O V E R 50 C O M M A N D S . A
CONSTANTLY UPDATED STATUS DISPLAY.
GRAPHICS
G E N E R A T E D P R O M P T S A R E FULLY DISPLAYED.
NOW YOU C A N DESIGN S C R E E N S A S GOOD A S THE
SOFTWARE COMPANIES.
HOW TO ORDER
Telephone orders r PoM to PROCOM SOFTWARE 309 HIGH ROAD
LOUGHTON ESSEX
(01) 508 1216 m l nv rflrtaAHwigawnt
••
Credit c*rd Holders (Access Barciaycard DYNAMIC r—1 DYNAMIC DYNAMIC
only) can purchase by telephone Please • GRAPHICS PROGRAMMING • ANIMATION
g<vt t * s « o . name, address and items DYNAMIC DYNAMIC DYNAMIC
required and your order wii be despatched • SOUNDS HllNG • ItMTOn b
PR<xom
the same day ASSIMBtfR I
IPW*M Kk nmi
BY POST
I anclone my chequa/PO tor ( I
SOPTWARE
$<mp<y write you' requirements in the
coupon provided, enc lose yot* cheoue P 0 I prater to pay with my ACCCSS BARCLAYCARO
or use your Access or Bare 'aycar a Please Onm •rviirw nor j«*ar»> I -
make cheque payable to PROCOM
Card No
309 HIGH ROAD
SOFTWARE and post to address below
Alio* 7 days for delivery Signature
IN PERSON Name
LOUGHTON V-Sit our premises, at the address below tor
Addrwu
ESSEX a great selection
see you
we will be delighted to
Ack ack
Here's your chance to prove that you're a hero!
Join the Dam Busters with C Stock of Chelmsford.
The enemy are on the offen- for the valley and two for the
sive. Troops, guns, shells and guns.
tanks are pouring down into Your plane appears at the
the enemy position along a top of the screen and the
single, heavily defended valley scrolls upwards toward
railway line. The only chance is you, as you go you must bridge, crash or are hit by the There are many variations on
for a single, daringly piloted destroy the guns which are fir- guns. If your score falls below the "scrolling screen" game
mosquito plane to fly down the ing at you — 2 6 points — until - 3 0 0 then the game is over but type this one in and I'm
valley and destroy the railway you reach the bridge at the end — you failed to halt the attack sure you'll agree with me that
bridge. of the valley. and alt is lost! this is one of the best.
You have been selected and When you drop your bombs
briefed for this task and victory
or defeat rests with you.
the birds eye view changes to
a side view of the valley and
Down the lines
The valley is randomly the trajectory of the bomb j s
generated before the start of shown followed by the results 48- 80 UDG s.
the game — this takes approx- of your attempt. 1 0 0 points 100- 180 Random valley.
imately 1 7 seconds but speeds are awarded for a hit on the 1020-1195 Main loop of the program.
up the running of the game. bridge, but beware, 100 1085-1105 Checks if Ack Ack guns are in range, each
Four strings are defined, two points are lost if you miss the gun has two shots at the plane.
1130-1190 Draw next line of the valley.
1200-1310 Ack Ack Guns.
1600-1670 Bombers cannon.
1800-1990 Bomb.
2001-2300 Finish.
SPECTRUM CAME
7 prM -A A ATTACK- C.C.StCCk KEY® ="8">
3 PFM G r a p h i c s A - A B » B C » C JC45 I F ATTR ( 5 , X > =56 THEN GO
D=D E F = E F TO 2 3 0 0
4 PAPER 7: INK 0 : BORDER 2 1050 PAPER 5 : PRINT AT 5,x|"A"|
5 PRTNT AT 5 f 4 | • ACK ACK A AT 4 , x I J " BEEP . 0 2 , - p : LET x
T T A C K • ; AT 7 , 9 ; PAPER 6J" l»x
P1 ease- wff i t " 1070 I F I N K E Y * - " 7 " THEN GO T O
20 LET LET x l * 1 6 : LET a= 1600
13! LET b * 1 9 : LET w-100: LET e*- 1080 I F TNKEY* = " 6 " THEN GO T O
N 1800
m 1085 I F n<17 THEN GO T O 1 1 3 0
30 TTM « ( i o o : DIH s<ioo>: DIM 1 0 ° 5 I F c C t ) • 1 OR = ( t - l > - l THEN
c ( ! 2 l ) : DTM d < 1 7 1 > : LET a(l>*13 I F x - a C t - l > < 4 OR x - a < t ) < 4 T H E N
: LET b i l i = l 9 GO S U B 1200
40 FOP n=0 TO 4 7 1 1 0 5 I F d < t ) - l OR d ( t - 1 ) " 1 THEN
®EAD q ! POKE USR CHP« 144 I F b ( t ) - x < 4 OR b ( t - 1 ) - x < 4 THEM
• n, q GO S U B 1200
50 NEXT n 1130 I F n <100 THEN LET a«a(n>:
6 0 DATA 60,24,24,255,255,126,2 LET b-b(n>
4,24 1145 PAPEP 7: I F c ( n > » I THEN PR
6 5 DATA ?,117,106,244,234,2-4, INT AT 2 1 , a - 1 J " o B " : GO T O 1 1 5 5
126,56 1150 PRINT AT 21,a!"X"
7 0 DATA 64,174,96,47,37,127,12 1155 I F d ( n > 3 1 THEN PRTNT AT 2
6 , 14 i,b;"Co": GO T O 1 1 7 0
7 5 DATA 255,129,129,165,255,36 1160 PRINT AT 21,b!"X"
,24,24 1170 PAPER 5: PPINT AT 21,a+l;e
8 0 DATA 0,0,240,248,255,255,25 * ( 2 TO b - a >
5,0,0,0,0,120,254,255,254,0 1172 I F n * 1 0 0 THEN PRINT AT 21
"O PPINT AT 1 0 , 5 ? " F R I D G E "100 , 0 ! P A P E R 6 5 "##*t#*t*t*»t»*#M####MWtttt
C o c P - 2 6 " t AT 12,5;"HIT/CRASH/
MISS - - 1 0 0 " ; AT l 6 , 2 i " 5 » L e f t 6= 1185 IF n >120 THEN GO TO 1000
Bomb 7 « T u n 8=Right" «jqo TP r.>V THEN LET ri*n* 1 : GO
1 0 1 ^OR n = 2 T O 1 0 0 TO 1 0 3 0
1 2 0 L E T a ( n ) » a + I N T ( RND * 3 - l ) ! 1 * 5 NEXT n
: I F a ( n ) > 2 5 OR a t n X l THEN LET 1 2 0 1 R E M * * ¥•* * * AA G'.'.N
a (n)-a 1210 BEEP . 0 2 , 4 : L E T x2 =x* INT <
125 TF a ( n ) > a THEN IF RND < . 3 PND * 3 - l ) : L E T y 2 » INT ( 4 * RND
4 THEN LET c(n)»1 *3>
1 3 0 L E T b ( n ) = b + I N T ( RND * 3 - I > 1720 PRINT AT y 2 , * 2 ! PAPER 8;"*
-(b>30): I P b t n ) - a ( n ) > 8 THEN LE ": I F v 2 = 5 AND x 2 = x T H E N GO T O
T b(r>)»aln)+8 1301
'.35 I F b ( n ) - a ( n ) < 4 THEN LET b( 1230 BEEP . 0 2 , 4 : RETURN
n ) = a ( r») +4 J 301 P R I N T AT 5 , * ; PAPER 2j INK
140 I F b ( n > ' b THEN IF RND <.3 6! FLASH I!"*"
4 THEN LET d n ) »1 1 3 1 0 FOR n = ! TO 1 2 : B E E P . ! , ( RN
180 L E T a = a ( n ) : LET b-b<n): HEX D * 8 > : N E X T n : GO TO 1 0 0 0
T n ! * 0 1 PFM * * * * * * gun
1^01 R E M * * * * * * v a l l e y 1610 FOR 9 = 6 TO 9
1005 PAPER 5 : CLS : LET w=w-100: !630 BEEP . 0 1 , 2 4 : IF SCREENS (3
ORINT AT lS,!iw . v ) = " x • THEN GO T O 1 0 8 0
1008 PAPER 7 : PRINT AT 21,0J"XX '640 BEEP . 0 1 , 2 4 : IF SCREEN* 3
x x x x x x x x x x x " ; AT 2 1 , 1 9 ; " X X X X X X X X , x - l ) « " o " ^HEN LfTT w > h » 2 6 ! LET
XXXXX" r t n + 3 - 2 I> 1 PRTNT AT 3 , ; ; " X " ;
1010 I F w<-300 THEN GO T 0 2200 GO T O 1 0 P O
1 0 2 0 F O R r»= 1 T O 1 0 0 !650 IF SCREEN* ( g , * + l ) « " o * THE
1030 LET t=n-15 N LET w-w*26: LET d(n*g-21)»0:
1035 PAPEP 4: POKE 236*2,-1: FRI PRTNT AT g , x » " X " t GO T O 1080
NT 1670 PRINT AT g , * ; " ' " : NEXT 3:
1040 LET *»>:-< INKEY* »"5") +< IN TO 1 0 9 0
C O M E S JM SsH»M * PM
t-i* sftcmt/n
S UPE«6
PACKING
THE TEBBIT
Jotn the magical quest for the elusive monetarist dream, in which THf Mltct hT IRbT
you. a humble Tebbit must seek the assistance of Magdaif and HcVOuUTioN AN A OVfNTVMt ]
Tomkm-Gee to find and defeat the ferocious (and balding) Scarg. is h c a c ' r i M T i MM
48K SPECTRUM £5.50 Inc p&p to
48K -I- ATARI
YOM o*0£*$
To
eutrtie Sorrwrtf
/ } C i 4 A £ / v f i 0 A / Ai>
lOAtOOKf £ t/ /&2
T f f L . O i - l W Oitl
PtftLc* CuouiHitS
DENIS WfLCOMt
A zany political adventure m which you take the roJe of Denis 100%
Thatcher striving to avoid Maggie and all your favourite political
figures to escape from the political jungle.
48K SPECTRUM £5.50 Inc p&p JfiS
48K + ATARI
• mew
Home Ccmpueno Weefrtv 212 6*
Comment* obout the gome torn orevs originator. Addictive Gdmes. certainly
ona Oi« customed deserve the name Rating 19 20 (Practical
"FOOTBALL MANAGER is the best gome t Computing - August 1983]
hove yet seen on the Spectrum and my When IJirst received this game I spent the
personal favourite of all the games on any best part of the weekend playing it Since
micro To the ordinary person 11 is an then i have returned to it more often than
excellent view of what c a n be dooe tn the any other The truly addictive quality of this
field of computer gomes The crowning game is the remarkable way it minors the
glory of this game is the short set pieces of real football manager s problems
i
match highlights which show little stick men Personal Computer Games - Summer
running around d pitch, shooting defending >83)
and scoring It is o compulsive game but
people who cannot take game sessions of 9
hours or so, which happened on one happy
Sunddy. will be grdtetul to know thot there is
d save to tape'option FOOTBALL
Versions coming soon for
MANAGER has everything it could The
Commodore 64
Dragon, Oric
and Atmos.
Available from computer software stockists nationwide, including ^H^ & ¥/a
prices: BBC Mode<B £7 96 To order by mod |p6o »ee| send cheques or
Spectrum 48K £ 6 9 5 ponoi orders to
Dealers! For urgent stocks send
ZX8116K £596
|N 6 ID GRAPHICS ARf NOT INClUOfO IN >todictii« Games your headed notepaper direct to
THE 2X01 VERSION] 7A RICHMOND HL.BCmRrfOUTH BH2 Crt our address.
O w r w maen a u tlio
PROGRAMMING TECHNIQUE!
I PROGRAMMING TECHNIQUI
again, but does not hit line 1 5, Perry of Donegore, Northern 3 =128
which originally set the high Ireland, which can you can add 110 FOR Y » 1 TO 8
score to zero. This means that into functioning programs to 120 I F Z ( X , Y ) = 0 THEN P R I N T " "}
the whole program begins from make them more attractive, : GO T O 140 _
scratch, except the value of the useful of efficient. 130 L E T A=A*B: P R I N T ;
high score. (By the w a y , if The first one (Fig 1) is a circle 14-0 L E T B=B.'2; NEXT Y: POKE C , R
you're running this on a non-ZX routine, which uses the sine/cos : L E T C=C+1: P R I N T : NEXT X
computer, you may have pro- equation at an amazing speed to 150 P R I N T : P R I N T "LOOK RT TME
blems in redimensioning arrays draw a circle in much the same NEU GRAPHIC ; a »; " ' I " {F 3)
so they may well have to be way as the Spectrum's circle
before line 2 0 as well.) command does. X is the X co- This program, (Fig 4) which
Finally in this article, I'd tike to ordinate, Y the Y co-ordinate shows how to scroll any string
share with you a number of and R the radius: of more than 3 2 characters,
routines developed by David would make a very impressive
'YOU H A V E WON' frame, or a
1 REM DRRUING C I R C L E S good start to a game. You'd pro-
2 R E M CCi DRUID PERRY 1984 bably have to slow it down a bit.
10 L E T X=120: L E T y =85: L E T r A s you'll see, it happens very,
S 0 very quickly, so it is difficult to
2 0 L E T o a = x i f read the demonstration pro-
y + r * S I N (0)
30 PLOT o a , o b gram.
4.0 F O R n = . 3 T O 6
50 L E T a « x + r * C O S 1 REM S C R O L L I N G A S T R I N G
r » s i N fn) 2 REM tC.t DRUID P E R R Y 1 9 3 3
60 DRAU 3 - 0 3 , b - 0 b ; oa=a; L 3 C L S
£ T O b =b NEXT n (Fig 1) 10 L E T RS = "
T H I S I S RN EXAMPLE
PROGRRMME TO S H O W HOW F R S T THE Z
The next one (Fig 2) allows you >.' — S P E C T R U H CRN A C T U A L L Y SCROLL A
to paint in the contents of a cir-
cle within a BASIC program. The
variables are as in the first pro-
gram.
S
S T R I N G
UDDLED
SO F R S T
TO HURT.
ACROSS THE
THRT
UP U N T I L
YOUR
YOUR
S C R E E N .
B R A I N
E Y E S
I F YOU
I T
G E T S
B E G I N
LOOK
M
I
b
RT THE P R O G R A M M E T O DO T H I S YOU
1 REM C I R C L E F I L L U I L L r i N D THAT YOU CHN HAVE ANY
S T R I N G OF CHARACTERS I N A5 AS L
2 REM tC) DRUID PERRY 1 9 6 3
10
3 C L S
INPUT 'X-CORDINRTE (G-255)
ONG A S T H E R E
APFY
I S MORE THAN
PROGRAMMING.' ! ! i i i t ! I I !
32!
! "L
"; X
2 0 INPUT "Y-CORDINflTE <0-175)
V 20 L E T X = l : L E T Z -LEN (AS)
30 INPU T " R A D I U S " ; R 30 P R I N T AT 0 , 0 ; A S IX TO X + 31)
35 C I R C L E X , Y , R 40 L E T X = X +1 : I F 1X4-31.) =Z THEN
4.0 FOR N=0 TO R STOP
50 L E T Z = R t 2 : L E T ZZ=Nt3 50 GO T O 30 (Fig 4)
5 5 L E T XX=5QR ( Z - Z Z )
60 L E T Y Y =Y f X X : L E T X Y = 2 * X X
7 0 PLOT X + N , Y Y . DRflU 0 , - X Y Finally, here's a program (Fig 5)
3 0 PLOT X —N,YY. DRAW 0 , - X Y w h i c h a c c e p t s a string of
NEXT N characters and then prints them
100 P R I N T RT 2 1 , 0 ; " P R E S S PrNV K E out sideways on the printer,
Y " : PRUSE 0: RUN (Fig 2) either eight or sixteen times
larger than normal. The people
who make printer paper love
Our next program (Fig 3) allows programs like these!
you to rotate a user-defined
character clockwise. This
means, for example, you would 1 REM BANNER P R I N T E R
5 REM (C) DAUID PERRY 19SA
only need to define one ship for a 6 REM
game like Asteroids and then get 10 INPUT "UORD CMAX 3 2 C H A R A C T i
the routine to rotate it. E R S ) ! " , A $ L
11 L E T L = L E N (A«) : I F L > 3 2 T H E
N PRI N T "SORRY TOO LONG": GO TO
1 REM ROTRTE CHARACTER 10
2 REM fCi DRUID P E R R Y 1934- 15 INPUT " S I Z E C I OR 21 ' , S
5 CLS : INPUT "CHARACTER TO B 16 I F S<1 OR S >2 T H E N GO T O 15
E ROTRTED ( f i - U ) " ; L I N E A* 17 L E T T =1: I F 5=2 THEN L E T T =
6 I F A $ < " d " OR A * > " U " THEN GO , 5
TO 5
10 L E T A=USR A * ; L E T C=A
30
"J I
INPUT "0:NORMAL & 1 : I N U E R S E L
2 0 L E T 9=1. L E T U=8 36 I F I < 0 OR I > 1 THEN GO T O 30
4 0 DIM Z f 8 , 8 ) : FOR D =1 TO 8 37 L E T A=2: L E T B =0 P R I N T AT ,
50 L E T X = 1 2 8 ; L E T B=PEEK R 0 , 0 ; I N U E R S E I ; R $
1
6 0 FOR F * 1 TO 6 40 FOR X=0 TO ( L * 6 ) - 1 S T E P T
70 I F f B - X ) >=0 T H E N L E T B = B - X : 50 FOR Y =166 TO 175 S T E P T
L E T Z ( Q , U ) =1 60 I F POINT ( X , Y ) = 1 TH EN L P R I N .
3 0 L E T X=X/*2: L E T 0=0 + 1 T RT A, 6;
L
90 NEXT F: L E T ©=1 : L E T U=U-1: 70 L E T B = B + 1 .* N E X T Y : L E T B=0:
L E T A=A+1: NEXT D L P R I NT ; L E T A=A+1: NEX T X
100 FOR X s l TO 8: L E T R«0. L E T 80 C L S ; GO T O 10 (Fig 5)
A
>F:m
r
i
-
f - ' ' "
• S 9
I SPECTRUM GRAPHICS!
1
Craft drawings can be
LET afcount,1)»c: LET a(count,2)
GO T O 5 0
Knaresborough.
h: I F d e p t h < 2 OR d e p t h > 5 0 T H E M
GO T O 7 0
72 CLS
iI
-»5 P R I N T A T 0 , 0 5 " R o t a t i o n a l " :
When you have entered this pro- After the title page you are
IMPUT "Number o f v i e w s (minimum
i
gram and first run it, a brief ex- asked to input the depth in pixels
planation of how it works is of the shape. The program then 2 ) "»•* v i e w s : LET Views-INT views
given. To get the most effective moves through four separate : I F v i e w s < 2 THEM GO T O 7 5
displays from it however, a few display modes.
m o m e n t s of preparation is "'6 L E T v i e w s « v i e w s - l
n
necessary. 77 LET pp»(127+width/2)-a3
1 ROTATIONAL The shape is
The shape must be a prism moved through 90 degrees in a 8 0 F O R n = 0 TO P I / 2 + . 0 0 1 S T E P P
although the cross section can series of steps specified by
have any number of points. 1/(2*views>
yourself.
Curves are not allowed ~ even 9 0 F O R m*=l T O c o u n t : L E T fc(m) =
VU-3D, one of the best drawing 2 WORKING DRAWING Tech-
nically known as 1 st Angle Or- a ( m , 2 ) * C O S n: NEXT m
programs on the market, has
problems with curves. thographic Projection, the front, 95 LET a = ( I N T <((PI/2-n)*<90/P
Y o u m u s t enter the co-
ordinates of your shape as
side and plan views are drawn in
position. I*2>)*100 +.5)>/100
100 CLS : PRINT "Angle:"taj"
1
3 OBLIQUE Where all the front
D A T A in line 9 0 0 0 . These are facing planes are displayed in full
relative co-ordinates as used in P L O T p p , " * 0 : FOR m=l TO c o u n t : D
and all the other horizontals are
the DRAW statement and start at 4 5 degrees. RA'J a ' m , l ) , b ( m ) : N E X T m: I F n=0
at the bottom right corner to THEM GO T O 2 0 0
4 ISOMETRIC All sides are
allow several views to be drawn
d i s p l a y e d e q u a l l y w i t h all 150 L E T J e p t h * S I N n : P L O T pp ,
on screen at once.
horizontals at 3 0 degrees.
A possible shape section is ^ 0 : DRAW 0 , - x : F O R m - 1 TO c o u n t : "1
shown in the diagram and the
All the angles in this program are DRAW a f m , 1 ) , b <M) : DRAVJ 0 , x : DRA
co-ordinates are given. To use
U 0,-x: NEXT m
1
this in the program you would produced by a trigonometrical
produce a D A T A line as follows: formula which w a s carefully and 2 0 0 IMPUT " C o p / ? < y / n ) "J LINE
painstakingly worked out by
Martin. At each stage of the l:«: I F IcS " y • T H E M COPY
9 0 0 0 DATA - 5 0 , 0 , - 1 0 , 2 0 ,
40,20,20,-40,1000 display, an option to make a
copy with the ZX printer is of-
2 2 0 NEXT n
1
Note that 1 0 0 0 is a rogue' fered.
value to signal the end of the The DATA included gives the
D A T A to the computer. Once shape that w e have used for the
the required shape D A T A has screen prints, try running the
been entered, then the program program with this to get an idea
can be RUN. of the way the program works.
1
10 BORDER i:PAPER 1: I N K 7\ C
LS : RESTORE : GO T O 1 0 0 0
40 DIM a ( 1 00,2)1 DIM b ( 1 0 0 ) : L 1
ET c o u n t - 0 : LET a l - 0 : LET a2«0:
LET a3=0
30 READ e l IF c«1000 THEM GO 1
TO 61
31 L E T a l «
LET a2-ai
al+c: IF al<a2 THEM
1
32 I F a l > a 3 THEM LET a3=al
60 LET count-count•1: READ d:
1
1
1
"1
Games
Ml*
Rrit.eH 11%
5
InurCUj) 123
-
"Mi »* AM of %l* Tfiift
Travel
II FLMU'CMHII • I MOITI
it rixi. «• *w*IC*t»TIOat
*• ti»t» • I TMulL Micrulli
14 itiua*«<i «« wioca
.If' JtWLlliV
A I I Mitt*
I * tM •t M
u i i erruiitc • imm or cooot
II • I' m
I*I I M M I X
T e l e s a f tiuare
Supermarket
• c i g l i l 0(*0 »t H t i n a i i i i t r mii
• rout o n in TOiitiHH hood tnoOTtw
1
1 tQiHuOfiit i I I I h 1* C H O L I " 1
u jSET" s-JT-'csn
4 tutuiDiill turpgiT ilvlHOQl m i ' l 1'
11• ** a . j ui ro. ^L*
1 >»• •••(•TIC 1M iqxOON rmn'tll - M - OTI •
( • I k l t l Ml M(lO »T fOKIt = V TjiililS i J ^ H i «n« a*r|«f
» »IC1«T1MC I M I t AT «UH»» »IT« ,
• rial aon* oanaen i l t r r i r i r orriCt
» MiM< i MktiiM r«o» u m i l i
L " _ j
News Competitions Telesofttvarc
*
m*
no* i ^ ^ l ^ B "f,lL8!'
Ulhat'5 On atliMMIti H n l n I
Theatre
Guides t CrittlXfl Ct'M
1 l i l M t r a « • • • • ! • • • ( M»»«n |H'
• lI'MMf) 44 It^wtlt IN 44t'|
• IT 1 ICttlUt
i neurit • I M ' t t lntlrMt ^^^b
) Mill
• mmMM
• I M I tuciia r talk i i » . i a M H M C
A '
T •OUT* IM< W i i ' I MM. M
• ttMIM kimoottm
• LOHOOK.NIf * • tr m i l h i «••••
m IMO-* " I "
Spectrum lessons
Mike Edmunds continues his quest against
ignorance and assesses some of the latest
educational software packages.
Educational software has, to in itself or can be used in con- attractive, good use of graphics animated Pete is guided around
date, been of a very mixed quali- junction with the other titles to being maintained throughout various texts to correct the
ty, with often only a limited use provide a really comprehensive the series. mistakes (often physically kick-
in the classroom. Now, with the series of resource materials. ing them into submission it
advent of material such as the Each package comes in an Punctuation Pete seems! I
Dudley Programs, w e find soft-
w a r e intended for use right
A 4 folder w i t h a detailed
guide Workbook which not only wordfinder This is aimed at reasonably
able r e a d e r s and p r o v i d e s
across the curriculum. outlines the aims of the program various texts, chosen at random
The programs, all with the but also suggests numerous The first package, Punctuation from a large bank, all on the
theme of travel, have been associated activities to be car- Pete/Wordfinder, is really two theme of travel. The child can
designed specifically for use in ried out using either the program for the price of one. Pete lives in- choose his own level, beginning
s c h o o l s by a team of 2 4 or the workbook material. There side your computer and it is his with Junior Scribe (full stops
teachers and advisers from is also a set of k e y b o a r d job to keep everything tidy. Your and capital letters). If he can
Dudley Metropolitan Borough, overlays, a summary of instruc- job is to help him sort out master this level he may wish to
in conjunction with Five Ways tions and a 'run card'. Loading is sentences that have lost their aim for higher status, where the
Software. straightforward and the pupil is punctuation. Although this type exercises are correspondingly
Each of the four titles; Punc- greeted by an illustrated title of program has been around for more difficult. Mistakes by the
tuation Pete/Wordfinder, Car screen detailing loading time. A s quite a while, this version is a child are indicated by Pete and a
Journey, Special Agent and with the workbook, the pro- step ahead of the others by vir- second try is invited. Continuing
Ballooning is a complete package grams are colourful and visually tue of its graphics. A delightfully errors are eventually corrected
.Car
Journey
by the computer. make. The correct choice makes familiar. (It is a decided advan- You are then ready to embark
Wordfinder, the second half the journey easy!!! Having pass- tage to have several atlases on upon a solo flight with specific
of the pack, provides an exten- ed through the Driving School, hand!) tasks to perform. These are not
sive thesaurus on the travel the child should be well equip- The program also gives prac- at all straightforward-I'm afraid I
theme, its aim being to develop ped to tackle the hazards of tice in the workings of train and left the vet stranded on a hillside
v o c a b u l a r y . W o r d s c a n be everyday motoring. As an added airline timetables . . . all this miles away from the sick sheep!
selected from a comprehensive bonus here you can also opt for whilst trying to understand in- The program and activities sug-
list and all linked possibilities then driving with hazards, anything telligence reports and decipher gested within the package in-
examined. This is a novel idea from radar traps tosnowstorms! codes! A s a program for older troduce children to various
and it would be nice to think of This program is realistic in ap- primary children upwards, this is scientific principles and seem an
this program 'sitting' at the back proach and the child soon learns an ingenious way of encourag- ideal way of combining learning
of a classroom available for con- to tackle the tasks systematical- ing quick, logical, decision mak- with enjoyment.
stant referral as a source of ly in order to achieve good ing based on a wide variety of in-
vocabulary, stimulation and
ideas, especially for subjects
results. This is an excellent way
of applying decision making and
formation. A s an alternative to
the normal procedure it is also
To conclude
such as creative writing, topic logical thinking to an everyday suggested that the game be
work etc. 'real-life' situation. played with either limited time or Taken singly, each of the pro-
limited money! grams in this series is excellent.
Car Journey Special Agent Put together, as a complete
Ballooning resource package, they are
outstanding — each having the
T h e second package, Car In S p e c i a l A g e n t y o u are right blend of interest and skill to
J o u r n e y , involves travelling recruited by M l 6 , your job being Ballooning, the final title in the ensure continued usage. The
around the main roads of to catch an enemy spy. This is a series, is a simulation program programs are well written and
England and Scotland and com- maddeningly frustrating pro- which encourages children to in- overall presentation is of a high
bines geography and gram - sometimes the spy can v e s t i g a t e and e x p l o r e the quality.
mathematics with logical think- be tracked down quite quickly, science of lighter-than-air flight. A s a theme package they test
ing and evaluation. Four levels of at other times you can spend There are several levels and in- the child's abilities in all areas.
skill are provided and the child weeks (or even months) chasing itial tuition is gained in the Flying Marvellous — fun whilst learn-
first has an opportunity to get him around the cities of Europe. School. This is an essential duty ing!
acquainted with the vehicles Continued lack of success might before undertaking your Rying
and conditions in the Driving spoil this program for some Test and eventually your Live Each of the packages reviewed
School. Here, selection of vehi- children but it can also be very Mission. If you pass your test above costs £9.95 and is
cle, route planning, cost addictive! The strategies re- you are assigned a score and published by Heinemann Com-
analysis and fuel consumption quired are soon discovered and your subsequent activities are puters in Education Ltd. 22 Bed-
all prove to be important deci- the various countries and cities influenced by the rank you have ford Square, London WC1B
sions which the child needs to involved quickly become been given. 3HH.
Special
Agent
t .
GONE TO OUR
PRICE
%>A
tr
TRAJNSYLVANIAh
TOjwER j i
A spectacular 3-cPmazejj I i
adventure for the ®
48K Spectrum and Dragon 32
RICHARD SHEPHERD
SOFTWARE
S E L E C T E D TITLES A V A I L A B L E F R O M
variables
The number of successful escapes the player has made.
At the start of a game it is set to 1 5 6 (code for an
inverse 0) but this is increased for each escape.
Used as a flag in lines 3 2 0 to 4 0 0 and is an indicator
}1
as to whether the player is on the ladder or not. It is
also used to blank out the old asterisk after a move.
Used to erect the ladder.
Used to alter the extent of the guard's movement, an
inverse asterisk.
The start of the display file.
The player's position. X is added to Z to give the
current position of the player on the screen.
The time which remains to the player — set at 1 6 5
(code for an inverse 9} at the start of each escape.
Usually used in FOR/NEXT loops.
Used either for a flag when the time runs out or if a
successful escape has been made. If the time runs out
whilst you are on the ladder then you will slide back
down; if you have reached the top and both escape "1
hatches are in line then you will have escaped.
Used in line 8 1 5 as a delay.
1
ladder, and 0 if jumping down the escape hatch.
4 2 0 - 6 4 0 Caught by guard routine, drags player to top of
ladder and then jumps to L 3 2 0 .
i
6 5 0 - 6 8 0 S h o w s when the player has been caught.
7 1 0 - 7 4 0 S h o w s that an escape has been made.
7 5 0 - 7 7 0 Increases escape counter, check for end of
game.
8 0 0 - 8 2 0 Scroll clear screen.
8 3 0 - 9 8 0 Introduction.
i
i
i
i
You've seen the film, now play the game with
i
Lynne Rollinson of Bolton
28 ZX COMPUTING JUNE/JULY 1984 28
w 350 IF PEEK G=128 THEN GO TO 6
V ^
50
1 REM *********************** 360 POKE G,23
* E S C A P E BY * 370 POKE (G-33),P
* LYNNE ROLLINSON * 380 NEXT G
*********************** 390 POKE ( G - 3 3 > , 0
1
mark (?) and every correct
answer replaces the question
mark with a blue pound sign (£).
The object is of course to fill all
the boxes with pound signs - if
anything will attract and occupy
the minds of children, i t ' s
money! Every wrong answer
loses a pound sign but the com-
puter will keep on asking ques-
1
tions until someone wins. Filling
all the squares with pound signs
will give a large fanfare of sound
and a colourful screen display.
The program runs by first call-
ing the subroutine at 8 9 0 0 . This
draws a colourful screen with
accompanying sound and a sum
is randomly devised in lines
7 0 0 0 to 7 0 5 0 . To do this, line
7 0 2 0 chooses whether addi-
tion, subtraction or multiplica- ed if smaller n u m b e r s are answer which is worked out in next box. If the variable tot
tion is to be performed and line wanted. Line 7 0 5 0 ensures that line 7 1 2 0 . Having compared the reaches 1 5, meaning that all the
7 0 3 0 m a k e s s u r e t h a t if no negative numbers result from child's answer with that of the boxes have been filled, the
multiplication is chosen then the subtraction and then line 7 0 6 0 computer, the program either subroutine at line 8 0 0 0 is called
numbers are kept within the builds the sum itself. jumps to a fail message which which displays a win message
range of 1 to 12. Line 7 0 4 0 After answering the question replaces the pound sign with a and the usual 'do you want
chooses two numbers and the 1
from a series of screen prompts, question mark or to line 7 7 0 0 , another go' question is asked.
value 1 0 0 can easily be chang- the child is immediately told the which places a pound sign in the
5RFE CRHCK
LS : P R I N T I N K I; • • • • • • • I I I
•• ••• •• •• • •"
8«?10 P R I N T I NK
• A • • • • •"
8°20 PRINT INK
• • •• •• • hl"l?l?l'*l?l'?|->l7|clc|£|£l £lc1
8*30 PRINT INK KEY IN THE ANSWER TO THE 5UMS
• •• • • • • THEN PRESS THE 'EHTER'
3°40 PRINT INK 5; "•• A • • • • • OUESTION
S2 • •• •• • •"
r GRAPHIC xn
DESIGN TOOL / \
for SPECTRUM (48K)
24 x 24 GRID FOR H.R. GRAPHIC DESIGN. 200 CH. STORE. VIEW ^ AND EDIT
UP TO 9 CH. - CHOICE OF 9 FORMATS - ROTATE - MIRROR (HOR. OR
VERT.) - MENU DRIVEN - KEYBOARD/JOYSTICK CONTROL - TOOLKIT
INCLUDED TO USE U.D.G IN YOUR OWN PROGRAMME
TRADE ENQUIRIES:ANIROG SOFTWARE LTD. 29 WEST HILL DARTFORD KENT (0322) 9 2 5 1 3 / 8
MAIL ORDER 8 HIGH STREET HORLEY SURREY 24 HOUR CREDIT CARD SALES HORLEY (02934) 6083
PAYMENT BY CHEQUE P 0 ACCESS/VISA
wall walk
SPECTRUM CAME
superb game.
Based on a well-known arcade Superb graphics, colour and A n interesting method of
game, this program has your lit- sound all combine to make this keeping the high scores is used,
tle character running along an exciting game - it will have the program POKEs them into
several layers of walls, climbing you sitting on the edge of your the UDG area so that if the pro-
ladders and generally being seat, but keep calm and don't gram is re-run the high score is
chased silly by vicious green panic! kept.
meanies. In order to survive you
will have to destroy all the aliens CONTROLS: 5 moves left
by digging pits and luring the un- Program details 6 moves down
suspecting nasties into them. 7 moves up
Once the alien is in the pit. you Type in program 1 to set up the 8 moves right
must beat him about the head UDG's and RUN it. Now type in 9 Dig left
until he dies. the rest of the program and save 0 Dig right
it by GOTO 9 9 9 9 , the program
saves in two sections, one after
what a gas the other, so don't forget to
press a key after the first section
Unfortunately, things are not all has saved. VERIFY both sec-
in your favour — you only have a tions by VERIFY " " : VERIFY " "
limited amount of oxygen, so CODE and press newline.
that excessive movement or
taking too long will lead to your
demise. Needless to say, if you
are captured you will lose a life.
10 P O K E 2 3 6 9 3 , 5 6 : C L S : GO TO 5 7 3
2 0 C L S : D E F F N R ( X > = I N T ( RND **XX>>:: GO TO 6 1 0
30 L E T X l - X : L E T Y l - Y
40 I F I N K E Y * - " H " THEN GO SUB 7 3 0
5 0 I F X - 3 OR X - 8 OR X - 1 3 OR X - 1 8 THEN L E T Y » Y + t I N 6 1 4 3 8 - 2 5 1 AND Y < 3 1 ) - < I N 6
3 4 8 6 = 2 3 9 AND Y > 0 > : L E T A » - < " E " AND Y 1 > Y ) + C F " AND Y1< Y >: I F Y1 <> Y THEN L E T UN
= U N + . 2 5 : GO TO 9 0
60 LET UN-UN+.13: LET A»='A"
70 I F A T T R < X + l , Y > - 5 7 AND I N 6 1 4 3 8 = 2 3 9 THEN L E T X - X + l : L E T F=1
80 I F A T T R ( X - l , Y > - 5 7 AND I N 6 1 4 3 8 - 2 4 7 THEN LET X - X - l : L E T F»1
90 PRINT AT X I , Y 1 ! • "
1 0 0 I F F - l THEN PRINT AT X l , Y l t INK 1 | " D "
1 1 0 I F X I <> X THEN LET UN-UN+.13
120 L E T F - 0 : I F A T T R < X , Y ) - 3 7 THEN LET F - l
130 I F I N 6 1 4 3 8 - 2 5 5 OR X <> 3 AND X <> 8 AND X <> 1 3 AND X <> 18 THEN GO TO 2
10
35 ZX COMPUTING JUNE/JULY 1984
SPECTRUM CAME
1 4 0 L E T V - A T T R ( X + 1 , V * 1 ) S L E T V I - A T T R < X + 1 , Y - 1 > : I F V - 3 8 OR V l - 5 8 THEN LET S
C-SC+5: PRINT AT 0 , 6 | S C
150 I F I N 6 1 4 3 8 - 2 3 3 AND A T T R ( X - 1 , Y - 1 > <> 5 7 AND A T T R t x - l , y - l > <> 6 0 AND A
T T R < X , Y - 1 > <> 3 7 THEN LET UN-UN*.13: LET W»l: PRINT AT X , Y | I N K 1 J " E " : FOR N -
1 TO 3 : P R I N T AT X , Y - 1 5 " G * : P A U S E 2 : P R I N T AT X , Y - 1 | " H " : P A U S E 2 : P R I N T AT X ,
Y - 1 | " • : BEEP . 0 1 , Y : PRINT AT X + 1 , Y - 1 » " K " : N E X T N: P R I N T AT X + 1 , Y - 1 | " "
160 I F I N 6 1 4 3 8 - 2 3 4 AND A T T R < X , Y + 1 > <> 3 7 AND A T T R < X - 1 , Y + 1 > <> 3 7 AND ATT
R ( X - l . Y + l ) < > 6 0 THEN L E T UN-UN+.15: L E T W-2: PRINT AT X , Y | INK 1 | " F " : FOR N -
1 TO 3 : P R I N T AT X , Y + l I " I " : P A U S E 2 : P R I N T AT X , Y * 1 1 " J " : P A U S E 2 : P R I N T AT X ,
Y + 11 " BEEP . O I P Y : PRINT AT X * 1 , Y + l » " K " : NEXT N: P R I N T AT X + l p Y + i f "
1 7 0 I F V I — 3 8 AND W - l THEN PRINT AT X + l , Y - l I P A P E R 6 | " C "
180 I F V - 3 8 AND W - 2 THEN PRINT AT X + l , Y + l ! P A P E R 6 | " C "
190 LET W-0
200 I F ATTR ( X , Y ) - 6 0 THEN P R I N T AT 2 , 51 "YOU HAVE B E E N M U N C H E D ! " ! AT X , Y | I N K
i ; OVER 1 ! F L A S H 1 | " A " : GO TO 3 3 0
210 I F A T T R ( X , Y ) - 6 2 THEN GO TO 8 8 0
213 PRINT AT X , Y | INK l ; A » : IF A T T R C X + 1 , Y > = 5 6 THEN PRINT AT 2 , 2 | " I D I O T YOU
F E L L DOWN A P I T " t AT X , Y | " "S INK I t AT X « 1 , Y | " A B : GO TO 5 3 0
2 1 3 I F XY < - 1 2 3 AND F 2 - 0 THEN GO TO 8 3 0
2 2 0 FOR N—1 TO ( U N * 1 0 I / L V : PLOT INK 2 | X Y , 8 : DRAW INK 2 t OVER 1 ) 0 , 7 : L E T X Y - X Y
- l : L E T U N - U N - . I ! NEXT N
2 3 0 I F XY < - 7 2 THEN PRINT AT 2 , O l " Y O U ' V E D I E D FROM L A C K OF O X Y G E N " : P A U S E 10
0 : GO TO 3 3 0
240 LET A 1 - A ( Z > : L E T B1=B(Z>
250 I F ATTR ( A l + 1 , B 1 ) — 3 6 THEN GO TO 4 7 0
260 I F A l - X THEN I F A l - 3 OR A l - 8 OR A l - 1 3 OR A l - 1 8 T H E N f < GO TO 3 5 0
2 7 0 I F C ( Z > <> 0 THEN GO TO 3 0 0
280 I F ATTR < A 1 + 1 , B 1 ) - 5 7 OR A T T R ( A 1 - 1 , B 1 ) — 3 7 THEN GO TO 3 3 0
2 9 0 GO TO 3 5 0
3 0 0 L E T A t Z)—A( Z > • C < Z J : I FA < Z ) - 3 OR A ( Z ) — 8 OR A ( Z > - 1 3 OR A ( Z > - 1 8 THEN
> =o: P R I N T AT A l . B l t INK U " D " : L E T Al< •A ( Z ) : L E T F ( Z ) - 1 : GO TO 3 5 0
310 PRINT AT A l , B l l INK l ! " D " : L E T Al> A ( Z ) : L E T B l - B ( Z ) GO TO 4 0 0
3 2 0 GO TO 4 0 0
3 3 0 I F A1<X AND A T T R < A l + l , B l ) - 5 7 THEN L E T C C Z J - l : GO TO 3 0 0
3 4 0 I F A1>X AND A T T R ( A 1 - 1 , B 1 ) — 5 7 THEN L E T C ( Z > « - 1 J GO TO 3 0 0
3 5 0 I F A l - X THEN L E T B 1 = B 1 + ( B 1 < Y ) - ( B 1 > Y ) : GO TO 3 8 0
360 LET B1-B1+ D < Z)
3 7 0 I F 81 > - 31 OR 81 < - O THEN LET D ( Z ) - - D ( Z )
380 PRINT AT A t Z ) , B C Z ) I " J I F F ( Z ) —1 T H E N PRINT AT A <Z> , B ( Z ) i INK 1 I " D "
390 LET F ( Z ) - 0 : IF A T T R ( A 1 1 B 1 > - 5 7 THEN LET F ( Z ) - 1
400 PRINT AT A 1 . B 1 J INK 4 f "B"
4 0 5 I F F 2 - 1 THEN PRINT AT F 5 , F 4 | OVER 1 ) INK 6 | " 0 "
4 1 0 I F A l - X AND Y - B l T H E N PRINT AT 2 , 3 1 " Y O U HAVE B E E N MUNCHED"» AT X , Y ! OVER
I I I N K 1 | F L A S H 1 | " A " : GO TO 5 3 0
420 I F A T T R ( A 1 + 1 , B 1 ) = 5 6 THEN GO TO 4 7 0
430 LET A(Z>«Al: LET B ( Z ) - B 1
4 4 0 L E T Z - Z + l : I F Z > - C I THEN LET Z - l
450 I F I N K E Y * ="H" THEN GO SUB 7 5 0
4 6 0 GO TO 3 0
470 PRINT AT A 1 , B 1 | " " I AT A l + l . B l l INK 2 ( " B " : FOR N - l TO 4 : B E E P .1,N:
1 , 5 - N : NEXT N
4 8 0 I F C l - 1 - 1 THEN L E T SC*=SC + 1 0 : GO TO 5 7 0
490 LET A ( Z ) - A < C 1 - 1 ) : LET B<Z>-B(C1-1>: L E T F(Z)-FCCl-l)
300 LET SC-SC+10: LET C l - C l - 1
510 PRINT AT 0 , 6 | S C : L E T Z - l : GO TO 4 4 0
320 PRINT AT 1 , 0 1 F L A S H I I I N K 4 | " B O N U S " : FOR RL«XY TO 7 2 S T E P - L : BEEP 01,XY/
4 : PLOT X Y , 8 : DRAW I N K 2 | OVER H O , 7 ! L E T SC«SC + 1J P R I N T AT 0 , 6 I S C : LET X Y - X Y -
I : NEXT N : FOR N - I TO S O : BEEP . 0 3 , N : B E E " . 0 3 , 3 0 - N : NEXT N : GO TO 2 0
5 3 0 I F S O H I THEN PRINT AT 1 , 0 | F L A S H I t INK 2 1 " C O N G K A T U L A T I O N S A NEW H I - S C O R
E " : FOR N—0 TO 3 0 : B E E P . 0 1 f N : B E E P . 0 1 , 2 3 - N : N E X T N: P O K r USR " U " f S C - 2 5 6 * I N T
4 S C / 2 3 6 ) : POKE USR " U " + l , I N T ( S C / 2 5 6 ) : GO TO 5 5 0
540 PRINT AT 0 , 0 t : FOR N - l TO 1 1 : P R I N T INK 8 t P A P E R 8 | OVER l ! F L A S H 1 | "
NEXT N : FOR N - I T
0 2 : BEEP . 5 , - 5 : BEEP . 5 , - 1 0 : PAUSE 4 0 : NEXT N : FOR N - 5 0 TO 0 S T E P - I S BEEP . 0 5 ,
N : NEXT N
550 PRINT AT 1 1 , 5 l " P R E S S ANY K E Y TO S T A R T " | AT 1 3 , 3 | " P R E S S ' I ' FOR I N S T R U C T I O N
Quicksoft
aid in drawing graphs or in
Microsoftware technical drawings and so on.
Magazine — Once you have loaded the
infinite Software tape, you are presented with a
menu. From there you can view
the available UDG bank; there
There's only one thing wrong with the But our keyboard doesn't just come
ZX81. Its keyboard. loaded with features. With it comes a separate
Or rather its lack of one. overlay and a set of coloured stick-on labels to
Since it's flat your fingers don't feel as if make game playing easier.
there's any response to the pressure put on Its yours for the original price of £9.95.
the keys. , t Whichever way you look at it, we think
L \ you'll agree that it's a keyboard that's quite
ZX81 KEYS FILESIXTY KEYS outstanding.
In other words, you're not quite sure I Orders to Filesixty Ltd.. FREEP0ST, London W9 2BR~~I
which keys you've pressed until the screen Cheques/PO made payable to Filesixty Ltd.
actually tells you. Please send me (qty.) Keyboards at £9.95 each
Our new, improved push button keyboard (including VAT and P&P).
changes all that. Total £
It matches the ZX81 perfectly. And the Bioo cAPrrvs
Name
keys give a real calculator-type feel.
Address
To set it up all you have to do is peel off the
adhesive backing and stick it on top of the I
ZX81 touchpad. C2
Because no tampering or soldering is
involved the guarantee is not affected. And it
will last for up to 31/? million operations.
Filesixty Ltd., 25 Chippenham Mews. London W9 2AN, England. Tel: 01-289 3059. Telex: 268 048 EXTLDN G 4087.
D o n ' t be d i s a p p o i n t e d — m a k e s u r e y o u *osend
you
get e v e r y i s s u e of ZX Computing! round
the
J u s t £ 1 2 . 7 0 will ensure that the next twist?
s i x i s s u e s w i l l be lovingly w r a p p e d a n d
p o s t e d to y o u . J u s t fill in t h e f o r m
b e l o w , c u t it out a n d s e n d it w i t h y o u r
c h e q u e or p o s t a l order ( m a d e p a y a b l e to
A S P Ltd) t o :
ZX Computing Subscriptions,
Machine
Infonet Ltd, code
Sophies
Times House, 9et you
animated*
179 The Marlowes,
Hemel Hempstead,
Herts HP1 1BB,
A l t e r n a t i v e l y y o u c a n p a y w i t h y o u r A c c e s s or
B a r c l a y c a r d : s i m p l y fill in y o u r c a r d n u m b e r , sign the M a k e the m o s t of y o u r Z X C o m p u t e r w i t h
f o r m a n d s e n d it o f f . Do N O T s e n d y o u r c a r d ! ZX Computing — b i - m o n t h l y !
•
NAME (Mr/Mrs/Miss)
£12.70 for six issues
•
UK ADDRESS
•
SUBSCRIPTION £ 1 4 . 2 0 for s i x i s s u e s
RATES o v e r s e a s s u r f a c e mail POSTCODE
1 DIM N*15,5000)
2 DIM B * < 5 , 3 2 )
3 DIM t(5)
10 C L S
15 PRINT AT 1 0 , 1 5 ! " E n t e r Code
: PAUSE 0
20 I F I N K E Y * * " S " THEN GO T O
55
25 CLEAR
30 CLS-
4 0 NEW
5 5 CLS : P R I N T , , " C o d e Accept©
PAUSE 7 5 : CLS
60 PRRI N T I N K 3 , AT 0 , 0 ! " D o yo
u wish to see i n s t r u c t i o n s for
use of t h i s flle*> y / n " : PAUSE 01 200 INPUT x
IF I N K E Y * = " y " THEN GO S U B 8 0 205 I F x=8 THEN NEW
00 210 GO S U B 1000*x
70 INK 0 220 BORDER 7 : PAPER 7 : INK 0: F
75 GO S U B 9 9 0 0 LASH 01 BRIGHT 0
80 PRINT A T 0 , 0 ! " A N Y K E Y TO C 225 CLS
ONTI NUE...": PAUSE 0 230 GO T O 1 0 0
100 CLS : BRIGHT 0: B O R D E R 7\
P 1000 CLS
RINT AT 0,0!"Menu" 1010 INK 2 : PRINT " * P r e s s 'y' wh
110 PRINT AT 0 0 , 1 0 ! " 1 Retr
ie en asked ' S c r o l l " " * " : PAUSE 100
ve - file." : C L S : IMK 0
120 PRINT AT 0 2 , 1 0 ! " 2 Add
to 1 0 1 5 GO S U B 9900
f i le" 1020 INPUT "Enter f i l e number.1-
130 PRINT AT 0 4 , 1 0 } " 3 Obtain 5. "i a: CLS
hard copy of a f i l e . " 1030 BORDER a
140 PRINT AT 0 6 , 1 0 ! " 4 Open a 1060 PRINT AT 0,0!B*(a)
new f i l e . 1065 GO S U B 9000
150 PRINT AT 0 8 , 1 0 1 " 5 Save f 1075 PRINT AT 6 , 0 ! N * ( a M TO t(a
i l e on t a p e T h i s w i l l s a v e t h e p > *-Q6>
rogram a l o n e T h e n o t e s must be sa 10->6 I N K 2 : P R I N T AT 2 0 , 0 ? " T o r
ved by u s i n g r o u t i n e 7" eview notes after this print pre
160 PRINT AT 1 4 , 1 0 ! " 6 To ent ss * y * , ' n ' t o r e t u r n to menu."
er o l d n o t e s to t h i s p r o g r a m * * T 1080 INK 0 : PAUSE 0 : IF INKEY*
H I S ROUTINE C L E A R S CURRENT NOTES » " n " THEN GO T O 1 0 9 0
**"
1 0 3 5 GO TO 1 0 1 5
170 P R I N T AT 1 3 , 1 0 ! " 7 To sav 1 1 0 0 BORDER 7
e e x i s t i n g n o t e s on tape." 1500 RETURN
180 PRINT AT 2 0 , 1 0 ! " 8 To qui 2000 CLS : PRINT AT 0 , 0 ! " T h i s r
t program." c u t i n o adds to the notes at pre
£20.99
TURN YOUR 16K SPECTRUM INTO A 4BK FOR ONL Y
20671 WUCM
InoeOibly low price Ctf
£10.00
uridgit I Software • • L t d
Adventure Playgrounds
P i t your w i t s against t h e w i c k e d M a g i c i a n Kltngsor a n d s a v e the w o r l d f r o m h i s evil
plaV
Two Absorbing Explorations for Juniors Vou n e v
< * 9et the s a m e
you c a °
GameS
over 3 9 * °
Crooked Adventure" and "The Queen of Hearts" ones t w i c e
vmc
Quality S y s t e m S o f t w a r e
HISOFT P A S C A L 4T
I haven't seen any other compiler lhat could match Hisoft's Pascal" .. Using Spectrum Micro — Autumn 1983
T h i s Is a very impressive product of benefit lo any Spectrum programmer" David Bolton ZX COMPUTING Aug/Sept 1983.
Just two comments from full length reviews of our powerful and virtually fuft implementation of Standard Pascal. The advantages of using the Pascal language are
many: fast, self-documenting and truly structured programming— many schools and universities insisl on a good knowledge and understanding of Pascal for their
Computer Studies course*
Now you can learn and use Pascal on your home micro: Hisoft Pascal is available for a wide range of home computers, including the 48K Spectrum. Typically,
compiled programs run 4 0 times faster than their interpreted BASIC equivalent — and sometimes up to 1.000 times faster!
Hisofl Pascal supports all the Standard Pascal data structures and statements INTEGER* REA|_s CHARacters ARRAY* SETs. RECORDS POINTERS Enumerated
types. FOR . . 0 0 , R E P E A T . . U N T I L WHILE DO. C A S E . O F and many pre-defined Procedures and Functions (e g. SORT, TAN. SIN. COS. INLINE. PEEK. POKE
etc. etc.) — it is not a Tiny Pascal but a powerful educational and development tool which allows the user to develop t'ue high level language skills, while attaining
execution speed close to that of machine-code.
Hisoft Pascal tor the ZX Spectrum now comes complete with ZX Microdrrve support (anything you can do with tape you can do with Microdrive! and a Turtle
Graphics package which allows easy creation of complex graphic programs
HISOFT DEVPAC 3
. . D E V P A C i s m o s t highly recommended The documentation is first class . Your Computer — May 1983
" . . . i t Is impossible to recommend any other development package tor the Spectrum over OEVPAC " Adam Denning—CCMApril 1984
Need we say more? DEVPAC 3 is a very powerful assembler, editor and disassembler'debugger. Forget about buying lots of separate packages for your machine-
code development — it's all in DEVPAC 3 A full 2 8 0 assembler with conditional assembly, all standard directives, full arithmetic (*. >', +. OR. XOR. AND. MOD),
many assembler commands for controlling object code generation, listing, printing etc . full line editor with advanced facilities like search, replace siring include
facility that lets you assemble from tape lor Microdrive) without taking up memory for your source tent A N D a superb disassembler/debugger with front panel
display of 2 8 0 registers and flags with command* like search for string ol bytes, copy memory, disassemble memory Ito en assembler textfile. if you wish), list
memory in ASCII, set multiple breakpoints, and. above all. single-step through machine code programs, one instruction at a time E V E N I N R O M '
DEVPAC comes complete with a 4 5 page user manual.
On the ZX Spectrum. DEVPAC fully supports the ZX Microdrive, allowing assembly from micr odrive, saving of text to and from Microdrive and saving of object code
to Microdrive — DEVPAC still fully supports tape as well.
Prices:
Hisoft Pascal 4T (ZX S P E C T R U M ) £ 2 6 inclusive
(NewBrain. S H A R P M Z 7 0 0 etc) £ 3 5 plus V A T
H i s o f t P a s c a l 4 D , m a n y d i s k f o r m a t s £ 4 6 Inc.
Hisoft D E V P A C 3 (ZX S P E C T R U M ) £ 1 4 inclusiva
(NawBrain) £ 2 5 inclusiva
HISOFT
13 G o o s e a c r e , C h e d d i n g t o n
m
Leighton Buzzard. Bads. LU7 OSR
'and others Tel: (0296) 6 6 8 9 9 5
1
|if
T A P E S F O R Y O U TO H I R E
FAST SERVICE
We stock up to 6 0 manufacturers' original c o p i e s of each tape (over
3000 tapes in stock), and can normally despatch your tapes the day we
receive your order, and we always u s e first c l a s s post.
LOWEST PRICES
We believe our prices are ihe lowest of Bny library, yet we offer the
LOGO
LAFtGEST range of titles Hire up to 3 tapes at a time, for 2 w e e k s , for
only CI- 07 e a c h (inc VAT & pAp).
The new educational language with
FREE TAPE HIRE \ Turtle graphics. Logo is an excellent
For a limited period, we wilt s e n d your first tape (your choice) F R E E , s o tool for practically exploring designs and
torn our library now You c a n t afford NOT to' If you've tried another patterns giving experience of lengths,
library and are wary of our claims s e n d a stamp and we'll gladly send
you a copy ol our catalogue • we're confident you it K>in when you s e e it1
directions, angles, radii and colour
Runs on a 48K Q _ inc
Uses ONLY 128 bytes ol Spectrum Memory ZEN EDITOR/ASSEMBLER-*>n*n«t>to you to write.
Locates below BASIC programs assemble, edit and run programs in Z80 Assembly language These operate
Uses Spectrum Keywords faster and take up considerably less memory space than
Supports up to THREE disc drives \ Basic programs. A must for the serious beginner £ 1 2 . 5 0 inc. V A T
Compatible with 40, 80 single or double sided drives
Up to 400K storage tor 80 tracks, double sided drive HORSE RACE FORECAST-lteaspestandpresemracttanrf
information to forecast the chances of a horse winning __
Random access is provided Can you afford to be without this program £ 1 5 . 0 0 inc. VAT
BASIC programs can be merged
and many more send for catalogue
Duplicated Spectrum connector is provided
Password protected
PHONE NOVC (073 57)4335
£ 8 3 . 0 0 ex VAT
W or SEND FOR D E T A I L S ^ ^ - P
£1.00 p&p
I• Please tick box 'or information
required, and sand coupon t o :
• SHARP A
• SHARP 3S41
Q S A G E aaQOOSynttm
Kuma Computers ltd.
I 12. Horsaahoa Park • APRICOT i
l Horseshoe Road, Pangbouma • EPSON HX-20 i
n
Berks RGB 7JW ' • EPSON QX 10
I
C SHARP PC-5000 ••
• NEWBRAIN
• SPECTRUM
I
l
• swus
• SHARP PC 1500 •• •
•
ELECTRONIC MAIL
PRINTERS
• i
routines
A guided tour of some of the Spectrum ROM by
Adrian Marsh of Clanfield.
The Spectrum ROM holds many character subroutine. On en- 0 D 6 8 and ends at OEAB. At holds the column (hex) 21-b.
secrets. The most interesting try the HL register pair holds the present the reader is in- Therefore, a routine to produce
are the monitor routines and in the pixel address of where terested in location 0 D D 9 . an equivalent to PRINT At
this article I shall outline a few of the character is to be printed; This sets the printing loca- 1 1 , 1 5 ; would be:
these routines, and explain how the BC register pair holds the tions to BC:
they may be used. c u r r e n t line and c o l u m n 01 13 0 0 LD BC, 0 0 1 3
values and the A register i) Load the BC register pair CD D9 0 D CALL0DD9
On screen printing holds the character code. w i t h the appropriate
values.
3 E ??
D7
LD A , (character)
RST0010
This method is complicated so it ii) Call C L - S E T and Call C9 RET
There are a number of w a y s of may be easier to use the second 0DD9 which enters re-
transferring information to the method. quired values. 3 The routine PR STRING can
screen: be used to print any string.
2 This subroutine is contained BC is equivalent for a position The monitor routine consists
1 Hex address: 0 B 2 4 - 0 B D A . within another, therefore the A T a,b; the B register holds the of :
T h i s is the P R I N T - A N Y w h o l e routine begins at line (hex) 18 -a and the C register
PR-STRING address 203 C
(label) PR-STRING
LD A , B .
ORC
DEC BC
RET 2
LD A.(DE)
INC DE
RST00010
J R PR STRING
Clearing the
screen
The B register holds a value in
the range of (hex) 01 1 8 .
Therefore, (hex) 1 8 would clear
the whole screen.
The CL-UNE routine begins at
0 E 4 4 and is very short:
06 18 LD B, 18
CD 4 4 0 E C A L L CL-LINE
C9 RET
CD D4 15 C A L L 15D4
£9.95
breakdown Dealer enquiries wekome. Generous discounts.
• Budget "re-think" facility
PRIORITY MAIL ORDER
LOAN/MORTGAGE Please send me CASH CONTROLLERS
CALCULATOR at E9 95 each ndud*>g past & packing (overseas
All you ever wanted to know but INC P & P orders add El 50|.
didn't like to ask I Calculates: MICRODRIVE Name
CARTRIDGE Address
• Interest rates
V^ N O T INCLUDED
• Payback periods
• C a p i t a l sum Dealer enquiries ZX/6/84
• P e r i o d of l o a n welcome.
Generous discounts. I I enclose cash/cheque/P O payaWe to R>Owd
Shepherd Software
REMEMBER THIS CASSETTE Or credit my Access/VISA Card Number
CAN ALSO BE USED II I I I I M 1I II
WITH ZX MICRODRIVE
I Signature
Credit Card Hotline (06286) 63531 L J T S T ^ Z T Z ^ Z Z . J
Readers' reviews
Once again we throw caution to the wind and air
your opinions on the software currently available
for the ZX machines.
card, and the Spectrum goes
Bridge Player on to the next hand. If you play
CP Software the wrong card w h e n you
should follow the suit being
S Datoo p l a y e d , the S p e c t r u m w i l l
forgive your " f a u x - p a s " and
If you are a keen bridge player revoke the trick without
and have sometimes been stuck penalty.
at making up a foursome, then I When the hand has been
can recommend CP Software's played, the display changes to a
Bridge Player" for the 4 8 K score card and here a nice little
Spectrum. Unlike some other touch has been added. If the
bridge games software on the contract has been defeated you
market which basically consist will be commiserated with a few
of bridge t u t o r s w i t h pre- bars of " T h e Funeral March"
determined hands and play, but if you have won the rubber,
Bridge Player allows you to ac- the Spectrum will play some of
tually bid for your contract, as Cliff Richard's "Congratula-
well as play each hand as you tions". You will also be told how
see fit. much you have won if each
On loading the program, you point is worth one pound!
are greeted by a very cleverly The only criticism I have of the
designed title, making use of the program is that you always have
four suits. You are then asked to to play the contract as declarer
wait while the computer shuf- and dummy and East/West are
fles, deals and sorts the cards. always the defenders. You may
Following that you are given the certainly, during the bidding In all there are 1 8 keys to
option of either playing the stage, leave East/West in a con- master, which I found did not The water level is shown
game properly, so that only your tract but you will be informed take long although finding the (which corresponds to your
hand is revealed and the bidding that you and your partner have enemy took a little longer owing depth) and the enemy, if in
for the contracting commences, the majority of points between to some confusion over bear- visual range. Along the bottom
or alternatively you may 'cheat' you. You will then be asked if ings. but they soon disappeared. of the screen are shown the
and see all four hands and then you wish to rebid or play the Your craft has two engines; periscope angle, your heading
decide on the contract. next hand, without the com- one diesel and one electric. On (so many degrees from North),
The play then begins with the puter h a v i n g to play as the surface you should use the the distance to the enemy and
lead from East or West, depend declarer/dummy as well as your diesel engine but because this the torpedo count. Key O turns
ing on who is declarer, after partner. It would improve the needs air to run, the electric the periscope clockwise and key
w h i c h d u m m y ' s hand goes program immensely if the op- engine is used under water. I, anticlockwise.
down. You are always South. position could also play as However, if the submarine stays To help with navigation there
As far as the bidding goes, the declarers. down too long you won't be left are three types of radar; long
computer uses the standard with enough power to surface range (22 miles), short range
ACOL system and also under- and recharge, so an eye must be
stands and accepts Hunter Killer kept on the battery charge in-
(4 miles) and an echo sounder
which gives the familiar, hollow
BLACKWOOD and S T A Y M A N
c o n v e n t i o n s . It w i l l not
Protek dicator. The speeds for the echo sound, when the sub-
L TOUt diesel and electric engines are marine is below 1 5 feet in depth.
however, generate bids using 16 and 9 knots respectively, so There are three high resolu-
these conventions, but will only it's better to use the diesel tion screens shown. All the
respond to them. Imagine you're the commander engines to reach the enemy gauges and dials are shown in
Apart from the 'table' in the of a British " S " type submarine more quickly. the control room which is scroll-
c e n t r e of the s c r e e n and on an important mission off the To make the submarine dive, ed sideways on pressing key C,
declarer's and dummy's hands, coast of Germany and that you the ballast tanks must be flood- to take you into the Chart Room.
the display s h o w s the hand have to hunt and destroy enemy ed using key N, and the hydro- The other screen is your view
number, the dealer, whether submarines. Well this is exactly plane angle altered, using key 6 . from the periscope. In the Chart
any pair is vulnerable and the what you do, if like me, you have To stop diving and remain at a Room a map shows the area
contract. The number of tricks bought P r o t e k ' s submarine constant depth, the hydro- which you are in and part of the
won by each pair is shown at the simulation program, Hunter- planes must be horizontal and German Coast. Also shown are
bottom (eft of the screen, and a Killer. the ballast tanks emptied. Sur- a tide indicator which tells you
flashing indicator on the bottom On loading an impressive pic- facing can be accomplished by its strength and direction, the
right shows the winner of the ture s h o w i n g a submarine blowing the tanks (key B) and enemy's last reported position,
last trick. launching a torpedo is drawn. raising the hydro-planes (key 7). your position and places where
The f aint hearted have the op- You are then asked if you would Every submarine has to have a there are mines lurking.
tion of quitting if they find they like a quick practice shot at a periscope and this one is no ex- Once the enemy is in range
have entered into an impossible submarine. Because the pro- ception. Key p raises and lowers (three miles) and is dead ahead,
contract. This is done by enter- gram is a simulation, there is a it and key V lets you look p r e s s i n g T w i l l prime the
ing the word " n e x t " instead of a lot of cunning strategy involved. through it. torpedos and fire the first one.
£8.50
only operate with 48K machines) Assembler (48K machines only) to give a complete
Machine Code programming system, g y 5 0
INCLVAT&P&P
froqrirm tmMC On iwn oonon to OTKO mertwrv* Kinrxxj* not VUOOW
I OJ W C l VAT 4 P&P
EWdngownertcm c«!*n tfvf nrw txoorjfm tw nrtummg tr* o n u t ) P k w « q u « Jtong w i t n j m w j u e PO for
Of supplied pyrytumtrfooir
M.lOpf progrwury: uwtPtPi Mr*c-^fMrs
Available from the chain of stores, branches of John Menzies and all good computer
SPECTRUM
shops, or by mail order by sending cheque/PO to:
PICTURESQUE. 6 Corkscrew Hill, west wickham. Kent, BR4 9BB Send SAE for details.
t? 1
South African For further information write The Midweekly Acocks Green
Computer Club
to the address below enclosing
A 4 0 c stamp or three Interna-
Spectrum user Computer Club
tional Reply Coupons. Croup
Yours faithfully Dear ZX Computing
Dear ZX Computing
Dear ZX Computing The Acocks Green Computer
I would be pleased if you would
David Vernon I would like to tell your readers Club meets every third Thursday
publish this letter in your
Secretry AZUA about the Midweekly Spectrum in the month at St Mary's
magazine. I am the European
1 9 Godfrey Street User Group. We meet every Church (kitchen vestry} at 7 pm.
r e p r e s e n t a t i v e for a S o u t h
African based computer club Campbell A C T Wednesday (or Thursday if ) also run a computer users
(ZX Computers). We are a world 2601 Wednesday's date is odd) at 8 group that meets every Monday
wide club and have members in Australia Linnet Close, Gloucester at 7 pm at the Stonehall Adult
A u s t r a l i a , E u r o p e a n d , of anytimeafter7pm. Naturally,as Education Centre during term
course. South Africa. there is no charge, members are time. Because the meetings are
Although w e are a big club in Anglo French invited at their own risk. held in an educational establish-
South Africa, and have
members in Britain and Portugal,
Computing? Members may bring their
own Spectrum and cassette
ment, no restriction is put on the
machine but obviously Spec-
w e w o u l d like s o m e more recorder to the meeting and use trums abound.
members in Europe where the Dear ZX Computing of the televisions is on first- Please contact me at the ad-
r e s p o n s e so far has been Can you help me? I'm a French come-first-served basis, as is dress below or at either venue
relatively poor. We would also 4 8 K Spectrum owner who the light pen and tape to tape for further informaton.
like some American members. would like to exchange ideas facility. Yours faithfully
Anyone interested should write and programs with British users. The aim is to have a congenial
Are there any clubs or groups evening, with a mutually Mike Bedford-White
to the address below and I shall 1 6 Westfield Road
send them further information. that correspond with European rewarding exchange of ideas
users? and knowledge, so age, ex- Acocks Green
Yours faithfully Birmingham
If so, please write to the ad- perience or gender is unimpor-
dress below as my Spectrum is tant. For more details, telephone B27 7 T L
J.Jones
European Representative thirsty for programs. me on Gloucester 2 3 1 8 6 .
House 14 Yours faithfully Yours faithfully
Anglo Alpha
PO Box 15 Patrick Dardour Barry Ledbury
1 7 2 5 Roodepoort 1 8 Rue du Borrego
South Africa 7 5 0 2 0 Paris If you run, or are a member of a
France user club which caters for the
Australian zx zx Club Bangalore Sinclair user, why not get your
17 PRINT ••"THIS
INST THE CLOCK"
fr
62
SPECTRUM CAME
106 FOR -F = 9 TO 12: PRINT AT 3 , AT 4 , 8 } PAPER AT * , 2 3 {
+: FAPER 3 1 ; AT 9, 4 ? * * • i AT "l PAPER 4 ; f : NEXT *
5 , M • * " : NEXT * 181 FOR 4=7 TO 13 S T E P 6 : PRINT
10"? FOP <=20 TO 22: PRINT AT 3 AT + , l l | PAPER 3 ; ' * - ; AT + , 2 1 ;
,IJ PAPER 4 } " * " { AT 9,4 I • * • I AT PAPER 4 { " * - j : NEXT 4: GO T 0 200
15,4 1 " * * : NEXT + i o n POKE 2 3 6 7 3 , 2 5 5 : °OKE 2 3 6 7 2 ,
108 FOR +«22 TO 2 4 : PRINT AT o 255
,* ! PAPER 4 J • ; AT 1 2 , f i ; AT 196 PRINT AT 2 0 , 2 9 ; INK 1 I
1 8 , * ; " * " : NEXT F :: GO TO 190 AT 2 0 , 3 0 !
120 FOR <F»3 TC 15 S T E ° 6 : PRINT 198 PRINT AT 0 , O I . " F A S T E S T TIME
AT 4,3; FAPER 3; AT 4 t 2 3 ; FOR COURSE " | INT ( t i m e ) ; AT 21
PAPER 1 ! ! NEXT 4 f O: " T I M E " ,* AT 2 1 , 16! "LAP*
121 FOF f=6 TC 13 STEP 6: PRINT 200 PRTNT AT 2 1 , 2 C ; l a p : L E T a =
AT f , l l ; P A P E R 3 ; " * * I A T 4 , 2 1 i 19: L E T b = l
n
PAPER 4 S * " | : N E X T 4: GO TO 2 0 0 205 L E T t l - ( 2 5 6 * PEEK 23673+ PE
140 F O R 4=4 TO 16 3 T E ° 6 : P R I N T EK 2 3 6 7 2 ) / 5 0
PAPER 3 A T *,23; 208 PRINT AT 2 1 , 6 ; INT t i
P/\PEP J • - *« • : NEX* * 210 PRINT AT a , b ; " A * ; AT a , b ! "
14! FOR 4~3 TO 17 STEP 6! PRINT A" ; AT a , b | " A " | AT a , b ; " " ;
AT f , l l | PAPER 3 J " * " ; AT f , 2 l ; 720 L E T b - b - ( I N K E Y * = " a - > • { IN
PAPER 4 ; ( : NEXT 4: GO TO 200 KEY* BEEP . 0 0 1 , 3
T
160 FOR 4 - 3 TO 18 5 E P 6 : P R I N T 230 L E T a « a - < I N K E Y * = " k • >* ( I N
AT « , 2 ! PAPER 6 1 * * * I AT f , 5 j " * KEY*
AT + , 1 4 J ; AT 4 t 1 7 | " * • | AT 240 I F SCREEN* ( a , b ) = " * " THEN
4 , 2 6 J " * " I AT + , 2 9 j " * " i : NEXT * FOR q~0 TO 7\ ° P I N T AT a , b ; F L
161 FOP f - 6 TO 18 S T E P 6 : PRINT ASH l ; " A " : BORDER q : BEEP . 0 9 , R
AT 4,1| PAPER 6 ! " * - ; AT f , 4 i p * ND * 2 0 : NEXT q : GO TO " 0 0
•; at « , I 5 | " * A I AT F , 1 8 ; " * " ; at 250 I F SCREEN* ( a , b > » ' + " THEN
4 , 2 7 ; A T + , 3 0 I " *
GO TO 200
190 ^OR -F « 8 TO 14 STEP
SPECTRUM CAME
PEEP . 5 , 6 : GO T O 5 O 0 B A R F I E R S " ' * ' " Y O U R A C E D FOR " } I
260 PRINT O V E R 15 A T a,b;"A" NT < t i > ? " S E C O N D S "
3 0 0 GO T O 2 0 5 ">20 P R I N T ' ' ' " Y O U W E R E ON L A P "
500 LET ] 3 » l a +20: LET l a p M e p + 1 I 1up * * * " B E S T T I M E FOR COURSE "?t
502 I F 1ap»6 THEN GO T 0 600 i me
504 PPINT AT 21,20?lap ""TO P R I N T " " ANOTHER RACE
5 0 6 GO T O la C Y : : n T"
6 0 0 F O R *=0 TO 7 : B E E P . 3 0 2 , RN 73! IF I N K E Y * - " Y - OR INKEY*
D : P E F P . 0 0 3 , RND : B E E P . OOG, « " y " THEN GO T O 5 0
RND : P E E P . 0 0 6 , R N D : B O R D E R *: 732 IF I N K E Y * « " N " OR INKEY*
NEXT BORDER 7 : P A P E R 7 ; INK » " n " THEN GO T O 2 9 0 0
o: CLS 733 GO T O 7 3 1
e
610 F INT "YOU HAVE COMPLETED T 1000 FOR e « 0 TO 7 : R E A D n : POKE
HE R A C E YOU F I N I S H E D I N "I I USR "A"+ a , n : NEXT a! RETURN
NT ( t ) l l ' SECONDS" 1010 DATA 60,60,60,255,255,255,1
611 L E T »«h+1 02,102
6 1 ? I F « M THEN GO TO 6 3 0 2 9 0 0 B O R D E R 7\ PAPER 7: CLS : LE
615 IF INT ( t i ) > t»me THEN LET T o«l
t i f f INT <ti> 3000 PRINT AT 1 0 , 1 2 ; INK qj"CHE
6 2 0 P P I N T * * * " B E S T T I M E F O R COU ERIO-
RSE "t INT (time) 3 0 0 3 I F q«6 THEN LET q-1
6 2 5 GO T O 7 3 0 3 0 0 4 L E T q - q + l : FOR TO 4 : LE
630 IF INT ( t l X t l n v THEN LET T a-.012: BEEP a , - 4 : BEEP a,-6:
t i m e - INT <ti> BEEP a,-©: BEEP a , - 1 0 : BEEP a,-I
6 4 0 GO T O 6 2 0 2: BEEP a , - 1 4 : BEEP a , - 1 6 : BEEP
7 0 0 BORDEP 7 : PAPER 7 : INK 0 : C »,-2: BEEP a , - 4 : BEEP a , - 6 : NEXT
LS + : GO T O 3 0 0 0
7 1 0 P R I N T -YOU CRASHED INTO THE 5000 SAVE "RACER" L I N E 1
Orders to Annabella Ductal, John Wiley & Sons Ltd.. FREEPOST. Batons U M , CHICHESTER.
West SuaaeK P 0 1 9 1YP Tai Ctuclwuw (0343) TMS31 Tatar MUOO (R*g No S4H3I EngUndt
Please send me: • 0905104706 Forth Compiler £17.25 • 0905104226 The Complete Forth £6 95
• I enclose cheque (or m»de payable to John Wiley & Sons Ltd.
• Please charoe my AMERICAN EXPRESS/DINE RSCLUB/BARC LA Y C A R D / V I S A / A C C E S S Card
Name/Address_
Then do it with
PROGRAMMING LANGUAGE]
0) AND t®0 THEN GO T O 1040 LET x l = y l * T A N q: LET y2-0
M
1060 IF (z*(s)-" OR z*(s)«CHR» 1530 I F c r — 1 THEN LET yl=y: LE
0) AND t=l THEN RETURN T xl»-(yl*TAN Iq-PI)): LET y2*17
1070 LET yS=y«+z*(s>: LET t - l : G 5: LET yl«-y
0 TO 1040 1540 LET x 2 = x + x l : LET a»a-INT SQ
1 0 8 0 JREM R ( A B S ( x 1 ) " 2 +ABS (y1)
1100 REM Draw/Erase turtle 1550 RETURN
1110 IF x <3 OR x >252 OR y<3 OR y 1 6 0 0 REM X a n d / o r Y WRAP
>172 THEN RETURN 1605 I F q > P I / 2 THEN GO T O 1 6 3 0
1 1 2 0 FOR j ®160 TO 2 0 0 S T E P 4 0 1610 LET x3 =x M 175-y > *TAN q
1 1 3 0 - L E T q=d i r • j : I F q<0 T H E N L 1615 IF x3>255 THEN GO T O 1400
ET q*360-; 1620 IF x3< 2 5 5 THEN GO T O 1500
1140 I F q>360 THEN LET q=q-360 1625 GO TO 1 6 8 0
1150 LET q»q*PI/180 1630 IF q >PI THEN GO T O 1 6 4 5
1160 LET x1=5*S IN q: LET yl=5*C0 1635 LET x3=x+y*TAN (Pl-q)
S q 1640 GO TO 1 6 1 5
1170 PLOT INVERSE t u r t ! x , y 1645 IF q > 3 * P I / 2 THEN GO T O 1 6 7
1 1 8 0 DRAW INVERSE t u r t ; x l , y l 0
1190 NEXT j : RETURN 1650 LET *3=x-y*TAN (q-PI)
1 2 0 0 REM 1655 I F x3< 0 THEN GO T O 1 4 0 0
1 2 1 0 REM A number or a - f u n c t i o n 1660 I F x 3 > 0 THEN GO T O 1 5 0 0
1 2 2 0 GO S U B 1 0 2 0 : IF err=l THEN 1665 GO T O 1 6 8 0
LET err=2: RETURN 1670 LET x3»x-t175-y)*TAN <2*PI-
1 2 3 0 I F CODE y « >57 THEN GO T O 1 q>
300 1 6 7 5 GO T O 1 6 5 5
1240 I F y « = " « THEN LET err=2: R 1680 I F y 1 > » x l THEN LET al«INT
ETURN (yl/COS q+1.5)
1 2 5 0 F O R k = l TO L E N y S 1 6 8 5 I F y1< x1 THEN LET a l =INT (
1 2 6 0 I F C O D E y * ( k ) < 4 8 OR C O D E y S xl/SIN q+1-5)
( k ) > 5 7 THEN LET err=2 1690 LET a = a - a l : GO S U B 1 4 5 0 : IF
1270 NEXT k y2<0 THEN LET y2»175
1 2 8 0 I F e r r =0 THEN L E T a=VAL y* 1695 I F y 2 > 1 7 5 THEN LET y2=0
1290 LET t=0: RETURN 1 7 0 0 GO S U B 1 5 0 0 : I F x2<0 THEN
1 3 0 0 REM Evaluate a function LET x2«255
1310 LET y * = ( / * * ' ")C 1705 I F x 2 > 2 5 5 THEN LET x2-0
TO 1 2 ) 1710 RETURN
1 3 2 0 F O R i = 1 TO o : IF y*»+S(i) T 1 9 9 0 REM
HEN GO T O 1 3 4 0 2 0 0 0 REM Input routine
1330 NEXT i : LET err=2: RETURN 2 0 1 0 REM
1 3 4 0 GO S U B g ( i > : RETURN 2020 INPUT " W : * J L I N E z « : LET s=
1 4 0 0 REM X Wrap
0
1410 LET c r « l ! I F q < 2 * P I AND q > P 2025 LET count«0: LET rc=0: GO S
I THEN LET cr=-l U B 2 0 4 0 : GO T O 2 0 2 0
1420 I F c r S 1 THEN LET xl=255-*: 2 0 3 0 REM
I F q > 1 . 5 7 THEN LET yl=0: LET x 2 0 4 0 REM Command c h e c k
2-0: GO T O 1 4 3 0 2 0 5 0 REM
1425 I F c r s l THEN LET yi=xl/TAN 2060 LET t»0: LET t l = 0 : LET err=
q*. L E T x2*0 0
1430 I F c r =- 1 THEN LET xl=-x: L 2 0 7 0 GO S U B 1020
ET y l • ( x 1 / T A N <q-PI)>: LET x2=25 2 0 8 0 I F t l = l AND y » = - " AND c o u n t
5 =0 THEN LET turt=0: GO S U B 1100
1440 LET y 2 = y + y l : L E T a = a - I N T SQ 2 0 8 5 I F t 1 = 1 AND / * = " ' T H E N RET
R (A'BS < x l ) ^ 2 + A B S ( y 1 ) A 2 ) URN
1450 RETURN 2 0 9 0 I F L E N y*<>2 THEN GO T O 2 1
1 4 7 0 ' REM 30
1 5 0 0 REM Y W r a p 2 1 0 0 F O R i - 1 TO m
1510; L E T c r - 1 ! I F q > P I / 2 AND q < 3 2 1 1 0 I F y * = x « < i > THEN GO T O 2 2 0
* P I / 2 THEN LET cr«-l 0
1520 I F c r = l THEN LET yl=175-y: 2120 NEXT i
HOME This moves the turtle from anywhere on the screen LEFT RIGHT
back to its starting position at the centre of the
screen, heading directly up the screen.
DRAW This clears the screen, then moves the turtle
HOME.
FORWARD The turtle is moved forward a specified amount. To
complete the command, you have to tell the turtle
how far to move forward, eg FORWARD 2 0 (or FD
20). The unit of distance is one pixel; remember,
the screen is made up 2 5 6 pixels across, and 1 7 6
down.
BACK The turtle is turned head-to-tail, then moved in the
same way as FORWARD (eg B A C K 2 5 ) .
LEFT The turtle's head remains in the same place but its
body will swivel so that its direction rotates to the
left. You have to tell the turtle how far to turn. As
do FORWARD and B A C K , the command LEFT re-
quires a number added to it to complete the instruc- 135 135
tion, to tell the turtle how much to turn. This
number is the angle of turn in degrees. If you've
forgotten that 9 0 degrees makes a right angle, 180
then use Fig 3 as a guide when using the LEFT (or
RIGHT) command. Angles should be whole ENDS
numbers between 0 and 3 6 0 .
RIGHT This is the same principle as L E F T , but, of course,
Fig. 3. A diagram of angles Io turn
the turtle turns right instead of left. the turtle
PENUP This command raises the pen from the paper so
that the turtle can be moved without a line being
drawn. repeating the same two com- replaced by a random number.
PENDOWN The pen is placed on the paper. mands four times. Fortunately, As an example, try:
LOGO allows repetition of com-
mands to be simplified and it's FD RANDOM 5 0
Now, lets try a few examples. Then to move forward again; one of the things I'll be dealing
Type in: with next time. The turtle will move forward by
FD 4 0 . What should happen if the tur- an amount somewhere between
FORWARD 4 0 (or FD 4 0 ) , and tle goes off the screen? Let's 0 and 5 0 .
press enter. You'll see the turtle If you continued entering alter- find out. Clear the screen with That's enough of the theory
disappear, a line 4 0 pixels long natively RT 9 0 and FD 4 0 , you DRAW, then enter: of LOGO for this time. Try mak-
will be drawn, and then the tur- would end up with a square. As ing up some drawings, patterns,
tle reappears. To enable the it is cumbersome to type in one RT 1 0 F D 2 0 0 0 . or shapes for yourself. The pro-
program to work as quickly as command at a time, LOGO gram has an error trapping
possible, our turtle will always allows you to string commands The turtle is turned slightly to routine, so if you make a
disappear when in motion and together. Let's see how. First, right, then moves forward 2 0 0 0 m i s t a k e , you should get a
will only reappear when all in- clear the screen, and reset the pixels. As it disappears off the r e a s o n a b l y friendly error
structions are complete and the t u r t l e u s i n g the c o m m a n d edge of the screen, our turtle re- message. In the next issue of
" W : " symbol comes back on DRAW, then enter: appears on the other side. This Z X C , you'll notice a quantum
the screen. Also, notice that feature is called wrap. It is useful leap in the power of this LOGO
when the program starts, the FD 4 0 RT 9 0 FD 4 0 RT 9 0 FD to draw special patterns and translator.
pen is in the down position, 4 0 RT 9 0 FO 4 0 RT 9 0 and means that you won't get an er-
enabling a line to be drawn. enter. ror message if you accidentally
Now, lets turn the turtle 9 0 ° go off the edge of the screen.
to the right. Type in: Leave a single space between Another feature of this LOGO
each command and number. program is that the specified
RIGHT 9 0 (or RT 9 0 ) and press This, again, draws a square. You number used by F O R W A R D ,
enter. may have noticed that w e are B A C K , RIGHT and LEFT can be
HELP
5 m commands enable new lessons in vocabulary or grommor to b e crealea
v> by the user edited os required then permanently saved lor later use
1> 12 invaluable for homework and exam revision'
Om
m <s> Two cassettes are avertable lor e a c h tanguoge together these contain a
v>-£ vocabulary of tnousonds oi words Level A provides 16 lessons in general
subjects level B provides o further 46 lessons nciudmg adjectives adverbs
WE NEED VOLUNTEERS TO BUY OUR 50 a n d lutty conjugated verb ksts
STOCK OF FORMER TOP-TEN SPECTRUM, 55
ffl Available from your computer store or by mod order Pnce £0 95
BBC AND COMMODORE GAMES. SOME AT
> 5 Also AvoOoWe ANSWTB BACK General Knowledge Qu./ Pnce £1095
o f
X z
(OR L E S S ) o 35
mO
NEW - DIFFERENT - USEFUL x C
J z
SOFTWARE AND ADD ONS NOT USUALLY >0
FOUND IN OTHER SHOPS
c
NOW IN STOCK o
Zmx
)
V> (fl
:ampbell systems ^ ^ ^
Master file Spectrum 48K
YES-Microdrive compatible!
Acclaimed as the definitive filing system for the 48K Spectrum -
M A S T E R F I L E ' S machine coded flexibility gives you 32K (max)
per file - 26 fields per record - up to 128 characters per field —
multiple level searches tor numeric or character comparisons -
data presentation in any one of 36 user-defined displays which
may be sequenced by any field — U S E R B A S I C for tailored
processing. " . . . the most comprehensive ot the data-bases . . . "
Sinclair User June 1983
Wuh example file and detailed manual £15.00
Drawmaster "TEST
" D R A W M A S T E R is the ultimate D R A W A N D P A I N T utility tor
the Spectrum — compose your own HI R E S pictures with 8 KOSMOS Software I PHgnms Close Morfmgton DUNStABiE Beds LUSfitx
direction 2 speed hand draw keys - fast fill - enlarge/reduce
telephone (05255) 3<W
facility for all or part of the screen plus all the Spectrum colours
Pteose supply the following programs
and attributes - over 5 0 commands i n all.
tne trencn A« in* French M.vtr»«
DLAN
6 • t99S I I
DISPLAY
With detailed instructions £6.95 Trw German Itoi* level A * 19 95 rue Germon Moiw B • 19 94 ; I
Spectrum THE SOORVSH LUTOR 1MI A « T99S lr» Soanvn tutor B m W93 ! i
LANGUAGE AMSWfB BACK Ouu (Semor) • iW « f]
D L A N ('dee Ian*) D I S P L A Y L A N G U A G E is a 16/48K
powerful machine I hove o BBC Electron Spectrum computer (delete as necessary)
coded interpreter for generating D Y N A M I C T E X T U A L D I S P L A Y S
Mr/Mrs/VWss
for advertising and education - all commands are single letter or
symbol - with 4-way scroll of 11 type faces through user-defined Aootess
windows
With detailed manual £7.95
Post code
All programs mailed Ist class by return enclose o cheque/postal order for £ payable to KOSMOS Software —
Prices include VAT and postage within
Europe SAE for full list. KOSMOS SOFTWARE
1 Pilgrims Close. Mortinglon DUNSTABLE Beds LU5 6LX
Dept (ZX) ISRousRoad Buckhurst Hill.
Essex. IG9 6BL England 01 5 0 4 0 5 8 9
70 ZX C O M P U T I N G J U N E / J U L Y 1984
SPECTRUM SOUND
VERIFY""CODE &
enter.
5. If you get the message
" T a p e loading error"
then go to stage 3 .
6. The B A S I C program
has now done its job
and it is safe to NEW.
To recover the machine
code routine use:
LOAD " " CODE.
Use this program by E French of Lancaster to get If you have an assembler you
should type in listing 2, assem-
super sounds for your games. ble it and S A V E the code.
The next thing you will want
Anyone who has tried to write to do is to listen to your new
their o w n games on the Spec- sounds. To do this simply enter
trum will have found the B E E P the following:
command very limiting and
many people have bought add- 10 P A U S E 0 : REM waits
ons to raise the Spectrum's for keypress
sound to that of the BBC micro 20 LET (an unused vari-
in versatility as well as volume. able) = U S R 23375;
However, for most people REM make a ZAP
C 2 0 - C 3 0 is a high price for 30 GO TO 1 0 : REM do it
such a simple task. again
Fortunately, there is a com-
promise solution which uses When this is RUN it turns your
software rather than hardware Spectrum into a ray gun. By
to achieve special effect changing line 2 0 to:
sounds such as explosions at
negligible cost. 20 LET (an unused vari-
There is, of course, the in- a b l e ) 3 USR 2 3 3 8 6
evitable snag. Unlike the better
add-ons, execution of the pro- Now your Spectrum is a
gram stops while the sound is machine gun. And making line
being generated. However, the 2 0 read:
program does contain three
pre-defined sounds: 20 LET (an unused vari-
able) = USR 2 3 3 9 8
1) A Zap
2) A Machine gun shot Now whenever you press a
3) An Explosion. key your Spectrum happily ex-
plodes!
A s it stands the program oc- So to sum up:
cupies Vi KByte which is nor-
mally reserved for the printer LET (an unused variable)
so as to conserve memory. = U S R 2 3 3 7 5 pro-
The program is in six parts: duces a Zap.
the first contains two first indicates how long you are to be produced, successive LET (an unused variable)
subroutines which can pro- want the sound to last for and B E E P s will not suffice. Such = U S R 2 3 3 8 6 pro-
duce white noise (for gunshots the second indicates the pitch sounds are produced with duces a machine gun
and explosions) or tones (for of the resultant sound. A white noise which on its own shot.
sirens and zaps). The second, special effect sound can best gives a rushing noise. LET (an unused variable)
third and fourth parts produce be thought of as a succession Now to the practicalities: = U S R 2 3 3 9 8 pro-
the pre-defined sounds. The of BEEPs one after another: T H E R E IS NO NEED F C R T H E duces an explosion.
t w o remaining routines play
the user-defined sound: the
1 11 L
The more skilfull will want
first with white noise (a kind of THE BEEP more than just these three and
COMMAND
rushing sound) and the other impressive sounds can be
with tones. custom made. However, take
great care: if you go wrong on
User defined
II 1 1 UL
this section you might have to
sounds
A SPECIAL
E F F E C T SOUND wait several days before your
machine has finished your
sound.
The BEEP command produces However, special effect USER T O KNOW ANYTHING So, to produce your o w n ef-
a neat regular w a v e f o r m sounds cannot be produced by A B O U T MACHINE CODE. All fects you must tell the com-
reminiscent of an electric the B A S I C BEEP command that is required is to follow puter the length and pitch of
organ which is not very useful because the interval between these instructions: the eight beeps which make up
to the games programer. individual BEEPs is too great. the sound you want to pro-
Special effect sounds are This, thankfully, is not an in- 1. Type in listing one. duce. You must also tell it how
not so simple and require more surmountable problem, 2. RUN it. many times to play each beep.
information in order to be pro- because by using machine 3. Type SAVE Thus, for each beep there are
duced. With a B E E P command code routines the delay bet- '' S o u n d s " C O D E three parameters: length, pitch
it is necessary to provide only ween B E E P s becomes neglibte. 2 3 2 9 6 , 2 5 6 b enter. and the number of times y o u ^
two figures or parameters: the If sounds such as explosions 4. Rewind the tape and want each beep to be p r o d u c - ^
Beep Routine
c J
Send chequcs/P.O. to:
TROJAN PRODUCTS j l
166 Derlwyn, Dumant, Swansea SA2 7PF
Tel: (0792) 205491 Micro Computer Software & Accessories
ALSO AVAILABLE FROM GOOD COMPUTER DEALERS
SPECTRUM CAME
Life and
This is the machine code program:
1 C L E A R (address 3 0 3 5 1 ) This section sets up the screen by
death
printing a whole screenful of 'bugs' in the same ink and
paper colour. This has the effect of clearing the screen. A
jump is then made to RAND for a random start or back to
B A S I C for a programmed start.
2 RAND (address 3 0 0 9 7 ) This section steps through the
A T T R file and, on the basis of a randomly generated number,
changes the ink colour of about 3 0 % of the positions so that
the pre-printed bugs appear.
L
80 BEEP .2,13: POKE 23659,2: C d<1 OR d >9 THEN GO T O 2 5 0
LS 260 I F d«3 T H E N ' GO T O 4 0 0
90 PRINT AT 1,13;"MENU" 270 I F D=4 THEN GO T O 5 0 0
computer & w d e o ^ M E S .
Br
Hiant!
^HlCH
Micro?
and
S o f t w a r
E KEVl £W
p o \ e position
What can we say?
We're overwhelmed. Though we should just add that with Atarisoft, you can now play Pole Position on the
Commodore 64, BBC and Spectrum computers, as well as on all Atari® P O L E P O S I T I O N
systems. Oh, and we're giving away free a Grand Prix kit and full colour from ATARISOFT
wall chart with every game.
LOOK OUT FOR OTHER UAOWG COMPUTER GAMES ON ATARISOFT PRICES START FROM £14 99 TRADEMARK OF NAMCO. • TM ARE TRADEMARKS OF ATARI WC
Sean Morley of County Mayo challenges
you to escape or die in
this exciting ZX81 game.
T h e p l a n e t of Omicron, beware! Crag can chew his 81 Checks to see if you were eaten by the Crag.
graveyard of many fearless way through them! 82 Reduces Crag's movement depending on level
space explorers, is about to To guide your man, " * of difficulty.
claim another victim — Y O U . use the cursor keys 5 , 6 , 7 and 85-87 Calculates Crag's new position.
However, you have one last 8. Good Luck. 90-95 Calculates your new position.
chance to survive — a shuttle 100-110 P E E K S your position to make sure it's empty. If
has been sent to rescue you, variables there is a rock there your move is cancelled.
all you have to do is reach tt. It 120-130 Cancels your move from lines 1 0 0 - 1 1 0 .
has landed at the opposite A Crag's vertical position. 134 Erases you.
edge of a rocky plain that you B Crag's horizontal position. 135 Erases Crag.
will have to cross, so you must X Your vertical position. 1 36 Prints you in original position after a cancelled
leave the safety of your cave Y Your horizontal position. move.
and set off. L Level of difficulty, 1 37 Returns to line 8 0 .
This would be an easy task A$ Key depressed. 140 Prints you in your new position.
were it is not for the savage
Crag who will give chase as Graphics 1 50 Prints a space behind you depending on which
way you moved.
soon as he sees you. You In line 20 rocks are 1 53 Checks to see if the Crag got you.
must, of course, go around the represented by inverse X s . 1 55-1 5 6 Blanks out you and Crag.
rocks — inverse X s (these are In tine 5 5 the shuttle is 160 Goes back to line 8 0 .
in line 2 0 of the listing and represented by a graphic Q and 1000-1010 Prints end routine after you have been eaten by
have been listed as " x " l — but a graphic W . the Crag.
1020-1030 Checks to see if Y or N w a s pressed for new
game.
How it runs 2000-2020 Prints end routine after you have reached the
shuttle.
2030-2050 Checks to see if Y or N w a s pressed for new
4 Goes to instruction routine. game.
5 Sets levels of difficulty. 4000-4020 Prints instructions.
6-30 Draws rocks at random positions. 4030-4055 Inputs level of difficulty and checks to see that
31 Clears rocks printed around you before you it is between 3 and 10.
start. 4065 Waits for 2 seconds.
40-50 Initialises variables which hold your position. 4070 Waits for key to be pressed before continuing
55 Prints shuttle. game.
60-70 Initialises variables which hold Crag's position. 4080 Clears the screen.
80 T e s t s for key depression. 4090 Returns to game.
rrrr
n
Can you meet Laserwarp's
infinite Challenge?
At-
^
4k-.
'
if
^ - '
. 'V v
'
j
droids, hyperspace c h i c k e n s , -"A-
interstellar pogos, and more, till A & l / I to
you challenge the Master. C a n you
beat h i m ? C a n anybody beat h i m ? \
C o m e s complete with Hall of F a m e , /
coded verifiable high s c o r e - s e n d ^
yours in and s e e if you c a n win the ^fl
£ 1 0 0 Mikro-Gen are offering every
II
Bl
lattrwarf, Mlkrv-Gin •III rtplaci N ^ ^^jfe
TOP l
^Genesis II
the adventure game that understands plain English!
**
T h e colony s h i p G e n e s i s II has been h i j a c k e d by s p a c e pirates - and
you're the only c r e w m a n left! Only you c a n s a v e the cargo - a n entire
up
forest, full of a n i m a l s , destined to populate a new world. T h i s exciting
adventure g a m e h a s a vocabulary of nearly 3 0 0 words, avoiding that
frustrating s e a r c h for the precise word c o m m a n d . ^ ^ ; r i 8 K S
£6.95
* Nearly 100 different locations
it Over 6 0 o b j e c t s * 100% m a c h i n e code
•k Over 5 0 0 possible actions A i U l
Just part of Mikro-Gen's great range - look out for Paradrcxds. Mad Martha II.
Cruise Attack Land of Sagan. Galakzions, Deffendar and many others.
Available from WH Smith, Coop, Boots, Menzies & other leading retailers, or
direct from Mikro-Gen (Please make cheque/PO payable to Mikro-Gen & add
40p post & packing
Patrick Cain gives us his thoughts on some of the
latest books available for the Sinclair user.
Using Your Home an effective example.
Later chapters offer a further
of superhuman that is around
these d a y s ? When rising
graphics. Andrew Nelson's
adventures are word based and
Computer — Garth selection of projects, in fact, a unemployment, high cholestrol rely on you to draw your own
w P Davies total of 2 3 topics range from a levels and the likelihood of pictures. That is no bad thing for
diet plan, recipes and menus, overexposure to the Olympic it means that the scope of the
football pools forecasting to ex- Games are enough for most of adventure can be greater than
It w a s an enquiry from a reader amination questions and mort- us. there are those of rare good one that w a s restricted by
that brought this book to my at- gage repayments. Each project sense, who, without regard to graphics. It also means that the
tention: there aren't many specification follows the theory witches, ogres, trolls or their design of the game is signifi-
books available for practical already discussed. Readers who brains seek excitement in the cantly more simple and can easi-
computer applications in the closely follow the specifications world of adventure games. Now ly be discussed in full within the
home. A short time later I came in their own projects will find for those who have been gifted book.
across Using Your Home Com- themselves with the largest part with more than their fair share of While any adventure game
puter: the subtitle, Practical Pro- of the work already done and superhuman powers, there is will be judged for its individuali-
jects for the Micro Owner, sug- well on the way to completing Creating Adventure Programs ty, it is the effectiveness of its
gested that this might be a book the rest. on Your Computer, an Interface design structure — common to
that could fill the gap. Both Mr At no point in Using Your Publication written by Andrew all adventure games — that
Oavies and the publishers, Mac- Home Computer does any com- Nelson: Superheroes read on. makes it reliable. In the eighteen
Millan Press, might well be on to puter code appear: all project The book itself is quite an months that Andrew Nelson has
a good thing here, I couldn't wait suggested could be applied to adventure. At times I had to rely spent 'playing, devising and pro-
to find out what uses all w e any machine, given that suffi- on my own superhuman skills to gramming' adventure games he
frustrated serious applications cient memory is available. It fathom it out. An exciting battle has learned well the importance
people could be putting our follows then that readers are ex- with the binder notes followed of structure and devised his own
minds to around the home. pected to be capable of coding by skirmishes with the pages effective method which he in-
On the principle that if you from the specifications arrived that lurked within failed to reveal troduces in the book. The three
give a man a fish you feed him at, but that should not prove too for which particular computer adventure programs contained,
for a day but teach a man to fish difficult. The main difficulty will adventures might be created, 'Werewolves and Wanderer',
and you feed him forever — lie in finding worthwhile uses for although, to be fair, the text is 'The Aftermath of the Asmovian
Garth Oavies goes further than your home computer. I am not very general and the program Disaster' and 'The Citadel of
the titles suggest and attempts entirely convinced that many of listings, which were in B A S I C , Pershu' are examples of the ap-
to lay guidelines and establish a the twenty four examples in- could easily be adapted to suit plication of his design. The text
good working procedure for cluded within the paperback's any B A S I C dialect. Equally uses these to show how from an
designing a variety of practical eighty pages fall into that m y s t e r i o u s w a s the price; initial idea a full adventure can
projects. To do this he can draw category. although I'm sure there must be be built. From laying the floor
on his extensive commercial Whether this book will be a one, there w a s no evidence of plan to developing handling
background in systems real aid to you will depend on the such, which makes it a bit tricky techniques to a final elaboration
analysis. In fact, if this book ideas you have for using your to judge whether the soft back of the game, reference is made to
teaches anything then it is how computer around the home. and 2 3 6 pages between repre- one of these examples. By
to set about analysing problems. There is little doubt that a prac- sent good value. following the author's guide-
The theory then is that having tical method for examining your Adventure games represent a lines, a systematic approach to
acquired a method of breaking ideas and analysing the problem substantial proportion of the a d v e n t u r e g a m e s c a n be
down possible tasks to identify to produce a workable project software available for home developed and applied to your
the requirements, the solving specification can be learned, micros, while books on their o w n e f f o r t s . No book c a n
will be so much simpler and all professional systems analysts creation are something of a rari- guarantee that it will enable you
that really is needed to make full will confirm that, this book can ty. It w a s refreshing to discover to create 'Magnificent Adven-
use of your home computer is a teach these things well. Perhaps a text removed from the run of ture Games', but many abstract
handful of clever ideas. Without some further examination the mill' 1 0 0 Imitations Of Your concepts have been explained
any doubt this analytical ap- would show that few things in Favourite Arcade Games' type and once attained the reader is
proach has proved itself well in the domestic environment re- that are in such great abun- empowered to create a reliable
business. quire such effort. dance. Having recognised some adventure base.
Fortunately, the text does not uncharted or unwritten for ter- Unfortunately, while it w a s
burden readers with theoretical Using Your Home Computer is ritory, has Andrew Nelson been possible to recognise and ap-
planning models or jargon terms written by Garth WP Davies and able to set his mark on the preciate Nelson's technique and
of business use, but discusses published by MacMillan Press. ground he pioneers? Will the indeed to learn from it well for it
each topic with reference to ISB0 333 352173. reader, as promised on the is not too demanding or com-
realistic home examples. By binder notes, "soon be creating plicated, it w a s difficult to
adopting this method the author
is able to explain the logic and Creating magnificent Adventure Pro-
grams"; Without leading you a
follow his train of thought and I
found that several readings and
highlight pitfalls with tangible Adventure merry dance or on a wild goose a fair deal of intuitive guess work
examples. The result is a well Programs on Your adventure the short answer is
No. Well, maybe.
were required. " A l l I can do is
written text that clearly explains
the technique. Although I do not Computer — If the type of adventure you
ask you to proceed on trust" is
to me a rather lame request, bet-
think a Christmas card list com- Andrew Nelson seek is the picture sort, then go ter perhaps if the author had
piler (the example used in the no further for this book is not in- spent a few more months plann-
discussion) is a terrific idea, it is Have you noticed the new brand tended to offer guidance on ing the book as carefully as he
. r
Selected product* W
available from:
8001s. Woolworths, H M v ,
Menzies. Greens. Lasky's.
if ^
Rumbelows. Sell ridge
Spectrum Dealer
Video Palace. Zapp
and all gooa
Computer shops
w
v a K g ?
FOOTBALL
C7.95
-
W a 48K Spectrum
gyf V. League Analysa-
Eawto um Pook
w Prediction
Wid'i 9 methods ot
team performance
"'* AjLfti- analyst - let your
Spectrum gu«Jeyou to
yotf pools selection
FIGHTER DIGITAL
PILOT
£7.95 4BK Spectrum
TON
Joystick compatible L yifvaipnbioor Trade Centre.
A spectacUar night simulation ot the world s / 1 F Watchmoor Road,
most exabng jet fighter with stunning 3-D
cottp* view and the most realistic air to a» Cambe^y, Surrey GUI5 3AJ
\ 1 combat ever seen on the spectrum'
(heetohSoft
CONQUEST
Jrmk
C O N Q U E S T A tactical game which even veteran
players wilt find both challenging and rewarding.
Mediterranean Europe is divided into grid squares. Your
aim. as Emperor, is to gam 100 squares of territory as quickly as
possible - at the same time dealing with Barbarian counter-
attacks, plagues, civil war and rival Emperors.
5 levels of skill, plus a continuous "Conquest' game where
ail the difficulty levels are thrown in together.
AFTER THESE,
THE REST IS KIDS STUFE
Arc you ready for CheetahSoft? So don't play unless you're ready
There's only one way to find out. to play the game for real. Because you'll
But be warned: these vampire bats know find there's one sure thing about
a good meal when they see one. And our CheetahSoft: Soft we're not.
friend with the . i c £4 £6.95 at all
scythe has had years I j e e r a h b O t t good stores.
of experience... ( j r g
we welcome back Toni Baker with the first in another
superb series on the delights of machine code.
Well, hello everyone, and welcome to the first in a brand new Let's get down to it then shall we? The memory used by the
series of articles. Throughout this series I intend to list and explain program starts at address C 0 0 0 , although the program itself
one program — only one, mind — not one per issue but one pro- doesn't actually start until w e reach address D B 4 2 , so here's
gram altogether throughout the series! Why? Well it's a bit long, what's what:
that's all.
One problem you get with long programs, I've found, is that COOOD7FF DFC Display File Copy used to record pictures
D800-DAFF AFC Atiributes File Copy used to record pictures
lots of errors seem to crop up in the listing, so we'll have to see DBOO DB41 System Variables used by the program
what w e can do about that. For those of you who've got the word
processor program, WordSheep, from the Feb/Mar issue, but You don't have to worry about any of this for the time being. Now
haven't managed to get it going yet, here are the corrections you for some work. The addresses from D B 4 2 to DB8F store a table
need to make: of subroutine addresses. The table will be called C M D _ A D D R S .
Since no subroutines exist at present then you should, for the
time being, set every entry in this table to 0 0 5 2 (an address in the
ROM at which a RET instruction is stored). To do this you must
Page 45: m COMPRESS ED80 should read EDBO POKE 52h into address 0 B 4 2 , 0 0 into D B 4 3 , 52h into D B 4 4 , 0 0
In ADJUST 0 1 0 0 6 0 should read 0 1 6 0 0 0 into D B 4 5 , . . . and so on up to . . . , 5 2 h into DB8E and 0 0 into
Page 4 6 Iri A RANDOM 20FD should read 30FD D 8 8 F . Got all that? Right, now for some more data — a table call-
In TRANSFER U 0 1 3 0 8 0 should read 0 1 0 3 8 0
In WIPE 23 should read 13 ed INP T A B L E . Feed this in:
Page 47 In DELETE MISSING INSTRUCTION C 9 (RET i from
end of subroutine., ORG 0 6 9 0
Page 48 IN PROCESS 2 1OOEA should read 21COEA
59 CE 38 31 INP TABLE DEFM " Y ' V ' N * " . " B " , " 1 "
Page 4 9 in REFORM MISSING INSTRUCTION 0 9 IADD HL.BCi
between 2AAFSC and 0 1 2 0 0 0 BO 00 39 38 DEFM " 0 * . "enter", " 9 ' V 8 "
37 36 35 34 DEfM "7". "6", "5", " 4 "
33 32 31 BO DEFM " 3 " . " 2 " , " 1 " , " 0 * "
It won't make a lot of sense to you at present, but all will become
Anyway back to the present. Light Screen Designer is for clear in a moment, so don't go a w a y . Note that some of the bytes
people who've got 4 8 K knocking around inside their Spectrum. If have 8 0 h added, and so I've marked these with an asterisk in the
you've only got 16K then bad luck — you can't use this program right hand column. Some more data coming up next, but in a
— not because it isn't relocatable, but because you just haven't slightly different form. What we have are eighteen messages
got enough memory — this really is a long program! which will later need to be printed at the bottom of the screen.
It's a program to help you design pictures on the screen, a Each message is followed by a coded byte which will tell the
grand artwork program incorporating just about every feature program if anything needs to be input. To enter this, note that the
you could possibly desire to help you draw pictures. You can do first column contains the address to which the message is to be
straight lines and curves and various geometrical shapes. In fact written, the second column contains the text of the message
the program will even do the colouring in for you once you've which must be loaded character by character from the specified
drawn the outline — in any colour too! address, and the third column contains one byte of data which
If you hunt around these pages you'll soon come across a pic- must be POKEd immediately after the text of the message (note
ture labelled Fig. 1. You have to M A K E one of these. It's a that this data is given in hex).
keyboard overlay and tells you what each of the keys do when
the program is running. To make an oveday, get a piece of card
the same size as a Spectrum keyboard, cut holes out for the keys ADDRESS TEXT DATA BYTE
to go through, and write all the appropriate words above the DBAO Light Screen Designer 80
holes. Alternatively, if you can't be bothered to do all that, just DBB6 Paint Colour 96
0BC3 WARNING - Screen Memory W.pe 90
keep a copy of Fig. 1 handy by your Spectrum when running the DBEO Store Memory 95
program and refer to it as and when you need to. I shall explain OBED Recall Memory 95
what each key actually does later on, when w e actually get down DBF8 Clear Screen 90
DC08 Number of Radians? space 80
to writing the individual parts. DC1C Now in Text Mode 80
BLUE REO MAGENTA GREEN CYAN YELLOW WHITE TRANSPARENT CONTRAST BLACK
SHIFT COPY INK PAPER FLASH BORDER OVER INVERSE BRIGHT ESCAPE
Kg.l
9. G ^ o t
AO
1 V
M,
4 c " " ** ***
s.
L
c
FAMILY TREE
rmSBLCS (5B.0X.)
I IPROFIf <15.>
BELTECH
1. Keyboard/File Entry 6. Pie Charts Software
2. Edit 7. Vert Bar Charts
3. Rename Records 8. Data Entry and Plot
Default Settings 9. Function (Equation)
4. Line Graphs Entry and Plot
5. Bar Charts/Histograms 10. Para metrics
TAPE DISC TOTAL
OTY OTY
KOKGE : 1 .37'<X'< J. . 5 7 A C C «L E : X x E 6 . V * E »
BEL BASE 13 66 1525
BEL GRAPH 14 69 16 45
BELCHEM
Chemistry 1 6 50 1035
CheiT«s»ry 2 8 50 10 35
%
Genedogy
NAME .
I ADORESS.
|
I
•MQ0& <
BEL BASE DATA BASE
| COMPUTER TYPE
Also:* - D»SC {< appfcc I
CHEM ONE - 'O' L E V E L C A L C U L A T I O N S
n
I cnforrcAAONa by c x o u c p o v i s a a c c e s s
•.dLLL^J
f e a t u r e s to g i v e y o u e n d l e s s h o u r s
of e n j o y m e n t . screen simply by plugging into
1. Super p o s i t i v e r e s p o n s e ftre
the ear socket of your
11 r r r r n T i T T i T i
button. Spectrum. The controlling
2. F i r m s u c t i o n c u p s for s t a b l e s o f t w a r e supplied w i t h the
LHumiuIUJ
one h a n d operation. light pen has 16 pre-defined
3. S n u g fit h a n d m o u l d e d grip.
instructions. Y o u can change
4. A d d i t i o n a l fire b u t t o n .
5. E x t r a l o n g 4 ft l e a d . colour (Border, Paper, Ink),
d r a w circles, arcs, boxes, lines
rrn
The Interface supplied w i t h the
O u l c k S h o t (na) h a s a t w o J o y s t i c k s
a n d insert text onto the screen
facility. at a n y chosen place, y o u can
T h e first port s i m u l a t e s 6 7 8 9 & 0
also d r a w freehand. There is a
k e y s . T h e s e c o n d port s i m u l a t e s In feature to retain the screens
(31| c o m m a n d . It w i l l r u n a n y a n d animate. O n the 48K
Software. Spectrum y o u c a n retain 5
1. U s i n g k e y s 6, 7. 8 , 9 a n d 0 .
screens. You can also use the
jLlyjiiii!
2. H a v i n g r e d l f l n a b l e k e y
function. machine code o n Its o w n in
3. U s i n g In |31| I.e. K e m p s t o n . y o u r o w n programs, for
4. A n y S o f t w a r e y o u w r i t e
yourself.
itm selecting out of a menu etc.
The LIGHT P E N Is supplied
Ll LLUJLi1' 11 i U
w i t h a control interface, to
adjust the sensitivity/pen
alignment.
a 95
Keyboard for
use with a Spectrum
or ZX81
Our cased keyboard has 52
keys. 12 of w h k h form a
numeric pad. The 12 keys Spectra
comprise 1-9 numeric plus full
stop and shift keys, all in red. I Sound
distinguish from the main T h e so-called s p e a k e r In y o u r
S p e c t r u m Is really o n a b u z z e r
keyboard keys w h k h are in
W i t h the DK Tronlcs SPECTRA
grey, the keys contrast with S O U N D y o u c a n g e n e r a t e fully
the black case to form a very amplified sound through the
attractive unit. The case has s p e a k e r o n y o u r T V set. S P E C T R A
been designed to take a 7X81 S O U N D is a v e r y simple b u t
or Spectrum computer. I6K, highly effective add-on. This
32K or 64K can also be fitted m e a n s that y o u n o longer h a v e a
to the motherboard inside faint beep but a highly amplified
the case (61 model only). s o u n d , w h i c h c a n be a d j u s t e d
The case Is also large w i t h the T V volume control.
i | T h e S P E C T R A S O U N D fits
enough for other add-ons
J M c o m p a c t l y a n d n e a t l y inside t h e
like the power supply to S p e c t r u m c a s e a n d is c o n n e c t e d
be fitted, giving a very • by t h r e e small c r o c o d i l e d t p s .
smart self-contained _
unit with w h k h other
add-ons e.g. printer
etc. can still be used.
Our ZX Professional
keyboard offers more /
keys and features than /
any other model in i t s / j
price range making / /
It the best value Pie«*iendme Ol -
keyboard
Pieaseiendme o£
available. / / Please add on 11.25 for post and packing
I enclosecheque/PO payable to OK Troncs total E
or drtw my Access/Bare laycard NO.
I I I I I I II I I I I I I I I1
J " ' I '
| stature ^^^
now..
pens, a whole new article is re-
quired.
For those deprived of the joy
of our last issue, may I just men-
tion that the Editor's Project
stemmed from a desire to im-
prove the print quality of our
listings. From these humble
beginnings a whole avalanche of
peripherals descended upon my
unwary head.
Being thus deluged, it soon
become obvious that I needed More useful devices for the Spectrum
somewhere to keep all these
items. Having purchased my
own portable T V and the Shin-
and ZX81. n
w a C P 8 0 printer purely for pro-
ducing the magazine (Taxman than my descriptive powers. ing all dancing. . . Well anyway, w a s roughly cut to accom-
please note!) the pressure from A friend Dave, a DIY fanatic, it's a lot more user friendly and modate the R S 2 3 2 socket and
the rest of the family to let them produced a cabinet for his com- performs many of the setting up the insides fitted loosely. Fitting
eat on the table now and then puter at a cost of about £ 1 7 but functions of an option program. the ribbon connector caused me
w a s becoming irritating. for anyone not into DIY I'd Although still under test and not a few headaches as I w a s loathe
recommend this as a unit for yet released, I w a s unable to to use as much force to push it in
as it eventually needed.
caoinet memoer? your consideration. cause it to crash or malfunction.
T h e i n s t r u c t i o n booklet/ Now came the test. Soft-
spectrum leaflets supplied were extensive ware V 2 loaded and ran without
After reading many publica-
tions, I ordered a computer
cabinet from Marcol Cabinets.
This arrived four days late but an
interfaces
1 Morex Peripherals supplied me
and very detailed, but written
for the experienced user rather
than the beginner. The informa-
tion includes all relevant details
any problem and the manual
gave full instructions for altering
the codes which would be sent
for UDGs and the Sinclair block
i
apology w a s sent in good time with their unit for testing com- including pin connections and graphic set. I had to write a short
and I had no hard feelings — I'd plete with detached connector the interface is compatible with program to set up thee codes to
waited longer for my computer cable. This unit is different from 'professional' programs such as suit my printer, I'm sure this
with no apology at alll Marcol the others as it has an R S 2 3 2 in- Tasword II, Masterfile etc. A s could have been included in the
have since assured me that the terface as well as the Centronics well as having the R S 2 3 2 , this V 2 set up program, the default
delay problem has been solved. that I needed. w a s the only interface to feature value of all these is 32 — a
Marcol make four varieties of There are two versions of a through port so that other units space.
cabinet priced from £ 3 9 . 9 9 for
a basic open unit to £ 1 8 5 . 0 0 for
a traditional English style (old
fashioned) cabinet with real
their driver software V I a n d V 2 ;
V1 is their standard program and
V 2 is the new improved all sing-
could be added on afterwards.
The Morex w a s the largest of
the units that I tried, the case
Working with T a s w o r d II
there w a s no problem, produc-
ing screen dumps was easy both n
wood veneer finish. For reasons
i
of price and family harmony I
opted for the £ 7 9 . 9 5 model.
It arrived as a "flat pack"
which meant that I had to put it
together myself. For someone
who equates 'Do it Yourself
with 'First Aid", the future did
not bode at all well.
It pleases me to say that after
spreading all the pieces out and
enlisting the help of the entire
Elder household, construction
w a s pretty straightforwrd and,
despite some of the bits being in-
correctly labelled, its simple
system of screws and blocks
meant that it w a s soon installed. i
C o n s t r u c t e d of veneered
chip, the cabinet is sturdy and
looks s lot better than my i
previous system of spaghetti
leads. There is plenty of room for
most of my bits and pieces,
tapes and books and when I've
finished the doors keep it ell out
of sight. I particularly like the
design of the sliding shelf which
is just right for sitting comfor- i
tably when working. It is a bit on
the large size, — 3 2 . 5 * high,
3 6 * wide, 1 6 . 7 5 " deep but
holds all my bits. The picture will
give you a better idea of its looks
softly softly...
Mentioned briefly last issue but
now well tested is a print utility
from Microdot Software of 3 0
Hazelmere Court, 2 6 Palace
Road, Streatham Hill, London
S W 2 3NH. This w a s written and
designed to be user friendly, and
especially to be relocatable.
Often a routine set at a particular
area of memory gets in the way
of other code but written in two
parts, a text print and a screen
copy routine, both or either of
which can be relocated, this pro-
gram solves the problem.
Primarily intended for the
Cobra R S 2 3 2 interface, it will
work on most R S 2 3 2 or Cen-
tronics interfaces with most of
the popular printers. Written as
compactly as possible to take up
a s l i t t l e of t h e R A M a s
necessary, it has many features:
unfortunately, sending user
modified graphics and UOG
codes is not included. Although
in normal and double size and 8 0 The instructions are brief but throwing the line one character not suitable for my applications,
column listings were simply a concise and simple, the printer out of sync with the screen. this is a neat and useful pro-
case of entering L U S T . Using can be controlled from one of I know that many readers like gram, especially if you write a lot
the 3 2 column option on L U S T the built in routines (most are their programs to be printed in of long programs or need a lot of
caused a slight problem as cer- catered for even the C P 8 0 ! ) or 3 2 character form so they can RAM for wordprocessing etc.
tain Keywords seem to cause a from external software. The lat- compare the screen with the The instructions are very
line of 31 characters, but this is ter is useful if you want to send listing; as you can see we have lengthy and very technical, an
only really a problem it you are special printer codes. It works used this form and w e will con- expert would find in it a wealth
trying to produce listings for a with all the usual business soft- tinue to do so. I'm sure that the
ware mentioned elsewhere. All of detail, I found it confusing.
magazine... intrusion of the extra space will Nevertheless, I w a s able to use it
I admit I know nothing about the u s u a l f u n c t i o n s w o r k not cause too much trouble. I
perfectly, to get 3 2 characters with only the minimum of head
R S 2 3 2 e x c e p t that s o m e will keep looking for the perfect scratchig due to the on screen
printers and peripherals use it so per line a simple POKE will set it interface but in the meantime I'll
up. So why am I so impressed? prompts. Even so, Kempston
I took it to the local expert. " O h , use the next best thing — the ZX and ZX Lprint h a v e rather
a Morex" he said, " I use one to Well, options exist within the Lprint III available from Euroelec- eliminated the need for this pro-
connect to my Beeb". The re- ROM to allow free use of LPRINT tronics, 2 6 Clarence Square, gram.
mainder of the evening w a s in- and LLIST as do the others, but Cheltenham, Glos. G L 5 0 2 U J .
comprehensible and I wished I'd
brought an interpreter along. All
COPY also is recognised and a
screen dump is produced easily sometimes life And finally
1 can report is that it worked and
he w a s enthusiastic due to "full
— all the others demand you call
a machine code routine via USR. gets tedious! Lurking in a dusty comer of the
h a n d s h a k i n g " capability — This is useful but not excep- office w a s a set of boxes, fur-
sounds like a Masonic ritual. If tional, the real power lies in the Having just written the above, ther investigation revealed a full
you require more details I sug- fact that when it is put in yet another interface arrived. Basicare system and a unit
gest you contact Morex graphics print mode, any time This one w a s the latest from marked PERICON C Centronics
Perhipherals Ltd at 1 7 2 B Kings you LPRINT or LLIST a line with Kempston and guess what? It interface.
Road, Reading. Berks RG1 4 E J block graphics or UDGs the in- performs exactly the same as Clutching my prize I rushed
(Tel: 0 7 3 4 5 8 4 2 3 8 ) terface recognises them, shifts the ZX Lprint III. Access to the off and connected it to the Z X 8 1
the printer into dot print mode, Eprom is slightly different; the only to find there w a s no cable or
2 The ZXLprint III dropped builds up the character on the ZX Lprint is via a set of CHR$ instructions! A few calls to
through the door just in time for paper in correct size relation (at codes, the Kempston Centronic Basicare Microsytem Ltd at 5
me to give it a good try out least on the C P 8 0 ) then changes E uses COPY:REM? Dryden Court, London S E 1 1
before writing this article and back into text mode and con- The Kempstorr stands up- 4NH and a very helpful Mr
I'm very glad it did! tinues with the line. This means right and is in their usual sturdy Grimsby soon replaced the miss-
Supplied with a built in ROM that I can now reproduce ALL case with a lip at the top. Both ing items.
instead of the usual software the Spectrum character set on wilt produce screen dumps in All the Z X 8 1 listings in this
tape, the unit is small and the on- listings. normal or double size, but the issue are produced by the
ly one to lie flat, the others stand There's only one thing that Kempston builds it up sideways Memotech interface which is
up on end. The cable is separate makes it less than perfect, but I on the paper. Quite honestly, completely hardware controlled
and connects to a set of pins ex- must point out that ALL the in- there is nothing between these but has so far functioned ade-
posed at the back. Next to these terfaces have the same fault (or impressive units in the operation quately. The Basicare unit is
pins are a set of R S 2 3 2 pins, but at least the ones I've tried) and of a Centronics printer, but the software controlled so I w a s ex-
I really didn't get a chance to get that is that after the keyword ZX Lprint has the added benefit cited by the thought that I could ^
expert help on this unit. THEN an extra space is printed. of the R S 2 3 2 connector. modify the program to s e n d ^
S T T J A R T H E N . Rourtn r
OLUE ^ V 5TURRT\
• Personalised scoreboard
• 1 or 2 player option m
NOW AVAILABLE AT
SELECTED BRANCHES
OF W.H. SMITH
ALSO AVAILABLE BY MAIL ORDER FROM:
BELLFLOWER SOFTWARE.
6 ROSEWOOD AVENUE, GREENFORD.
MIDDLESEX 01-9031816
O The Stuart Henry Multiple Sclerosis Research Fund receives a donation for every copy sold O
COMPETITION
f
recalled the list of names, the rams. Harrier Attack, Jungle
result w a s as you can see in rouble and the widely acclaim- Address your entries to:
Fig. 1. ed. S c u b a D i v e . All these
Inspiration s t r u c k and I programs have been or are in the ZX Computing Names Competition
thought " w h a t a good idea for a best seller c h a r t s and are 1 Golden Square London W1 R 3 A B
competition!" The task, definitely worth adding to your
therefore, is to find all the names collection. I h a v e f o u n d the f o l l o w i n g s o f t w a r e
of the software houses in the For ZX81 owners, the prizes c o m p a n i e s in t h e j u m b o g r a m :
jumble of words. Each letter have been donated by Protek, a
must only be used once and all company that has acquired a
the software companies men- good name for itself by selling
tioned sell software for the quality software for both the
2 X 8 1, Spectrum or both. ZX81 and the Spectrum as well
To enter, unscramble the as a joystick interface. To the
jumbogram and write the names w i n n e r s Protek are offering
on the form below. Fill in the twenty sets of their superb
coupon with your name and ad- ZX81 arcade games, UFO and
dress and send it, in a sealed Byter.
envelope, to our Golden Square
address marked 'Names Com- The rules
petition'. Please do not forget to • This competition is open to all
w r i t e on the back of the UK and Northern Ireland readers Name..
envelope the number of com- of ZX Computing, except
panies that you have employees of Argus Specialist
deciphered, without this your Publications Ltd, their printers Address
entry will not be considered and distributors, employees of
valid. Best of luck to you all and Durell Software, Protek Com-
don't forget to indicate which puting Ltd, or anyone
machine you have when you associated with the competi-
enter! tion.
C 1 9 8
Chi-Yeung Choy of Ruislip flexes his fingers and
4 !
performs this musical
masterpiece.
The Spectrum's oft maligned A great deal of thought and
beep has been considered too attention to technical detail has
f e e b l e for a n y r e a s o n a b l e gone into this program for in-
musical application in the past, stance. the subroutines have
but now w e present a program been put at the start of the pro-
which will make you think again! gram to get every ounce of
Instead of the usual selection speed from the computer.
of sound effects or brief burst of Chi-Yeung tells us that his
barely recognisable tunes. Chi- greatest problem w a s fitting it
Yeung has successfully pro- into the 16 K due to the amount
grammed a computer version of of DATA required and that he
the first movement of Mozart's almost gave up. Type it in and
piano sonata in C Major K 5 4 5 . then give your fingers a rest and
What is even more amazing is your ears a treat. Play on
that it is written all in BASIC and maestro!
fits into the 16K machine!
Program
breakdown
Lines 3 0 - 2 3 0 Subroutines.
Lines 2 4 0 - 5 2 0 DATA statements containing pitch of 2 4 0 READ B | C , D
notes. 2 5 0 BEEP 2 * X , B + 5 : B E E P X , C * 5 : B
Line 1 0 0 0 Set up variables for note duration. EEP X,D+5: RETURN
Lines 1 0 1 0 - 2 0 7 0 Main program consisting of FOR-NEXT
loops. 5 0 0 REM * * * * * * * * * * * * * * * * * * * * * * *
5 1 0 REM M A I N FROGRAM
0>REM * C-Y Choy 1933 * 5 2 0 REM * * * * * * * * * * * * * * * * * * * * * * *
I P GO T O 5 0 0 5 3 0 LET X = l / 2 : LET Y = X / 2 : LET Z
20 R E M *********************** = X / 4 : LET A « X / 8
3 0 REM S U B R O U T I N E S 5 4 0 GO SUB 5 0
40 R E M *********************** 5 5 0 READ B , C | D , E
5 0 READ B,C,T 5 6 0 BEEP X + Y , B : BEEP Z , C : BEEP
60 BEEP 2 * X , B : BEEP XfC: BEEP Z,D: BEEP X , E : PAUSE 25
X,P: RETURN 570 GO SUB 5 0
70 F O R M=1 T O 1 6 580 BEEP X , 1 9
30 R E A D B : B E E P Z,B 590 FOR N=1 TO 3
9 0 N E X T M: R E T U R N 600 BEEP A , 1 9 : BEEP A,17: NEXT
100 F O R N=1 TO 8 N
l i d READ B : BEEP Y,B 610 BEEP A , 1 6 : BEEP A,17: BEEP
120 NEXT N X,16: PAUSE 2 5
130 BEEP X , 1 4 ; BEER X,19: BEEP 620 FOR N = 1 TO 5
X,7: PAUSE 25 6 3 0 READ B : BEEP Y,B
140 RETURN 6 4 0 FOR M = 1 TO 1 4
150 READ B,C,D,E,F 6 5 0 READ B : BEEP Z,B NEXT M: N
160 BEEP 2 * X , B : BEEP Z,C: BEEP EXT N
Y*2,D: BEEP 2 , E : BEEP Y+Z.F: RET 6 6 0 GO SUB 70
URN 6 7 0 GO SUB 100
170 FOR N-I TO 12 6 8 0 FOR N = 1 TO 2
180 READ B: B E E P Z,B 6 9 0 FOR M = 1 TO 4
190 NEXT N: RETURN 700 I F N = 1 THEN BEEP Z , 1 : BEEF
200 BEEP X,19 Z,2: GO TO 7 2 0
210 F O R N=1 T O 1 2 710 BEEP Z , 0 : BEEP Z , 2
220 READ B: B E E P Z,B-12 720 NEXT M: NEXT N
230 NEXT N: RETURN 730 RESTORE 2 1 2 0
Spectrum 4 8 k
HEARING IS BELIEVING
Tele Sound
MAKE Y O U 11 OWN TV FILMS!
..T- LIVE ANIMATION
U MUSIC
SAVE them. .
& AMUSE FRIENDS AND FAMILY
WHEN YOU PLAY THEM BACK'
SPECTRUM BEEP BOOSTER
TCIXSOUND is ready built and TUESOUND ha* been designed
Iter u* *at*
«, Mill'
I ORDER
9IDH tested so that you can get the
full sound of your Spectrum
using the very late*t ultra
miniature components so it'*
^ ft MACRO
CONSTRUCTION
through any unmodified
television set. black and white
size is an incrfdiblt 2 1 1 J 11cm.
«*d fib »Mtly iuidc the Spectrum.
& ANIMATION CASSETTE MCA or colour. T h e unit is easy to Three easy push-on
fit in minute* without any connections are made to the
• SPECIAL MACRO-PROGRAMMING TECHNIQUE mm you 10 previous experience as full Spectrum. T h e connections
•Ca I Up any member o! cast mctudmg UFO Helicopter and a host t* fitting instruction* are are clearly shown in a
Personnel m a cftorce ot nearly 30 Ca«s' Make each any colour - large provided. diagram that comes with
full fitting instructions.
ones can oe m two colours'
•They walk run c)<mo and tiy
•Bii'id houses chixches etc a flash - 4 erase them
TELESOUND FEATURES
• sarai uiramTKITIU m MHO mm*
•Up 10 1 f> mms per Mm or more 4 you re a good Orector . tar mm wmsouuraw1 nsra is 1 IUI
•v,iKe characters speak using armotatons as m strips • UTIOTU cua aunt tun TO USOT PMOJLM urm
•Fon computer-piomptmg to save you making errors . noaitc CM K mil «iu UDK LMK> • no IOUUDK H UU CUTTMC ittma
• USITIMU JWMNA M«T Ntmun • uruiTtwninrntMTiwni
•ir.sianl playback edtmg and denting as you go atontf • Cits W MOUNT SO SHIS IITS ALLTTMUNS• OWP4TT1U WTT1 Ui. 0TH1 UT MS
•Vosi commands ate a single key-siroke without enter INCUHK MKIOMUTI
•Corr; - .e you' own times using the spe< u three-octave chromatic mus TELESOUND comes complete with easy to follow fitting
composer wntcn allows you to listen correct and ed< at each note if you instructions and costs £ 9 . 9 5 inclusive of post, packing
need to* etc. Please state your computer w h e n ordering.
•Store up tonine 99-note runes to cati-up at a^y lime ma story computer
COMPUSOUND
gives ©act* a nunoer <n memory
•Change tunes at any time even wtnist making a ' im
• • u can eve add perspective 'o buiktngs roads elc
•No special skill* or computer knowledge needed... Just imagination!
69. PINEHURST PARK.
WEST MOORS. Q
f p ) p i n e h u r s t d a t a s t u d i o s S S S H S m OBP DEPT: Z X 32 • 33 LANGLEY CLOSE, REDDITCH. WORCESTERSHIRE
IMPORTANT: FOR 4SK SPECTRUM ONLY B98 OH. TELEPHONE: (0527) 21429 (21439 Annrtrphotte)
SOFTWARE NEWS
in
• Timedata Ltd of 16 Hemmells, High Road, Laindon,
Basildon, Essex S S 1 5 6ED have produced two programs,
Brief
Automata
UK OK?
both of which are utilities. TT-S consists of five programs in
one packet to provide a versatile toolkit and costs £ 7.95,HI-T
is a set of routines for formatting the screen. Up to 3 2 lines of
6 4 characters can be displayed, and input positioning to any
part of the screen, window definition, pixel printing and
definable comma spacing for flexible tabulation are its func-
tions. A useful program which costs £ 5 . 9 5 .
it's magic
the whole unit is designed as a professional programmers aid
and as any good craftsman will tell you it takes time to learn
how to use the tools of the trade.
adventure
Five other programs have also been released, all of which
continue in C C S ' b u s i n e s s and strategy vein. C C S have been
specialising in this type of game since the early days of the
Z X 8 1 . The titles are War 7 0 , Pacific War, Manage, Oligopoly
and Stockmarket. All programs cost € 6 . 0 0 with the excep-
tion of Diamond Quest which is a pound cheaper. C C S can be
contacted at 14 Langton Way, Blackheath, London S E 3 7 T L , Melbourne House have ventured you wish to use in your game.
from old to new with two r e c - Animation can be achieved easi-
• Grand old masters of the market, Artie, have released ent releases. ly and to a very high standard,
Monkey Bizness. another Kong game and Bear B o w e r , a walls C l a s s i c Adventure is the and with options to detect colli-
and ladders style game. micro version of the original sions and special events this is
Both are up to their usual high standard with good graphics 1 9 7 0 s Fortran game and, as a very flexible.
but Bear B o w e r is my favourite with superb animation. t e x t only s t a n d a r d f o r m a t Demonstration programs to
For the 4 8 K machine they are priced at £ 5 . 9 5 and £ 6 . 9 5 adventure game, is a departure show 'Zap, Chase and Jump'
respectively. f r o m their a d v a n c e d s t y l e style games are also given on
graphics/text multi-instruction the tape and if you can produce a
• Kosmos Software of 1 Pilgrim Close, Dunstable, Bedford-
shire LU5 6 L X have given their French Mistress some com-
game The Hobbitt
Even more of a departure and
a tremendous advance in games
? ood game why not enter the
3 0 0 0 competition for the best
g a m e d e s i g n e d u s i n g this
pany with the release of two new language cassettes, the
German Master and The Spanish Tutor. There are two pro- programming is HURG, or High- system, the closing date has
grams in each set and each program costs £ 9 . 9 5 . level, User-friendly, Real-time, been extended to June 30th so
Games-designer. (No wonder you've still got time to write a
they shortened it to HURG!) masterpiece!
I must admit to being im- If you have great ideas for
2
pressed, and with the volume of games but are limited by a lack
software that I check each week of programming skill, this could
Software that takes some doing! This is a be the answer. However, it
very powerful program and yet won't do all the work for you
A French Language everything can be controlled by and. like any tool, you will have
Learning Aid a joystick. To achieve this ver- to team to use it but Melbourne
V
satility, extensive use of menu- House have made learning as
rrrrrff driven routines is employed. easy as possible.
You move through a set of pro- H U R G will set you back
cedures from which you may £ 1 4 . 9 5 and Classic Adventure
?
i
diverge to access any feature a mere £ 6 . 9 5
Software
Support
A German Lan»iage
Learning Ari.
for
German the 81
A big v These are clearly based on ar-
of 5 2 Plans Lane, London NW3 cade games and I'm sure you
jflftaaer
7NT from myself and probably need no further explanation.
many Z X 8 1 users. Softchoice is Fastload is a utility to enable you
a subsidiary of International to save and load programs up to
Publishing & Software Inc, a six times faster than normal and
large organisation who have Fastword is a word processing
Book Of in Brief
reviews
• Pixel Pads could be very useful to Spectrum programmers
who like to present their work with carefully drawn screens.
Pixel Pads are large sheets of gridded paper in the Spectrum's
screen format.
Each pad contains 50 sheets on each of which is a large
pixel grid, several 8 x 8 UDG grids and a summary of related
information such as INK and PAPER colour numbers. They
may be obtained from Peter Bamford €t Co at 10 Barley Mow
(Ft
THE Passage, Chiswick, London W4 4PH for £ 4 . 9 5 per pad.
GOOD
• If you are near Baitersea Park on the 14th or 1 5th of July,
why not took in to the What Micro? Dr Barnardos Show. As
well as Micros there will be other events and various surprise
celebrities from the world of entertainment. This could be one
way of combining a family day out and your hobby!
• Scott Adams is to adventure what Tim Hartnell is to
Microbooks. We look forward to receiving the first in a new
SOFT-
range of programs for review from the British branch of his
company. Adventure International.
Marvel comic characters will be involved in what is describ-
ed as graphic adventure games, the first of which is the In-
credible Hulk. A comic will accompany the tape and at a cer-
tain point you take o v e r . . .
All we need now is for Walt Disney to get in on the act.
A mixed
WARE bag
GUIDE
^^CDSjAicw System
magic meanies,
/ \
f 1
SPECTRUM 16K,
n>
SPECTRUM 48K AND ZX81 'OK) SPfCTXtJ* I6 4M
99
HARDWARE NEWS
in Brief
Adventurous
reading
• Euroelectronics, of 2 6 Clarence Square, Cheltenham, Glos.
G L 6 0 2 J P , as well as producing the excellent ZX Lprint III
detailed in my project, can supply software to print screen
dumps in (our colours on either the M C P 4 0 or Tandy C G P
printers.
It is called COPY 4. and a B A S I C version is also supplied
which can be adapted for use with earlier Lprint versions or
other makes of interface. THE COMPUTER & VIDEO GAMES
Priced at £ 5 . 5 0 it provides an economic way of getting col- r ,
BOOK OF
our into your print.
m
• An interface which is not only fully programmable but also
ADVENTURE
includes a sound amplifier has been marketed by Rainbow
electronics of Glebe House, SouthLeigh, Witney, Oxon 0 X 8
6 X J . The cost is £ 2 4 . 0 0 plus £1 per p&p. We will tell you
more in a future issue.
Save! Save!
Save!
by KEITH CAMPBELL
With listings for:
SPECTRUM. COMMODORE 64
and BBC
Foreword by Scotl Adams
Dib dib? in
• The Arcade professional joystick, a big and sturdy unit,
Brief
there is a socket on board to ac- PIL tube (no, I don't know what
One company thai treats the equipped to handle Spectrum cept output in this form. The it means, but it sounds good!I
Sinclair computers with some outputs. Code numbered the C U B 1 4 3 1 / M Z has a 14in with a resolution of 6 5 3 * 5 8 5
respect is Microvitec who have C U B 1431/MZ, it is set in a screen and costs £ 2 2 5 (plus addressable pixels.
produced two colour monitors metal cabinet with a die cast V A T and p&p). Both units are supplied with a
for use with the Spectrum and frame surround finished in matt Specifically for the QL (and dedicated cable and the controls
the new QL. black or beige. Should you other Hires 8 0 colour machines) are sited at the rear of the
The Spectrum compatible decide to upgrade to the QL or is their latest colour monitor, the cabinet. The CUB 1451/MQ3
monitor is claimed to be the only another computer with a C U B 1451/MQ3. This features will cost you a mere £ 2 9 9 (plus
Low Complexity Colour Display RGB/TTL colour output then a high contrast, self-converging V A T and p&p I.
zx Microdrives on the
shelf!
By now, the well sought after
Z X M i c r o d r i v e s should be
available in your local Smiths,
Boots, Menzies or other major
retail outlets which has got to be
good n e w s for S p e c t r u m
owners!
T h e Microdrive stores a
minimum of 8 5 K bytes' infor-
mation on magnetic cartridge
but average access time to infor-
mation is a mere 3 . 5 seconds as
opposed to a frustrating 3 . 5
minute wait. It is controlled by
the ZX Interface 1 which can
support up to eight microdrives,
giving a total of 6 8 0 bytes
capacity. As the Interface 1 also
incorporates an R S 2 3 2 inter-
face, your Spectrum can be link-
ed to other computers and
peripherals and a local area net-
work facility which will link upto
6 4 Spectrums.
Both the ZX Microdrive and
the ZX Interface 1 are priced at
£ 4 9 . 9 5 each and cartridges are
available separately at £ 4 . 9 5 .
in Brief
Give 'em
some stick!
• BASIC and FORTRAN in Parallel, written by S J Wainwright
& A Grant is published by Bernard Babani and is another of
their small but good value books.
The introduction claims that it could be used to learn FOR
TRAN or B A S I C , or both languages at the same time! I had
enough difficulty learning BASIC on its own. At £ 1.9 5 it looks
a useful book which includes a 16K FORTRAN interpreter in
BASIC.
r
m
L |
Level 1 1 in 3
Level 2 2 in 3
Level 3 always
Variables
Here follows a key to the
variables used in Sinclair
P Player's score.
west Midlands.
V Difficulty level for potting colours.
M Decides which colour the computer pots.
K S u c c e s s of snooker attempt.
G Decides angle for shot at colour.
E Player's speed (strength) of shot.
Sinclair Snooker is a textual four points. A snooker is when T/X Upper and lower limits for speed input.
simulation in which the com- the next player cannot get a N Value of colour.
puter makes the decisions on clear shot at the correct colour FL How many points awarded for a foul shot.
the outcome of each turn. J u s t ball and you can attempt a TB Decides who wins the tie break.
in case there are any readers snooker yourself at any time.
who have never played the Other variables are used for loops etc.
game or watched it on televi-
sion here are the rules: On the ball
Structure
Each player must take turns to When all 1 5 balls have been
try and pot a red ball and, if potted, the computer will give Here follows a brief description of the program:
successful, then pot a col- you instructions on how to pot
oured ball (except red!). The the remaining colours in their 0-269 Player attempting a red ball.
balls are worth the following correct order. You will be given 273-474 Player attempting a coloured ball.
points: the angle between the white, 475-600 Player attempting a red ball.
the colour and the pocket, and 1000-1185 ZX attempting a red ball,
RED 1 you must input the speed (or 11 90-1 3 0 0 Z X attempting a coloured ball.
YELLOW 2 strength) of the shot — this 1 500-1 5 7 0 Player's snooker attempt.
GREEN 3 may include decimals. 2000-2342 Player's attempt at final colours.
BROWN 4 The success of this shot is 2343-2420 Winner routine.
BLUE 5 determined by the computer 2500-2620 Z X ' s attempt at final colours.
PINK 6 by matching your input with 3000-3030 Print out scores.
BLACK 7 t w o numbers. If it is between 3500-3630 ZX attempting a coloured ball.
these numbers — known only 4000-4140 Player's snooker attempt at final colours.
If you make a foul shot — miss to the computer — then you 4500-4540 Instructions for potting final colours.
or hit the wrong colour ball — succeed. The higher the angle, 4700-4760 Tie break winner.
then you lose a minimum of the harder it is to pot due to the 5000-5100 Title.
5 GOSUB 5 0 0 0 3 0 GOTO 4 0
10 L E T R = 0 8 7 GOSUB 1 0 0 0
15 L E T B=0 8 3 GOTO 4 7 5
20 LET P=0 90 LET D1=INT (RND*6)
30 L E T C=0 100 LET D2«INT <RND*6)
31 P R I N T " S K I L L LEVEL?(l-3)" 110 L E T D3=INT <RND*6)
32 INPUT SK 1 1 5 I F R - 1 5 T H E N GOTO 2 0 0 0
4 0 P R I N T " D O Y O U WANT T O B R E A K 1 2 0 I P D l = 3 AND D 2 * 3 OR Dl=»3 AN
? (Y/N)" D D 3 = 3 OR D 2 = 3 AND D 3 = 3 T H E N G O T
50 INPUT AS 0 180
60 I F AS«"N" THEN GOTO 82 1 3 C I F D1< = 1 OR D 2 < « 1 OR D 3 < « 1
70 I F A®=*Y- THEN GOTO 90 T H E N GOTO 2 4 0
Ref. CC.100 — Especially designed for your home compute* system whilst also Ret DLC.200 — This cabinet has the same basic features as model CC 100 but
giving plenty of storage space for software, magazines or perhaps a video comes m a real wood veneer finish Builtm traditional English style to a very high
recorder Keeps your equipment dust free. standard Of workmanship this cabinet writ grace any home Available <n teak,
Standard Features • oak. mahogany or walnut with brass fittings
1. Smooth sliding shelf locks in position |ust when you require it — and neatly PRICE £185 md VAT - M y assembled
glides away after use
r
2 The compute* shelf has been designed to allow adequate Knee room' for
to sit comfortably, and will avoid programmers back-ache' Ref. BHU 300 — A basic home computer housing unit in a teak effect fmcsh
Adequate room to posihon tape recorder, printer dec-dnves etc alongside Storage shelf for magazines etc Supplied as a flat-pack, very simple to
computer for ease of use assemble Full instructions supplied Measurements — 32 ' wide * 31 high x
4 All cables neatly and safety out o< sight, while allowing afl units to be 18' depth plus VDU bndgmg uwt 21 ' x 6 " * 12" (avariaWe as a separate unn>.
permanently connected if desired See Ret. BU.500 below
5 Lots ot storage space for cassettes,
c cartridges, books, listing paper,
loysteks. etc PRICE only C46 95 ind VAT
G. With shelves and doors closed, mstandy becomes an elegant piece of
furniture Ret. BHU 400 - Srmiar to BHU 300 but without the storage shelf
7 The tower shelf suitable for your video recorder or storage of software, etc Measurements — 32' wide *27"high * 18 depth plus VDU bndgmg umt 21" *
8 Smart Teak effect linish 8 " x 12"
9 Supplied as a flat-pack Very s«nple to assemble, using just a screwdriver PRICE only C39 99 ind VAT
Full instructions supplied
10 Measurements Height 32"i in. Width 36 ms . Depth 16V* ins
PRICE only E79.9S n d VAT Ret. BU.500 — Bodging Unit only — Price £12 50 ind VAT
TERMS OF OFFER:- UK Mainland Customers only Please allow 28 days kx receipt Cash with order or charge to one of the credit cart accosts specified Money
back H not satisfied provided goods are returned undamaged at the customers experts® to Marco! Cabinets. Southampton within 72 hours of taking delivery
-x-
O R D E R FORM
P l e a s e supply me with the following cabinets - \ enclose my cheque for £ or please debit my
Ref. No. Qty. Colour Price Total Access/Barclaycard No
£ each £ Name
£ each £ Signature
Delivery Charge £ 5.00 Address
Grand Total
selection
Nick Pearce gives us his critical views on
some of the latest ZX81 software.
Bubble Bugs and are also UFOs and space mines
to contend with.
Bank Robber — Y o u have three lives per
Romik Software game. Game speed is selectable
in ten steps from slow to im-
I thoroughly enjoyed Bubble possibly fast. Your score and the
B u g s . It is, I s u p p o s e , an highest score recorded, are
invaders-type game. Your base displayed at the end of each
ship is at the bottom left hand game.
corner of the screen (where it re- Z X Asteroids is good fun to
mains during the game) and is play although the graphics are
under attack from the bubble not particularly subtle. The ac-
bugs. You race backwards and tion is generally good and the
forwards along the bottom of game is responsive at high
the screen firing missiles and speed. Control of your space
"popping" the bubbles. The craft takes a while to master, it
bubble bugs drop bombs which keeps moving f o r w a r d s in-
can damage both your craft and ^""Vr^Tsu^tMf definitely once the thrust key is
your base ship. Your ship can pressed and the only way to
tolerate a certain amount of stop is to rotate through 1 8 0
d a m a g e but e v e n t u a l l y is and thrust forward again.
destroyed whereupon the game Not possessing a joystick, I
ends. had to use the ZX81 keyboard
Not only do bubble bugs x m although a joystick option is in-
bomb you but when hit, they cluded. It is a 1 6K game and is
shatter and the debris can also recorded both sides of the
inflict damage. When your craft cassette.
is hit, a r e s c u e v e h i c l e is
automatically sent out from the Forty-niner and
base ship to carry out repairs.
You consume a unit of fuel each
Asteroids —
time you fire a missile and as you Software Farm
can only carry ten units, you
have to return to the base ship If you are still prevaricating over
regularly to replenish stocks. whether to purchase the ZX
Alternatively, the rescue craft Spectrum, maybe you should
will come to your aid should you forget it and get Forty-niner in-
run out completely. "" wSTtD CKAMMON'
stead. Forty-niner is an excellent
You can select an attack game. It requires a little practice
speed from 1 (easy) to 1 0 (im- to master, but persevere, it's
possible) the screen display is resemble the shields in an in- and each has a "freeze frame" worth it. No sound or colour but
good and the action is smooth vaders type game. It is worth whereby if the action all gets too the high resolution s c r e e n
and responsive. Quite an im- trying to keep them built (the much you can freeze everything display gives another dimension
pressive game. m e t e o r i t e s quickly destory while composing yourself. to the trusty Z X 8 1 .
In some respects Bank Rob- them) in order to facilitate your The 1 9 4 9 Great American
ber is similar. You rush along the dashes between the bank and
your house. Unfortunately, you
Asteroids! — Gold Rush has just started and
bottom of the screen taking
money from the bank on the left can only enter your house or the Mikro-Cen you are out there with the best
of them excavating for the
and depositing it in your house bank when the doors are open: precious metal. Somewhat
on the right. A s usual, life just they occasionally close during This is a fast moving arcade- unusual hazards (for a gold dig-
isn't that easy. You operate in a the game. type action game. The screen ger a n y w a y ) are present to
street constantly bombarded by There are twenty levels of displays large variously shaped hinder you. Giant rats search
meteorites w h i c h you must play and the density of the asteroids moving through space through your excavations after
avoid, and occasionally bricks meteorites is selectable froml to and endangering your ship. By you and there are snakes which
and pills drop from the sky. If 3. Another good quality action rotating your ship and moving when released, head straight for
you catch a brick, a protective game from Romik Software. forwards, you try to avoid them, the s u r f a c e and destroy
building will be rebuilt and a pill Both Bank Robber and Bub- or shoot them with your lasers. everything in their path. There is
gives you another 'life'. ble Bugs are 16K games. They When hit, an asteroid breaks in- also a gremlin to contend with
T h e p r o t e c t i v e buildings include on screen instructions to several smaller ones. There and you have to deposit ex-
HORNBY
SOFTWARE
SPECTRUM
PRO GOLF SERIES j
NEW ERA IN COMPUTERISED GOLF
• Recommended by "Sinclair User". August
ZKQ1-fOKTHK)Mf
Sure! More than 10 tasks TheZX81 -FORTH ROM gives
EXACT SIMULATION OF BRITAIN'S TOP GOLF COURSES
(1) ALL GOLF RULES APPLY
(2) DESIGNED FOR ONE OR TWO PLAYERS
(3) PLAYED OFF ANY HANDICAP
simultaneously and, in some you a normal keyboard with a 64
cases, up to 300 times faster! character buffer and repeat, it (4) ON EACH HOLE DIST. PAR. GREEN ENLARGEMENT
That's what replacing the basic supports the 16k, 32k, 64k RAM <5) CONTROL SHOT - CLUB. STRENGTH. DIRECTION.
ROM with the new FORTH does packs, it is fig-FORTH compatible SHAPE OF SHOT
fortheZX81 - and more! and it supports the ZX printer. (6) GRAPHICS EXCELLENT
The brains behind the The price, too, is almost (7) EXTREMELY REALISTIC
breakthrough belong to David unbelievable Asa "fit it yourself
Husband, and he's building Eprom", complete with manual, • TROON £6.95 48K
Skywave Software on the strength it's just £2 5+VAT
of it Already orders are flooding Add £2 p&p UK (£S Europe, £ 10 NEW BIRKOALE £6 95 48K
in and it's easy to see why. outside Europe) and send your LINDR1CK £6 95 48K
The ZX81 -FORTH ROM gives order to the address below WENTWORTH - EAST & WEST COURSES £10.00 48K
you a totally new system In PRO GOLF £4 95 1648K
addition to multi-tasking and split 9 HOLE SIMULATED COURSE
screen window capability, you Sl(vi/I/(IV(> ALL PRICES INCLUSIVE OF VAT, P + P. AVAILABLE FROM:
can also edit a program while
SOFTWARE
HORNBY SOFTWARE
three or four others are executing,
schedule tasks to run from 50 David Husband
times a second to once a year, and 73 Cufzon Road, Bournemouth,
with a further modification switch BH1 4PW, ENGLAND 21 PINFOLD HILL, LEEDS LS15 0PW
between FORTH and BASIC Tel (0202)302385
whenever you like International +44 202 302385 109
[SPECTRUM PROGRAM!
Spectrum
10 BORDER l: FOR a=0 TO 1: PAP
ER 5: NEXT a
20 CLS
100 DIM L ( 1 9 ) DIM C ( 2 9 )
110 PLOT 4,4: DRAW 2 4 7 , 0 : DRAW
0,168: DRAW - 2 4 7 , 0 : DRAW 0 , - 1 6 8
120 L E T 1= I N T ( RND * 1 8 ) + 1
130 LET c = I N T ( R N D * 2 8 J +1
140 PRINT AT 1 , c I CHR* 134J CH
R* 137
150 P R I N T AT 1*1 t c i CHR* 137}
CHR* 134
160 L E T L ( 1 > ® L ( 1 ) + 1
170 L E T C ( c ) = C ( O + 1
180 P A U S E 2 0
190 PRINT AT 1,cJ"
200 P R I N T AT 1+1,C|
210 I F INKEY* <> " THEN GO
TO 2 2 5
2 2 0 GO T O 120
225 PAPER 7: CLS
230 PRINT I N K 2 J I N V E R S E 1J AT
l,6i"Occurrence Graphs"
240 LET sum=0
2 5 0 FOR a = l TO 1 9
1
human's mental power — of September 26th 1 9 8 3 but
aching brains instead of aching Mr Barraclough admits that he
fingers. ZX Computing always has not been successful to date.
likes to be among the leaders in We would be very interested to
any new field and so w e present, hear from any reader who gets a
courtesy of Mr Barraclough, a favourable result, but no fakers left right top low
program to expand the already please.
cool and
contents of memory 1 at the top appear. For example:
of the display without interfer-
calculating
ing with any calculations which Find the HEX for 2 5 5
might be in progress. Press 2 , 5 , 5 , H
The contents of all memories The display then shows FF
can be reset to zero by typing
F,X and following the prompt. If Find the DEC for 1 A B
you change your mind, then any Press 1 , F , 1 . F , 2 . D
computers are only conversions the last thing that you entered.
proves that that is one tained by typing " F " and the
number under w h i c h they
Here follows a brief description
of the program functions:
of their most useful 10-40 Sets up variables and flags and puts the computer in-
functions. 50-96
to C A P S mode.
Sets up graphics and POKEs the USR routine for the
letters into the memory.
98 Screen colour etc.
100-200 Draws the calculator
210-490 More variables
500-560 Handle the input of data (main loop).
p m n n r a 600-850 Special instructions for any key pressed which is not
a number.
1000 - 1 0 2 0 Calculates the answer and running totals.
J G D C Z i r a 1100 - 1 1 4 0 Converts from decimal to hex.
1200 -1300 Displays contents of memory.
• • CIIICZD EI3 [23 Z3CEK23 1400 -1420
1500 -1520
Converts from hex to decimal.
Input from keyboard.
6000 -6050 Main loop for special functions.
±2 E 2 3 CED HhH [ E D 6100 - 6 1 4 0 Handles memory functions. Decides whether to up-
date memory or include it in calculations.
This program, for the 1 6 or 4 8 K F I N D R O O T 2 by typing 6200 6250 Resets all memories to zero.
Spectrum, is different to other R,2,ENT 9000-9060 Converts to and displays large characters.
calculator programs in that the or R O O T 2 / 2 by typing 9900 Saves program.
functions are displayed as you R,2,V,2,ENT
type them in.
The percentage function must 10 CLEAR 31999*. L E T H - 0 : L E T Q
Arithmetic always have two numbers, one
to carry out the function and the
=0: L E T F = 0 : L E T F l - 0 : L E T F 2 - 0 :
multiplier for the percentage.
LET F 3 * 0 : LET F4~0: LET K-USR •
Enter numbers by pressing the This can also be used on its own A•-1132
keys as seen. Enter arithmetic or in calculations. For example: 13 DEF FN T ( G ) = G * ( E / 1 0 0 >
functions by pressing the keys
on the keyboard where they are FIND 5 % of 17 by typing
20 POKE 2 3 6 5 8 , 8
printed. For example: 1 , 7 , B , 5 , P , ENT 30 L E T 5«®"ABCDEFGHIJKLMNOPQRS
TUVWXYZ"
ADD
PRESS
12+6
1,2,K,5.ENT
Memory 40 DIM M<8): DIM M « ( 8 , 2 > : L E T
DISPLAY =17 M« (1 > »"M1 • : L E T M « ( 2 ) » ' M 2 T L E T
The calculator is equipped with
eight memories. To store a M«(3)»"M3": LET M«(4)»-M4': LET
SUB - 1 3 - 7
PRESS J,1,2,J,7,ENT number there must be an " = " in M*(5)»"M5": LET M«(6)»"M6': LET
DISPLAY = -20 front of it and then you type " F " M « ( 7 ) * " M 7 " : L E T M« f 8 > »"M8"
to get you into the special func-
tion mode followed by " M " for 50 L E T X«USR " A " : FOR N*1 TO 1
MULT 4 * 32
PRESS 4 , B , 3 , 2 ,ENT memory and then the number of 6 : READ A : POKE X , A : L E T X' • X + l :
DISPLAY =128 the memory that you wish to be NEXT N
used. This number can then be
used as an operand; ie you can 6 0 DATA 0 , 2 4 , 2 4 , 0 , 2 5 5 , 0 , 2 4 , 2 4
DIV 18+6
PRESS 1,8,V,6,ENT type F , M , 1 , K , 5 . This displays 61 DATA 0 , 3 , 4 , 4 , 2 0 0 , 7 2 , 4 8 , 1 6
DISPLAY =3 M l + 5 . Press enter to find the 70 FOR N - 3 2 0 0 0 TO 3 2 0 5 6
answer. Memories can also be
80 READ A : POKE N , A : NEXT N
Roots and percent u s e d w i t h e a c h o t h e r ; ie
M l x M2 etc. 9 0 DATA 3 3 , 0 , 6 0 , 1 , 0 , 0 , 3 8 , 5 7
The contents of any memory 91 DATA 1 2 5 , 7 9 , 1 8 3 , 2 2 , 3 , 2 0 3 , 3 3
The square root function is ob- can be displayed in two w a y s .
tained by typing the first letter; Firstly, when the display is ,203
ie (R)oot followed by a number. showing " 0 " then by typing as 9 2 DATA 1 6 , 2 1 , 3 2 , 2 4 9 , 9 , 6 , 4 , 2 3 7
This function can be used on its " ~ 1 0 " or such like. Secondly,
own or in calculations involving at any time you c a n type
9 3 DATA 9 1 , 5 8 , 1 2 5 , 1 2 6 , 1 8 , 1 9 , 1 8
other numbers. For example: F , D , M , 1 . This will display the , 19
A maxim which eloquently describes the most home computers and popular software.
Brother HR-5. Perfectly portable, the battery or mains operated
Less than a foot across, it's nonetheless loaded HR-5 weighs less than 4lbs, and has a starling price
with features. of only JL179.95 (i nc .VAT).
But there's one thing the 1 IR S won't give you. Which is really something to shout about
Earache.
PHASE SEND ME MORE DfTAH-S OF TH1 Rl MARK ABU BROTHER
For the annoying 'clickety clack' many printers HR-SPRINTER. 1
brother\\
It will also hone down characters into a
condensed face, or extend them for added emphasis.
Incorporating cither a Centronics parallel
or RS-232C interface, the MR-5 is compatible with
Dt HI P. BROTl fl R OFFICE EQUIPMENT DIVISION, K>M V + BROTHER.SHEPLEY STREET. GlHDl RRJIXii , A U D E N S f t W MANU ULSTER M i 4 SID
TFl D n c C l l i V i l 1\ U ' . n i ! » j n « « ">• » « - - • - —
IK disassembler
ZX81 PROGRAM
START
D B 9 t B f f l ( i l E ( S ( I Q I
PRINT ADDRESS
t B f f i ® ® ® ® ® ® ® 1
PR IN'rcooE
MOVE DATA
1
LOADC WITH
YES
No 01BYTES
about advertisements.
Every week, millions of advertisements appear in the press,
on posters or in the cinema.
i Most of them comply with the rules contained in the
British Code of Advertising Practice and are legal, decent,
honest and truthful.
But if you find one that in your opinion, is wrong in some
way, please write to us at the address below
We'd like you to help us keep advertising up to standard.
The Hardware,
The Facts.
PRL\ T X PLOTTER more into the memorv! PRLVT '.V PLOTTER
PAINTBOX It COMPILES text, graphics
characters or I'DG's instantly into machine KEYBOARD OVERLAYS
Superb Graphics code giving fast smooth access to the The simple answer to
— without expensive hardware! screen!
"Which key?"
It C R E A T E S re-callable Multiple
PAINTBOX gives the 48K Spectrum Screen Files automatically with its own Print n' Plotter KEYBOARD
owner every facility to produce excellent built-in machine code! OVERLAYS for the standard ZX Spectrum
graphics — easily, quickly and It E N L A R G E S screen sections in keyboard are the economic answer to
professionally. 2X steps! "Which key does what?"
There's no need for expensive It R E D U C E S the whole screen in If you program, or buy commercially-
hardware. PAINTBOX is flexible, precise 2X steps! produced software, sooner or later youll be
and incredibly simple to use! It RECOLOURS your screen faced with a mind-boggling mass of keys
Just take a look at some of the graphics either globally or selectively! that perform different functions.
facilities available: It MIRRORS the screen left to right This can be as simple as the " F I R E "
UPC EDITOR making flip-action animation easy! button in a game or as precise as the
It RELOCATES your screen graphics "analysis" button in a scientific program.
The facility to define up to 84 Let's face it. the Spectrum keyboard
to any other part of the screen with block
graphics characters which can be stored in is complicated enough so why not take the
or high-resolution scrolls!
your BASIC programs for instant recall easy way to remember...
It SUPERIMPOSES screen graphics
from its own built-in machine code! . . . lay over the keyboard a Print 'n'
giving incredible mixing results!
UPC. DRAWING BOARD It SAVES everything to tape or Plotter OVERLAY and write the function
UDC planner for the 4 banks of Microdrive for use within your BASIC underneath... it's child's play!
characters. Facilities include: MIRROR programs! Then keep the OVERLAY for the
IMAGE. ROTATE. INVERSE. F I L E . There's no doubt that S C R E E N next time you use the program.
MACHINE is a major graphics toolkit for Print n' Plotter KEYBOARD
SKETCHPAD
the 48K Spectrum. It is completely menu- OVERLAYS come in packs of ten.
Experimentation window" that driven and comes complete with demo Punched to fit your Spectrum. Priced to
allows you to try-out your UDC ideas under program and fully-documented instruction suit your pocket!
development. booklet.
PRECISION PLOTTER Another first from Print n' Plotter!
PRIST \Y PLOTTER
Amazing versatile high-resolution
drawing board which includes PAPER ZX PRINTER PAPER
PRLYT '.V PI JITTER
choice. PU)T, DRAW, DRAW
Print n' Plotter Products also
RADIALLY. C I R C L E . ARC. OVER. ZX SPECTRUM JOTTER market ZX PRINTER PAPER that giws
F I L L , instant change of INK and BRIGHT, Pre-planning your screen good, clear print, eminent feeding qualities
multi-function E R A S E and STORE. — probably the best youll find in the U.K.
Cursor is controlled by keyboard or made e a s y . . . and precise!
FAST D E L I V E R Y and
Joystick with FAST. SLOW, and Cursor size Print n Plotter J O T T E R S have economically priced . . . you won't find
choice! become a household word for the Sinclair better!
S C R E E N PLANNER enthusiast.
Despite various imitations our CREDIT CARD 24HR. AN'SAPHONE
For the best of both worlds!
original ZX SPECTRUM J O T T E R is still ORDERS
PRECISION P L O T T E R and UDC
CHARACTERS! For complete screen the one people prefer! 01-660 7231
planning of graphics. A multi-purpose Of course it could be because it is (Phone 01403 6644 for Dealer and other avjuineU
facility to enable you to produce superb professionally produced... the quality is Po*t to: Df(X ZX Print V Plotter Product* Lid..
screen graphics! superb. 19 Borough Hljth S t m t . London S E l 9SEL
All results can be sent to a printer, And the fact that it is BIG SIZE A3 Please tend me:
saved as S C R E E N S or SAVED as CODE (16lAff x is a distinct advantage ... -HUNTBOK"SOFTWARE«r£825
... "SCREEN MAC HINE' S< *TWARE O £ ^ 2 5
with its built-in machine code routine for when working in high-resolution.
SPECTRt'M KHTER PADS <B £9.00
instant recall from BASIC. It's also 100 pages thick. 50 pages of .. SPECTRUM KEYBOARD OVERLAYS 6 C M
The program is complete with a PLOT grids showing each numbered pixel . . 5 ROLLS ZX PRINTER PAPER 6 £12 50
cassette demo and a 28 page booklet co-ordinate and 50 pages of PRINT grids All pnees include U.K postatfr and VAT.
describing in easy-to-understand language showing every' character and graphic Li I enclose remittance in Ml
how to use it, plus many tips for storing character position and INPUT lines. • lleise Nil mv AcceivBarcbxjnl'Viia M i ^ l m j n l N<>
and using your graphics in programs. Each page also contains 24 UDG
planning grids (2400 per pad). Overseas orders please add 25N on <|uuted prices, far
Consider also the fact that it is additional handhrm
PRIST '. V PLOTTER printed on Artist's Detail p a p e r . . . thick
SCREEN MACHINE enough to take any writing, drawing or NAME,
colouring, yet thin enough to overlay onto
Instant machine code a drawing and trace-off. ADDRESS.
m
TOPLIST 117 TOPEMPTV -118
' V ing by alphabetical order, w e 8 0 5 0 INPUT "Which field do
can use other pointers to sort by you want to sort?" ; LINE B$
xi all other criteria. For example, 8 0 6 0 FOR n = 1 TO Number of
rti) could be the pointer for sort- fields
ing by Maths mark, q(i) for sort- 8 0 7 0 IF S$(n,1 TO 3> = B$(1
XI ing by English mark and so on. T 0 3 > THEN GOTO number sort
We would need new variables to 8 2 0 0 REM number sort
act as pointer to the top of each 8 2 0 5 IF a ( n . l . i ) > a ( n , 1 , j )
I« x list, eg topmaths, tophist etc. and so on as before
/i The sort routines can be as
above so that if m(i)>m(j) then The routine above can also be
119 r(i) and r(j) would swap values. used to automatically direct
To print names in order of operation to the string sort
maths mark w e would use a routine. Similarly, the print
| 119 1*T| routine such as: subroutine can use Ss.
A data saving and loading
5000 F*OKE 2 3 6 5 8 , 8 facility needs to be written to
| 120 XI 5010 INPUT " Hard copy or make the data base program
Fig 3c Removing a record from the bst toscreen (H/5)"; LINE complete: now all that is left is
B$ the coding!
PLOT no equivalent
SCREENS
eg LET a = S C R E E N S x , y LET A - PEEK(PEEK 1 6 3 9 6 Used in interactive games
+ 2 5 6 ' P E E K 1 6 3 9 7 + 1 + Y + 3 3 * X ) to detect characters in the
display file. Note — this
formula only works when a
R A M pack is fitted.
Table 2 Spectrum to ZX81 conventions
•
BEEP FORMAT ATTR •
* BORDER *
INK BIN
BRIGHT • INVERSE FN
CAT • MERGE IN •
CIRCLE • MOVE OVER •
— CLOSE #
OPEN POINT •
DRAW • READ
- —
ERASE • RESTORE
FLASH • VERIFY
Table 4 Spectrum functions not a va liable on the 2X81.
Currency conversion
if you're going abroad this summer, this program
from K j Rider in Kingston is a must!
Currency Conversion will store variables to get the 1 REM SPAIN PESETAS SWITZERLAND UNITED
and retrieve the rates of ex- address.
change between Stirling and any When first run you will have to STATES DOLLARS"
other currency of a wide range use the option to set up each of 60 PRINT *;TAB 3 l B * ( TO 19)JTA
of countries. the exchange rates (these can B 28;" (1) "
Keith has used some neat pro- be found at any bank) and the
gramming techniques to fit it in- program will crash if they are not 61 PRINT ; T A B 3 ; B « ( 2 0 TO 34) ; T
to 1 6 K, one of which is holding entered before attempting to AB 28;"f2)"
the rates of exchange in a REM convert currencies. Countries
62 PRINT ; T A B 3 ; B * ( 3 5 TO 40) ; B —
s t a t e m e n t and using the other than those supplied in the
PEEK^POKE functions to store listing may be changed or added * < 2 7 T O 3 4 )*, TAB 28 ; " ( 3 ) -
and retrieve it. The program to and the following notes will 63 PRINT ; T A B 3 ; B9 ' 4 2 T O 54) ; T
even allows for lucky microdrive help you to make any ad-
justments. AB 28|"(4)• —
users by using the s y s t e m
60 P R I N T ; T A B 3 ; B * ' 5 6 TO 72) J T
Program details AB 2 8 ; " ( 5 > "
65 PRINT ; T A B 3 ; P * ( 7 3 TO 83) ; T -
ZXtras
Complete your COOL-IT UNIT
BACKPACKS
•o^r
computer Takes me neat out fjsa^.
ol your oompmer '
Lets yoix Spedrwn or
^ ^ K E L W O O D S O U N D ZXfii r\*i mutti oooter r
Jv&w^
r t f M *h a*s aMPt O WER BASE Separate Coc-*Un*
h e l b a s k ; bits. t h a t 2X81fletZXCCtt66 Spectra RetSCEll 85
4 Sinclair left off. * CooMumtt Outffmtooffter Ketwoodaddm
Sn«5ens 01 (MB. no^pertsatole und comptete ywx k • Fully adjustable sound amplification Power Saw i Spectrum R«f PBSIC CIS 55«Power
computer A» have SAVE LOAD and ON/OFF Swftcfwig • LOAD/SAVE switch • Angled stand Base IZX81 I Re' PBZXC £19 3S«Soi«J ( W Base
and a housmgtortrvi transformer Compewe** tSpecm*n o*y> Ret SP8IC C25 OOeBack Pack i Ret
rtertaoe one. Idealtoruse caaed keyboards t p ' ^ s ^ - J l ON-OFF re-set switch BP1C C32 55*Back Pack2FW BP2C C24 55* Back
RetBPl Futr vwabto Kwd amp 3 «13 amp socket* Pack 3 Rel BP3C £26 5S • Back Pack 4 Ret BP4C
€18 60*Back Pack 5 Ret BP5C £26 MeBacfc Pack6
swlch and neon ndcator cabte and ptug C2750
Ret BP? tttBPl but no sockets cable and ptogs Mas s r e ^ ^ M f f l ' Ret BP6C £18 909 Weartaver (Spectrum; Ref WSSC
£i600«Wearsaver(ZX81|Rei WSZWXrCf •£1580
room to tm
i yCKX own CX*aplug sockets £19 50 J W
Ret BPJ - as BP1 but no «xnd (21 SO
Ret BP* asBPi but no sound or sockets CT306
Ref BPS ZX81 «tnan nc sockets maws swfcti
neon, cat*) and pfcg C20 85
Ref BP6«sBPSbutnocableorsockets —_ CI285 rake up any enra ^ - y / 1
space 9 All wires • - ^
MiCROSTATION included 9 Saves wear arxJ ^ i ^ j / \
17 square tray lor above plus computer and tape distinct
fear or connections 9 Gives out
click with each key depression 9 Amplifies i\' ^ v o t t s O N ^ ^ 95
Re' MS t 7 50 ait sound on program and on cassette 9 Does not \
WOBBLE STOPFER need battenes • Does not interfere with n$ide of I
Spectrum or any other addons 9 No sddenng
Z X & E A M ' f K A l required Simply plugs n R E F S P f l l C19.90
Flat Rtl SW f5 25 T*ed Re* STW C6 25
immglotnm> FM HHLWC.75 TMd n^LTWMTJStandard Power Base without sound
S P E C T R U M R E F P B S I C13.50 ZX81 R E F PBZXI £13
CREDIT CARD
HOTLINE T E L :
(0709)63242
8am-10pm Items under &0 plus 60p P&P TOTAL
Access Items over £ 10 plus 95p P&P ENCLOSED
L
120 L E T C=C+33*( ( E * 6 ) - ( E * 7 ) ) -
Line by line
dimensional arrays, A(50) and
B(10). For the player's snake,
=8 ?-<E»5>
two pointers, AA and AB, move 1 3 0 I F P E E K C ® 2 3 T H E N L E T AB- : A B
Here follows a breakdown of the
L
by POKEing in the new head at -4
A(AA) and wiping out the tail at program which should help you
1 4 0 I F AB<1 THEN L E T A B » A B + 5 0 —
A ( A B ) . Changing (AA-AB) understand the listing a little
lengthens or shortens the snake- better: 1 5 0 I F P E E K C > - 1 2 8 T H E N GOTO 1 0
00
160 P O K E C,136
90-660 Forms the game loop. The player's move is input
170 POKE A ( A B ) , 1 4
and the computer tine 1 5 0 checks that it is to an
empty square. Line 130 allows for the player's 180 L E T A ( A A ) « C
snake finding food. Lines 3 0 0 - 5 5 0 check for 19ff L E T A A = A A + 1
the computer's snake. If the next square is a
wall then it is either right or left at random. 200 L E T A B = A B + 1
1000-2050 Shows who has won the game and reruns the 210 I F AA > 5 0 T H E N L E T A A * 1
program for another game. 220 I F A B > 5 0 T H E M L E T A B = 1
5000-6990 Sets up the variables and gives instructions.
7000-7200 Sets up the board. 3 0 0 REM * * C O M P U T E R S M O V E * *
4 0 0 I F P E E K < D + P ( F ) ) < 2 4 T H E M GO
TO 5 0 0
Variables 4 1 0 L E T G= ( 2 * 1 NT (RND*2)>-1
420 LET FeF+G
4 3 0 I F F>4 THEN L E T F»F-4
A(50) Positions of player's snake. 4 4 0 I F F<1 THEN L E T F - F + 4
8(10) Positions of computer's snake.
4 5 0 I F P E E K (D + P ( F ) ) < 2 4 T H E N GO
_ AA,AB,BB Pointers in the arrays.
P<4> Codes for the four directions N, S, E and W. TO 5 0 0
L
L
L
L
460 LET F«F- (2*G)
470 IF F>4 THEN LET F-F-4
480 IF F<1 THEN LET F = F +4
490 IF PEEK (D + P(F))>23 THEN GO
TO 2000
500 LET D-D+PCF)
510 POKE D , 168
520 POKE B(BB)P14
530 LET B(BB ?= D
540 LET BB=BB+1
550 IF BB>10 THEN LET BB=1
560 REM **CHECK LENGTH**
600 LET N=N+1
610 IF N<LEVEL THEN GOTO 100
620 POKE A(AB > ,14
630 LET AB-AB+1
640 IF AB >50 THEN LET AB=1
650 IF ABS < AA-AB)<1 THEN GOTO
1000
660 GOTO 90
1000 REM **COMPUTER WINS**
1010 PRINT AT 23,0!'THE COMPUTER
WINS"
1020 POKE 1 6 4 1 8 , 2
1030 FOR M—1 TO 150
1040 NEXT M
1050 RUN
2 0 0 0 REM **PLAVER WINS**
2010 PRINT AT 23,0}"YOU WIN"
2020 POKE 16418,2
2030 FOR M=1 TO 150
2040 NEXT M
2050 RUN
4990 REM INSTRUCTIONS*SET VARS
5000 PRINT TAB 51"** SNAKE TRAP
**"
n
P INT
REM * CHARACTERS PRINTED *
*
IN LINES 6310/30/50/*
* 7 0 AND 7 0 1 0 / 5 0 A R E *
*
IN INVERSE. *
6310 PRINT TAB 4 ; " p l e a s e w a i t wh
ile the"
6320 PRINT
6330 PRINT TAB 8 J " s c r een i s set"
6340 PRINT
6350 PRINT TAB 5; " t h i s w i l l only
take "
6360 PRINT
PRINT T A B 8» a few seconds"
6380 F O R N=1 T O 100
6390 NEXT N
FAST
CLS
6420 LET LEVEL*113-Z
6990 REM * * * * S E T UP B O A R D * * * *
7000 POKE 16418,0
"'015' PRINT " snake trap
7020 F O R N=1 T O 22
7030 PRINT CHR* 128J
J CHR* 128
7040 NEXT N
7050 PRINT "
7060 F O R N=1 T O 2 0
7070 P R I N T AT I N T (RND*20)+1,INT
<RND*30> + 1 ; " * "
7 0 8 0 NEXT N
7 0 9 0 FOR N - l TO 1 0
7 1 0 0 P R I N T AT I N T (RND*20)+1,INT
<RND*30> +1{ " "
7 1 1 0 NEXT N
FOR N ' l TO 3
POKE (C+N),14
POKE ( D• N ) , 1 4
NEXT N
SLOW
P R I N T AT 0 , 1 6 ; " P R E S S A K E Y "
REM * C H A R A C T E R S P R I N T E D * m
* IN NEXT 2 L I N E S ARE * H H
* IN INVERSE. * 1
P R I N T AT 0 , 1 6 ) " p r e s s a k e y "
I F I N K E Y « = " " T H E N GOTO 7 1 7 0
P R I N T AT 0 , 1 5 ; " g o o d luck...
RETURN
9998 SAVE "SNAKE TRAP"
9999 RUN
131
East London.
separate from the last point
drawn you must plot a point
first.
On this last point, one of the
major drawbacks (pun intended)
of the DRAW command is that
the co-ordinates of the end of
the line are offsets of the last
point plotted. However, it is
quite easy to programme around
this by using the two system
variable, bytes 2 3 6 7 7 (which
holds the x co-ordinate of the
last point plotted) and 2 3 6 7 8
(which holds the y co-ordinate
of the last point plotted).
The functions defined in lines
10 and 20 subtract those held in
these bytes from the absolute
screen co-ordinates you wish to
draw to and gives the offset
values required by the DRAW
command. This method has
ramifications for graphics work
far beyond the scope of this
relatively simple, if enjoyable,
program and you should be able
HK 7; PLRSH n ; " Z X
to make very good use of it in
other graphics applications.
Designer"
1
3 0 1 5 BEEP .02S,t6*2
3020 NEXT N: N E X T FTI
2 0 D E F FN' X ( a ) -PEEK 23677 3 0 3 0 PRINT RT 9 , 2 0 ; " P r e s s a n y ** .
f
2© D E F F N f a ) = 3 - P E E K 23578 RT 1 1 , 2 0 . ; " l e t t e r to";RT 13,20; "c
30 EOSDER 1 : PfiPEfi 1 : I N K7 : C ontinue"
LS 3 0 4 . 0 BEEP . 0 2 5 , 0 : P R U S E 3 : IF IN 1
4.0 G C T C 3 0 0 O KEY*-"" THEN GO TO 304.0
10© INPUT " E n t e r l to Plot, 2 t 3050 C L S
c« d r a i d " ; a 3060 P R I N T R T 5 , 3 ; " T h i s p r o g r a m
2 1 0 I F S < 2 OR a >2 T H E N GO T O 1 0a l l o w s y o u t o "
0 3070 PRINT " c r e a t e d e s i g n s usina
2 2 0 GO T O 1 0 0 0 * 5 PLOT, DRRU a n d OUER commands. T h
9 9 9 REM * * p l O t COOrdS** e DRRU c o m m a n d w o r k s i n a b s o l u t e
1 3 0 0 INPUT " E n t e r 0 t o p l o t ,
0 P l o t OVER " ; a
1 0 1 0 I F a < C O R a > l T H E N GO T O
1 t screen
3080 PRINT
1 0DER co l o u r
coordinates."
P l e a s e e n t e r BOR
(0 t o 7) i« *
J
00 3 0 9 0 I N P U T a : I F a <0 OR A >7 T H E N
2 0 2 0 INPUT " E n t e r p l o t coords GO T O 3 0 9 C
3100 PRINT a 1
1030 I F b < e OR b > 2 5 5 OR C < 0 OR C 3110 PRINT ' " NOW e n t e r PRPER
>275 T H E N GO T O 1 0 0 C colour " ;
104.0 P L O T OUER a : b , C 3 2 2 0 I N P U T b : I F b < 0 O R b >7 T H E N
2050 GC T O 1 0 0 GO T O 3 2 2 0 1
1999 REM * * d r a w coords** 3230 PRINT b
2000 INPUT "Enter 0 to draw. 1 t 314-0 P R I N T ' " R n d INK c o l o u r "
o d r a w OUER " ; a
2 0 1 0 I F a < 0 OR a > l T H E N GO T O 2 G 3 2 5 0 I N P U T C: IF c <0 O R C >7 T H E N
00 GO T O 3250
2 0 2 0 INPUT " E n t e r d r a w coords 3 1 6 0 PRINT C
ij j 3170 PRINT ' " Further instruct
2 0 3 0 I F b<© O R b > 2 5 5 O R C < 0 OR C i o n s a r e g i v e n i n t h e INPUT
> 1 7 5 T H E N GO T O 2 0 2 0 requests, press any letter to co
£ 3 4 0 D R S U O U E R a ; F N X ( b ) , F N y (C) r i t i n u e . "
2 0 5 0 GO T O 2 0 0 3100 PRUSE 0
2999 REM **INSTRUCTIONS** 3190 BORDER a : PRPER b; INK C: C
3000 F O R » = 1 T O 1 1 : F O R n =0 T O 1 LS
3010 P R I N T T P S RNC>*7; P R P E R I 3200 GO TO 1 0 0
MAIL ORDER
QuickShot II
Joysticks
Tt» cno<f <* rwrt Th. tundard OuckSrwX «
tu*A*nt .Hut
R W i m l i l MMn opt 'or lOOM PTKM" and I Mml»l
*tu« lontoorad hanOla antf • ttwanwn top twmt button glut
ccnintiorvn bulton « ttv Urn
four •«•' Oi c v d u m i x r i t l .» t»* « M I ( > ltawla.ll » ptn 0' | A l f
l o n p a U H h t f Wftti OU' .niartaen v c o m w t i o n to •
•iKMiogiNmKXW
Tha i m OuciSMM II Kaa .mpMO WyW) » » » I VP"
control * m tna loo t < « n action and * brood* W *0>
kjctxm naoiiitv Tha rao>d lira M u s t . tfloa* a csnonuom
li'.an- g l r n m M t nomnOY a U . I I W t « i » raquwad K r aach
n . * losatad m rr» baw «or aa*v actaaa < r > «
QuickShot
Co>d i a n * n a n ) n r x » < a t « n » attha ttandaro OhnctStwt t v t t c n w
Flaw , » dad l-om w ' o> your ordo an*«u»h » norm*". JawKh »«xn tloci (Ml DS
ICOUNT VOUCMR I If ORDtW EXCttDS Ml
«
Wthkm 1 davl A
AH
Gf AG'
H- — r Bog™* Rat*'«»aMSinia. Taalphona IOJ*1i J?1W 7X81 Q ZXSMCTnuWQ nwaanck FINAL TOT AT |
A
ZX81 EDUCATION
Jennings of Birmingham.
old war films where semaphore
signals are sent from ship to ship
to relay vital information. Well,
now you can learn the code and
decipher those signals with the
aid of this Z X 8 1 program
Entering the the numbers displayed with
those printed to make sure you
it by typing GOTO 4 0 0 0 . On
subsequent loadings the pro-
designed for the expanded program have entered them correctly. gram will auto run and be in-
machine. Now delete lines 2. 4 and 5 stantly ready for use as it will not
All the relevant signals are Type in Listing 1 first, exactly as and enter the main program. have to set up array S $ again.
assigned to S $ and the diagram printed. Line 1 must contain at Listing 2. Once you have RUN The last message entered will be
shows what each signal should least 1 52 characters. RUN'the the program and checked with saved as well.
be and helps should you make a program and enter each of the some test messages then S A V E
mistake. On running the pro- numbers in Fig 1 one at a time, ie
gram you are asked to select: 4 newline 2 newline etc. 1 REM
i
screen before testing. (Do not new) and RUN. Check
4 H I tk
1 2 3 4 5
TLLJ XL! JJ 8
8 OISAME
ASO)
a a Q
A ^ ^ f t e t H f V
4
20 uj HJ HL W liJ
21 22 24 25 UJ HJ27
26 28 w29
K L M N 0 Q R T
w W ff f V Y n fj< ft
30 _L 31 _L 32 3
3 __ 34 _L 35 1 1 3
7ft
L
u w END OF
WORD
NUMRFP
C A L L UP
134
ZX81 EDUCATION
" TO END.•
' 24f*e» IF INKEY«0"" THEM GOTO 210
4 T 1j 3 1 4 J 2 4 3 1 _> 4 0
2 •1 4 3 4 3 5 •1 3 4 A 4 2 3 1 2405 L E T M* = I N K E Y *
4 2 2 4 2 4 3 3 1 4 3 2 2 A f 24 10 I F M*-=-"" T H E N G O T O 2 4 0 5
1 3 4 3 -> 4 4 3 4 3 3 5 A 3 A A 2420 I F M* = " , " T H E N GOTO 2 0 0 0
4 2 3 1 4 2 2 .-7 1 3 3 5 A 2 1 3 2 4 3 0 I F CODE M * = 1 1 8 THEN LET N* =
A 2 2 4 4 3 5 4 2 4 A 3 1 •J M * ( TO L E N N * - l >
3 1 1 3 3 1 2 4 3 1 S 5 3 1 A 4 2435 IF CODE M*=118 THEN GOTO 24
2 sL 1 3 2 2 f 4 1 3 A A 3 5 2 4 45
2 4 4 4 2 3 5 3 5 A A 4 3 A 3 2440 LET N*-N*+M*
1 3 2 4 4 4 4 4 2445 IF I*»"2" THEN PRINT AT 5,0
;N*{" "
Listing 2 2450 GOTO 2 4 0 0
5 FAST 2500 CLS
10 DIM S * ( 3 8 , 4 , 5 > 2505 LET L*= " "
2 <7 F O P 1 = 1 T O 3 8 2510 FOR 1 - 1 TO 3
30 LET S*(I,2,3>="0" 2520 LET P=30
'10 L E T S * * I , 3 , 3 ) = " A " 2530 GOSUB 3 0 0 0
50 LET S* <1,4, 3>*"I " 2540 LET F-36
60 NEXT I 2550 GOSUB 3 0 0 0
70 LET X=16514 2560 NEXT I
8 0 F O R 1=1 TO 3 8 2570 F O P 1=1 TO L E M N *
90 LET S* <I,PEEK X,PEEK (X+1M 2530 IF N*(I)»". THEM L E T P-36
=CHR* 8 259CT IF N*'!?=". T H E N GOTO 2 6 6 0
100 L E T S * ' I , P E E K <X*2>fPEEK 'X 2600 I F N* ( I > CHR* 3 8 THEN GOSUB
•3'1=CHR* 128 3.040
1 10 L E T » X * 4 2610 L E T P«CODE N * I > - 2 8
120 NEXT I 2£15 I F N * ( I ) * " 0 " THEN L E T P = 24
12? LET S * ' 3 6 , 4 , 3 > = C H P * 137 2620 GOSUB 3 0 0 0
130 L E T S * < 3 3 , 4 , 4 > = " • 2630 F O R A=1 T O 5
140 SLOW 2640 NEXT A
2000 CLS 2650 LET P=38
2010 PPIMT TAE 10J"SEMAPHORE"5TA 2660 GOSUB 3 0 0 0
B 10;" " 2670 I F I * = " 2 " THEN NEXT I
2030 PRINT 2675 I F I * = " 2 " T H E N GOTO 2 7 4 0
2 0 10 P P I N T " S E L E C T OPTION:" 2680 LET M*=INKEY*
2050 PRINT 2690 I F M * = " " T H E N GOTO 2 6 8 0
2 0 6 0 P R I N T "1 TYPE MESSAGE" 2"*00 LET L*=L*+M*
20"*0 P R I N T " 2 S E N D S E M A P H O R E ME 2710 P R I N T AT 20,1!L*
SSAGE " 2720 I F L * ( X ) < > N * ( I > THEN PRINT
2080 PRINT "3 TEST SEMAPHORE" AT 2 1,IJ" e "
2100 LET I*^INKEY* 2730 NEXT I
2 1 1 0 I F I * ' ' " 1 • OR I * > " 3 " T H E N GO 2732 F O R 1 = 1 TO 3 5
TO 2100 2733 NEXT I
2120 IF I * 0 " 1 " T H E N GOTO 2 3 0 0 2~*35 " P R I NT A T 13,1{N*
2300 CLS 2"*40 L E T P= 36
2310 PRINT "SELECT OPTION" 2"M2 GOSUB 3 0 0 0
2320 PRINT 2"'45 F O R 1 = 1 TO 5 0
2 3 3 0 P R I N T "1 T Y P E MESSAGE IN S 2*^50 NEXT I
ECRET" 2°q>0 GOTO 2 P 0 0
2340 PRINT "2 TYPE MESSAGE" 3000 FOR J = 1 TO 4
2350 LET I*»INKEY* 3010 P P I N T AT 10+J,121S*(P,J>
2 3 6 0 I F I S O " I " AND I * < > " 2 " THEN 3020 NEXT J
GOTO 2 3 5 0 3030 RETURN
2380 CLS 3040 LET P=37
2385 LET 3050 GOTO 3 0 0 0
239.0 P R I N T " E N T E R MESSAGE, SEPAP 4000 SAVE "SEMAPHORE"
ATE UORDS BY ,PRESS * 4010 GOTO 2 0 0 0
COMPATIBLE
Fully interfaced to the S P E C T R U M and ZX81, this
printer operates at 2 lines per second, with full
256 x n dot graphic capability, 32 column line
width. It uses the standard Sinclair print commands
(COPY, L L I S T , LPRINT).
PRINTER I
Paper rolls only £1.00 per roll — 25 metres long.
Alphcicom 32
T h i s t h e r m a l printer, n o w available in the U K , is the standard
printer w h i c h has sold in tens of thousands for use w i t h the
A m e r i c a n version o f the Z X 81.
£69
DEAN ELECTRONICS LIMITED
Glendale Park, Fernbank Road,
Ascot, Berkshire S L 5 8 J B 95
Tel. 0344 885661 Telex 849242
• MM II
j• J
Or from selected branches of W H Smith
ADD £2 P&P
John Menzies, Greens, Laskys, SpectrumGroup.
^Please send me Printer(s) at £71.95 and boxes of paper
| <10 rolls per box) at £12 per box - all inclusive of post and packing.
Total £ cheque IPO enclosed or debit my Access/Barclay
card account No..
I card account No - I
I Name and address....
' Also available - Alphicom 42 compatible with Commodore 20/64, BBC
.J Centronics, Dragon, Atari at £ 9 9 . 9 5 (+£2p/p) includes selected interface, j
CRUSADER
I
WOKING COMPUTER CENTRE We have also maintained
the easy fitting, you need
32 Chertsey Road, Woking, Surrey. 1 screw driver — and 5
Telephone Woking (048 62) 23845. minutes AND. for a quality
keyboard, incredible low
Trade enquiries welcome cost of £59.95.
/
Z.
136 ZX COMPUTING J U N E / J U L Y 1984
u
LANGUAGE REVIEW!
Micro-PROLOG?
Our reviewer has taken a look at an up
and coming language from Sinclair.
put format:argument'. In the ex-
ample above I am dealing with
cities and am looking for all the
cities 'larger' than London. The
word 'larger' in itself doesn't
m e a n a n y t h i n g to M i c r o -
PROLOG, what it is doing is just
looking through its database and
finding any places where a city
has been specified as larger than
London.
T h e large green manual
which accompanied the
cassette w a s far beyond me. )
found I could use the program
quite well enough just by follow-
ing the small booklet.
The main use of Micro-
Although I enjoy learning and PROLOG is obviously 'do-it-
exploring new computer yourself database. Tailoring the
languages, when I s a w the filing system to your own re-
Sinclair Micro-PROLOG package quirements is very simple. Once
I w a s a little worried to say the you have a knowledge of Micro-
least at the size of the manual PROLOG, you can create a
and its complexity. database far better than any
Still thinking that I had let commercially available —
myself in for a pretty stiff little because you know exactly what
number, I dived into the in- you want from the system.
troductory manual w h i c h is Table 1 shows the commands
much thinner and aimed toward available and their syntax.
your average Specy user. After T h e loading and s a v i n g
three pages of how to switch operations are similar to that of
your computer on and how to the BBC in that they load in
load a program, I finally found blocks and it is very slow. It is
out about the SIMPLE language. quite reliable though, and the
SIMPLE is a program which programs you write are not likely
changes the way you use Micro- to be too large anyway.
PROLOG so that it is not too con- Micro-PROLOG w a s written
fusing at first. I w a s quite im- by Logic Programming
pressed, I managed to follow Associates Ltd, and is available
what the manual w a s telling me from most high street stores
without becoming hopelessly under the Sinclair label priced at
lost. £24.95.
PROLOG itself is a logically-
structured language; that is, it is
Table 1. Commands and Syntax
no where near as messy as
BASIC, but then it is not as easy
to grasp as BASIC. Consider the add (argument)
Micro-PROLOG line: list description
is (argument) This will produce a Y E S or NO response
which (x : x larger London) which (output format: argument) This will produce all objects, etc, which fit the
argument.
Taking this line step by step, delete description This takes out single arguments
first we have the command kill description This takes out whole blocks
'which'. This is asking Micro- save program name
PROLOG a question. The ques- load program name
tion is contained within the
brackets and is in the form 'out-
L
at
1 1 0 0 DATA 9,156,9,156,8,157,8,15
8,8,158,8,158,8,158,8,158,7,160 3020 LET np*VAL : DIM l ( n p ) : D
1 1 1 0 DATA 7,160,7,160,7,160,7,16 IN n S ( n p , 1 0 1 : DIM s ( n p )
0,7,160,7,160,7,160,7,160,7,160 3 0 3 0 FOR x - 1 TO n p : INPUT ("llaH
1 1 2 0 DATA 7,160,7,160,7,160,7,16 e of-player "txl)tn*(x>: L E T 1 (x
0,7,160,7,160,7,160,7,160,7,160 NEXT x
1 1 3 0 DATA 7,160,8,158,8,158,8,15 3 0 4 0 I N P U T * * "Up t o "tup
8.8,158,8,158,9,157,9,156,9,156 3 0 5 0 GO T O 2 0 8 0
1 1 4 0 DATA 156,9f156,9,156,10,1 9 0 3 0 DATA 1 , 5 , 1 , 2 , 1 . 5 , - 2 , 1 . 5 , - 2 ,
5 1 , 10, 1 5 4 , 1 0 , 1 5 4 , 1 0 , 1 5 4 , 1 1 , 152 , 1 • » 5 f ^ i • . 5 1 0 | • . 5 y p • /'S f | 1 • 5 1 5 • X
1 , 152 , 1 . 5 , 5 , 1 . 5 , 5 , . 7 5 , 2
CYLON
ATTACK
AUF WIKDKHSEHEX...
Ungrouped data sorted and grouped Output includes mean, mean deviation,
standard error, skewness. kuhosis, moments. Pearson's coefficient, etc A
comprehensive histogram with up to 3 0 class intervals, class frequencies,
midpoint values Capacities ZX81 450. 16K Spectrum . 200. 48K Spectrum:
SUPER GERMAN VOCABULARY T E S T 2000
& SUPER FRENCH VOCABUUXRY T E S T TAPE 7 : BIBLIOF1LE £9.95
An academic indexing program to k e e p record ol books and a b i d e s Loading
Tutorial Software have greatly improved their successful and saving of files, printing and listing of up to 150 records in a file, searching
German & French language tutors. for an entry and sorting records Into alphabetical order, it is possible to
modify, delete and add a record.
These Programs provide an extensive basic vocabulary.
E D U C A T I O N A L S E Rl E S
By using the Add New Words' facility the range of
INTRODUCTION TO E C O N O M I C S S E T (48K Spectrum only): Basic concepts
vocabulary that can be learned becomes limitless. are introduced by extensive use oI graphics, examples and e x c e r o s e s
If you are studying for G . C . E . 'O* level or just interested In M I C R O E C O N O M I C S I (+) " 95
languages let these programs take the pain out of learning. S I D E A : Demand and supply analysis, demand theory, cost-benefit analysis
S I D E B : Budget line analysis, indifference curves, decision making in a market
economy.
Programs £6.95 each and are only available for the 4 8 K M I C R O E C O N O M I C S II (+) » »
S I D E A ; Cobb-Douglas produdton f u n d ton, linear programming andexcercises
Spectrum, on linear programming S I D E B : Theory of the firm, elasticity of demand, C E S
production h i n d ion
Features:- M A C R O E C O N O M I C S (+) » »5
* 550 Foreign Words. IS/LM curves, national income determination, aggregate demand and supply
analysis, multipliers.
* Nouns. Verbs. Adjectives & Adverbs
E C O N O M I C G E O G R A P H Y <+> £9.95
* Gender & Accents. S I D E A : Von Thunen's model of agricultural land u s e Locattonai rent and
* Learn Mode & Test Mode. pnncipie of diminishing returns. S I D E B - Models ol agricultural and urban
* Add New Words Facility. land use.
* Score Record And Average Score.
o Programs with INPUT, C H A N G E . L P R I N T and SAVE-DATA facilities. Spectrum
Words Checked By Language Teachers.
versions ol tapes 4 and 6 also embody M E R G E / R E A D DATA facilities A
common data file c a n be used with these programs
C h e q u e s or P . O . ' s to:-
(+) R e c o m m e n d e d lor "A" Level, first year university and poly students
Tutorial Software
P O. Box 43. P L E A S E S E N D A5 S I Z E S-A.E. FOR INFORMATION ON MICRODRIVE-
Enquiry Office BASEO PACKAGES.
22 • 29 Mitt Street. Tapes 1-8: £60. introduction to economics s e t : £ 3 5
All inclusive prices for the U.K. For overseas orders add 5 0 p per cassette
Newport.
Dealers enquiries welcome
Gwent. C h e q u e s payable t o : U N I V E R S I T Y S O F T W A R E . 2 9 S t . P e t e r s S t r e e t .
NPT 3X2 London Ni 8 J P . T e l e p h o n e : 01-359 0978
LAST MONTH:
0 Members
fundraising and balancing the 0 New members
1 Leaders
books. If you fail at any of these O Members left
tasks you lose the game. Just to •10 in b a n U
'0 w a s s p e n t
m a k e it more d i f f i c u l t ,
troublemakers will turn up from •O d a m a g e s
time to time and attempt to •O w a s r a i s e d
destroy all your hard work by
causing damage and deterring PROGRAMME:
new members. Fund raising 0 hrs/mth
The program is designed to be
user-friendly, requiring single Social events 16 hr./mth
key operation without the need Training O hrs/mth
to ENTER data.
Remember the Youth Club? You
know, that place you used to go On the right lines PRESS . ..
1 to r u ngroup f o r 1 month
before you had a computer.
Running one isn't as easy as you Here is a rundown of some of the 2 to change programme
might think — you are responsi- more important lines in the pro- 3 for info
ble for recruitment, training. gram:
4 t o a b a n d o n this g a m e
5 — Initial display and setting of variables to initial a keyt o continue
values.
Information. Note the use of a FOR NEXT loop with
5 0 0 - RESTORE and DATA to produce a neatly set out
display without too many PRINT commands.
1000- Displays current situation. With so many variables
needing printing lots of PRINT commands ts the
easy option this time!
1 5 0 0 - Runs the group for one month. Calculates new
members, expenses etc.
2 0 0 0 - Runs a fight. BEEP commands produce a siren ef-
fect and damages increase until B is pressed. The
program then goes to 1 500.
3 0 0 0 - This section allows you to change the balance of
the programme tie the Club programme!) to raise
more funds, train new leaders etc.
4 0 0 0 - Decides if there will be a fight this month. Fights
occur at least one month in ten, more often if you
5 0 0 0 - have only just enough leaders.
Displays the fact that you've lost — ran out of
money.
5 5 0 0 - Displays the fact that you've lost - didn't get the
required number of members (100) in the allowed
6 0 0 0 - time (30 months).
Displays the fact that you've won and offers a new
game.
9 0 0 0 - A subroutine that stops 'overrun' when a key is
held down. It is used eg. to prevent you running
two weeks when you meant to run only one.
Release the key and press it again to run another
week.
142
SPECTRUM CAME
s REM INITIAL DISPLAY
10 CLS : PRINT AT 3 , 1 1 1 - Y O U T H CLUB-
20 PRINT AT 8 , 7 1 " A S . S p r i n g e t t 1983"
30 GO SUB 9 0 0 0
1 0 0 LET a - 0 : LET m - 0 : LET 1 - 1 3 : LET b - 1 0
1 1 0 LET f - 0 : LET s « 1 6 : LET t « 0
120 L E T d - 0 ! L E T g » 0 : L E T c - 0 ! L E T r « 0 : L E T p - 0
3 0 0 C L S : REM I N F O R M A T I O N
303 RESTORE
3 1 0 FOR n « 0 TO 9
3 2 0 READ a *
330 PRINT AT n # 2 , ( 3 2 - LEN a*)/2;a*
3 4 0 NEXT n
3 3 0 DATA "YOUTH C L U B ' , " Y o u r T a r g e t : 100 members" , " Time l i m i t : 30 m o n t h s " , " S o c i a
1 e v e n t s r e c r u i t m e m b e r s " , " R a i s e f u n d s o r g o b r o k e " , " E a c h memb r c o s t s il/mth",•
Stop f i g h t s q u i c k l y " , " T r a i n l e a d e r s : " 1 0 man h o u r s t r a i n s a l e a d e r - M a x 1 2 mem
bers/ leader"
360 GO S U B 9 0 0 0
1000 C L S : REM D I S P L A Y C U R R E N T S I T
1010 PRINT AT O , 1 0 ; " Y O U T H CLUB"
1020 PRINT AT 0 , 2 1 I " ( M o n t h " ; a ; " ) "
1030 PRINT AT 3 , 0 ; m ; " M e m b e r s - ( " L A S T MONTH:"
1035 L E T e* I N T <1/10>
1040 PRINT AT 4 , 0 ; e ; " L e a d e r s " , r | " New m e m b e r s -
1050 PRINT AT 3 , 0 ; " £ " 5 b j " i n b a n U " , p } " M e m b e r s left"
1060 PRINT A T 6 , 0 , " i " | c | • was spent"
1070 PRINT AT 7 , 0 , " £ " ; d ; " damages"
1071 PRINT A T 8,0,"£";gi" was raised"
1075 PRINT AT 9 , 0 i " P R O G R A M M E : "
1080 PRINT AT 1 0 , 0 ; " F u n d r a i s i n g " ; + ; " hrs/mth"
1090 PRINT AT l l , 0 i " S o c i a l events " ; s ; " hrs/mth'
1100 P R I N T A T 12,0;"Training " ; t | " hrs/mth"
1105 PRINT AT 1 4 , 0 ; " P R E S S "
1 110 PRINT AT 1 5 , O ; " 1 t o r u n g r o u p f o r 1 m o n t h " ' " 2 t o c h a n g e p r o g r a m m e " " 3 f o r
i n f o ' * "4 t o abandon t h i s game"
1120 GO S U B 9 0 0 0
1 1 3 0 I F b<0 THEN GO T O 3 0 0 0
1 1 4 0 I F a = 3 0 AND m < 1 0 0 T H E N GO T O 5 5 0 0
1 1 5 0 I F m>99 THEN GO T O 6 0 0 0
1160 I F I N K E Y * = " 1 " THEN GO T O 4 0 0 0
1170 I F INKE Y * - " 2 " THEN GO T O 3 0 0 0
1180 I F I N K E Y * * " 3 " THEN GO T O 5 0 0
1190 I F I N K E Y * « " 4 " THEN C L S: PRINT AT 5 , 7 ; FLASH l ; " A b a n d o n t h i s game?": PR
INT AT 1 0 , 1 0 ; " C t o c o n f i r m " : PRINT AT 1 2 , 3 J " A n y o t h e r k e y t o c o n t i n u e " : GO S U B
9000." I F INKEY* c " THEN RUN
1 2 0 0 GO T O 1 0 0 0
1 4 9 0 R E M R U N 1 MONTH
1 5 0 0 L E T r - I N T ( s * s * RND / 1 6 >
1501 I F r + m > e * 1 2 THEN L E T r=(e*12>-m
1505 LET a-a+1
1 5 1 0 L E T p « I N T ( m * ( 1 6 - s > * RND / 6 4 )
1 5 2 0 L E T g«= I N T ( f * RND * m / 2 )
1 5 3 0 L E T c=m
1540 L E T b « ( b + g ) - ( c + d )
1550 L E T l«l+<e*t>
1 5 6 0 L E T m*m + r - p
1 7 0 0 GO T O 1 0 0 0
2 0 0 0 C L S : REM F I G H T
2010 PRINT AT 0 , 1 3 ; FLASH If"FIGHT!"
2015 PRINT AT 7 , 5 ; " P r e s s B t o break i t up"
K e y panel K i t .
LAZE BLAZE
Superb machine code action. Pit your beam
against the 2 beams of the computer. Race
your opponent for the random fuel dumps.
For the very strong of heart, battle to the
death in the maze. 9 speed levels. Over 500
Options in this fast moving arena.
48K Spectrum £5.95
Everything you need
IN on the keyboard with
CUSTOM KEYPANFLS
These precision die-cut plaM ie panels fit perfectly
( » v r your keyboard and provide an instant and
individual reference u> all <>f your M>ftwarc
Each Kit comes in a clear plastic storage wallet and
contains: HI Matt black Keypanels plus sheets
containing over 1-40 sell adhesive Command labels
preprinted w i i h wt >rds, symtx>ls and a m AVS. plus a
sheet « »l blanksft>r v»>ur < m n designs
SPK< : r R l M KEVPANE1.S are % x 2 2 < m m and the
labels arc primed in Spectrum' bright red. A Ml ST
for (light simulation ami all multi-key games and
applications
The FIRST add on for your Spectrum
t>RK*.KEVTHNELSare I O S x 2 " S m m and the labels
are * ) R I C b l u e Master those C T R L and ESC key
combinations
An INSTANT reference to all I ) R I C s keyboard
functions
* G a m e s that grow on you' NOVt IN St PHRMI. P I A S T I C
v
L.
7* ("("IMPUTING JUNE/JULY 1984 145
ZX UTILITY
variables I
leyout of the program
C O N 5 U M P T I O N
2e
18U
16N
14-1
12T
105
e u
4- S
t>
1980 1981
X 1 0 0 Y E f t R L Y Q U A R T E R S X100
•• C " T O COPY
" S " T O S R U E R " T O RESTART
Fig 1.
SOFTWARE GAMES
SPECTRUM GAME
Join the Spectrum Software Club now. and choose » F R E E S A M E C A S S E T T E fur
you to K M P from our Top Twenty Sett Set!«rt litled below O V E R I S O tried-ana-
letted quality a«me* ava .14 we *t a discount from «n me top software houses — 0"y
F.R V E R T B E S T programs are stocked Our unique EicMngt Plan means you can
en,0y any game from our catalogue Io< up to 30 days tor [USl £ 1 0 0 E X C H A N G E
Y O U R E X I S T I N G G A M E S or the free Game you get Irom us
* NEWSLETTER • HARDWARE DISCOUNTS • REVIEWS ETC
V I C T A G R A P H P L O T WINDOW
HORSE RACE FORECASTING
This super programme picked the lor ZX Speclrum & Tandy C G P CHARTSVILLE UK
winners of the 1983 Grand National. 115 Printer Plotter (and Interlace)
T O T A L P R I C E £6 M&J SOFTWARE Sinclair ZX81 16K
St Leger and many more as first Check your knowledge of 25
choice selections New package and instructions S P E C T R U M f l g - F O R T H (casse-
Spectrum 48K £12 absolute system only Position your tte) £12 years of worldwide popular
Spectrum 16K £10 design under the calibrated window A cassette-based implementation music Irom rock and roll lo the
ZX SI 16K £10
I hen place Ihe window mask sigh! ol FORTH Complete with macro- present day with this series ol
ZX81 IK £8 over each co-ordinate and read off assembler and powerful editor we
X Y lor entry into Data For display & believe tnts package lo be excellent entertaining menu driven
oiottr- Vlctagraphlcs (ZX). 6A value for money Also included quizzes, each with 3D graphics
FOOTBALL RESULTS
FORECASTING
Bow Street. Rugeley. Stalls. U.K. completely free is a copy ol the fig- score chart
Another great programme Irom WS15 2BT. Tel: (08894) 2426 FORTH installation Manual. Chartsvllle UK 1957-1962
Butromcs It forecasts home or DlY FORTH lor Ihe SPECTRUM .. Chartsvltle UK 1963-1968
away wms and draws, rating each £12 Chartsvllle UK 1969-1973
one agamst the others A Z80 iig-FOHTH assembly listing Chartsvllle UK 1974-1978
Speclrum 48K E12
SPECTRUM SPEEDYLOAO: and insiaiiaiion Manual - an you Chartsvllle UK 1979-1982
ZX 81 I6K £12 need to put FORTH onto your State your selection and send
Halve your waiting time1 This short Spectrum
Send your cheque or PO lo The program lets you save/load at £4 50 cheque/PO per cassette
Butronlca Co.. Pen derrick House, The language is many times faster
Budock. Nr. Falmouth, Cornwall 3000 baud Easy to use Cassette than Spectrum basic as well worth (overseas £5 50) to
TR11 5 E D (48K), £3 95 Ness Micro Systems the effort involved MONTEREY SOFTWARE.
100 Drakies Avenue, Inverness ALL ABOUT FORTH by Hydon . . . 10 West Grove. Doncaster,
£7.95 DN2 5NB, England
ZX-81 Shack-Pack cassette from An excellent reference book with
cross relerences to fig-FORTH. the
PeiOtf Morse and Rtly receiving SPECTRUM SYNTHESISER FORTH-79 standard and Stamng
program morse 8-60 wpm Rtty (48K) Metronome, drum sounds, FORTH This book should be next to
40-1000 Baud FL 25 = or £6 = tncl. roiling chords and piano options every FORTH programmer's com- AUTO-DATA VEHICLE
postage Jerry Holthaus. irisstraat By professional musician £500 puter (270* pages) DIAGNOSIS FAULT
73, 4542 Ed Hoek. Netherlands Cheques and POs lo - M4 J
Scott Massie. No i Bungalow. Software, 34 G r a y s Close. FINDER
Phone. 01154-1591 Firlands. Burghlield Common Scholar Green. Stoke-on-TrenL Suitable for moil manes of vehicle
Berks ST7 3LU- Tel: (0782) 517876. Extremely comprehensive covenng
engine gearbox (manual and auto-
SPECTRUM Trade Secrets matic). brake*, suspension steering
and electrical system Superb value at
Includes making programs, unlist- £5 SO inc VAT Cheques and POt to
able. unstoppable invisible, how to
reveal such, revealing hidden
Basic <n machine code progams
SEND YOUR ADS POOLS ERC COMPUTER SERVICES
(Dundee), 53 Thurso Crescent.
plus hints/tips, plus microdrive TO PREDICTION Dundee, Scotland.
Tel: 0382-642017
supplement - £3 ZX guaranteed
(office ZC) 29 Chadderton Dnve. JANE EDMUNDS Made easy on 48K Speclrum
Outputs Best Draws. Homes
Unsworth. Bury. Lanes
and Aways. features analytical
draw finder which allows TARDIS COMPUTING
TIME LEDGER 48K Spec Hum 19 Fot
program to learn from its own accountants I solicitor* Fully menu
rmsiakes. however small driven. 600 clients and 17 staff with
Comes with free permutation expenses and client names Saves
Dec n i r i Converter
hours!
calculator program Spectrum 16K
128 Dividends won by writer so
Hex i j eTec
far
MICRODRIVE INDEX £4.50 Loads
progs from Microdrive
$1.8515 3
(This is the best and most TRANSPORT & SHAPES £4.40
Educational for children
o scientific of any program I have
<D All prog*. Microdrive compatable 4,
"o seen - Mr R A Pyatl - Preston Gardens. Word. Essex.
Secretary. Orpington Com-
puter Club)
GO' HORSE RACE
© P R E D I C T O R — a very
s u c c e s s f u l p r e d i c t o r for
FOR ALL YOUR
© the flat r a c i n g s e a s o n SOFTWARE
© © Ask for British Pools at £8 95
Australian Pools at £895 NEEDS. RING
Ask for Race Predictor at
ROIS HARDER
Order from:
£1995 01-437 0699
995 Shakespeare Avenue.
N. Van., B.C.. Canada V7K 1E7 {604} 980 4167
ROMBEST, 9 Hawkestone
Ave, Newport, Salop, TF10 X338
7SE
152 ZX COMPUTING J U N E / J U L Y 1984
S O F T W A R E EDUCATIONAL UTILITIES SERVICES
LEARN ABOUT
ELECTRONICS WITH YOUR Ed.SOFT Educational SUPERIOR TAPE ATTENTION
SPECTRUM 48K Software COPIER all 16K Spectrum owners Have
New Structured independent warning 76 Woodvilte Road. Eimouth EXS 1SW your Spectrum infernally ex-
package tor begmntn - designed Tel: (0395 275741) We are convinced that the new 007
by electronics K i g i r w f j — includes Cassette baaed Educational Software SPY is the very best Spectrum jape panded to 48K Does not affect
• Computet generated animated (or Spectrum micro Suitable lor all copier available on cassette Finds warranty All work guaranteed
graphics from 7 to 13 Programs from £4 95 better one offering belter value for £35 including VAT fitting
include Whatsit <20 questions game) and return postage 24 hour
• learner* guide Wordllash do aid the increase ol for money, and T W I C E your
• Kit ot components reading age) Mmaths/Pleceval ladd money will be refunded. turnaround
• Practice) guidance and exercises subtract divide, multiply, check place A Can copy multipart programs m Send cheque/postal order and
Package suitable for beginners values) C. Rules .£5 95 information, one go automatically
GCE/CSE C 4 G etc and covers testing and reinforcement ot rules lor B Can copy genuine 48K long Spectrum alone (no wires
basic semi-conductor theory €9 95 hard 4 soft C I Also Anagram and programs power pack necessary) lo:
mcl post and pecking Basically Basic Booklet (£1) & others Barnsley Micro Computer*,
E.T.S.T., 117 lougtiOorough Road. C Genunly the easiest copier to
Kirkcaldy KYI 3DD use (Depl ZX). 196 Carlton Rd.,
D Has copied an the programs Smllhers, Barnsley,
we know ol South Yorkshire or phone
E Microdrive compatible AND 0226 4637 for further
POPPY PROGRAMS ZX Spectrum (16 or 48K) includes program to transfer tapes details.
HIOOEN L E T T E R S Age 5-Mult £6 00 to the Microdrive AND they'll work
Highly educational reading game 9 skill levels F Post tree even to Europe
MONEY Age 3-10 £6.50 007 S P Y IS J U S T £2.95
Coin recognition, 4 easy levels leach money sums
TELLING THE TIME Age 3-10 £7.00
ZX G U A R A N T E E D (Dept ZX).
29 Chadderton Drive.
C L U B S & USER
6 programs lor learning in easy stages 12. 24 hour, digital time time in
words, clocks lo set Unsworih. Bury, Lanes GROUPS
LEARNING TO READ 1 Age 2-6 £5.50 Tel: 061-766 5712
4 AM graphics Pre-fteadmg games _
All cassettes include specie! keyboard overlays. P4P inc ^L
Richmond House, tngleton. da Carotorih. Lanes LAS SAN * MICRODRIVE USERS
(S)TOP S E C R E T ( S ) CLUB
for any Spectrum
ZX81 (16K) Be in full control of programs on
your computer STOP and reveal
Canoe Microdrive Exchange this
newsletter club « designed to help
by the exchange of into and ideas
TINO COPY HIDDEN L E T T E R S the SECRETS of your favourite
programs A machine code UTILITY Did you know you can pay up to
For 46K or 16K Spectrum Word game helps reading ability mat STOPS, most Basic or Machine £5 50 lor a cassette lo transfer
Why be satisfied wiih just a lape £4 95 inc from Code programs, protected or not. tapes to microdnves and then they
copier7 don t run issue l will mciude now to
Gel our 3-m-1 utility leaturmg -
Poppy Programs WITHOUT CRASHES avoid this plus transferrin.; Vu-File
Activate routine press lwo keys and
COPY ANYCASSf TTE PROGRAM be in fllLL CONTROL/LEARN/ Z Z O O M etc Membership is CS pe*
PLUS LIST/MODIFY etc. ail the options year Europe C8 per year
DOUBLE SPEED LOAD/SAVE are yours The ideal MICRODRIVE Ptease make cheques payable to
UTILITY NEW DRIVING TEST (Part 1) ZX Guaranteed Microdrive Ex-
companion.
PLUS II you re a Das*; begmner. a
change is run oy C A Bofcfcer
CASSETTE HEALTH RATING Simulated controls faults analyse machine code master, a program
UTILITY Good graphics a useful game il writer or a games fanatic, this is the ZX GUARANTEED {Dept ZC)
Copier does it all — MULlPLE sections. you aru learning or interested in UTILITY thai can open the door for 29 Chadderton Drive.
HEADER printing, MULTIPLE copies jnving ZX8I t I6K> £5.9S. 16K YOU
Full S I Z E programs Double speed Suectiujri £6.95. EWCtron £7.50. Unsworih. Bury,
utility halves your load/saves time PLUS: pages of SECRET inform-
Health Rating' program detects Replies to: O E P T ZX ation about methods used by Lanes.
possible laults >n your cassette ACE SERVICES. 8 APERFIELD professionals to Keep their secrets
recorder before they become seoous R O A D . B I G G I N HILL, K E N T hidden
Also useful for Imding delects in tape Trade Enquiries Welcome 48K SPECTRUM £5.95. including
Avoid wasted S A E S 4 lots ot
frustration HEAOER READER and Dec/He*
At £4 50 this must be the best value Hex/Dec converter
CAMEL MICROS, 33A Commercial 16K SPECTRUM £4.95 Relocat- SWAP SHOP AND
Roed. Weymouth. Dorset able under software control) LIBRARY
Cheque/PO to
REPAIRS A S H B Y P R O D U C T S . Depl ZX,
Hundreds of titles available for
exchange or hire as well as
183 Bristol Road. Edgbaston.
Birmingham BS 7UB other services For details send
BEGINNING PIANO, or keen on ZX81 SPECTRUM. We can now large SAE 10
text adventures'' Send SAE to Fair otter oui-ot-guarantee repairs by ZX Section, Personal
Software. 30 Fair Lane. Roberts- our Computer Dept Our engineers Software Users' Assoc..
bridge. Easl Sussex have had over three years G. A. BOBKER 19 Lammerton Terrace,
experience servicing Sinclair Does it again Dundee DD4 7BR
Computer products Price includ- Scotland
ing p&p ZX81 C11 50. 16K Ram (How long before the competitors
C9 95. Spectrum £18 75 Send with catch-up with this super program)'
cheque or PO TV Service of New TAPE 3 lets you STOP
KILSOFT Cambridge. F r e n c h s Road.
Cambridge CB4 3NP Phone
Header less Files and unmergatte
Basic programs so you can study PHONE JANE
them and/or put to Microdrive
EDMUNDS TO
48K SPECTRUM Educational revtwon
programs. GCE O'/CSE Biology. (0223) 311371 Includes a pseudo disassembler
Physics Chemistry. Maths etc £4.95 which clearly gives an the relevant
each For F U L L E S T details Kllsofl. 33
Btlarlyn Avenue, Blrchenclltte.
HutfdenfMd Tel: ( M M ) 31*91 COMPUCARE Sinclair repairs
info m plain English
TAPE 3 £3.50 (£3 to club
BOOK SPACE
specialists all makes speedily
repaired at reasonable cost. 20
members)
ZX G U A R A N T E E D (Dept ZX)
ON 01-437 0699
Shirley Rd.. Kings Norton. Birming-
ham Phone 021-458 7188 (6-
29 Chactterlon Drive, Unsworih.
Bury. Lanes. Tat: 061-766 5712
X338
8pm) weekends.
NATIONWIDE
LIBRARIES SHOPS & D E A L E R S
OUR READERS COURSES
SPECTRUM OWNERS
Why not use our software hire
NEED YOUR
NEW TO COMPUTING
service With an extensive
range of games, educational
SERVICES We are here to help you gem skills HI
m e n d s
89 Euston Rd. Morecambe. Lanes
programs, etc Only 50p per
tape plus P&P
RING computing Individual machines,
qualified tutition. practical course
Ring Computer Workshop on 01-31*
TEL: 411435. Also open Sundays.
Sinclair. Commodore. Acorn/BBC
Send SAE lor full details to:
X.E. Lent Software,
01-437 0699 M l 4 Lee High Road. Lewisham
London SE13 5LO
* Dragon • Lynx
Authorised dealer for Bug-Byte
X338
CfHiarmnt' Hoi-dty Courses a'to
8 Cheviots. HfghHeld, avaAaMe Imagine. Omcksiiva Arte, Mel-
Hemel Hempstead HP25RD bourne House, SWversofJ etc
ZX-81: PKPs
SPECTRUM ZX81 Po*iti'« K»yt»»nl PMl
OVERHEATING? NOISY?
KEYBOARD RUNS HOT?
Problems solved with PR adaptor,
These sell adhesive pads give
positive finger lip control
10 PKPs = £1.25
ORDER FORM
no soldering, no dismantling, just 40 PKPs = £2.99
plugs in place Please stale Please add 30p P&P Cheque and
model. £8.95 plus 75p p&p PR Poslal Orders 10 P. Newberry,
adaptor plus reset switch (allows "Glatlon Computers. Yallands
system resel) £10.95 plus 75p Hill. Monkton Heethfteld,
p&p ZX supply repair service Taunton. Somerset TA2 SNA.
£5 95 inclusive Cheques & PO'S
to PR Electronics. 14 Bretby
•
10
4-- 12
Close. Doncasler ON4 6EL 24
nour answerphone 0302 530545/ 13 14 1S
0302 539747 German stockists
E R C Services, Heinrichstrasse
93. 4000 Ousseldort, W. Germany
CABINETS
Keep your micro and Please place my advert In ZX Computing for months
accessories dust free, Please Indicate number of insertions required.
adapt electronic/ tidy and secure. ONLY 40p per word (minimum charge 15 words)
nt rret Write or phone for
i rt •nee CLASSIFIED DEPT ZX COMPUTING,
colour brochure:
tut
ihpi n »
OCAStrrrr UM* tmmrn 1 Golden Square, London W1
•wn*o n or,
| n« MARCOL CABINETS Tel: 01 -437 0699
•« UK
tUOMIIV *v<
n>«
PO Box 69. Southampton.
Name
• Mnw m»M m T E L : 0703 731168
• MIUVIMM g>wi Address
K t w o ciott w w r mtr
ADVERTISERS INDEX
Addictivc Games 16 Kosmos 70
Applications 15
Anirog 34 Marcol 107
A & F Software 63 Mikro Gen 81
Atarisofi 66. 67 Meow Micros 3
APS 80. I B C Microsphere 30
A G D Hardware 133
Amoeba Software 145 National Software Library 117
Beltech 54 Procrom 6, 12
Buffer Micro Shop 70 Prism 19, 20. 21
Betlflower 92 Picturesque 60
Brother Industries 114 Pinehurst Data 96
Printer & Plotter 118. 119
P V Tubes 127
Cambell Systems 70
Cheetah Marketing 85
Richard Shepherd 27. 51
Compusound 96
Ram Electronics 31
Ceran Software 125
Romantic Robot 65
Quickshot QuickShot 4
Joystick r Programmable foysiick interlace
Qutckshot Joystick I
Joystick i H
• Super positive Qutckshot Joystick II Incorporating *
response Please add posl and packing all the features of
• Stabilizing I enclose cheque/POfCash lor Total £ Quickshot I'
suction caps Of debit my Access/Barrtaycard No plus
• 2 fire buttons • Improved
• 4ft lead control grip
• Trigger fire
button
• Rapid fire tf
option