ZX Computings - OpenLibra
ZX Computings - OpenLibra
ZX Computings - OpenLibra
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
AN ARGUS SPECIALIST PUBLICATION<br />
Britain's Biggest Magazine For The Sinclair user<br />
oftware reviews<br />
ut of this world?<br />
* Tourist trap<br />
•a Spectrum voyage<br />
I! to the sun<br />
Education<br />
or Business<br />
plan it on your <strong>ZX</strong> micro<br />
icwu"*
NO HARDWARE REQUIRED<br />
Applications include: define your own space invaders, draw lowercase characters<br />
and fine line characters.<br />
a .<br />
The<br />
tool-box<br />
has 8<br />
hi-res<br />
commands<br />
C . R . L • Dept PCT<br />
140 WHITECHAPEL ROAD, LONDON E1<br />
or TELEPHONE 01-247 9004 DEALER ENQUIRIES WELCOME<br />
r<br />
i
Professional Software<br />
for <strong>ZX</strong>81 and Spectrum<br />
SPECTRUM 48K<br />
• Payroll: Weekly, monthly, hourly All tax codes, £.nd pay levels<br />
Guaranteed correct £25 00 • Statutory Sick Pay: Better than<br />
programs costing 10 times as much on other machines £.40 25<br />
• Stock Control: Over 1500 lines Find, add, delete, in 2 seconds'<br />
Sinclair or full-width plain paper printer (with interface) supports.'.<br />
£25 00 • Spectrum Demo Tape: Demonstration versions of payroll,<br />
stock control. SSP On one tape £3.95 • Critical Path Analysis: Enter<br />
network of over 500 activities. Program finds critical path Durations<br />
and costs can be modified, and the calculation repeated Pull width<br />
printer supported. £ 15.00<br />
SPECTRUM 16K (usable on 48KJ)<br />
a Mortgage: See how repayment amount affects duration and total<br />
amount paid While paying see how much interest and how much<br />
capital you are paying Month by month table printed. On the same<br />
tape • Loan: Calculates true interest when "paying instalments etc.<br />
£6 00 (both programs together)<br />
Parallel Printer Interface:<br />
Allows you to use a full width plain paper printer with your 16K or 48K<br />
Spectrum 1 Has too many features to list hure! COMPLETE with cable,<br />
connectors, and supporting software - nothing else to buy! £45.00 A<br />
runaway best seller so please contact us about delivery • Printers:<br />
We can help you to choose the best printer for YOU and get it to you fast<br />
at a sensible price FREE on request with orders for printer or interface<br />
simple word processing program for Spectrum!<br />
Tape Loading Problems With Your Computer?<br />
a The Microcomputer User's Book of Tape Recording: Is a<br />
practical guide to help you get program s in and out of your com pute r<br />
Written for the computer user but several audio and computer<br />
professionals have found it useful! ISBN 0 946476 00 4 ONI.Y £3 1S<br />
. net postage < £2 90 in shops) • Teat and Alignment Cassette: Tape<br />
loading problems are often due to a mis aligned tape head Align your<br />
tape head by ear with our tape no instruments required! £4 90<br />
a Loading Aid: Allows you to get tape playback level right first time<br />
Helps with dropouts and to ease tape quality too! Standard model £S9S,<br />
De luxe model £7 95<br />
<strong>ZX</strong>8116K<br />
BBeamscan: Computers bending moment and shear force diagrams for<br />
a simply supported beam with 1 -99 point, uniform and uniformly<br />
tapered loads £25.00 » Time Ledger: For up to 17 employees. 200<br />
clients £15.00 • Optimal: A powerful linear optimisation program up<br />
to 75 variables < ,= -.constraints £40 00 • Payroll: As above butonly<br />
up to 30 employees £25.00 • Stock Control: As above but 400 stock<br />
lines 16K or 2000 lines in 64K £25 00 • Critical Path Analysis:<br />
Up to 500 activities in 16K. Over 500 activities in 48K £15 00<br />
a Budget: Keeps track of expenses and compares with budget 50<br />
headings plus 12 months or 12 categories £15 00 • financial Pack:<br />
Contains three programs: Mortgage. Loan and VAT £6 00<br />
All items are post free and includo VAT Programs are supplied with<br />
comprehensive manuals.<br />
Remember We at Hilderbay pride ourselves in the development of<br />
high quality professional software that is fully functional and with full<br />
support. Not fancy packaging, fancy prices or fancy names<br />
COMING SOON<br />
a Word Processing Package will allow the use of a daisywheel<br />
typewriter, linked to Spectrum, as keyboard and printer<br />
Contact us now for further information on these products and our full<br />
range of Apple II and CP M Software<br />
TRADE EtJQUIRIES WELCOME ON ALL PRODUCTS<br />
Professional Software<br />
Hilderbay Ltd Dept. 8 10 Parkway<br />
Regents Park London NW1 7AA<br />
Telephone: 01-485 1059 Telex: 22870 <strong>ZX</strong>8<br />
OPPORTUNITY<br />
OF A<br />
LIFETIME<br />
FOR<br />
<strong>ZX</strong>81<br />
OWNERS!<br />
These are the real thing Official Timex/Smclair memory extensions<br />
made in the USA and specially screened to stop radio interference<br />
Don't miss out - order today!<br />
COMPUTER^<br />
7-9 Thane Works, Thane Villas. London N7 7PH Tel 01-609 7919<br />
^>j(Ckl Rush me my ME 16 USA by return post ^^<br />
Add 40p post and packaging to your order<br />
Herewith cheque/PO for £<br />
made payable to Computer Add-Ons or if you would like to pay by Access or<br />
Bardaycard enter your ale number and signature<br />
Signature <<br />
Date<br />
Name<br />
Address<br />
d i rrm rrm rrm<br />
Occupation <strong>ZX</strong>3<br />
j^omputer Add-Om 7-9 Thane Works. Thane Villas. London N7<br />
COMPUSOUND<br />
TELESOUND 84<br />
"THE ONLY ONE OF ITS KIND TO<br />
FIT INSIDE THE SPECTRUM"<br />
Probably the worlds smallest modulator!<br />
TELESOUND 84 is ready built and tested so get lull Spectrum<br />
sound through your unmodified television set. black/white or<br />
colour. The unit can be fitted in minutes without any previous<br />
experience. Telesound 84 has been developed using the very<br />
latest ultra miniature components so that the size is kept to an<br />
absolute minimum<br />
TELESOUND 84 FEATURES<br />
• Sound and vision together tor added realism • Beep volume<br />
controllable from a whisper to a roar • Keyboard prompt click<br />
clearly hard to assist program entry • Programs can be heard when<br />
loaded • Compatible with all other <strong>ZX</strong> add ons • No soldering or<br />
case cutting required • Additional amplitier not necessary •<br />
Separate power supply not required<br />
TELESOUND 84 comes complete with a tree sound ettects program<br />
and costs £9.95 inclusive ot post, packing etc Please slate<br />
your computer when ordering (allow 28 days delivery).<br />
COMPUSOUND<br />
32 Langley Close, Redditch,<br />
Worcs B98 OET<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 3
<strong>ZX</strong> Computing<br />
Volume One<br />
Number Eight<br />
Aug/Sept 1983<br />
Letters<br />
Editor: Roger Munford<br />
Advertising Manager: Miriam Roberts<br />
Managing Editor: Ron Harris<br />
Managing Director: T J Connetl<br />
Origination and design by MM Design & Print,<br />
145 Charing Cross Road, London WC2H OEE.<br />
Published by Argus Specialist Publications Ltd,<br />
CONTENTS<br />
145 Charing Cross Road, London WC2H OEE.<br />
Check out other readers' views,<br />
programming hints and tips, and<br />
opinions on the micro scene in general.<br />
Write on!<br />
Muncher li<br />
Robert Turner presents a spectacular<br />
conversion of his Spectrum program<br />
featured in our issue — now for the<br />
<strong>ZX</strong>81.<br />
sHReconnaissance<br />
Alert 32 News<br />
You'll find yourself up in the air over this<br />
program from Stephen Smith.<br />
college<br />
Computing. . . 38<br />
Reviewer, Nick Pearce, takes a look at an<br />
educational series of software of the<br />
mathematical kind.<br />
Toolbox Trio 16 • Enemy Satellites . 40<br />
Three BASIC utility routines for the <strong>ZX</strong><br />
Spectrum, courtesy of Richard Sargent.<br />
My Kind of Town .18<br />
Fresh from the Consumer Electronics<br />
Show in Chicago, Tim Hartnell<br />
scrutinises the new machines from<br />
Timex which have recently been<br />
introduced to the American market.<br />
Problem Page<br />
Having problems? Let Peter Shaw come<br />
to your rescue.<br />
Play Your cards<br />
Right<br />
Play pontoon on your Spectrum with this<br />
great program from C Taft. No cheating,<br />
mind. . .<br />
The 1K corral 26<br />
A new feature in which we round up a<br />
smashing collection of 1K games, etc,<br />
for your <strong>ZX</strong>81.<br />
PT 1983<br />
Stick to your guns and shoot down the<br />
enemy before they relay your secrets in<br />
this game from Martin Clayton.<br />
invincible<br />
Shoot down the spaceship before it<br />
shoots you — a great game from David<br />
Price.<br />
it's in The BOX<br />
Peter Shaw takes a long, hard look at the<br />
Fuller Box and reports back.<br />
Tourist Trap<br />
Blaze the tourist trail in this amazing<br />
adventure board game for your 48K<br />
Spectrum, courtesy of Colin Gooch.<br />
The 81 Soft<br />
Selection .... . .59<br />
Selecting software can be a difficult<br />
choice — see what Nick Pearce makes of<br />
some of the latest packages for the<br />
<strong>ZX</strong>81.<br />
Find out what's new on the hardware<br />
and software scene, as well as a report<br />
on the seventh Microfair.<br />
Reader's Reviews . 71<br />
Find out what other readers of <strong>ZX</strong><br />
Computing think of the commercially<br />
available software on the market.<br />
Reversi'80 74<br />
Combining machine code and BASIC,<br />
Kar Wing Wong presents a version of<br />
this popular game for the <strong>ZX</strong>80.<br />
Striking The Right<br />
Chord 76<br />
If you're learning to play the guitar, C<br />
Read helps you find the right chord with<br />
this program for your <strong>ZX</strong>81.<br />
Aliens<br />
Stop the alien force or you'll find yourself<br />
in a lot of trouble — more arcade action<br />
from Andrew Cole.<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 4
<strong>ZX</strong> Computing is published bi-monthly on the fourth Friday of the month. Distributed by: Argus Press Sales ft Distribution Ltd. 12-18 Paul Street. London EC2A<br />
4JS. 01-247 8233. Printed by: Henry Garnett Ltd., Rotherham.<br />
The contents of this publication including all articles, designs, plans, drawings and programs and all copyright and other intellectual property rights therein belong<br />
to Argus Specialist Publications Ltd All rights conferred by the Law of Copyright and other intellectual property rights and by virtue of international copyright conventions<br />
are specifically reserved to Argus Specialist Publications Ltd Any reproduction requires the prior written consent of Argus Specialist Publications Ltd.<br />
© Argus Specialist Publications Ltd 1983<br />
FRENZY -! >quest<br />
Mastering Machine H^Sf^ , ><br />
Code on Your MPr I 3 y r<br />
Spectrum 80<br />
Toni Baker looks at the art of machine<br />
code programming in general, and starts<br />
you off on a 'Grand Prix' type game for<br />
your Spectrum.<br />
Naught But A<br />
Came . .82<br />
The classic game of Naughts and<br />
Crosses — an '81 games program from<br />
S Stratford.<br />
Nick Pearce investigates two ways to<br />
produce high resolution graphics on your<br />
<strong>ZX</strong>81.<br />
Competition 90<br />
Win yourself an AGF Hardware joystick<br />
package in our easy to enter<br />
competition!<br />
^ 4 \ THE<br />
* 2 black<br />
:RAZY<br />
The Soft Touch..106<br />
A wealth of Spectrum software comes<br />
under the critical eye of James Walsh.<br />
3D Mover .. 110<br />
An exercise in three dimensional<br />
graphics on your 2X81, courtesy of D<br />
Munro.<br />
Bats 112<br />
A 'batty' program for<br />
from Colin Gooch.<br />
Morse Trainer. .126<br />
Learn the intricacies of Morse code with<br />
expert tuition from R Gilbert and your<br />
Spectrum.<br />
KONG peeper 128<br />
your Spectrum<br />
Air Raiders 115<br />
H Davis' games program has you<br />
shooting down the enemy 'planes and<br />
missiles. Watch for your own 'planes<br />
though,. .<br />
Someone's watching you! Shoot the<br />
faces in the tower block before they<br />
disappear in this game from David<br />
Wilkins.<br />
An Apple A Day .13 'i<br />
Isaac Newton would have liked Russell<br />
Morgan's program. Ail you have to do is<br />
catch the apples as they fall off the tree.<br />
Sound's easy, but. . .<br />
House Of<br />
Horror 136<br />
Dare you enter Chris Cox's house — you<br />
do so at your own peril!<br />
Getting Fizzical .138<br />
Ever tried your hand at lemonade selling?<br />
Type in this listing from Michael Guy and<br />
find out how good you'd be.<br />
Equation solver 94HClub Corner .. . .usHMachine<br />
"Specifications .. 141<br />
If you're having problems with quadratic<br />
equations, maybe you should check out<br />
this program from John Norbury.<br />
Moon Rescue<br />
A classic lunar listing from John Miller<br />
which has you rescuing astronauts from<br />
the moon. Watch out for the alien<br />
spacecraft though . . .<br />
The Profit<br />
prophet .... . .100<br />
Michael Carroll's program will help you<br />
work out the profitability of your<br />
company.<br />
If you're interested in expanding your<br />
experience of computing, why not join<br />
the club?<br />
Motor Madness .120<br />
In the tradition of all good 'racing car'<br />
programs comes this great game from<br />
Keith Ditchburn.<br />
Spectrum<br />
Streams ...122<br />
Author, Mike Lord, shows you how to<br />
use some of the commands normally<br />
associated with the proposed<br />
Microdrives/RS232 network.<br />
A reference guide to the Sinclair range of<br />
computers. It's all here!<br />
<strong>ZX</strong> Computing is constantly on the look-out for<br />
well-written articles and programs. )f you think<br />
that your efforts meet our standards, please feel<br />
free to submit your work to us for consideration.<br />
All submitted material should be typed if possible:<br />
handwritten work will be considered, but<br />
please use your neatest handwriting. Any programs<br />
submitted should be listed, a cassette of<br />
your program alone will not be considered. All programs<br />
must come complete with a full explanation<br />
of the operation and. where relevant, the structure:<br />
Spectrum programs should be accompanied<br />
with a cassette of the program (which will be<br />
returned) as well as the listing.<br />
All submissions will be acknowledged and any<br />
published work will be paid for at competitive<br />
rates. AM work for consideration should be sent to<br />
the Editor ai our Charing Cross Road address.<br />
PT 1983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 5
Are your finances driving you mad?<br />
Do you find thai working out your<br />
finances makes your head buzz?<br />
Do you see red?<br />
Don't worry, now you can have<br />
Milton's Personal Banking<br />
System on your side, giving you<br />
a clear head start and<br />
(hopefully) putting you back<br />
into the black!<br />
Maintain permanent records<br />
and fully detailed statements of<br />
your finances including:<br />
* All cheque book transactions<br />
and bank receipts<br />
* All standing order payments<br />
Automatically Processed<br />
(monthly,quarterly, six-monthly<br />
or annually and for set number<br />
of payments)<br />
HILTON<br />
COMPUTER<br />
SERVICES<br />
ZUCKMAN<br />
<strong>ZX</strong>81 (16K)<br />
•ALL MACHINE CODE<br />
(10K)<br />
•FOUR INDEPENDENT<br />
GHOSTS<br />
•HIGH-SCORE 'HALL<br />
OF FAME'<br />
•AUTHENTIC<br />
ARCADE ACTION<br />
•TITLE/DISPLAY<br />
MODE<br />
ONLY £4.95 INC. P&P<br />
In addition the ability to<br />
search, locate, delete or<br />
correct previous entries. List<br />
by category facility is included.<br />
Additional Bank Reconciliation<br />
module available to<br />
automatically match your Bank<br />
Statement to your Personal<br />
Banking System account.<br />
Full instructions included and<br />
guaranteed after sales<br />
maintenance provided.<br />
* PBS <strong>ZX</strong>B1 £8.95 (16K)<br />
* <strong>ZX</strong> SPECTRUM £9.95 (48K)<br />
* DRAGON £9.95 (32K1<br />
Bank r*r«DrilUtioa (for nt urUkibmltS.<br />
^k lor Ihe PBS s machine code, so<br />
you get 32K per file. Comes with example file and 22 page manual 115.00<br />
SEW Masterfile46 for 16K Spectrum owners.<br />
We have produced a subset version of MASTERFILE called MASTERFILE 16<br />
It has most of the features of big MASTERFILE, with 7 predefined report<br />
formats and 6 pre defined fields e.g. name, address, etc., and we have found a<br />
useful 4500 bytes of file space. MASTERFILE and MASTERFILE 16 are fully<br />
''file-compatible' and will happily process each other's files, so that 16K owners<br />
who upgrade to 48K can use their old files immediately Complete with 12 page<br />
manual, priced at £8 95<br />
PLEASE REMEMBER TO STATE CLEARLY WHICH VERSION OF<br />
MASTERFILE YOU REQUIRE.<br />
as. GULPMAty<br />
LUwP^^J aame of the • man'variety<br />
with 15 mates. 4 chasers, laser defence. 9 grades, 9 speeds, demo mode, choice<br />
of loystick control. "An extraordinarily good program" raves Boris Allan for<br />
Popular Computing Weekly We think you will agree £5 95<br />
16K<strong>ZX</strong>81 QULP2 almost identical spec to GULPMAN £4 75<br />
16 64K <strong>ZX</strong>81 THE FAST ONE is the predecessor to<br />
MASTERFILE and is in use all over the world now Specification is very similar<br />
to MASTERFILE £12 00<br />
Campbell Systems, Dept {zx),<br />
15, Rous Road, Buckhurst Hill,<br />
Essex, IG9 6BL, England. • ^ ^<br />
Telephone: 01 504 0589<br />
••• fM ••• •• ••• •«••!•••<br />
DEPT <strong>ZX</strong>, 9 TWEEN CLOSE, SWINDON, WILTS SN2 3PU<br />
Tel: (0793) 724317 Trade enquiries welcome<br />
Export Orders: Please add £1.00 per tape airmail<br />
SPECTRUM 16K/48K<br />
VERSION OF Z/MAN<br />
£5.95 inc p&p<br />
FROGGY<br />
<strong>ZX</strong>81 (16K)<br />
•MOVING CARS,<br />
LOGS, TURTLES<br />
'ALLIGATORS,<br />
DIVING TURTLES<br />
•FOUR 'SCREENS' OF<br />
ACTION<br />
•ALL ARCADE<br />
FEATURES<br />
•ENTIRELY MACHINE<br />
CODE<br />
ONLY £4.95 INC. P&P<br />
• a*<br />
•••••••<br />
• • •<br />
• ••<br />
<strong>ZX</strong> Spectrum<br />
FROGGY 16K or 48K<br />
Spectrum vinion of<br />
Arcade Game with Full<br />
Arcade Features:-<br />
'Fabulous Hi Res<br />
Colour Graphics<br />
•Authentic Sound<br />
Effects + 3 Tunes<br />
'3 0 Logs. Swimming<br />
& Diving Turtles<br />
*3 Lanes of Multicoloured<br />
vehicles<br />
•On screen Score, Hi<br />
Score. Time-bar<br />
•Snake. Alligators and<br />
Baby F'og<br />
"'Top 5" High-Score<br />
initials table<br />
'Demonstration Game<br />
routine<br />
Your home-sick Dog<br />
must leap across a<br />
busy main road, then<br />
onto logs and turtles in<br />
the river to reach<br />
safetv ol the riverbank<br />
frog-homes<br />
THIS MACHINE CODE<br />
GAME MUST BE SEEN<br />
TO BE BELEIVEDI'<br />
ONLY £5 96 INC P&P 1+ ^<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 6
<strong>ZX</strong>81<br />
THE HOME DOCTOR SERIES<br />
Exciting Breakthrough in Home Heallh Advice<br />
Announcing the launch of a series ol computer programs designed<br />
to educate and advise on a comprehensive range o< medical<br />
topics whilst being FUN to use<br />
The text has been prepared by Or Vernon Coleman who writes<br />
Irom 10 years experience in a busy general practice, and who is<br />
widely acclaimed for his many books on medical topics<br />
The cassettes in the series cover the following topics:<br />
1 Basic Medicine 4 All About Children<br />
2 Mainly for Women 5 How Healthy Are Vou?<br />
3 Mamty tor Men 6 101 Home Nursing Tips<br />
The computer programs are not intended to replace professional<br />
medical advice but rather to complement this by educating users<br />
on preventive medicine and how to cope with medical problems<br />
when they arise. The programs woukf therefore be equally useful in<br />
schools, homes and in industrial applications as part ol health<br />
screening programs.<br />
Each cassette costs C6 75 plus 45p postage and packing although<br />
as a special offer to Micro Decision readers all 6 cassettes are<br />
available for £35 75 post free<br />
Users should indicate whether they require a 16K RAM pack to run<br />
all of the programs. Please allow 28 days lor delivery<br />
EASTMEAD COMPUTER SYSTEMS LTD<br />
Eastmead House, Lyon Way, Camberley, Surrey GU16 5E2<br />
TELEPHONE: 0276 682041/2<br />
f/exiwords<br />
computershop<br />
18 Otley Road\ Leeds LS62AD<br />
Telephone Leeds (0532) 758474<br />
IN<br />
YORKSHIRE?<br />
* Come and visit a proper computershop.<br />
* You're welcome to come in and browse.<br />
* We've a super selection of software, and some<br />
fascinating computers<br />
* Printers, joysticks, books, magazines.<br />
* Families welcome.<br />
Remember, you're better off<br />
at a proper computershop.<br />
personal computers for business and home<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983<br />
IT'S HERE!<br />
CAMOUFLAGE<br />
THE EXCITING NEW<br />
'COMPUTER'GAME POP SINGLE<br />
CHRIS<br />
SIEVEY<br />
EMI 5398<br />
LOAD THE'B' SIDE INTO A<br />
sincilaii— zx an (M) ®<br />
AND SEE THE LYRICS AND<br />
COMPUTER GRAPHICS<br />
ON YOUR TV SCREEN<br />
THEN PLAY'FLYING TRAIN'<br />
A NEW COMPUTER GAME ALSO<br />
ON THE'B'SIDE<br />
IKVfMONJUSOlNClUDfD<br />
I S-nci®' 4 J»m«*<br />
ALL FOR THE PRICE<br />
OF A SINGLE!<br />
AVAIlABlf AS A 7 DISC [Ml S398 OR AS A CASSFTTl TAPl SINGH
Nice to be here once again<br />
with another package of information,<br />
news, reviews and<br />
best of all, programs, all for<br />
your Sinclair computer.<br />
Over the past few issues, I<br />
have been introducing a<br />
number of features such as<br />
Reader's reviews. Club corner.<br />
Problem page and the newest<br />
of them all. The 1K corral.<br />
Well, what do you think of<br />
them? If you have any comments,<br />
or you'd like to see<br />
something new within these<br />
pages, write in and tell me —<br />
there's nowt so refreshing as<br />
feedback!<br />
Going down<br />
Everytime I shut up shop on<br />
my news pages, something big<br />
always happens — the problems<br />
of being a bi-monthly!<br />
So, as soon as I finished the<br />
news last issue, what do I hear<br />
but all the prices on the Spectrums<br />
are to be reduced. If you<br />
didn't catch the news in the<br />
computer press, the 1 6K and<br />
48K Spectrums have reduced<br />
in price to 99.95 and<br />
£1 29.95 respectively. And not<br />
only that but the <strong>ZX</strong> Printer has<br />
come down from £59.95 to<br />
£39.95. So, if you were<br />
waiting in the wings wondering<br />
whether to make a leap to<br />
the <strong>ZX</strong> Spectrum, now seems<br />
like a pretty good time!<br />
And talking of things<br />
Sinclair, did you all see the article<br />
in the Sunday Times<br />
Magazine concerning 'A life in<br />
the day of Clive Sinclair'. How<br />
about this for a morning<br />
routine 'I usually get up at<br />
about 6.30, make a cup of tea,<br />
read the papers, then go for an<br />
hour's run of seven or eight<br />
13<br />
miles'. And that's all before<br />
most of the country has even<br />
managed to get themselves<br />
out of bed!<br />
Clive also talked to Sunday<br />
Times Magazine's Jean Goodman<br />
about some of his future<br />
projects such as the flatscreen,<br />
portable, pocket-size<br />
TV which should hit the streets<br />
later this year for around £50.<br />
He also spoke about his electric<br />
car idea and a distant objective<br />
which is to produce an<br />
artifically intelligent robot.<br />
Coming up<br />
Lots of great software for you<br />
to RUN on your Spectrum,<br />
<strong>ZX</strong>81 and <strong>ZX</strong>80 this issue.<br />
For the <strong>ZX</strong>81 we have<br />
some smashing games as well<br />
as domestic, business and utility<br />
programs. Remember the<br />
Muncher program in the last<br />
issue of <strong>ZX</strong> Computing — well,<br />
if you were gnashing your<br />
teeth because you were a<br />
<strong>ZX</strong>81 owner and didn't really<br />
fancy doing the conversion<br />
from the Spectrum version,<br />
never fear, because Robert<br />
Turner has done the job for<br />
you. For all would-be rock<br />
guitarists, there's a program<br />
for you to draw guitar chords<br />
on-screen illustrating the finger<br />
positions you'll need to make<br />
those crashing chords. You'll<br />
also find a very comprehensive<br />
business program called The<br />
profit prophet, which should<br />
help you to put your business<br />
in the black!<br />
Spectrum users are in for a<br />
treat this issue with some<br />
great games, useful utilities<br />
and lots more. We present a<br />
massive program for the 48K<br />
Spectrum called Tourist trap.<br />
This is a full scale board game<br />
WELCOME<br />
for you to play with one of<br />
your friends which has you<br />
blazing the tourist trail. There<br />
are also the usual selection of<br />
i space games and other arcade<br />
diversions, as well as a couple<br />
of Spectrum utilities. Toolbox<br />
^trio, and an article from<br />
Timedata's Mike Lord, Spectrum<br />
streams.<br />
Of course, our reviewers<br />
have been busy sifting through<br />
the piles and piles of great<br />
software that has been<br />
brought out onto the market<br />
over the last months. James<br />
Walsh has been busily inspecting<br />
the Spectrum software<br />
scene whilst Nick Pearce has<br />
been looking at how to create<br />
high resolution graphics on<br />
your <strong>ZX</strong>81.<br />
If you want to check out<br />
what you, the reader, think of<br />
the various software packages<br />
available, then look no further<br />
than Reader's reviews. And if<br />
you don't like what you read<br />
there, or you disagree with one<br />
of our regular software<br />
reviewers on your favourite<br />
tape, then please get writing<br />
and tell the world — if it's<br />
published you'll get your software<br />
free!<br />
Moving along<br />
Another new feature is starting<br />
this month in the shape of The<br />
1K corral. In this area of the<br />
magazine 1 would like to attract<br />
users of the <strong>ZX</strong>81 to contribute<br />
1K programs which illustrate<br />
good programming<br />
techniques to make the best<br />
use of the limited memory<br />
space. Obviously, these programs<br />
can be games, simple<br />
business or domestic routines<br />
— the only critera set is that<br />
they should RUN in IK.<br />
It may have been a long<br />
time since you wrote a program<br />
within the confines of a<br />
1 K memory space or you may<br />
just be starting off your career<br />
in the hobby of computing —<br />
either way you may discover<br />
you can find out a great deal of<br />
economic programming techniques<br />
by studying these programs.<br />
If you feel you would<br />
like to contribute to The IK<br />
corral, why not send in your<br />
programs with an explanation<br />
of what makes them special.<br />
Contributions<br />
We are always on the lookout<br />
for good programs and articles<br />
for future issues of <strong>ZX</strong> Computing,<br />
and where better to<br />
look than to our own readers.<br />
If, when reading through the<br />
magazine, you think you can<br />
write programs as well, or better<br />
than, our present contributors,<br />
then let's hear from<br />
you.<br />
All contributions are, of<br />
course, paid for at very competitive<br />
rates. So if you've got<br />
your eye on a new <strong>ZX</strong> add-on<br />
or you'd just like to supplement<br />
your pocket money, get<br />
writing! It is vital, though, that<br />
all the programs you send us<br />
are totally original, and not<br />
'borrowed' or 'adapted' from<br />
other magazines or books.<br />
(When Tim Hartnell was sitting<br />
in the Editor's chair, he even<br />
received 'original' contributions<br />
he himself had written for<br />
his own books!)<br />
Any kind of program<br />
(business, domestic, educational,<br />
or just fun) will be<br />
welcomed, but particularly<br />
those which use <strong>ZX</strong> BASIC in<br />
clever and efficient ways, or<br />
those which employ certain<br />
routines which can be re-used<br />
on other programs.<br />
Program listings are vital,<br />
along with a clear explanation<br />
of how the program is constructed,<br />
what it does and<br />
what the user can expect to<br />
see once the program is RUN<br />
(a screen dump is particularly<br />
valuable in this respect). When<br />
submitting Spectrum programs,<br />
it is very important to<br />
remember to enclose a<br />
cassette of the program as<br />
well as the listing, as this will<br />
allow us to check the program<br />
before publication.<br />
Exit stage right.. .<br />
Well, the weather has finally<br />
broken and (touch wood!) it<br />
looks as though it might be a<br />
nice summer. Still, I hope this<br />
magazine does inspire you not<br />
to ignore your computer for the<br />
sun. So, have a nice summer<br />
and make the most of micro<br />
with <strong>ZX</strong> Computing.<br />
Roger Munford.<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 8
Your number's up<br />
Dear <strong>ZX</strong> Computing,<br />
The investigation of prime<br />
numbers must be one of the<br />
least useful of applications for a<br />
computer and yet it appears to<br />
have a fatal fascination! Using a<br />
Spectrum it took me a little over<br />
eight hours to establish the fact<br />
that the 10,000th prime is<br />
104,723. We then put the<br />
problem to a TMS 9900 1 6-bit<br />
microprocessor. This came up<br />
with the same result — but<br />
took 2% minutes!<br />
It then went on and found<br />
the 100,000th prime to be<br />
1,308,383 in 62 minutes and<br />
the 350,000th prime to be<br />
5,299,493. This took 6%<br />
hours! I am now intensively<br />
learning machine code so that I<br />
can see how long the Spectrum<br />
will take to do similar calculations.<br />
Have any of your readers<br />
tried this task in machine code?<br />
Yours faithfully,<br />
D Gold,<br />
London N1 2.<br />
Fantasy, cont.. .<br />
Dear <strong>ZX</strong> Computing,<br />
I write with reference to your<br />
recent letters in the April/May<br />
issue of <strong>ZX</strong> Computing concerning-the<br />
'Fantasy Island' game<br />
from Psion Software's<br />
Sorcerer's Island package. I<br />
have discovered four things<br />
about the program which may<br />
cause some of your readers<br />
some problems.<br />
1) Never use the instruction<br />
'OPEN' as this is interpreted by<br />
the program as 'OUT' and will<br />
stop the game. Always use<br />
'ENTER'.<br />
2) Upon becoming Monster-<br />
Bone grade 10, you will find it<br />
necessary to type CONT as the<br />
line containing this information<br />
only allows for a single digit.<br />
31 Never try to 'ZAP', 'ZZZ' or<br />
'EXPL' any friendly animal as<br />
this will only cause the game<br />
to halt with an undefined<br />
variable.<br />
4) Never ask for 'MAP' once<br />
inside a castle or cave as this<br />
just puts the computer into<br />
Fast mode. The map can only<br />
be generated once outside the<br />
building or cave.<br />
Here are some more tips on<br />
playing the game. Try the command<br />
'L' or 'LOOK'. Also, a<br />
Robot Marked Fight can be used<br />
once only unless you are<br />
carrying the correct medal.<br />
I hope this information proves<br />
of interest to anyone<br />
attempting this game. Myself,<br />
I am currently Monster-Bone<br />
grade 24 and have escaped<br />
from the Island with 4,000 life<br />
points and 12,000 treasure<br />
points left. This feat was<br />
achieved after several hours of<br />
play!<br />
Yours faithfully,<br />
T McGowan,<br />
Regents Park,<br />
Southampton.<br />
/?<br />
To the bitter<br />
end...<br />
Dear <strong>ZX</strong> Computing,<br />
I read with interest the review<br />
on The Hobbit in the April/May<br />
issue of <strong>ZX</strong> Computing and<br />
feel that I must write. Even<br />
though I have at last managed<br />
to finish the game, I still enjoy<br />
playing it and find it well worth<br />
the money,<br />
I quote the last few<br />
sentences of the adventure to<br />
prove that I really did finish!<br />
"A cheering crowd of<br />
dwarves, hobbits and elves appear.<br />
Led by Gandalf they<br />
carry you off into the sunset,<br />
proclaiming you hero of heroes<br />
and master adventurer!!!"<br />
Also, please could you tell me<br />
which printer paper is the best<br />
value on the market for the <strong>ZX</strong><br />
Printer as I intend to buy one.<br />
Thank you.<br />
Yours faithfully,<br />
Graham Walker,<br />
Horncastle,<br />
Lincoln.<br />
• Recommending the best<br />
printer paper is a little difficult,<br />
Graham, as to be quite honest,<br />
it is all pretty much of a<br />
muchness. The printer paper /<br />
myself have used in my involvement<br />
with Sinclair<br />
printers has all been of a<br />
uniform standard (and a high<br />
standard at that!). As for value<br />
for money, / think you'll just<br />
have to look around — often<br />
you can pick up some very<br />
good deals at the various <strong>ZX</strong><br />
Microfairs and other similar<br />
events up and down the country.<br />
Ed.<br />
WELCOME<br />
Bridging the gap<br />
Dear <strong>ZX</strong> Computing,<br />
The bridge problem incurred by<br />
R Wheen in your April/May edition<br />
of <strong>ZX</strong> Computing can be<br />
solved without recourse to<br />
machine code in just ten lines<br />
of BASIC:<br />
10 LET A$ = " TJQKA"<br />
90 LET 1 = 0<br />
100 LET l$ = INKEY$<br />
110 IF l$>"9" OR l$
9911 REM / M M M U W W m W<br />
BLOCK DELETE. C.N.GOOCH<br />
V W A W i W ^ W / A V A ' A S V A V<br />
9912 LET XsPEEK 23535t2S6*PEEK 2<br />
3636: INPUT "ENTER FIRST LINE FO<br />
R ERRSING"jfl: INPUT "ENTER LAST<br />
LINE FOR ERR5ING";B<br />
9913 LET YT =PEEK +256*PEEK<br />
(X+3J : IF PEEK X*2S6+PEEK IX + 1J =<br />
fl THEM LET STHRT=X<br />
9914- IF PttK X #2fc»6 +PEEK (X + 1J =B<br />
THEN LET STOP —X +YT+4.: GO TO 9916<br />
9915 LET X=X+YT+4: GO TO 9913<br />
9916 LET LENGTH =STOP-STRRT-4.: PO<br />
KE 5TRRT+2 ,LENGTH-256*INT (LENGT<br />
H/256): POKE STRRT+3.INT (LENGTH<br />
/256): CLS : PRINT RT 10,0; FLRS<br />
H 1;"NOW TYPE IN ;R; RNO E<br />
NTER"<br />
9917 STOP<br />
Mental block?<br />
Dear<strong>ZX</strong> Computing,<br />
I wonder if any of your readers<br />
would be interested in a block<br />
deletion program I have written<br />
for the 48K Spectrum.<br />
Merged with any listing this<br />
will enable you to choose and<br />
delete any block of program<br />
lines. As the final action of<br />
deleting is not accomplished<br />
until you edit out (in the usual<br />
way) the first line you have<br />
chosen, the program can<br />
delete itself when you are<br />
finished with it!<br />
The line numbering, of<br />
course, is arbitary but is best<br />
chosen well up into the 9900s<br />
to be clear of most ordinary<br />
listings. Only six lines are used<br />
so it can be fitted in between<br />
normal 10 line increments.<br />
When loaded, typing 'GO<br />
TO 9911' will cause an input<br />
request for the first line of the<br />
block that you wish to delete.<br />
After this a request is made for<br />
the last line to be deleted. The<br />
program will then RUN. Finally<br />
you will be asked to type in the<br />
first line number again to be<br />
followed by 'Enter'. Hey<br />
presto... they are gone<br />
forever (so if you might want<br />
them again make sure the<br />
whole listing is on tape or<br />
printer!).<br />
13<br />
The program works as<br />
follows. Line 9912 uses<br />
system variable 23635 (it's in<br />
'the book'l to find the start of<br />
the BASIC. This is a two byte<br />
number with the most significant<br />
byte second (23636).<br />
PEEKing the value of this-will<br />
give the first line number in the<br />
program. This is done in the second<br />
part of line 9013 and a<br />
check is made to see if this is<br />
the same as the starting line<br />
you have chosen. If it is, a<br />
variable 'start' is designated.<br />
Also in line 9913, we PEEK<br />
at the second pair of bytes in<br />
the line which will give us the<br />
number of program bytes in<br />
the rest of the line. We call this<br />
YT.<br />
Line 9914 checks to see if<br />
we have reached the last line<br />
requested. If we have, it adds<br />
YT 4 4 (remember the first four<br />
bytes were not in the length)<br />
to the value of x and gives this<br />
value to a variable 'stop'. If we<br />
have reached a stop then we<br />
are put on the last line of the<br />
program.<br />
If not, line 991 5 increments<br />
x (the value of the line number)<br />
by YT+4 and the program<br />
starts the loop again.<br />
Line 9916 works out the<br />
total number of bytes involved<br />
and POKEs this value into the<br />
second two bytes of the first<br />
WELCOME<br />
line to be deleted. The Spectrum<br />
now thinks that the first<br />
line is that long and when you<br />
edit out that line the whole lot<br />
will go!<br />
STOP is only really needed<br />
if there is likely to be some<br />
lines following. . .perhaps<br />
say, a renumber routine. . .<br />
because without it the program<br />
will run on into those<br />
lines.<br />
Your faithfully,<br />
Colin Gooch(ii<br />
llminster.<br />
Computer<br />
corruption?<br />
Dear <strong>ZX</strong> Computing,<br />
While developing a machine<br />
code routine on my issue II<br />
48K Spectrum, I believe I may<br />
have found a bug in the ROM.<br />
If you type CLEAR 32775<br />
or a smaller number, certain<br />
memory locations above<br />
32768 begin to corrupt,<br />
seemingly picking up I/O<br />
signals.<br />
For example, if you type:<br />
10 CLEAR 30000<br />
20 POKE 40069<br />
30 PRINT CHR$<br />
40069<br />
40 GOTO 30<br />
you will find characters other<br />
than CHR$ 0 appear.<br />
However, I have found a<br />
way of correcting this problem.<br />
If you add 128 to the<br />
machine code I register before<br />
typing the CLEAR statement,<br />
then type RANDOMIZE USR 0<br />
to re-start the computer, you<br />
can then type:<br />
10 FOR n = 30000 TO<br />
30004<br />
20 READ x<br />
30 POKE n,x<br />
40 NEXT n<br />
50 RANDOMIZE USR<br />
30000<br />
60 DATA 62,191,237,71,<br />
201<br />
Delete the above program line<br />
by line (don't use NEW as it<br />
will reset the I register) and<br />
then type the first program in<br />
again.<br />
I would be grateful to know<br />
if anyone else has experienced<br />
this problem.<br />
Yours faithfully,<br />
P Bown,<br />
Blunsdon,<br />
Swindon.<br />
Authors<br />
correction<br />
Dear <strong>ZX</strong> Computing,<br />
It was great to see my program<br />
'User character set' in the<br />
April/May issue of <strong>ZX</strong> Computing.<br />
However, I noticed a<br />
small error in the program at<br />
line 270,<br />
This line causes the program<br />
to skip the routines for<br />
entering the character codes.<br />
Deleting this line will cure the<br />
i bug'.<br />
Many apologies for this error<br />
and 1 hope it didn't spoil<br />
your readers' enjoyment of the<br />
program.<br />
Yours faithfully.<br />
David Mold,<br />
Cheshunt, ,<br />
Herts.<br />
PEEK sound's great<br />
Dear <strong>ZX</strong> Computing,<br />
One evening whilst fiddling<br />
about with my <strong>ZX</strong>81 I<br />
discovered sound! Yes, with<br />
just a <strong>ZX</strong>81 and a standard<br />
black and white portable TV.<br />
Try this for the highest clear<br />
note possible:<br />
10 SLOW<br />
20 FAST<br />
30 GOTO 10<br />
RUN it and set your TV channel<br />
to approximately 35 and turn<br />
the volume up. Great eh?<br />
I then tried to write a program<br />
which would allow you<br />
to select several different<br />
notes, but the more notes one<br />
makes available, the lower the<br />
notes become. So I tried different<br />
notes. Try this for a terribly<br />
high note in Fast mode:<br />
10C0NT<br />
20 GOTO 10<br />
After much experimentation I<br />
came to the conclusion that<br />
you could get clear but low<br />
notes from SLOW and FAST,<br />
and high but distorted notes<br />
from REM in Fast mode. !<br />
chose REM for my final program<br />
which follows.<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 10
As you can see by the<br />
uneven distribution of everything<br />
the tuning of the notes<br />
relies on many factors. RUN it<br />
and play with the keys '1' to<br />
'8' and you should find you<br />
have something<br />
standard octave.<br />
Yours faithfully,<br />
John Goldie,<br />
Dumfries,<br />
Scotland.<br />
5 FAST<br />
10 IF INKEY$ = "8" THEN GOTO 30<br />
20 GOTO 50<br />
30 REM<br />
35 REM<br />
40 GOTO 1 0<br />
50 IF INKEY$ = tt-Jtt THEN GOTO 70<br />
60 GOTO 120<br />
70 REM<br />
80 GOTO 50<br />
120 IF INKEY$ = "6" THEN GOTO 1 50<br />
130 GOTO 170<br />
1 50 REM<br />
160 GOTO 120<br />
170 IF INKEY$ = "5" THEN GOTO 190<br />
180 GOTO 250<br />
200 REM<br />
210 GOTO 1 70<br />
220 IF INKEY$ = "4"THEN GOTO 240<br />
230 GOTO 270<br />
240 REM<br />
250 REM<br />
260 GOTO 220<br />
270 IF INKEY$ = "3" THEN GOTO 290<br />
280 GOTO 310<br />
290 REM<br />
295 REM<br />
300 GOTO 270<br />
310 IF INKtYS * 12 " THEN GOTO 330<br />
320 GOTO 360<br />
330 REM<br />
335 REM<br />
340 REM<br />
350 GOTO 310<br />
360 IF INKEY$ = (i ^ r« THEN GOTO 380<br />
370 GOTO 10<br />
380 REM<br />
390 REM<br />
395 REM<br />
400 GOTO 360<br />
Third time lucky<br />
Dear <strong>ZX</strong> Computing,<br />
I am now on my third Spectrum<br />
— the first packed up due<br />
to overheating problems and<br />
the second gave appalling<br />
displays, with colour fringing,<br />
rippling verticals, etc.<br />
Out of despair, I invested<br />
£1.00 in the display instructions<br />
from Fountain Computers<br />
which were mentioned<br />
in your April/May issue. They<br />
really are quite excellent and I<br />
now have a fine display. I feel<br />
it's a shame that Sinclair<br />
couldn't manage to produce<br />
such a sheet as part of their<br />
own instructions.<br />
Also, in the April/May issue,<br />
a reader suggested using a<br />
CLEAR instruction to remove<br />
machine code from the<br />
memory. This is OK but it<br />
doesn't shift user-defined<br />
graphics and you also have to<br />
remember the different RAM-<br />
WELCOME<br />
fairly near a<br />
top addresses for the 1 6K and<br />
48K versions of the Spectrum.<br />
I suggest readers use the<br />
single instruction RANDOMIZE<br />
USR 0 which will clear the lot<br />
out — BASIC, machine code<br />
and UDGs all in one swoop.<br />
Yours faithfully,<br />
DC Oates,<br />
Tamworth,<br />
Staffs.<br />
Two of a kind<br />
Dear <strong>ZX</strong> Computing,<br />
I have written two subroutines<br />
for my <strong>ZX</strong>81 which your<br />
readers might be interested in.<br />
One is for drawing reasonably<br />
straight lines on the screen and<br />
the other can be used for<br />
calculating the amount of<br />
memory left unused.<br />
The first routine draws a<br />
line between two points, (X,Y1<br />
and (XI, Yl). There is a program<br />
for this in the Sinclair <strong>ZX</strong>81<br />
manual, but this one is shorter:<br />
10 LET A = XI-X<br />
20 LET B = Yl - Y<br />
30 LET H = SQR (ABS A *<br />
* 2 +ABS B* * 2)<br />
40 FOR C = I TO H<br />
50 PLOT X + (A/H) * C,Y +<br />
(B/H)* C<br />
60 NEXT C<br />
The second routine is in<br />
machine code. I have placed<br />
the code in a REM statement,<br />
but it could be placed<br />
elsewhere, One alternative<br />
place is above RAMtop. If it is<br />
placed above RAMtop, line 10<br />
can be changed to 17325 if<br />
using 1K or 30000 if using<br />
16K.<br />
This program takes account<br />
of memory used for all purposes<br />
so, if you are taking account<br />
of memory used by<br />
variables, use 'GOTO 1' instead<br />
of'RUN'.<br />
(a) Enter:<br />
1 REM 0123456789012<br />
3456789012345<br />
'10 LET A = 16514<br />
20 FOR B = A TO A + 13<br />
30 INPUT C<br />
40 POKE B,C<br />
50 NEXT C<br />
(b) RUN this and Enter (taking<br />
',' as Newline):<br />
30,0,237,122,237,75,28,<br />
64,237,66,68,77,201,<br />
(c) Delete lines 10-50 and<br />
add:<br />
2 PRINT "MEMORY LEFT:<br />
",'USR 16514;"BYTES"<br />
3 STOP<br />
Hope this may be of use to<br />
your readers.<br />
Yours faithfully,<br />
Alastair McKinstry,<br />
County Dublin,<br />
Eire.<br />
Byting bugs<br />
Dear <strong>ZX</strong> Computing,<br />
I'm afraid I have found a couple<br />
of minor errors in my Spec-<br />
tramon program. However, I<br />
have two solutions to these<br />
problems:<br />
1) When the Spectrum tries<br />
to disassemble close to the top<br />
limit of memory, because of<br />
the way in which the Z80 instruction<br />
set is constructed we<br />
may have to 'look ahead' by up<br />
to four bytes. If you are at location<br />
65533 and this 'look<br />
ahead' occurs it will try to PEEK<br />
beyond the range of memory.<br />
This causes an 'out of range'<br />
error. There is no true solution<br />
without major alteration of the<br />
program. However, a simple<br />
'fix' can be achieved by changing<br />
line 605 to read:<br />
605 IF LOC 65532 THEN<br />
PRINT "End of memory.":<br />
POKE 23560,32: GO TO<br />
6 1 0: REM Pretend SPACE was<br />
typed<br />
2) The other problem in the<br />
program is far more subtle and<br />
occurs when the Spectrum<br />
tries to wrap around its<br />
memory map going from<br />
65535 back to zero. This<br />
shows up as a subscript error<br />
when using the hexadecimal<br />
conversion routine. This can<br />
easily be cured with the addition<br />
of the line 3435:<br />
3435 IF C>65535 THEN LET<br />
C = C - 65536<br />
Hopefully these two solutions<br />
will end all your worries with<br />
my Spectramon program.<br />
Yours faithfully,<br />
Simon Goodwin,<br />
Hereford.<br />
Stop press<br />
Dear <strong>ZX</strong> Computing,<br />
Please could I announce within<br />
your pages that I am considering<br />
setting up a newsletter for<br />
all owners of the <strong>ZX</strong> Spectrum.<br />
If anyone would be interested<br />
in this project and requires further<br />
information, could they<br />
please send a stamped addressed<br />
envelope to the address<br />
below.<br />
John Grain,<br />
Wychwood,<br />
School Road,<br />
Finstock,<br />
Oxford 0X7 3DJ.<br />
13 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 11
THE WIZARD'S WARRIORS. A irtst moving isame<br />
thai matches developments in \our .skill as a player Spectrum<br />
b\ betominc increasingly more devious. IU ofUrinu C4.95<br />
to \ou the full ran«e iif options you ran chtmse how<br />
lo control sour warrior through I hi' maze. A full<br />
implementation of this program enables surh features<br />
as a continuous series of sound effects, arcade c11•.< 1 ii><br />
graphics. douhlc-poinl storing, and--for I ho wn<br />
artful "bonus lives.<br />
FORTH A full implementation Ideal for writing fusl<br />
moving arcade type Kami's. Allows the full colour and<br />
sound fai ilitiesol" Ihe S|iertrum to In- used. Kill tire<br />
Microdrive enhancements will la- made available.<br />
ADVENTURE 0NK: Features a saw game routine .is<br />
the game can take months to complete,<br />
<strong>ZX</strong>81 C5.95<br />
'a remarkahK good version., well wortli llie mono..'<br />
Sinclair t mv<br />
MA/KM AN: A fast action in < uamc that reproduces<br />
the spirit ot the original<br />
'..is very a< i ur.ite anil last ." Which Micro'<br />
Spectrum<br />
14.95<br />
Spectrum<br />
C4.95<br />
<strong>ZX</strong>81 £4.45<br />
CIIESS I -I I' M levels of plav will) this in e program<br />
(iood uraplut screen rlisphiv<br />
<strong>ZX</strong>8<br />
'In a < lass of it's own.* y.-nr ( om/w/rr<br />
1 C5.95<br />
INVADERS Vi '..Si in I .H lion Includes mvsier\ <strong>ZX</strong>81 C4.45<br />
slop ami ini nasinirlv difficult s< rcens.<br />
7 MAES AFALLEN. BOW ST.. DYFED, SY24 5BA<br />
24hr Ansaphone 0970 &28851 II<br />
TRS80 (LEVEL 2)<br />
<strong>ZX</strong> SPECTRUM — <strong>ZX</strong>81<br />
SUPER SOFTWARE PACK<br />
dERIWRs 4<br />
*<br />
25 Great programme* on one pack: Star Wars, Gambling Machine Breakout.<br />
Trap II. Populalion Simulation, Corridors ol Doom. Housebreak. Towers of<br />
Hanoi. Butterfly Chase, The Vault, Yahtzee. Maths, Calendar. Amazing 3D<br />
Mazes, 30 Noughts & Crosses Jackpot. Banaii, Hangman - Musical. Bible,<br />
History and Sport, Mastermind. Spelling. Diary. Records File and Time Warrior<br />
Here are descriptions of just a lew ot the games<br />
HOUSEBREAK You enter a house at mght in an attempt lo rob it ol money<br />
and any gold and silver iiems you can tind. Your obiect is to clean out the<br />
house. In the dark you must avoid bumping into the furniture Atter an interval ol<br />
time an alarm will sound and a short while later Ihe lights will be turned on A<br />
vicious dog is then released and you have to use all your skill and cunning to<br />
avoid getting bitten as he chases youarourtd the house Any injuries caused by<br />
Ihe dog will slow down your escape The game is played in real time, has<br />
excellent graphics and is very exciting A new house is generated each time<br />
Ihe game is played<br />
CORRIDORS OF OOOM! A dungeons & dragons type game that is very<br />
addictive You can never win this game by chance. A lot depends on<br />
discovering the secrets of just how you have to deal with each individual<br />
monsler in the game There is a liquid which will destroy Ihe Werewolf — but<br />
which one' How can you tame the giant spider 7 Will you ever learn the secret<br />
Ol how to defeat Ihe Blood Devil? All of the monsters have treasures lor those<br />
wno are both brave and wise enough to overcome them, but to escape alive<br />
you must tirsl cross some very nasly pits Play it again and again<br />
AMAZING 3D MAZES Wander through the giant 16x18x18 mazes<br />
collecling treasures, you know where they are, but how do you get to Ihem?<br />
Extra points are awarded for finding the shortest routes Don I get too frustrated<br />
by apparent dead ends<br />
3D NOUGHTS A CROSSES Played inside a 4x4x4 cube, this is a game for<br />
the intellectual Great graphics it plays a mean game and wins about nine out<br />
ol every ten games it plays<br />
TOWERS OF HANOI You will welcome this classical puzzle which is a must<br />
lor anyone with a computer The problems difficulty depends on how many<br />
disks you use II might on|y take you a lew minutes with lour disks, but with all<br />
nine it could take ail day Two variations ol the game are included There is a<br />
constant display ol Hours Mms Sees,sothatyouknow how well or how badly<br />
you are doing at any particular stage if you find you cannot work the problem<br />
out 1 The computer will show you the shortest possible solution<br />
THE VAULT A high security vault in Oxford (The game can be changed lo<br />
centre around your own home town) has ten doors, each wtlh its own five ligure<br />
combmalion The combination ol the nine inner doors are known, bul only the<br />
manager knows Ihe combination ol the outer door Unfortunately the manager<br />
has got himseit locked in the Vault. M is your job to get htm out before all Ihe<br />
Oxygon is used up The computer will give you metaphorical clues lo how near<br />
you arc getting The lime switches which change the combination every so<br />
often can prove a problem This is a case wh »ch r eally puis your powers of logic<br />
lo the test<br />
POPULATION SIMULATION This
In the June/July issue of <strong>ZX</strong><br />
Computing, we were able to<br />
publish the program Muncher —<br />
a Spectrum version of the<br />
popular arcade game of the doteating<br />
kind. For all those of you<br />
with 16K <strong>ZX</strong>81 s who have yet<br />
to convert this program for your<br />
machine, the original author,<br />
Robert Turner, has done the job<br />
for you!<br />
For those not familiar with<br />
this 'infamous' game, you control<br />
a small character, an arrow,<br />
which travels around a small<br />
maze eating dots as it goes.<br />
That's not quite the end of the<br />
story thought As in all good arcade<br />
games there should be the<br />
omnipresent monsters — and<br />
this game is no exception. You<br />
are chased around the maze by<br />
two monsters eager to halt your<br />
progress.<br />
However, all is not lost as<br />
there are power pills situated in<br />
the corners of the maze which,<br />
when consumed, give your<br />
character the ability to destroy<br />
the monsters. You'll know when<br />
the monsters are vulnerable as<br />
they develop 'eyes'. When you<br />
have eaten a power pill, don't<br />
hang around as the monsters try<br />
to escape.<br />
You score one point each<br />
time you eat a dot, and power<br />
pills and monsters are worth 10<br />
points. Every now and then a' £'<br />
sign will appear under the<br />
monster's den and this too is<br />
worth 10 points if consumed.<br />
<strong>ZX</strong>81 CAME<br />
Robert Turner of Gwent<br />
presents the 16K <strong>ZX</strong>81<br />
adaptation of his<br />
arcade action<br />
game,Muncher.<br />
variables<br />
The variables used in the program,<br />
Muncher II, are as<br />
follows:<br />
S — Score.<br />
HS — High score.<br />
T — The score when the screen<br />
has been cleared.<br />
8$ — The variable which stores<br />
the maze.<br />
COUNT — If this variable is less<br />
than 30 the monsters can be<br />
eaten. If it is more than 30 the<br />
monsters can eat your<br />
character.<br />
LIVES — The number of lives<br />
you have left.<br />
Y and X — The position of your<br />
character.<br />
A$ — The shape of your<br />
character.<br />
GX and GY — The position of<br />
the first monster.<br />
GX1 and GY1 - The position of<br />
the second monster.<br />
C — This variable controls the<br />
movement of the monster. If<br />
C = — 1 then the monster moves<br />
away from your character, if<br />
C = 1 then the monster chases<br />
you.<br />
D$ — The shape under the first<br />
monster,<br />
E$ — The shape under the second<br />
monster.<br />
A — The skill level,<br />
N — Allotted for general use.<br />
So, dont just sit there — type<br />
in the program and watch out for ^<br />
the monstersl W 1<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 13
3<br />
3<br />
9<br />
LET s=0<br />
LET HS=0<br />
LET T=13C<br />
DIM B$ (21,21)<br />
LET COUNT=30<br />
LET LIUE3=3<br />
GG5U3 7000<br />
LET CHECK = 1<br />
LET E=0<br />
10 LET R = 1<br />
11 LET a%£1)="<br />
20 LET 5$ C2J ="<br />
•B"<br />
30 LET Bt (3) = ".<br />
B-S"<br />
4.0 LET B*(4->="<br />
Hcfl"<br />
50 LET B$t5)="<br />
60 -B" LET B$ B»C10)«' fll) = '<br />
ET B«117>«'<br />
LET B*(18><br />
200 LET B*t20J=*<br />
230 PRINT RT N,1;B»(N><br />
24.0 NEXT N<br />
<strong>ZX</strong>81 CAME<br />
250 LET Y = 14-<br />
255 LET E$ = " '*<br />
260 LET X = 12<br />
265 LET D$~" "<br />
270 LET R$=">"<br />
275 LET C=1<br />
280 LET GX = 12<br />
285 LET GY = 12<br />
290 LET GX1=12<br />
295 LET GY1=11<br />
300 PRINT RT GX,GY;"3"<br />
310 PRINT RT GXl.GVi;"!*-<br />
320 PRINT RT V,X;H5<br />
325 PRINT RT 0,0; "LIUES: ; LIVES<br />
;RT 0,19;"HI-SCORE: "; HS<br />
330 IF INT (RND*50)=0 THEN GOSU<br />
B 1000<br />
335 PRINT RT Y,X;" "<br />
34-0 IF INKEY $ = " 8 " OR CB»(Y,X + 1)<br />
i"-" RND R = l) THEN GOTO 1500<br />
350 IF INKEY* = "5" OR (B>IY,X-1><br />
="-" RND R»-l) THEN GOTO 1600<br />
355 IP INKEY $ < >"5" RND INKEY$<br />
"6" RND INKEY $ < >"7" RND INKEY$< ><br />
"3" RND INKEYSO"" THEN GOTO 4-00<br />
0 360 IF INKEY$="7" THEN GOSUB 17<br />
00<br />
365 IF INKEY $ = "6 " THEN GOSUB 18<br />
00<br />
370 IF B*"•" AND B$(GX1,GY1+C) — " THEN<br />
GOTO 30S0<br />
4-78 IF RND < R THEN GOTO 4-86<br />
480 IF GX1'B" THEN GOTO 3100<br />
4-86 IF RND < R THEN GOTO 500<br />
4.90 IF GX1>Y RND B$ (GX1-C, GYli <<br />
>"•" THEN LET GX1=GX1-C<br />
. 500 LET COUNT=COUNT + l<br />
510 IF COUNT >-30 THEN LET C=1<br />
520 IF C=-l THEN PRINT RT GX,GY<br />
• it it ii ••<br />
525 IF C-l THEN PRINT RT GX , GY ;<br />
• yJ**<br />
530 IF C=-l THEN PRINT RT GX1,G<br />
vi;<br />
14 <strong>ZX</strong> COMPUTING AUG SEPT 1983
<strong>ZX</strong>81 GAME<br />
535 IF C=1 THEN PRINT RT GXl^GY<br />
3L " * * 11<br />
540 IF GX=Y AND GY=X THEN GOTO<br />
9000<br />
550 IF GX1-V RND GY 1 =X THEN GOT<br />
O 9000<br />
560 LET D*=B$(GX.GY)<br />
570 LET E$=BS(GX1,GY1J<br />
580 LET CHECK = 1<br />
600 GOTO 330<br />
1000 IF B$(14,11)="£" THEN RETUR<br />
N<br />
1010 PRINT RT 14.11;"£"<br />
1020 IF 8$ (14, 11) ="." THEN LET T<br />
—T -1<br />
1030 LET B$ ( 14,11) ="£"<br />
1040 RETURN<br />
1500 PRINT RT Y,X;" "<br />
1510 LET R $ = ">"<br />
1520 IF B$(Y,X + 1 ) a " T H E N LET C<br />
HECK=0<br />
1530 IF CHECK=0 THEN LET X=2<br />
1535 IF CHECK=© THEN GOTO 375<br />
1540 IF 6$ (Y , X + l) < > "•" THEN LET<br />
R = 1<br />
1545 IF B$(Y,X + 1) "B" THEN LET<br />
E =0<br />
1550 GOTO 370<br />
1600 PRINT RT Y,X;" "<br />
1610 LET (=)**'
I<br />
The ability of the Spectrum to<br />
MERGE one program into<br />
another makes it very easy to<br />
tack one or more utility programs<br />
onto a BASIC program<br />
under development. Each utility<br />
program included in this article is<br />
a little longer than it need be<br />
because sensible prompts are included<br />
— however, these could<br />
be taken out if space is at a<br />
premium. Each program has<br />
been compacted to a reasonable<br />
number of lines so that it may be<br />
deleted fairly quickly when it is<br />
no longer required.<br />
Hexadecimal/<br />
decimal<br />
conversion<br />
Once you have entered the two<br />
routines which make up this program,<br />
you use the following<br />
inputs to access the utilities:<br />
RUN 9000 enters the Hex to<br />
decimal conversion routine.<br />
RUN 9011 entersthedecimalto<br />
Hex conversion routine.<br />
The program will prompt for the<br />
number to be converted. Should<br />
you wish to change the direction<br />
of conversion, you do not need<br />
to break and re-RUN the other<br />
program, you can simply input<br />
'T* and '123456'. If you input<br />
'0', you stop the program.<br />
PEEK and POKE<br />
RUN 9020 will PEEK a specified<br />
memory location. The program<br />
will ask you if you wish to read a<br />
single byte or a double byte, and<br />
then returns with a decimal<br />
number in the range 0 to 255 in<br />
the case of the former and 0 to<br />
65535 in the case of the latter.<br />
Three BASIC utility programs for<br />
your <strong>ZX</strong> spectrum, courtesy of<br />
Richard Sargent of wantage.<br />
RUN 9030 wilt POKE a<br />
decimal number in the range 0 to<br />
65535 into a specified memory<br />
location. Numbers greater than<br />
255 will automatically be<br />
entered correctly into two<br />
consecutive memory<br />
locations.<br />
Attribute<br />
finder<br />
This program will be of use to<br />
anyone investigating a BASIC<br />
program when they only have a<br />
black and white television<br />
available. It may also be useful<br />
to anyone who has colour blindness.<br />
The BASIC program under<br />
investigation is stopped with the<br />
Break key and then RUN 9040 is<br />
entered.<br />
Immediately the global attributes<br />
are displayed — the<br />
BORDER colour, the default<br />
PAPER colour, the default INK<br />
colour and BRIGHT/NORMAL<br />
mode — together with the attribute<br />
number that was set by the<br />
last PRINT statement before the<br />
break.<br />
Then the user is prompted for<br />
a row and column co-ordinates<br />
until '33' is entered, which will<br />
stop the program.<br />
The Attribute finder program<br />
itself obtains the global attributes<br />
by PEEKing three locations<br />
in the Spectrum<br />
workspace. This is done in<br />
line 9041. Local attributes<br />
are picked up using<br />
ATTR(R1,C1)<br />
in tine 9048.<br />
The attribute<br />
number, held in<br />
N, is broken up into its<br />
component parts by the<br />
subroutine starting at line 9050.<br />
Notice the use of the computed<br />
GOSUBs in lines 9052 and<br />
9053 which pick up the names<br />
of the colours.<br />
16 <strong>ZX</strong> COMPUTING AUG/SEPT 1983
1 I PROGRAM ONE<br />
I HEX-DEC and DEC-HEX conversions<br />
9000 REM Hex to Dec Conversion<br />
9001 PAPER 7: INK O: CLS : PRINT<br />
"CAPS LOCK ON PLEASE."*"O ABORT<br />
s. " *"T FOR DEC TO HEX."<br />
9002 INPUT "HEX";H$: LET T=0: LE<br />
T D-ls IF H*-"0" THEN GO TO 9019<br />
9003 IF H$="T" THEN GO TO 9011<br />
9004 FOR P=LEN -1 TO O STEP<br />
-1<br />
9005 LET C=CODE : LE<br />
t D=D+1: IF C>=48 AND C=65 AND C: LET R=Q<br />
-4096+D: LET E=I NT : LET<br />
R=R-256*E: LET H=INT : LET<br />
L=R-16*H<br />
9017 PRINT "DEC "?QS" = " 5<br />
9018 PRINT A*;A*;" HEX": GO TO 9013<br />
9019 STOP<br />
9020 PRINT<br />
9021 1 NF'UT<br />
D>"?A*: IF<br />
9022 INPUT<br />
PROGRAM TWO<br />
PEEK AND POKE WITH EASE<br />
=0 THEN STOP<br />
"PEEKER"<br />
"SINGLE OR DOUBLE<br />
A*="0" THEN STOP<br />
"DEC ADDR = ";N: IF N<br />
9023 PRINT "Address ";N;" contai<br />
ns IF A$="D" OR A$="d" THEN<br />
PRINT PEEK N+256*PEEK : GO<br />
TO 9021<br />
9024 PRINT PEEK N: GO TO 9021<br />
9030 PRINT "POKER"<br />
SPECTRUM UTILITY!<br />
9032 INPUT "DEC ADDR = ";N: IF N<br />
=0 THEN STOP<br />
9034 INPUT "DEC UALUE = "SUs IF U<br />
U—256* I NT : P<br />
OKE N+1, INT <br />
9038 PRINT "Address " SNS" cor.tai<br />
ns "SU: GO TO 9032<br />
PROGRAM THREE<br />
^ ^ ^ ATTRIBUTE FINDER<br />
9O40 REM ATTRIBUTE FINDER<br />
9041<br />
LET<br />
695:<br />
9042<br />
LET B=I NT s<br />
A-PEEK 23693: LET T=PEEK 23<br />
GO SUB 9063<br />
LET N=A: GO SUB 9050<br />
9043 GO SUB 9055+B<br />
9044 PRINT AT 19,O; INK O;"GLOBA<br />
L ="?A;" LOCAL="* T?" BORDER-"'B;<br />
" "SAT 20.01"PAPER-"J" INK-"S<br />
1$;" 21,O;"Press O to -=iu<br />
it, else continue.": PAUSE O: IF<br />
INKEV«="0" THEN STOP<br />
9045 30 SUB 9063<br />
9046 PRINT AT 19,0? INK O?"LOCAL<br />
ATTRIBUTE—"?AT 21,O?"Enter 33 t<br />
o =i u i t. "<br />
9047 INPUT "ROW NUMBER IS "sRls<br />
I NF'UT 'COLUMN NUMBER IS "SCl: IF<br />
R121 OR C131<br />
THEN STOP<br />
9048<br />
9O50<br />
LET N=ATTR : GO SUB<br />
9049 PRINT AT 19,16? INK O? N S AT<br />
20,05"PAPER-"5P*?" INK-"SI**"<br />
R$: GO TO 9047<br />
9050 LET R$=" NORMAL": IF N>=128<br />
THEN LET N-N-12S<br />
9051 IF N>=64 THEN LET N-N-64: L<br />
ET R$=" BRIGHT"<br />
9052 LET P=INT
EXHIBITION NEWS<br />
My kind of town<br />
Imagine an electronics show<br />
which is five times larger than<br />
the PCW show in London, a<br />
show so big the organiser provide<br />
buses to move visitors<br />
from section to section. That's<br />
the Consumer Electronics<br />
Show held in Chicago each<br />
year.<br />
Although it is just for the<br />
trade, that is for dealers who<br />
will sell to the public, this<br />
year's show attracted over<br />
80,000 visitors. The hit of the<br />
show, in the computer section,<br />
was Coleco's Adam. This product<br />
combines a keyboard,<br />
processor unit, two keypad/joysticks<br />
on separate cables,<br />
daisy wheel printer plus double<br />
stringy-floppies (similar, we<br />
believe, to Sinclair's<br />
Microdrives) and all for around<br />
£400. Coleco's stock rose<br />
1 5 '/i points on the New York<br />
stock exchange in a day as a<br />
result of the launch.<br />
However, t was more interested<br />
in what Timex were<br />
doing. After some 18 months<br />
with the Timex version of the<br />
<strong>ZX</strong>81 (a 2K <strong>ZX</strong>81 called the<br />
Timex Sinclair 1000, or T/S<br />
1000), Timex have managed<br />
to sell 600,000 of the<br />
machines in America. There<br />
are 750,000 VIC-20s in the<br />
States, with the T/S 1000 and<br />
Apple II taking equal second<br />
position. With a user base like<br />
that, Timex seem in a strong<br />
position to continue to hold<br />
their ground, Coleco notwithstanding.<br />
in good standing<br />
The Timex stand was enormous,<br />
about the area of fourroom<br />
flat, and it was<br />
dominated by giant pictures of<br />
the T/S 2000 and the T/S<br />
1 500. The T/S 1 500 is essentially<br />
a <strong>ZX</strong>81, with 1 6K builtin,<br />
plus a Spectrum-like<br />
keyboard. The whole unit is<br />
silver, and looks very good indeed.<br />
Timex will be introducing<br />
it at around £45. That is a<br />
great price, compared to the<br />
<strong>ZX</strong>81, when you remember it<br />
has a Spectrum-like keyboard,<br />
and 1 6K onboard.<br />
Daniel Ross, Vice President<br />
(they have such titles in<br />
business Over there) of the<br />
Timex Computer Corporation,<br />
says he believes the T/S 1 500<br />
will produce as much excitement<br />
as the T/S 1000. He also<br />
After a long delay, Timex in America<br />
have finally released their version of<br />
the Spectrum, known as the T/S 2000.<br />
Tim Hartnell was at the launch in<br />
Chicago for zx Computing.<br />
stated that "the T/S 1000,<br />
T/S 1 500 and T/S 2000 series<br />
colour computers, with the<br />
growing line of Timex<br />
peripherals and software, constitute<br />
the best price/value<br />
family of computing products<br />
available today." While some<br />
may argue with that, there<br />
seems little doubt that the<br />
Timex versions of Sinclair<br />
computers are pretty impressive.<br />
The T/S 1 500 is compatible<br />
with all of the peripherals and<br />
software available for the T/S<br />
1000
are a whole world apart. The<br />
story gets quite complicated<br />
here, so I'll try to explain it<br />
clearly. America will have two<br />
versions of the Spectrum. The<br />
1 6K version will sell for around<br />
£ 100 and is much like our 1 6K<br />
Spectrum, with the following<br />
extras: five new commands<br />
(ON ERROR GOTO, RESET,<br />
FREE — to tell how much<br />
memory is left, STICK — to<br />
work the joystick, and SOUND<br />
— to trigger a three-channel<br />
synthesiser), a hole in the side<br />
to take a joystick, an on/off<br />
switch, a slot (with flip-up<br />
cover) to take the plug-in cartridges,<br />
and a new paint job in<br />
shiny silver.<br />
The 48K version of this<br />
(called the T/S 2048) has all<br />
the above plus the ability to go<br />
into a second graphics mode<br />
which gives 64 characters<br />
across each line. This version<br />
sells for around £1 35.<br />
It seems as though there<br />
will be little chance of these<br />
machines being available on<br />
the UK market. A Timex<br />
spokesman who I won't name<br />
(so that Uncle Sir Clive won't<br />
belt him one next time they<br />
meet in the States) said that<br />
Sinclair in the UK have shown<br />
no interest whatsoever in bringing<br />
any developments of<br />
Sinclair products back into the<br />
UK. "We offered him our<br />
printer," that spokesman said,<br />
"and he just wasn't interested.<br />
I guess that's<br />
because he didn't build it<br />
himself. I predict the same<br />
thing may well happen with<br />
the plug-in cartridges and the<br />
extra commands."<br />
However, Timex themselves<br />
may not be as hot<br />
as they think. 1 managed to<br />
cause a couple of Timex<br />
executives a moment of<br />
embarassment by asking them<br />
to come with me to the T/S<br />
2000s on display, and told<br />
them to watch as I typed in the<br />
new commands. To their<br />
discomfort, the machines on<br />
display (or at least the ones I<br />
tested) were only dressed-up<br />
Spectrums fitted with<br />
modulators to drive American<br />
TV sets. None of the exciting<br />
new commands actually<br />
worked. Instead, the keys<br />
produced such things as the<br />
Spectrum's pretty (but<br />
useless) curly brackets.<br />
Sadly...<br />
Finally, a rather sad note.<br />
About 100 yards beyond the<br />
Timex razzle-dazzle of chrome<br />
and giant pictures of the new<br />
computers, was a smalt little<br />
booth marked 'Sinclair'. In it,<br />
three somewhat bewildered<br />
people sat. On display was a<br />
<strong>ZX</strong>81 (not a T/S 1000), a UK<br />
Spectrum (modified to drive a<br />
US television), a copy of The<br />
Hobbit and Scrabble. "We are<br />
here to demonstrate that<br />
Sinclair Research is a separate<br />
company" I was told. "We<br />
need to show that Sinclair<br />
have not been taken over by<br />
Timex. And we're maintaining<br />
a public stance so we'll be<br />
ready for the next product."<br />
"And what will that be?" I<br />
enquired politely.<br />
"The flat screen TV . , .we<br />
hope," I was told.<br />
Upstairs at the show, Casio<br />
were hammering nails into the<br />
coffin of that hope, with a<br />
crowd gathered around its 2'/*<br />
inch square TV which uses<br />
LCDs for a very clear screen.<br />
The highlights of the show<br />
for me were Casio's little TV,<br />
the Coleco Adam and the T/S<br />
2000 series of computers. It is<br />
strange that the three of them<br />
may well have more impact on<br />
Sinclair's fortunes in the<br />
coming year in the US than any<br />
other products.<br />
PT 1983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 19
Peter Shaw, author of 'Games for<br />
your Spectrum', will be<br />
endeavouring to answer a<br />
selection of your programming<br />
(and other) problems you<br />
encounter on your <strong>ZX</strong><br />
computer. Should you have any<br />
problems, why not send in your<br />
queries to the following<br />
address:<br />
Problem page,<br />
<strong>ZX</strong> Computing,<br />
145 Charing Cross Road,<br />
London WC2H OEE.<br />
Please try and include as much<br />
information about your particular<br />
problem, including screen dumps,<br />
listings, etc.<br />
It must be appreciated that<br />
Peter will not be able to answer all<br />
of your queiries, but will choose a<br />
selection that reflect general problems<br />
that should affect you all.<br />
Dear Peter,<br />
After some months of studying<br />
the market of microcomputers<br />
for one that my spare capital<br />
would allow, I am now the<br />
owner of Sinclair <strong>ZX</strong> Spectrum<br />
(48K). An excellent unit, as is<br />
some of the software produced<br />
for it, but I have encountered<br />
an irritating problem.<br />
Many of the 'games'<br />
programs that I have obtained<br />
do not use the same keys for<br />
similar functions, ie I would<br />
have thought it obvious to use<br />
the cursor controls for movement.<br />
But no, programmers<br />
have other ideas, and the<br />
selection of games tapes that I<br />
have purchased offer differing<br />
control keys.<br />
The problem of getting used<br />
to the new control keys is easily<br />
overcome, but the real problem<br />
occurs when I would like<br />
to use a joystick on the games.<br />
Of the joysticks I have looked<br />
at, none are compatible with<br />
the games I already have.<br />
Surely the answer is to have a<br />
standard — programmers<br />
write the programs to work on<br />
PT 1983<br />
SINCLAIR SOLUTIONS<br />
Peter Shaw answers your<br />
questions and offers advice on<br />
your programming techniques.<br />
the cursor keys, and joystick<br />
manufacturers make their<br />
joysticks act on cursor inputs.<br />
Malcolm Jay,<br />
Chingford.<br />
Malcolm,<br />
The problem behind using the<br />
cursor keys is because they are<br />
so close together. You must<br />
admit that there is not a lot of<br />
room between the cursor keys,<br />
especially if you are using the<br />
standard Sinclair keyboard. If<br />
you are looking for a joystick<br />
which works with the cursor<br />
keys, then look no further than<br />
the AGF joystick, (AGF Hardware,<br />
26 Van Gogh Place,<br />
Bognor Regis, West Sussex<br />
P022 9BY I. But, as you will<br />
find, most of the new 'popular'<br />
games will work with some of<br />
the more popular joysticks, ie<br />
the Kempston joystick. Fuller<br />
interface and Mikro-Gen<br />
joysticks. All three work on IN<br />
commands, so the keyboard<br />
doesn't come into it. Sinclair's<br />
joysticks, when they arrive,<br />
will work on the block of keys<br />
from 6 0, disregarding the cursor<br />
keys altogether. You will<br />
probably find most games written<br />
by the larger software<br />
houses will incorporate the<br />
Sinclair joystick for INKEY$,<br />
and one other joystick via the<br />
IN command (the Kempston is<br />
the most likely choice). So,<br />
Malcolm, / advise you to either<br />
invest in a Kempston joystick<br />
(Kempston Micro Electronics,<br />
Dept <strong>ZX</strong>CP, 180a Bedford<br />
Road, Kempston, Bedford<br />
MK42 8BL) or wait for<br />
Sinclair's own joystick. You<br />
might also like to investigate<br />
the new programmable<br />
joystick interfaces emerging<br />
onto the market; / believe AGF<br />
Hardware are releasing one<br />
such interface as you are<br />
reading this.<br />
Dear Peter,<br />
I am encountering an increasingly<br />
irritating problem with my<br />
<strong>ZX</strong>81. The connection of the<br />
9V DC lead from the Power<br />
Pack into the computer has<br />
become very loose. This is<br />
causing programs to crash and<br />
the computer can not be used<br />
with any confidence. Can you<br />
suggest a solution to this annoying<br />
problem?<br />
Edward Parsons,<br />
Stourbridge,<br />
West Midlands.<br />
Edward,<br />
The problem you are having is<br />
not uncommon, through persistant<br />
unplugging and setting<br />
up; the 'spring' which holds<br />
the jack plug in place has<br />
become loose. The problem is<br />
easily cured, however, but it<br />
will involve opening your case,<br />
and if you would rather not<br />
open it yourself then take it to<br />
your nearest electrical store<br />
who would be able to do the<br />
job in a couple of minutes.<br />
Firstly, unplug all leads from<br />
your '81. Unscrew all the<br />
screws you can see in the<br />
base, then lift up the foam<br />
pads. Carefully open the case<br />
and locate the 9V DC plug,<br />
then using your screwdriver or<br />
similar gently push down the<br />
metal bars which run across<br />
the top until they are firmly<br />
down. While you are in the<br />
case, do the same to the other<br />
plugs, ie EAR and MIC, so that<br />
they are tight as well. Carefully<br />
put the computer back<br />
together and tighten all the<br />
screws, and the jack plugs<br />
should not wobble any more.<br />
Dear Peter,<br />
The articles in <strong>ZX</strong> Computing,<br />
on the development of the<br />
Checkers type game contain a<br />
line which has me completely<br />
baffled:<br />
6070 LET Y=-9*(Y =<br />
- 11J + 9 * (Y= -9)<br />
+ 11 * (Y = 9) +<br />
(Y= 100)<br />
I have never met this form of<br />
notation before, could you<br />
please explain what is happening?<br />
Hugh Neilson,<br />
Kettering,<br />
Northants.<br />
Hugh,<br />
This problem is difficult to explain<br />
but easy to understand. If<br />
the expression, ie Y= — 11, is<br />
true then the bracket takes the<br />
value of one, ie if Y does equal<br />
-11 then the line will read:<br />
6070LET Y = -9*1+9<br />
*0 + 11 *0 +0<br />
You will gather that if the contents<br />
of the bracket is false<br />
then it takes the value zero.<br />
For example try:<br />
PRINT (2 = 2)<br />
You should get the result one,<br />
because two does equal two,<br />
but if you try:<br />
PRINT (3 = 4)<br />
Then you will get zero,<br />
because three does not equal<br />
four.<br />
/ hope you are a little more<br />
enlightened.<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 20
91<br />
onilse<br />
me,<br />
wo.<br />
iro,<br />
j ual<br />
tore<br />
983<br />
Spectrum<br />
16k-48K SINCLAIR<br />
£2 Z i ^ ^ ^ ^ ^ H<br />
« v n n -<br />
from 16k - 48k<br />
With our ME48 memory expansion add-ons<br />
your <strong>ZX</strong> Spectrum can Increase Its capacity<br />
by up to three times.<br />
ik No soldering * easy to fit * simply plug<br />
In • fully guaranteed • no loss of memory<br />
through wobble or white out.<br />
NB Before ordering your Spectrum add-on please check<br />
which Spectrum you have in your possession.<br />
At the back of the <strong>ZX</strong> Spectrum the metallic contact strips<br />
can be clearly viewed. In the series A the space separating<br />
the strips is the same width as the strips. In the series B<br />
the strips are twice as wide as the space between.<br />
SPECTRUM <strong>ZX</strong>81<br />
ME16-48 Series A £34.50 ME1-I6 £19.25<br />
Series B £22.00 ME 1-64 £44.25<br />
ME 16-80 Series B £46.00<br />
FITTING/TESTING SERVICE. While-you-wait, personal<br />
callers Monday-Friday 9.30-5.00, £3.00.<br />
By return registered post £7.00.<br />
<strong>ZX</strong>81 & SPECTRUM<br />
SSI SPEECH SYNTHESISER<br />
SIZE 3Vt"x SWx 1<br />
• Make amazing speech effects with your<br />
<strong>ZX</strong> Spectrum.<br />
• Specially designed for use with your<br />
Spectrum. Just plugs in, no dismantling or<br />
soldering.<br />
• No power pack, leads, batteries or other<br />
extras.<br />
• Ample volume for built in loudspeaker.<br />
Manual Volume Control on panel. Can be<br />
plugged In to Existing hl-fl system.<br />
• Uses no memory addresses.<br />
• free Dictionary of Sounds.<br />
SSI SPEECH SYNTHESISER £39.00<br />
[MEW LEVEL-VU PRISM<br />
Allows you to see your tape<br />
counter without moving from your seat!<br />
• attaches easily to recorder body or lid<br />
• fits most recorders including Radio Shack,<br />
Vlc-20, Atari<br />
• greatly magnifies counter<br />
numerals LVP £3.99<br />
• All Items are normally despatched within 24 hours<br />
COMPUTERSW<br />
7-9 Thane Works, Thane Villas. London N7 Tel: 01-609 7919<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983<br />
TAPE LOAD ANXIETY?<br />
Vu-Load takes the frustration<br />
out of loading your <strong>ZX</strong>8I or Spectrum<br />
programmes.<br />
• helps to ensure programme load every time<br />
• monitors tape output level<br />
•k gives positive save Indication<br />
• detects blank tape without disconnecting<br />
cassette wires _ __<br />
• ready to use - no wiring TL t iV.vv<br />
l M F W EXTERNAL MEMORY<br />
irvw-^ir FOR THE SPECTRUM!<br />
Upgrade your Spectrum to 48K with<br />
the new ME16-48E suitable for series A and B<br />
* Plugs Into the back of your Spectrum<br />
* Specially designed to avoid loss of memory<br />
through wobble or white out<br />
* Has a piggy back' connector so you can add<br />
other peripherals like the Spectrum<br />
printeretc ME 16-48E £39.95<br />
« » j C \ A / 1 M,CRO TAPE Mve 11 -f,rst t,me<br />
l | \ | t on American microtape<br />
» specially designed for uit with<br />
•^^^^rntcro computers<br />
* Low drop out occurence * uniform coating » High saturation level<br />
* So good, we can quarantee them for 12 months<br />
AUDIO DIGITAL AD.CI 2 - 55p AD.CI 5 - 60p AD.C20 - 6Sp<br />
• Free 23 line memory test<br />
programme with every add-on. I<br />
Port and<br />
..ill tmlv *°P P**<br />
Please tick the appropriate box to order your Computer Add-on<br />
Memory Expansion Spectrum ME16-48 Series A U Series B •<br />
ME 16-80 Series B • <strong>ZX</strong>8J ME1-)6 • ME1-64 •<br />
Speech Synthesiser SSI Spectrum • <strong>ZX</strong>8I • Tape Load TL C<br />
Level VU LVP QME16-48E • Audio Digital AD.C12 •<br />
AD.C1S • AD.C20 •<br />
*NB. Add 40p Post & Packaging to the price of all items.<br />
I enclose a cheque or postal order f or _ made<br />
payable/Crossed to Computer Add-ons, or I would like to<br />
pay by Access ^ ^ or Barclay Card and I enter my<br />
number and signature accordingly -Aiiow?8djyiror
SPECTRUM GAME<br />
Play your cards right<br />
Twist and shout<br />
This program simulates the<br />
game of pontoon, in which you<br />
get to pit your wits against the<br />
computer.<br />
When RUN, you will be dealt<br />
a card and asked to place a bet;<br />
bets can only be made up to a<br />
certain amount — within 10%<br />
of your credit. You will then be<br />
dealt another card and given the<br />
option to 'stick', "twist' or 'buy'.<br />
This is done by pressing the<br />
appropriate key on the<br />
keyboard, ie the's' key to stick,<br />
the 't' key to twist and the 'b'<br />
key to buy.<br />
2 ^<br />
Your deal. . . * w »<br />
h<br />
* i* ? ••• •<br />
4<br />
4 M ?<br />
If you've never played pontoon<br />
before, here is a brief resum6.<br />
You are dealt a single card, and<br />
on that you have to work out<br />
how good your hand might be<br />
and place a suitable bet accor-<br />
1983<br />
6<br />
dingly. You then receive your<br />
next card. The idea of the game<br />
is to make your cards up to a<br />
value of 21; Kings, Queens and<br />
Jacks are all worth 10 points<br />
each, and an Ace can be worth<br />
one or 11. With the two original<br />
cards you hold, you must decide<br />
either to 'stick' which means<br />
you pick up no more cards,<br />
'twist' which means you receive<br />
another card (you can receive up<br />
to three more cards!, or 'buy'<br />
which means you receive<br />
another card but you buy it from<br />
the dealer so that you effectively<br />
increase your bet.<br />
The winner of a hand of pontoon<br />
is the one who gets their<br />
cards to total 21 or the nearest<br />
to 21. If you get five cards to<br />
total 21 or under, then this is<br />
known as a 'five card trick' and<br />
this hand beats all. Should the<br />
computer and your hand equal<br />
the same, it will depend on who<br />
is dealing as to who will win — in<br />
the game of pontoon, this is<br />
known as Banker's privilege.<br />
When you have settled on your<br />
final hand and pressed the 's'<br />
key to stick, then the computer<br />
deals its own hand, decides<br />
whether to stick or not and finally<br />
checks its hand against your<br />
own. The computer then either<br />
takes your bet if it has won or<br />
returns your original bet plus<br />
your winnings if you managed to<br />
have the winning hand.<br />
One nice touch in the program<br />
is that the computer<br />
doesn't just keep dealing itself<br />
cards until it beats your own<br />
hand or 'goes bust' (which is<br />
pontoon-talk for holding cards<br />
which total more than 21) but<br />
actually makes a decision<br />
whether or not to draw another<br />
card. This decision is based on<br />
the value of the cards you have<br />
stuck on and the amount of cash<br />
you have placed as your bet. Only<br />
when the computer has stuck<br />
are the cards displayed and the<br />
winner announced.<br />
variations on a<br />
theme<br />
Although there are copius REM<br />
statements throughout the program<br />
to help you follow its intricacies,<br />
here is a list of the<br />
variables used.<br />
AMT — Amount of credit.<br />
ITME — The Spectrum or player<br />
dealing.<br />
ACEI — An ace has been dealt.<br />
ME — Value of the player's final<br />
hand.<br />
V — Current value of the cards.<br />
T — Number of cards dealt.<br />
ODDS - Calculation for the<br />
Spectrum to decide whether to<br />
stick or not.<br />
Bet — Amount bet on the initial<br />
card.<br />
Buy — Total amount for bought<br />
cards.<br />
Stake — The stake for each<br />
game.<br />
S$ — The suit of each card.<br />
R$ — The Jack, Queen or King,<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 22
SPECTRUM GAME<br />
Play pontoon on your<br />
Spectrum with this<br />
game written for us<br />
by C Taft of Coventry.<br />
2« POKE 23609,38; GO TO 1350<br />
,30 LET arot=500<br />
4 0 LET Stake=10: DIM Z$(l,3):<br />
DIM S$t4): DIM C (52) : DIM h(5,2><br />
DIM t (4-) : LET S$(l) LET S<br />
$ (2) ="D" : LET S$(3)="S": LET<br />
4* = "C"<br />
50 LET it«e=100. LET 3Cel=0: L<br />
ET w=0; LET K=l: LET 3=1: LET C =<br />
0: LET m e = 0: LET v=0: LET buy=0:<br />
LET be t =0 : LET a» t =an> t-s t a ke : L<br />
ET n =0<br />
60 FOR s=l TO 4-<br />
70 FOR r =2 TO 14<br />
80 LET n=n+l: LET cin)=10*r+s<br />
90 NEXT r: NEXT S<br />
100 FOR n =1 TO 52<br />
110 BEEP .003, -n +52: LET wi=INT<br />
fRND *52 > +1: LET t=c(m>: LET C(m><br />
= c(n > : LET c in ) =t<br />
120 BEEP .003,n: NEXT n<br />
130 LET n =0<br />
14-iB PAPER 4-; BORDER 2; CL5<br />
ISO FOR n=0 TO 8 STEP 4-: PAPER<br />
7: INK 2 PRINT AT 0,0+n;"M"; IN<br />
K 0; "C"; INK 2; "D"; INK 0; "5", :<br />
NEXT n<br />
160 PAPER 1: INK 7: PRINT "PONT<br />
~170'FOR n=19 TO 27 5TEP 4: PAPE<br />
R 7: INK 2; PRINT AT 0,n;"H"; IN<br />
K 0; "C"; INK 2; "D"; INK 0; "5"; :<br />
NEXT n: PRINT INK 2; "H"<br />
180 PAPER 7: INK 1: PRINT AT 2,<br />
11;"Your hand";AT 15,2;"Your tot<br />
at ";v,AT 15,19; "Credit £"; a m t<br />
190 GO SUB 580<br />
200 IF ace 1=0 AND t>=2 THEN GO<br />
TO 310<br />
210 GO TO 510: GO TO 4-70<br />
220 REM S T B<br />
230 PAPER 4: PRINT AT 18,©;"<br />
"; PAPER 7; INK 2;AT 18,7;"E<br />
NTER "; INK I;"Your choice"; PAP<br />
ER 4.; "<br />
PAPER 7; "s -<br />
STICK,t - Twist.b -Buy."<br />
24-0 IF t =5 THEN LET roe =21: GO T<br />
O 1550<br />
250 INPUT a $<br />
260 IF a $ < > "S ** AND a S < > " t " AND<br />
a $ < >"b" THEN GO TO 25©<br />
2 "70 IF a$ = "S" THEN PAUSE 50: GO<br />
TO 4- "70<br />
280 IF a$ = "b" THEN GO TO 34-0<br />
290 REM T<br />
300 LET t = t +1: GO SUB 600<br />
310 REM I BUST<br />
320 IF V >21 THEN GO TO 4-10<br />
330 GO TO 220<br />
340 REM I BUY<br />
350 PAPER 7: INK 2: PRINT AT 18<br />
,2;"ENTER"; INK 1;" fiaount lUhoL<br />
e £' s) . "<br />
360 PAPER 7: INK 2. PRINT AT 20<br />
,2;"UPTO "; INK 2;" £";INT (((am<br />
t-bet-buy) t.l) +.5) ; PAPER 4.;"<br />
•a<br />
370 INPUT buyl<br />
380 IF buy 1 > INT C (a® t-be t-buy ) *<br />
• 1) +.5 THEN GO TO 370<br />
390 LET buy=bu«fbuyl<br />
4-00 PAUSE 50: GO TO 290<br />
410 REM I BUST<br />
420 PAUSE 20: FOR Z =1 TO 4-0: BE<br />
EP .05/(2/7) ,-z/7: FLASH 1: PRIN<br />
T AT 13,6, PAPER 7; INK 2;"Sorfw<br />
you have bust": NEXT z: FLASM 0<br />
4-30 PAPER 4-: PRINT AT 13,6;"<br />
«t<br />
440 LET a»t=INT (ant t - ( buy+be t) +<br />
. 5)<br />
450 PAPER 7: INK 1: PRINT AT 15<br />
,27;amt; PAPER 4;" "<br />
460 GO TO 50<br />
470 REM S<br />
480 IF v >=15 THEN LET rae=v: GO<br />
TO 860<br />
490 BEEP .5,-5: PAPER 3: INK 7:<br />
PRINT AT 13,0;"You cannot Stic*<br />
on Less than 15": PAUSE 75<br />
500 PAPER 4: PRINT AT 13,0;<br />
GO TO 220<br />
510 REM Bet<br />
520 PAPER 7: INK 2: PRINT AT 16<br />
/ 2; ENTER"; INK 1," Your bet (U»tote<br />
£ ' s) . ";AT 20,2; INK 2; "UPTO<br />
"; INK 1; £" ; INT (a»t ».!)+.Si<br />
530 PAPER 4: PRINT "<br />
ta<br />
54-0 INPUT bet<br />
550 IF be t >INT
GO TO 1720<br />
570 LET tst+1: GO SUB 600: GO T<br />
O 220<br />
560 REH PICK CRRD<br />
590 LET t =1<br />
600 LET d=l; LET n =r> +1 : LET h(t<br />
,d) ac(n)*10ft: LET teapssc (ni : GO<br />
SUB 760<br />
S10 PfiUSE 70<br />
620 GO SUB 1780<br />
S30 IP r $ (1) =" J" OR r*(l)="q" O<br />
P rt (2Jr THEN BEEF* . 1 , r; GO T<br />
0 650<br />
64-0 BEEP . 1 ,r: GO SUB 1270+(r*P<br />
0)<br />
650 IF r*Cl)«"J" THEN GO SUB 14<br />
90<br />
660 IF r $ (1) = " q" THEN GO SUB 15<br />
1 0<br />
570 IF r$(l)="k" THEN GO SUB 15<br />
30<br />
660 IF itroe=100 THEN INK 1: PPI<br />
NT AT 15/13;V<br />
690 IF itroe100 THEN PAPER 7:<br />
INK 1: PRINT AT 15,2;"My total *<br />
i v ; AT 15, 19; "pay **; AT 19,2;"A«oU<br />
nt bet £"; be t + bu y;AT 19,19; "Crcd<br />
X I £ : 9 " d 01 ^<br />
700 IF itme100 AND v > r 2 1 OR i<br />
• me 100 AND t = 5 THEN GO TO 74-0<br />
710 IF it me 100 AND v-20 THEN<br />
PRINT v +1; AT 17, 14-; "Five card tr<br />
icHs"<br />
720 IF i t m e < >100 THEN PRINT AT<br />
1S,23;v +1<br />
730 IF i t ® e < >100 THEN GO TO 75C<br />
74-0 IF i tine 100 THEN PAPER 4. :<br />
PRINT AT 15,19;"<br />
750 RETURN<br />
760 LET r = INT (tentp/10) : LET S -<br />
tsmp-fil0: LET r=r+l: LET f$=5TR<br />
* r<br />
770 IF r-15 THEN LET r$="RCE"<br />
780 IF r = 15 AND acel=0 THEN GO<br />
TO 1660<br />
790 IF r =15 AND ace 1 = 1 THEN GO<br />
SUB 600<br />
600 IF r =14- THEN LET r$(l)="k"<br />
510 IF r m13 THEN LET r$(l)="q"<br />
320 IF r=12 THEN LET r$tl)="J"<br />
630 IF r > =12 AND r -n e OR v=ne+l THEN GO<br />
TO 1030<br />
PT 1983<br />
1020 IF v < ib e +1 THEN GO TO 1100<br />
1030 REH I lose<br />
404-0 LET a m t = I NT Offi t - (be t+ buy ) +<br />
.5)<br />
1050 PAPER 3: INK 7: PRINT AT 19<br />
,2;"You've Lost £";bet+buy<br />
1060 PAPER 7: INK X: PRINT AT 19<br />
t27;am t; PAPER 4;"<br />
1070 FOR X =20 TO -10 STEP -.7: B<br />
EEP .01 X' NEXT x<br />
1060"IF'amt"n" THEN<br />
GO TO 1230<br />
1270 REH Print cards<br />
1260 REH 1<br />
12A0 GO SUB 1760<br />
13O0 PAPER 7: PRINT AT k+3,a;"A<br />
"; AT k+4-,a;" ";AT k+S,a,'<br />
" ; AT k " ; CHR$ z; "<br />
,AT k+7,a;" ";AT k+6,a;" _<br />
" ; AT k +9 , a; " " : LET a =a +t><br />
RETURN<br />
1310 REH 2<br />
1320 PAPER 7: PRINT AT k+3,a;"2<br />
"; AT k +4-, a ; " ";CHR* z;" " ; A<br />
T k+5,a;" ";AT k +6,a; "<br />
;AT k+7,a;" ";AT k+6,a;" ";<br />
CMR$ z;" ";AT k+9,a;" LE<br />
T a=a+6: RETURN<br />
1330 REH 3<br />
134-0 PAPER 7: PRINT AT k+3,a;"3<br />
"; AT k+4-,a;" ";CHR$ z;" ";A<br />
T k +5 , a; " "; AT k+6,a;" ";CH<br />
R$ z;" "; AT k +7,a; "; AT k ^<br />
e,a;" ";CHR$ z;" ";AT k+9,a;"<br />
": LET a =a +6: RETURN<br />
1350 REH 4<br />
1360 PAPER 7: PRINT AT k+3,a;"4-<br />
" ; AT k +4-, a ; " ",CHR$ z;" ";CHR<br />
5 z;" " ; AT k -»-5 , a ; " " ; AT K+6 ,<br />
a;" ";AT k +7,a;" ";AT k +<br />
3, a; " ";CHR$ z;" ";CHR$ z;" " ; AT<br />
k+9,a;" ": LET a = a >6: RETUR<br />
N<br />
1370 REH 5<br />
1330 PAPER 7: PRINT AT k+3,a;"5<br />
"i AT k +4-, a ; " " ; CHR$ z;" " ; CHF<br />
£ z;" "; AT k+5,a;** "> AT k +6 ,<br />
a;" ";CHR$ z;" ";AT K+7,a;"<br />
";AT k +6,a; " ";CHR$ z;" ";CHRs<br />
x;" ";AT k+9,a;" ": LET a=a<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 24
1983<br />
+6; RETURN<br />
1390 REM 6<br />
14.0O PRPER 7: PRINT RT k+3,a;"6<br />
"; RT k+4,a;" ";CHRt z ; " "; CHf*<br />
$ r;" "; RT I;+5, a;" " ; RT k +6 ><br />
a;" ";CHR$ z; " ";CHR$ z; " ";RT X<br />
+ 7 , a ; " " ; RT k+8,a;" ";CHR$ z<br />
i" ";CHR* z; " ";RT k+9,a;"<br />
: LET a = a +6: RETURN<br />
141© REM 7<br />
14-20 PRPER 7: PRINT RT k+3,a;"7<br />
"; RT K + 4- , 3 j "; CHR$ z;" ";C-HF<br />
s z;" ";RT k+5,a;" ";CHR$ z;"<br />
;RT k+6,a;" ";CHR$ z;" ";CHR$ z<br />
;" "; RT k +7 , a; " " ; RT k +3 , a ; '<br />
" i CHR $ z;" " ; CMR$ z;" " ; RT U9,<br />
a;" LET a =3 +6: RETURN<br />
14-30 REM 5<br />
14-4-0 PRPER 7: PRINT RT k+3,a;"8<br />
"; RT k +4,a; " ";CHR$ z;" ";CHF<br />
5 z ; " ";RT k +5/a; " ";CHR$ z;"<br />
SPECTRUM GAME<br />
m 9 m Ay 3 —<br />
• *<br />
: GO TO 1650 # A<br />
1640 LET r =1 y<br />
1650 LET v=v+r<br />
• •<br />
v<br />
1660 GO SUB 1780<br />
1670 BEEP .1,r: GO SUB 1290 GO<br />
SUB 630: GO TO 930<br />
1630 REM <strong>ZX</strong>/ME?<br />
1690 REM ME RCE 1/11<br />
1700 IF i tme=0 THEN GO TO 1530<br />
1710 IF r$(l)="R" RND t=l THEN L<br />
ET r=0: GO SUB 1290: LET 3C€l=l:<br />
GO TO 510<br />
1720 PRPER 7: INK 2; PRINT RT 16<br />
"flee dealt do you want 1 or l<br />
17"; PRPER 4;"<br />
1730 INPUT r<br />
1740 IF acel=1 THEN LET v=v+r: C<br />
O SUB 680<br />
"; RT K +6, a; " ";CHR$ z; " ";CHR$ z<br />
j •;RT k +7,a; ";CHR$ z;" ";R 1750 IF ace 1 = 1 THEN LET ace 1=0<br />
T k+8, a; " ";CHR$ z;" CHR$ z;"<br />
• • .<br />
LET a=a+6:<br />
. 1 , r : C-<br />
GO TO 220<br />
;RT k +9,a; "<br />
1760 IF ace1=0 THEN BEEP<br />
ETURN<br />
O SUB 1290<br />
14-50 REM 9<br />
1770 LET V=V+r: GO SUB 680: GO T<br />
3 460 PRPER 7 PRINT RT k +3, a ; "9 O 200<br />
";RT K+4,a;" ";CHR$ z; ";CHR 1780 REM SUIT COLOUR<br />
» z ;" ";RT k+5 , a; " CHR$ z; , 1790 IF S$(S) •H" THEN LET Z =151<br />
CHR* z;" "; RT k+6,a;" ";CHR$_z ; INK 2<br />
RT k +7, a ; " ";CHR* Z, " ";CHR 1800 IF s*(S)="C" THEN LET Z =146<br />
.
1K <strong>ZX</strong>81 GAMES<br />
The IK corral<br />
what can you do with an unexpanded <strong>ZX</strong>81? The<br />
possiblities are endless as you'll soon find out...<br />
In this new regular feature,<br />
we'll be including a galaxy of<br />
games and useful routines for<br />
you to type into your 1K<br />
<strong>ZX</strong>81.<br />
Although sometimes<br />
frustrating to work within such<br />
a limited amount of memory,<br />
you may find it a worthwhile<br />
exercise to study pro-<br />
1983<br />
grammers have managed to<br />
use the memory space —<br />
something you may land<br />
should) find useful even when<br />
working within 1 6K or 48K.<br />
If you would like to contribute<br />
material to this feature,<br />
please try to explain the<br />
techniques you have employed<br />
to get your program into 1K.<br />
But enough of the introduction,<br />
get typing and have fun.<br />
Star swerver<br />
Paul Smith<br />
When you first play this game<br />
you must input your highest<br />
score. The computer then<br />
draws a star galaxy through<br />
which your ship {'< ') must<br />
avoid.<br />
As the game progresses<br />
and several crossings have<br />
been made across the screen,<br />
you will find the number of<br />
stars increases. In fact, the<br />
games gets very hard when<br />
the score goes over 400 — but<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 26
if you manage to get that far,<br />
you'll no doubt be good<br />
enough to cope.<br />
At the end of the game,<br />
your score and the highest<br />
score are shown; there is also<br />
an option inviting you to have<br />
another game.<br />
As a brief note on the<br />
graphics, the following are on<br />
these lines:<br />
Lucky dice<br />
Colin James<br />
This program 'throws' five<br />
numbered dice on the screen<br />
and then allows you to rethrow<br />
from none to all of them<br />
again twice. In this way you<br />
could quite successfully play a<br />
game of Poker Dice with a<br />
friend on your <strong>ZX</strong>81.<br />
After RUNning the program,<br />
five dice are displayed on the<br />
screen and you have to choose<br />
which dice you require to<br />
change, if any. You enter the<br />
numbers of the dice you want<br />
to change as a string and then<br />
press Newline. For instance, if<br />
the display is as in Fig. 1 and<br />
you wish to change the '2', 'V<br />
and '4' (the second, fourth and<br />
fifth dice) you would press the<br />
'2', '4' and '5' keys followed<br />
by Newline.<br />
When your turn is over, a<br />
reminder message is displayed<br />
and pressing any key will rethrow<br />
all five dice for another<br />
turn. If you decide after your<br />
first or second throw that you<br />
wish to stick on your dice<br />
score, pressing Newline will<br />
finish your turn.<br />
I put the subroutine at line 3<br />
to allow GOSUB PI to be used<br />
as a memory saver. When I<br />
first started the program, I had<br />
line 10 as four quite long<br />
IF. . .THEN statements which<br />
caused the program to run out<br />
of memory. Using the<br />
subroutine at line 3 I managed<br />
to save enough memory to<br />
allow it to fit relatively easily<br />
into 1 K.<br />
Line 35 includes a Graphic<br />
shifted 2.<br />
Line 90 includes a Graphic<br />
shifted 1.<br />
Line 100 includes a Graphic<br />
shifted 1.<br />
Line 200 includes a Graphic<br />
shifted 1.<br />
Line 360 includes a Graphic<br />
shifted 2.<br />
1K <strong>ZX</strong>81 GAMES<br />
1<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
20<br />
30<br />
40<br />
50<br />
60<br />
70<br />
80<br />
90<br />
100<br />
1 10<br />
120<br />
130<br />
140<br />
150<br />
160<br />
170<br />
180<br />
190<br />
1 INPUT H<br />
2 LET S = CODE " *<br />
G CLS<br />
35 FOR A = CODE " " TO CODE " 1 * + (CODE " • "<br />
* (S/CODE "1"))<br />
40 PRINT AT RND * CODE RND * CODE<br />
» J* ^ *<br />
50 NEXT A<br />
70 LET P= INTiRND * CODE":")<br />
80 FOR A = CODE " 1 " TO CODE " " STEP - CODE<br />
n w ,<br />
90 PRINT AT P,A; " AT P,A - CODE ' • ";<br />
92 IF PEEK (PEEK 16398 + 256 * PEEK<br />
1 6399) = CODE " * " THEN GOTO CODE * COS"<br />
94 PRINT AT PA;""<br />
95 LET P = P + (INKEY $ = " 6" AND P CODE ":") -<br />
(INKEY$ = " 7")<br />
100 LET S = S + CODE " •<br />
120 NEXT A<br />
160 GOTO CODE "0 0"<br />
200 PRINT AT P,A - CODE "•";"> X < "<br />
300 IF H< S THEN LET H = S<br />
350 PRINT AT CODE " *; CODE " "; " SCORE = " :S,,<br />
"HIGHEST = ";H„" AGAIN? (Y/N)"<br />
360 GOTO (VAL "360" AND INKEY$ = " ") + (CODE<br />
" •" AND INKEY$ = " Y")<br />
GOTO EXP PI<br />
LET T = N * 5<br />
PRINT AT 7,T - l;N<br />
PRINT AT 9,T-PI; "<br />
FOR S = l TO PI<br />
PRINT AT 9 + S, T - Pt; "<br />
NEXT S<br />
LET S = INT(RND * 6 + 1)<br />
PRINT AT 11.T-I; " "ANDS-2<br />
* INT (S/2);AT 10,T; " " AND S>l AT 12, T-2; "<br />
" AND S>I; AT 10, T-2;" " AND S>PI; AT 12, T;<br />
" " AND S>PI; AT 11, T-2; " "ANDS = 6<br />
RETURN<br />
RAND<br />
LET I = SGN PI<br />
FOR N = l TO 5<br />
GOSUB PI<br />
NEXT N<br />
FOR F «= SIN PI TO I<br />
INPUT R$<br />
(F R$ = " ' THEN GOTO 160<br />
FOR V = I TO LEN R$<br />
LET N = VAL R$(V)<br />
GOSUB PI<br />
NEXT V<br />
NEXT F<br />
PRINT AT 1 5, PI; " END OF YOUR GO"<br />
PAUSE 4E4<br />
CLS<br />
RUN<br />
or I<br />
1983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 27
Catch a star<br />
jan van den<br />
Broeck<br />
I have been experimenting<br />
with INKEY$ and worked out a<br />
small program for the 1K<br />
<strong>ZX</strong>81. It even has a cheat<br />
routine.<br />
You have to try and catch a<br />
falling star (' * ') in a black box<br />
('• '). To move the box, you<br />
must use the '5' and '8' keys<br />
to move left and right respectively.<br />
After ten turns, the<br />
score is displayed on the<br />
screen.<br />
When you have RUN the<br />
program, it'll wait for you to<br />
press any key. However, if you<br />
press the 'L' key the program<br />
switches over to auto-pilot so<br />
you can see what the game is<br />
all about.<br />
Shuffler<br />
Derek Sorensen<br />
This program simulates the<br />
shuffling of a standard pack of<br />
cards and then deals the pack<br />
out one after another.<br />
Line 10 sets up the string<br />
variable A$ for use as a data<br />
file, in this case representing a<br />
pack of 52 cards. Lines 20 to<br />
60 'shuffle' the pack,<br />
repeating the process 'N'<br />
times, using a FOR . . . NEXT N<br />
loop. We now have the pack of<br />
cards in its shuffled form.<br />
Lines 70 to 90 then print<br />
out the shuffled pack, this time<br />
using a FOR. , . NEXT M loop.<br />
1K <strong>ZX</strong>81 GAMES<br />
1 RAND 0<br />
3 IF INKEY$ = " " THEN GOTO 3<br />
5 LET A$ = INKEY$<br />
10 LET A = VAL "10"<br />
20 LET SCORE = PI-PI<br />
30 FOR L = 1 TO A<br />
40 LET X = INT (RND * 1 2)+1<br />
50 FOR Y = 0 to 21<br />
60 PRINT AT Y,X; " * "<br />
70 IF A$ = "L" THEN GOSUB 200<br />
75 LET A = A + (INKEY$ = " 8") - (INKEY$ - "5")<br />
80 PRINT AT 21, A; " • "<br />
90 IF X = A + 1 AND Y = 21 THEN LET SCORE =<br />
SCORE +1<br />
100 PRINT AT Y,X; " "<br />
110 NEXT Y<br />
120 NEXT L<br />
150 PRINT AT 10,10; "SCORE"; SCORE<br />
160 STOP<br />
200 IF (A + 1XX THEN LET A = A+1<br />
220 IF (A+1)>X THEN LET A = A-1<br />
230 RETURN<br />
10<br />
20<br />
30<br />
35<br />
40<br />
50<br />
60<br />
70<br />
80<br />
90<br />
Electronic fence 1<br />
Robert Saundby<br />
2<br />
LET A$ = "AH2H3H4H5H6H7H8H9HTHJHQHKH<br />
AC2C3C4C5C6C7C8C9CTCJCQCKCAD2D3D4D<br />
5D6D7D8D9DTDJDQDKDAS2S3S4S5S6S7S8S9S<br />
TSJSQSKS"<br />
FOR N= 1 TO 100<br />
LET X = INT(RND * 52) * 2 + 1<br />
LET Y = INT(RND* 52) * 2 + 1<br />
IF X> =Y THEN NEXT N<br />
LET A$ = A$(Y TO) + A$(X TO Y - 1) + A$(T0 X - 1)<br />
NEXT N<br />
FOR M = 1 TO 103 STEP 2<br />
PRINT A$(M TO M + 1); "<br />
NEXT M<br />
3<br />
LET X = VAL "9"<br />
LET Y = VAL "12"<br />
LET A = (RND * 9) + 5<br />
This program is a game in<br />
4 LET B = (RND * 8) + 4<br />
which you have to move a ' +'<br />
sign round the screen using the<br />
cursor keys to draw an elec-<br />
5<br />
6<br />
PRINT AT X,Y; "(inverse plus sign)" : AT A,B;<br />
" {graphic A)" ; AT X,Y; " + "<br />
LET X = X + (INKEY$ = "6")-(INKEY$ = "7")<br />
tronic fence around the inverse<br />
speech marks which are the<br />
'bugs' you have to catch.<br />
7<br />
8<br />
9<br />
LETY - Y + (INKEY$ = "8")-(INKEY$ = "5")<br />
PRINT AT X,Y;<br />
IF PEEK (PEEK 1 6398 + 256 * PEEK 1 6399) =<br />
These bugs appear whenever CODE " (inverse speech mark)" THEN GOTO 45<br />
the moving Queen bug lays an 10 PRINT AT A,B; " (inverse speech mark)"<br />
egg which, of course, immediately<br />
hatches into a baby<br />
15<br />
20<br />
LET A = A + (RND * 3)- 1.5<br />
LET B = B + {RND * 3)- 1.5<br />
bug.<br />
If the plus sign goes into a<br />
bug then you are bitten to<br />
death, but if the Queen bug<br />
(represented by a Graphic A)<br />
walks into the fence then she<br />
dies and you have won the<br />
game.<br />
After the game, pressing<br />
any key clears the screen and<br />
the game starts again. Watch<br />
out for the Queen bug as she<br />
will move about the screen at<br />
random and occasionally<br />
jumps to another part of the<br />
screen.<br />
25<br />
30<br />
35<br />
40<br />
45<br />
50<br />
55<br />
60<br />
65<br />
70<br />
75<br />
80<br />
85<br />
90<br />
IF RND > .9 THEN GOTO 3<br />
PRINT AT A,B;<br />
IF PEEK (PEEK 16398 + 256 * PEEK 16399) =<br />
CODE " +" THEN GOTO 55<br />
GOTO 5<br />
PRINT AT 4,2; " YOU ARE BITTEN BY A " " BUG" '<br />
GOTO 75<br />
FOR N= 128 TO 182<br />
PRINT A,B; CHR$ N<br />
NEXT N<br />
PRINT "THE QUEEN BUG IS ELECTROCUTED."<br />
PAUSE 4E4<br />
CLEAR<br />
CLS<br />
RUN<br />
1983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 28
Manoeuvres<br />
David Clover<br />
This is a 1K version of the old<br />
schooldays game 'Battleships'.<br />
Player one inputs a string<br />
(unseen by player two) for a<br />
pre-agreed number of ships<br />
and/or submarines. For example,<br />
if the agreed forces are<br />
two submarines (S), two<br />
cruisers (C) occupying two<br />
squares each and one battleship<br />
(B) occupying three<br />
squares, then player one in-<br />
soccboss<br />
Graham Mitchell<br />
Soccboss is a simulation of<br />
managing a football club for<br />
puts 'S1AS9HC4BC5BC-<br />
7CC7DB2EB2FB2G' to place<br />
two submarines, one at 1A<br />
and one at 9H; two cruisers,<br />
one at 4B-5B and one at<br />
7C-7D; and one battleship at<br />
2E-2G.<br />
The second player tries to<br />
locate the position of the ships<br />
by inputting something like<br />
' 1B'. If the shot misses a ' +' is<br />
shown at the relevant position.<br />
If the player scores a hit the<br />
letter 'S\ 'C' or 'B' (or any<br />
other letters agreed by the<br />
players) is shown. Grid<br />
references must be shown<br />
number first, letter second.<br />
The program is entered first<br />
followed by the variables as<br />
direct commands without line<br />
numbers. Begin by GOTO 1 5.<br />
Do not use RUN.<br />
Variables<br />
LET A<br />
LET B<br />
LET C<br />
LET D<br />
LET E<br />
LET F<br />
LET G<br />
LET H<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
9<br />
LET I = 10<br />
LET J = 20<br />
LET K = J + G<br />
LET L = H + K<br />
the 1K <strong>ZX</strong>81. It features<br />
transfer markets, team<br />
strengths, money problems<br />
and as in real life, the ever present<br />
threat of being given the<br />
i) Enter the following as direct commands:<br />
LET A = 1, LET B = 2, LET C = 3, LET D = 4, LET E = 5,<br />
LET F= 10, LET G = 0,<br />
DIM A$(5,6), LET A$(1>= " WOLVES \<br />
LET A$(2) = " Q-P.R. LET A$(3) = " VILLA<br />
LET A$(4) = " LEEDS " , LET A$(5) = " SPURS " .<br />
ii) The listing:<br />
(Note all items underlined are<br />
inverse characters.)<br />
3 LET T = E + F + INT(RND * C * F)<br />
6 LET M = F * F + INT(RND *C * F)<br />
10 LET P = G<br />
13 FOR I = A TO F<br />
16 PRINT " UNITED TS<br />
T;* £ " ;M;" PL";! - A;" PTS " ,P." BUY/SELL?"<br />
20 INPUT ZS<br />
23 IF Z$ = "B" OR Z$ = "S" THEN GOTO F*F<br />
30 PRINT "UNITED V ";A$(I/B)<br />
33 LET Q = INT(T/F - C + RND * D)<br />
36 IF Q
I<br />
I<br />
Printman<br />
Justin Perry<br />
The outline of this arcade-type<br />
game is that you are the person<br />
in charge of the letter<br />
store. When the printing press<br />
wants some letters, they send<br />
a requisition down to you. Letters<br />
always come to you in<br />
batches of six. Unfortunately,<br />
you only see the letters for two<br />
seconds, so you have to<br />
remember them. Your choice<br />
of letters are shown at the very<br />
top of the screen and you are<br />
the letter '0' flashing under<br />
them. The wanted letters appear<br />
at the bottom under the<br />
black line and stay there for<br />
two seconds after which they<br />
disappear. You must<br />
remember which letters were<br />
there and in what sequence<br />
they were in.<br />
Then, controlling your<br />
movement left and right with<br />
keys '5' and '8' respectively,<br />
you must manoeuvre yourself<br />
under the appropriate letter,<br />
pressing the 'Y' key to get<br />
your answer registered. You<br />
are allowed to have only five<br />
30<br />
1K <strong>ZX</strong>81 GAMES<br />
wrong inputs after which you<br />
are sacked. All letter inputs<br />
must be in the sequence<br />
shown for the two seconds at<br />
the bottom or it will be rejected<br />
and you will lose one of your<br />
chances. An incorrect letter input<br />
leads to a 'w' being<br />
displayed at the bottom. Also<br />
displayed are your current<br />
score and the high score of the<br />
game so far. The scores for a<br />
correct letter are graduated<br />
from lowest to highest, from<br />
left to right at the top.<br />
The difficulty can be varied<br />
in two ways. The first is by<br />
altering the amount of times<br />
you can get your input wrong<br />
before stopping the game. This<br />
is done by changing the value<br />
Tl (a variable). To make this<br />
program harder, change the<br />
value in line 1020 to a smaller<br />
figure so that you are allowed<br />
less wrong goes. To make it<br />
easier do vice versa.<br />
The other way is to make<br />
the time longer that you see<br />
your letters. To do this, change<br />
the second value to either a<br />
larger value for an easier game<br />
or a smaller value for a harder<br />
game. At this level, my highest<br />
score is 40,850.<br />
1 REM "PRINTMAN"<br />
2 LET S = 0<br />
3 LET HS = 0<br />
4 LET Tl = 0<br />
10 FORF = 0T0 25<br />
20 PRINT AT 0, F;CHR$ (38 -I- F); AT 1 5, F;CHR$ 3<br />
30 NEXT F<br />
35 DIM A$ (6)<br />
40 FOR F = 1 TO 6<br />
50 LET A$
1983<br />
JULM^ilLiL<br />
* t Addictive Games<br />
for SPECTRUM 48K<br />
AND <strong>ZX</strong>81 16K<br />
SI IN YOIJll If Mill<br />
stui:i< i simps<br />
ACTION<br />
FROM<br />
THE A<br />
Z VERSION<br />
This superb game is now available from branches of<br />
W.H. SMITH * and BOOTS.<br />
Manage your own learn in this exciting game of skill which<br />
vividly captures the drama and excitement of real football.<br />
FEATURES INCLUDE<br />
* 4 DIVISIONS • F A CUP • PROMOTION & RELEGATION *<br />
* TRANSFER MARKET * TEAM SELECTION •<br />
* SAVE GAME FACILITY AND MUCH MORE! ** *<br />
+<br />
WHAT THE PAtSS SAY ABOUT |T._<br />
If YOU *W*H|I mantad to managa a footbaM tmam, FOOTBALL<br />
MANAGER, from Addpctiva Gamat. it for you — T ha gama ,nmr<br />
SINCLAIR USER FEBRUARY IN]<br />
4fl»wt*/ >iiwirMl/MlMI tad ! raatfy ar^oyodplaying (An (Wil<br />
— wl*rt o/cotew dafinad graphict Tha gama<br />
a rary logically put togothor, to that tha daralopmant of ttratagy and<br />
uccrci hat a rmaJ affact. for amampla. ona of my Mwni got through to<br />
tha fourth round of tha f .A Cup thara it wat baatan by a tacond<br />
dmition ttdo that uptat moral* and moant that our promotion bid<br />
fadad fat hap t I thould ha va giran up (A* f A Cup run and hatd toma<br />
good playart bach — tha ptudJMl art andfatt Unan C lough had<br />
battar aratch outI<br />
• irtCTtuw vintOM OMLY. <strong>ZX</strong> Computing Augusi September 1983<br />
«iW4f4f|i|[f MOM tut 'OllOW^<br />
• uMll M«*0 tnor<br />
A«iaOGCOM»UT|it N«>t*y<br />
MClltttliVlCII 'Wr*H<br />
tH| COW»VlflHO' «M. HM<br />
MUSIC<br />
MAKER FOR<br />
io« tni tFicrauM u«ft H fmi im f* n<br />
)O0ltMi(t 0*1 » s |H'V<br />
t r ^ M & J .ikii ®<br />
V i V-^<br />
• I'M'<br />
•" A<br />
BLACK CRYSTAL<br />
THE QUEST IS ABOUT TO BEGIN<br />
The utomate rote-playing adventure foi ihe SPECTRUM. <strong>ZX</strong>81<br />
You can become a warr or. atf or w>iard on a quest to find and u^e<br />
the rings of creation, to destroy the Black Crystal and detest the<br />
Lords ol Chaos Held within sk program! lies a land ol labuious<br />
treasures and mythical monstees Journey through the land ol<br />
Berotti explore the castle of shadows, descend into the<br />
Shaggoths lair, search for diamonds in the sea ol sand but beware<br />
ol sand sharks I Confront the fne demon in his temple battle<br />
against the Lords of Chaos and win your way to the Black Crystal<br />
8y splitting Slack Crystal into m programs we can provide more<br />
variety and detail than any other adventure lor the Sinclair<br />
computers<br />
Real time monster battles Superb graphics Save game feature<br />
All x> parts are supplied together on cassette, boxed with<br />
instruction booklet<br />
SPECTRUM 48K: 180K OF PROGRAM<br />
IN SIX PARTS - ONLY £7.50<br />
<strong>ZX</strong>81 16K: OVER 100K OF PROGRAM<br />
IN SEVEN PARTS - ONLY £7.50<br />
WHY PAY MORE FOR LESS OF AN<br />
ADVENTURE<br />
X]<br />
t*n*lit " toir**i»<br />
To CARNELL SOFTWARE, DEPTI 4 STAUNTON RO. SLOUGH SL2 1NT<br />
Please send me: Black Crystal for my.<br />
O Spectrum «8K C7.50<br />
C <strong>ZX</strong>8t6K C7.S0<br />
I enclose a cheque/postal order i payable to Csmall Software) lor C<br />
NAME<br />
ADDRESS<br />
TRADE ENQUIRIES WELCOME<br />
31
it's action stations ail the<br />
way in Stephen Smith's<br />
program for your<br />
16K <strong>ZX</strong>81.<br />
The object of this game is to<br />
shoot down the enemy reconnaissance<br />
aircraft before they<br />
can relay your secrets back to<br />
their headquarters. The program<br />
requires 8K as it stands,<br />
but the PRINT statements after<br />
line 6 50 could easily be<br />
shortened to allow for a<br />
smaller memory capacity.<br />
in the air tonight<br />
Displayed on your control<br />
panel are the bearing (of the<br />
enemy from you), the distance<br />
{between you and the enemy),<br />
the air speed, the heading<br />
(degrees from 0° North),<br />
altitude (in metres above the<br />
ground), the flaps (which alter<br />
the heading of your 'plane) and<br />
the artificial horizon (which<br />
alters the altitude).<br />
When the flaps are set, up<br />
to a maximum of ±3, they will<br />
continue to change the<br />
heading until reset at zero.<br />
Likewise, the artificial horizon<br />
(A/H) will continue to change<br />
the altitude until reset at the<br />
centre.<br />
The first thing to master is<br />
the take-off — you need to get<br />
your speed to around 70mph,<br />
but if you go too fast before attempting<br />
to take off (arrow<br />
keys 'f and 'f will change your<br />
artificial horizon) you will inevitably<br />
crash into the control<br />
towers at the end of the runway!<br />
If this happens, the radio<br />
crackles and messages appear<br />
on the screen (this is my<br />
favourite routine — see lines<br />
700 to 800).<br />
Once the enemy is within<br />
distance 20 and bearing 10,<br />
the enemy aircraft will appear<br />
in your 'plane's window provided<br />
the craft is at your<br />
altitude or up to 10m higher.<br />
48-100<br />
1 10-220<br />
230-285<br />
300-490<br />
390<br />
400-460<br />
500<br />
535<br />
540<br />
600<br />
700<br />
800<br />
850<br />
900<br />
32<br />
Your firing range is within a<br />
distance of 10.<br />
in control?<br />
The controls you have at your<br />
disposal in your 'plane are:<br />
F -<br />
2 -<br />
3 -<br />
9 -<br />
0 -<br />
6 -<br />
7 -<br />
5 -<br />
8 -<br />
Fire.<br />
Slow down.<br />
Slow down fast.<br />
Speed up.<br />
Speed up fast.<br />
Decrease artificial<br />
horizon.<br />
Increase artificial<br />
horizon.<br />
Decrease flaps.<br />
Increase flaps.<br />
The '5', '6', *7' and '8' keys<br />
correspond to the arrow keys.<br />
The important variables in the<br />
program are:<br />
ES — Enemy speed.<br />
S — The speed of your<br />
'plane.<br />
H — The heading of your<br />
'plane.<br />
EA — Enemy altitude.<br />
A — The altitude of your<br />
'plane.<br />
F — Flaps.<br />
AH — Artificial horizon.<br />
AM— Ammunition left.<br />
D — Distance.<br />
B — Bearing.<br />
X — Your x-axis value.<br />
Y — Your y-axis value.<br />
These last two values are<br />
taken from the position of the<br />
enemy craft — your opponent<br />
is always at position (0,0)<br />
heading along the y-axis.<br />
Down the line<br />
Here is a breakdown of some<br />
of the more important lines in<br />
the program:<br />
Assign the 'calculating' variables.<br />
Print the control panel.<br />
Assign the 'displayed' variables.<br />
The main program loop.<br />
The heading conversion from plot to degrees.<br />
Calculate the new co-ordinates, bearing and<br />
distance.<br />
The routine for speed change.<br />
The routine for artificial horizon change.<br />
The routine for changing the flaps.<br />
The fire routine.<br />
The routine controlling a crash into the end of<br />
the runway.<br />
The routine for no enemy 'planes left.<br />
The routine for when your altitude is less<br />
than zero.<br />
Loading routine.<br />
<strong>ZX</strong>81 CAME<br />
20 5LOU<br />
25 GOTO 4.0<br />
30 SRUE "RECONNRIS5RNCE RLER§"<br />
4.0 RRND<br />
4.2 PRINT "YOUR CONTROLS ORE: " ,<br />
FIRE",,,,"0 5LOU DOUN",,"HL<br />
SLOU DOUN FR5T" , "B SPEED U P " ^<br />
^PFED UP QUICKLY",,, USE THE R<br />
9ROUS FOR DIRECTION","PRESS RNY<br />
KEY<br />
4-5 IF INKEYt="" THEN GOTO 4-5<br />
46 LET PLRNESs1<br />
55 LET ES=RNQ*1.57+1.67<br />
60 LET X=P.ND*10-5<br />
70 LET Y=RND*10-15<br />
30 LET H=RND*30-15<br />
SO LET Z=HfPI/15<br />
^FI Ef^Ss-XMT t.RWDH6>*M<br />
110 uL5<br />
15Q<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983
K= R<br />
INY<br />
4-5<br />
PT 1983<br />
econnaissa<br />
alert<br />
170 PRINT "J TRB 30 ; " »« ^ 'M<br />
;TRB 3®.; MS"; "i8Ji ";TFiB 3S;. " Si"<br />
I80 PRINT «T &.. IS.; " + "<br />
21© PRINT<br />
; TO > .; ft<br />
220 pri^IT<br />
230 LET<br />
2 4-Q LET F = 0<br />
250 PLOT 21+H„U<br />
260 LET RH = ©<br />
270 LET R = 0<br />
28© LET RH=4<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983<br />
RPI<br />
2 0 5 P R I N T RT<br />
S 9 Q G O T O 4-2©<br />
3 0 0 L E T I » = I W K E Y $<br />
3 ® 5 I F I $ = " F " T H E N G O T O<br />
3 i e i f c o d e rt>a? h n d c o d e . r s c s<br />
8 T H E N G O S U B 5 * V « L<br />
•jaa l e t q = «<br />
3 2 5 L E T R = R + R H<br />
3 2 8 I F « < 0 T H E H G O T O © 5 ®<br />
3 3 © I F F =& T H E N G O T O 3 6 ©<br />
34-0 U N P L O T a i f H . H<br />
^ = > 0 L E T H = H + F - 3 1 H H > 1 5 > + » (H < -<br />
3 5 5 P L O T 2 1 + H . U<br />
3 9 0 L E T Z = H * P I / 1 S<br />
403 LET X bX f-S t-SIN Z<br />
4-13 LET Y = Y + S * O O S Z - E 5<br />
4 1 5 I F O r 2 0 ftNC 1 R B 5 B < I O rtN£> E P<br />
> = Q ftND E R < = Q + 1 0 T H E N P R I N T RT &<br />
-iEft-Oi / 5 , 1 0 + B ; " *•<br />
^ X V L E T E R = E f t + 5 * I N T + 5<br />
0 I F X = 3 T H E N L E T B = 5 S H V * 9 d +<br />
~4-3© I F V = 0 T H E N L E T B = S & N •<br />
33
4.40 IF X=© Oft Y = © THEN GOTO<br />
L 5 T B - ! R T N ( X / Y ) - Z > X<br />
. 1 r<br />
J. 3C. f<br />
4.60 LET D=SOR (XfX+YiY)<br />
479 IF D < 20 AND OBS B < lw HND fc.H<br />
>=A AND EA1.3 AND A=0 THEN GOTO<br />
t>a© Xr -=,
JL<br />
EN<br />
• T<br />
UM<br />
o<br />
RT<br />
RT<br />
1983<br />
LIST . . LOAD . . RUN . . OR . . DIE . .<br />
VV^V^V<br />
/ EXTERMINATORY)*<br />
/ Robot intelligence has surpassed<br />
/ humans'. using homing mimics. move<br />
and fire in eight directions, avoiding<br />
indestructible robots with homing<br />
missiles, to save the last of the human<br />
•Joystick option available<br />
t <strong>ZX</strong>8I<br />
f f Ground Attack £3 9S<br />
f Super Wumpus £3 9S<br />
t Games Pack I £3 9S<br />
r Graphic Golf £3 95<br />
SPECTRUM<br />
Cyber Rats £5 9S<br />
SPECTRUM<br />
Slippery Sid £5 9S<br />
Starship Enterprise £S 9S<br />
Muncher £S 9S<br />
Ground Attack £S 9S<br />
Mission Impossible £S 9S<br />
Brain Damage £S 9S<br />
Armageddon £S 9S<br />
Send cheque or postal order to SILVERSOFT LIMITED<br />
London House 271.273 King Street. London W6<br />
or complete your<br />
Access or Visa No<br />
M<br />
TV<br />
I enclose cheque postal order for<br />
Address
ANOTHER QREAT<br />
ADVENTURE<br />
GAME FOR<br />
THE 1tK ^<br />
zx»i<br />
AREALIVQREAT<br />
(ELECTION or<br />
ANOTHER GRSAT<br />
AOVINTURE<br />
C.AMt<br />
•mil** ^<br />
IX»1<br />
A HtALLY GREAT<br />
CHESS GAVE<br />
fO« THI<br />
ANOTHtHGlUAt<br />
CHLSSt'.AVf<br />
rem thi<br />
IfiK /*!!!<br />
with Artie<br />
rif^A CURSE<br />
(Adventure B)<br />
In a jungle clearing you come<br />
across an ancient Inca temple:<br />
Your mission to enter, collect the<br />
treasure and escape alive'<br />
But beware 1<br />
£5.95 for 16K <strong>ZX</strong>81 and £6 95<br />
for 48K Spec<br />
2. SHIP OF DOOM<br />
(Adventure C)<br />
You are unavoidably drawn to an<br />
alien cruiser. Can you reach the<br />
control room and free yourself 7<br />
Or will they get you first?<br />
Cassette £5.95 for 16K <strong>ZX</strong>81<br />
and £6.95 for 48K Spec<br />
3. PLANET OF DEATH<br />
(Adventure A)<br />
You find yourself stranded on an<br />
inhabited alien planet. Can you<br />
reach your ship and escape 7<br />
£5.95 for 16K <strong>ZX</strong>81 and £6 95<br />
g ghosts<br />
then<br />
High<br />
ith hi-res<br />
troy all the<br />
yand exit<br />
nto a new<br />
au have<br />
jr mission<br />
PUSH YOUR SINCLAIR TO THE LIMIT<br />
Artie supply the best selection of adventure, arcade and<br />
educational games available for the Sinclair home computers<br />
Artie also offer a wide range of utilities that will enable you<br />
t9 utilize your <strong>ZX</strong>81 /Spectrum to its full potential.<br />
These include: . M<br />
16K 2X81 Assembler £9.95<br />
48K Spectrum Assembler £9.95<br />
Toolkit £5.95 ^ ^ ^<br />
Spec Bug £6.&<br />
<strong>ZX</strong> Bug . £6.95 M<br />
S.VS64 ,£6.95 M<br />
A'.OTHc* O^Ei<br />
-BCJOE SAVE<br />
FCPT"? T6MK.<br />
S'ECTP.^r, j*<br />
StartreU
(SOFTWARE REVIEW!<br />
College computing<br />
Nick Pearce goes back to<br />
college and takes a look<br />
at the library of<br />
advanced mathematics<br />
software from<br />
university Software.<br />
University Software have produced<br />
five cassettes which<br />
comprise their library of advanced<br />
mathematics. They are<br />
designed to handle complex<br />
problems in various branches<br />
of mathematics.<br />
These are utility, rather<br />
than teaching, programs,<br />
although instructions printed<br />
on the cassettes covers are 'intended<br />
to introduce the nonspecialist<br />
to the theory'. In<br />
general, the instructions are<br />
adequate for this purpose.<br />
Matrix Operation This program<br />
is designed to handle the usual<br />
matrix operations of Inversion,<br />
Multiplications, Addition, Subtraction<br />
and Scalar Multiplications.<br />
The operation required is<br />
selected from a menu at the<br />
start of the program. The user<br />
dimensions the matrices and<br />
enters the values of the<br />
matrices row by row. The program<br />
will not accept invalid<br />
instructions at this stage. For<br />
example, if you select the inversion<br />
operation the program<br />
will not accept a matrix with<br />
an unequal number of rows<br />
and columns (which cannot be<br />
inverted) and prompts the user<br />
for new matrix dimensions.<br />
Whilst there seems no limit to<br />
the matrix dimensions this program<br />
will accept, a 20 by 20<br />
matrix is inverted in a little<br />
under seven minutes.<br />
The program works well<br />
and data input is logically<br />
organised. However, I would<br />
have liked the option to alter<br />
individual values within a<br />
matrix; as the program stands,<br />
a mis-type during data entry<br />
necessitates re typing of the<br />
complete matrix. On the<br />
reverse side of the cassette is<br />
Determinants, a program<br />
which computes the determinant<br />
by means of converting a<br />
matrix into a triangular matrix<br />
by the appropriate row<br />
transformations.<br />
Polynomials This program also<br />
severely tested my knowledge<br />
of such things. A polynomial is<br />
38<br />
an expression of the form:<br />
F(x) = C X" + C ,X" 1 + . . .<br />
n n 1<br />
+ C,X 2 + C.X + C<br />
I I o<br />
where C n ... C , are coefficients<br />
and n is the degree of<br />
the polynomial. The program<br />
calculates the roots of a<br />
polynomial expression, ie the<br />
values of x which satisfy Fix)<br />
= 0 (real roots only).<br />
The program employs three<br />
different methods. If the expression<br />
has two degrees the<br />
familiar formula for solving<br />
quadratic equations is used;<br />
for higher degree polynomials<br />
interactive methods are used,<br />
either the Newton-Raphson<br />
method (which I recall) or the<br />
Half-Interval Search method<br />
(which I don't).<br />
On the B side is Plot of<br />
Polynomials, a program which<br />
plots the polynomial equation<br />
between given limits. This<br />
works very well, you input the<br />
degree and coefficients of the<br />
polynomial as before, and the<br />
range over which it is to be<br />
plotted. The program scales<br />
the axes and plots the equation<br />
accordingly, and also labels<br />
the extreme values of the<br />
axes. If a root is found the<br />
value of the root is printed at<br />
the point of intersection.<br />
Integration On more familiar<br />
territory now, I can clearly<br />
recollect counting up squares<br />
to calculate the area under<br />
curves. This program<br />
evaluates the integral of functions<br />
between given limits by<br />
Simpson's and Trapezoidal<br />
rules. Two functions can be integrated<br />
simultaneously,<br />
allowing the area between two<br />
curves to be evaluated.<br />
Again, a program to plot the<br />
function is given on the B side.<br />
This plots two functions between<br />
given intervals and<br />
cross-hatches the area between<br />
them. To evaluate the integrals<br />
the A side has to be used.<br />
Regression On even more<br />
familiar ground, regression<br />
analysis is a technique I have<br />
had occasion to use recently. I<br />
devised for myself a short program<br />
for the <strong>ZX</strong>81; it worked<br />
adequately but could only handle<br />
one independent and one<br />
dependent variable. University<br />
Software's program is<br />
somewhat more elaborate and<br />
will solve a 'multivariate' linear<br />
regression problem.<br />
The user enters the number<br />
of observations and the<br />
number of independent<br />
variables. For each observation<br />
the values of the associated<br />
variables are entered. Data entry<br />
is a little tedious, and again<br />
there is no way to correct a<br />
mis-typed figure if you make<br />
a mistake you have to re-type<br />
from scratch. The program can<br />
deal, with both exponential and<br />
logarithmic regressions.<br />
The program calculates the<br />
equation coefficients, and<br />
gives the values of r 2. corrected<br />
r 2 (r 2 adjusted for the<br />
degrees of freedom), the<br />
F-statistic, standard error of<br />
regression, Durbin Watson<br />
statistic, and the t-statistic.<br />
Side B plots the regression line<br />
together with the numbered<br />
data points for a 'bivorate'<br />
regression — the sort of<br />
regression I understand. It<br />
gives the slope and intercept<br />
of the fitted line and the standard<br />
error and r 7 of the regression.<br />
Linear Programming This is<br />
where things started to get difficult<br />
again. The cassette is<br />
certainly no substitute for a<br />
good textbook on the subject,<br />
but having mastered the<br />
theory it can be of con-<br />
• 3 .<br />
l* x > >* > < x<br />
ti<br />
-x ;->-',<br />
o<br />
0<br />
xxxxx:<br />
xxxxxxx<br />
XXXXXXXX u %<br />
XXXXXXXXXX tCxxx<br />
xx xxxxx,<br />
I X X X X X X X X •<br />
•XXXXXXXX.<br />
• XXXXXX •<br />
•XXXXXX»<br />
•XXXXa<br />
n XXX r<br />
V V<br />
siderable assistance in the<br />
solution of linear programming<br />
problems.<br />
This optimization program<br />
is capable of handling any sort<br />
of linear programming problem<br />
with up to 20 variables and 20<br />
constraints. After data entry,<br />
the original form of the problem<br />
(the primal) is displayed<br />
together with the solution — or<br />
with a report that the problem<br />
is either unfeasible or unbounded.<br />
A second display<br />
gives the canonical equivalent<br />
of the primal, its solution and<br />
the variable relationships or<br />
the primal and canonical, A<br />
third displays the dual and its<br />
solution.<br />
Side B deals with<br />
simultaneous equations.<br />
All of these University Software<br />
programs run automatically<br />
once loaded, and pro<br />
mpts to guide the user are<br />
given on screen. The programs<br />
are all written in 8ASIC and<br />
can be listed, enabling the user<br />
to see how they work, or<br />
modify them. Output displays<br />
can be copied onto a printer.<br />
These are not teaching programs,<br />
but they take the<br />
tedium, and the human error,<br />
out of mathematical problem<br />
solving and will be a valuable<br />
aid to the serious user and student<br />
alike. They all perform<br />
well have obviously been<br />
carefully prepared.<br />
University Software also offer<br />
to prepare more specialised<br />
programs to order.<br />
University Software is at 45/c<br />
S/oane Street, London SW1X<br />
9LU. Matrix Operation,<br />
Polynomials and Integration<br />
cost €6.95 each; Regression<br />
and Linear Programming are<br />
priced at £7.95 each.<br />
'XXX<br />
"X XXX XX<br />
•xxxxxxxxx<br />
XXXXXXXXXXX<br />
XXXXX<br />
XXXX<br />
XX XX<br />
XXX<br />
• X X *<br />
m m XX<br />
«X X<br />
* X<br />
•X<br />
I F<br />
\<br />
— *<br />
XG\<br />
A sample semen dump showing the capabilities of the integration program<br />
{ 1<br />
<strong>ZX</strong> COMPUTING AUG. SEPT 1983
it<br />
/ a t>lc<br />
Ha V$<br />
Afe,<br />
Vent<br />
a na<br />
f or<br />
'.A<br />
'ts<br />
Don't let the enemy get<br />
your secrets in this<br />
game written by<br />
fourteen year old Martin<br />
Clayton from<br />
Knavesborough.<br />
Written for the unexpanded<br />
<strong>ZX</strong>8 1, the object of the game is<br />
to shoot the satellites out of the<br />
sky before they can relay information<br />
on your military bases<br />
back to the enemy.<br />
As the satellites traverse<br />
across the top of the screen, it<br />
is your job to move the ground<br />
to air missile launcher until you<br />
can get a good shot at the<br />
enemy device. Movement of<br />
the missile launcher is achieved<br />
by pressing the '5' key to go<br />
left and the '8' key to move<br />
right. Key '0' is used to launch<br />
a missile at the satellite.<br />
Should a satellite reach the<br />
far left hand side of the screen.<br />
<strong>ZX</strong>81 CAME<br />
it is assumed the device has 1 REM "SATELLITE"<br />
escaped destruction and has 10 LET A = VAL" 10"<br />
thus relayed all of the secret 20 LET S = A - A<br />
data on your military establish- 30 LET B = VAL" 20"<br />
ments. This is achieved in line 40 GOSUB 500<br />
520 with the 'Q', and an error 50 LET A = A i (INKEYS -<br />
2 message denotes the end of " 8") - (INKEY$ = " 5" )<br />
the game. go IF INKEY$ = "0" THEN<br />
To hit a satellite, you must GOTO 100<br />
aim for the '0' character of the 70 GOTO 40<br />
device. If you do manage to de- 100 FOR N = 10 TO 2 STEP<br />
stroy the satellite, line 160<br />
- 1<br />
causes an explosion to be dis 1 10 GOSUB 500<br />
played: this is followed by a 120 PRINT AT N.A + 2;" *";<br />
PAUSE statement causing the AT N+ 1.A + 2;" "<br />
screen to blink (just to add a 1 30 NEXT N<br />
touch of realism). When the 140 IF A-INT B THEN<br />
game finishes, your score is dis- GOTO 160<br />
played. 1 50 GOTO 40<br />
160<br />
170<br />
180<br />
190<br />
200<br />
500<br />
510<br />
520<br />
530<br />
PRINT AT 2.8," > IX<br />
(
NOW AVAILABLE FROM W.H. SMITH<br />
SUPER IPV 48K Spectrum<br />
Locate the secret island hideaway of the mysterious<br />
meglomaniac Dr. Death. Follow his trail across<br />
continents, through complex puzzles, coded<br />
messages and 3-D mazes. Discover the entrance to his<br />
underground lair — but beware — even with your<br />
death-defying gadgets his evil henchmen may still<br />
^ win the day!<br />
Credit Card Hotline<br />
0628 21107<br />
Saving the world may<br />
take some time—so we've<br />
included a save' routine for<br />
part-time secret agents!<br />
Only<br />
£6.50<br />
DEALER ENQUIRIES WELCOME — GENEROUS DISCOUNTS<br />
Adventurous Programs always wanted. Please send sample — generous cash payments!<br />
RICHARD SHEPHERD SOFTWARE<br />
FREEPOST, MAIDENHEAD, BERKS SL6 5BY.
I<br />
The object of this game is to<br />
shoot the alien spaceship five<br />
times before it gets to shoot<br />
you. You use the '1' key and<br />
the 'Q' key to move left and<br />
right respectively. You can fire<br />
at the spaceship using the '0'<br />
key.<br />
You must make sure your<br />
shots are aimed at the black<br />
squares of the spaceship — all<br />
1 PRINT<br />
other hits are counted as<br />
naught. The winner of the<br />
game is the first one to get five<br />
hits. The seemingly random firing<br />
of the spaceship is accomplished<br />
using the RND<br />
function.<br />
The game is great fun to<br />
play and beating the spaceship<br />
is no easy task!<br />
IINV IWC ISL E]<br />
2 P R I N T RT 5 , C ; " U S E 0 TO MOVE<br />
L E F T " . " U S E K T 0 MOUE R I G H T " , " U S<br />
E S T O F I R E - '<br />
3 P R I N T RTT 16 . 0 . " Y O U R S H O T S 0<br />
PN P E N E T R f l T c T H E ' " / ' B L f t C K 53L'RRE<br />
5 O N L Y "<br />
4- P R I N T RT U , 0 . " F I R S T ONE T O<br />
SCORE 5 H I T S IJIN5"<br />
1 3 PRINT-<br />
<strong>ZX</strong>81 CAME<br />
1 2<br />
RT "<br />
20<br />
90<br />
l O O<br />
10 1<br />
102<br />
1 0 3<br />
1 0 4<br />
1 0 5<br />
1 10<br />
120<br />
1 3 ©<br />
14-0<br />
I E 0<br />
1 6 0<br />
1 7 0<br />
3 0 0<br />
5 0 G<br />
54.0<br />
5 5 0<br />
5 5 s<br />
5 5 0<br />
5 6 1<br />
5 6 5<br />
5 6 6<br />
600<br />
1<br />
610<br />
1<br />
620<br />
00<br />
9 0 0<br />
1 0 0 5<br />
1006<br />
1010<br />
1020<br />
1 0 3 0<br />
P R I N T " P R E S S PkNY K E Y TO 5 T h<br />
P A U S E 4-E4<br />
C L S<br />
L E T m = 0<br />
L E T 5 H = 0<br />
LET zx=e<br />
L E T 5 K = 0<br />
L E T Z K = 0<br />
L E T<br />
L E T C<br />
L E T C'<br />
L e i E<br />
— O<br />
-»<br />
= i s<br />
in<br />
ia mi MMSm-M<br />
L E T H = I N T ( R N D * 2 5 )<br />
L E T<br />
—<br />
F<br />
-*<br />
L E T G = I N T f R N D * 2 S )<br />
L E T O = I N T ( R N D U ' i<br />
PR I N i-i T R " • • M ^ H<br />
I F<br />
I F<br />
'IT E , R,<br />
3 = 1 THEN L E T H = H - i<br />
Q = 2 T H E N L E T H =H + 1<br />
0 = 3 T H E N 5G5UB 1 5 0 0<br />
H ) = 2 5 T H E N L E T H = 2 6<br />
H < =0 T H E N L E T H = 0<br />
G > = 2 6 T H E N L E T G = 2 6<br />
G < - 0 T H E N L E T G = 0<br />
I N K E Y 1 " T H E M L E T<br />
I N K E Y $ = " Q "<br />
I N K E Y $ = " 0 "<br />
G = G -<br />
T H E M l e t g = g +<br />
T H E N G O S U B 10<br />
GOTO 3 0 0<br />
L E T S H = S H + 1<br />
FOR 1 = 14. T O I S T E P - 1<br />
P R I N T R T I ^ G + 2 ;<br />
P R I N T R T X . G + 2 ; " ";<br />
I F PEEK (PEEK 1 6 3 9 3 + 2 S 6 » P E f<br />
K 1 6 3 9 9 ) = 1 2 6 T H E N GOTO<br />
104-0 I F PEEK (PEEK 1 6 3 9 3 + 2 5 6 - + P E E<br />
K 1 6 3 9 9 ) = 1 2 9 T H E N GOTO 1 2 0 0<br />
1 0 6 0 N E X T I<br />
1 1 0 0 R E T U R N<br />
1 2 0 0 P D I N T RT B , H ;<br />
1 2 0 5 L E T S K = S K + 1<br />
1 2 1 0 I F S K = 5 T H E N GOTO 2 S 0 0<br />
1 2 2 0 GOTO 3 0 0<br />
1 5 0 0 FOR 1 = 2 T O 1 7<br />
1 6 0 1 P R I N T RT I , H + 2 ;<br />
1 5 0 5 P R I N T RT I , H + 2 ;<br />
1 5 1 0 N E X T I<br />
1 5 1 2 L E T 2 X = 2 X + 1<br />
1 5 2 0 I F H + 2 = G + 2 T H E N GOTO I 7 0 O<br />
1 S 0 0 R E T U R N<br />
1 7 0 0 P R I N T RT F . G ;<br />
1 7 0 5 L E T ZK = ZK + 1<br />
1 7 1 0<br />
1 7 2 0<br />
I F ZK =5 T H E M<br />
GOTO 300.<br />
GOTO ! 5 0 0<br />
2 0 0 0 P R I N T "S5"<br />
2 0 0 2 GOTO 3 0 0<br />
2 5 0 © C L S<br />
2 5 1 0 P R I N T RT 1 , 0 ; * * * * * * * * * *GRM<br />
E O U E R * * * * * * * * * * '<br />
2 5 2 0 P R I N T RT 3 , 0<br />
" ; zx<br />
2 5 3 0 P R I N T<br />
2 5 — 0 P R I N T<br />
2 5 5 0 P R T N T<br />
<strong>ZX</strong>S1 S H O T S =<br />
2 5 6 0 P R I N T<br />
2 5 7 0 P R I N T * H U M A N SHOT:<br />
SH<br />
2 5 ©O P R I N T<br />
2 6 9C P R I N T UM6W"<br />
SK<br />
2 6 0 0 P R I N T<br />
2 6 10 P R I N T<br />
2 6 2 0 P R I N T ' P R E S S ANY KEY T O T R Y<br />
R G R I N<br />
2 6 3 0 P A U S E 4-E4-<br />
2 6 6 0 GOTO 9 0<br />
42 <strong>ZX</strong> COMPUTING AUG/SEPT 1983<br />
• bf
1983<br />
ncnoTccn<br />
The Complete Ban<br />
Fifteen months ago Memotech developed the first 64K Memopak, designed to maximise the capabilities of the Sinclair<br />
<strong>ZX</strong>81. Since then, using the <strong>ZX</strong>81 as a starting point, we've gone on to produce a comprehensive range of Memopaks,<br />
adding 16K and 32K memory expansions, utilities packages comprising a Word Processor, Z80 Assembler and<br />
Spreadsheet Analysis, plus Communication Interfaces, High Resolution Graphics and a professional quality Keyboard.<br />
To complete our range of <strong>ZX</strong>81 add-ons, we are now introducing the MEMOPAK RS232 Serial Interface.<br />
RS232 Interface<br />
The RS232 is an all-purpose interface<br />
which allows the <strong>ZX</strong>81 not only to<br />
output to suitable serial printers, but<br />
can link up with numerous types of<br />
peripheral or even other processors.<br />
The Interface has two main modes of<br />
operation: BASIC mode allows you to<br />
use the range of functions supplied in<br />
the RS232 I;PROM within an ordinary<br />
BASIC program, and TERMINAL<br />
mode allows you to use your <strong>ZX</strong>81 as a<br />
terminal to another processor.<br />
The I:PROM functions offered permit<br />
the user to send, receive and convert<br />
bytes between <strong>ZX</strong>81 code and ASCII,<br />
as well as check the status of numerous<br />
control flags. Received or transmitted<br />
data can appear simultaneously on the<br />
screen, and received data may be<br />
printed simultaneously.<br />
£39.95 inc. VAT<br />
Memopak Centronics<br />
I/F<br />
The BASIC commands l.PRIN'T,<br />
LLIST and COPY are used to print on<br />
any CENTRONICS type printer. All<br />
ASCII characters are generated and<br />
translation takes place automatically<br />
within the pack. Reverse capitals give<br />
lower case. Additional facilities allowhigh<br />
resolution printing.<br />
£24.95 inc. VAT<br />
Memopak HRG<br />
This pack breaks down the constraints<br />
imposed by operating at the <strong>ZX</strong>81<br />
character level and allows high<br />
definition displays to be generated. All<br />
248 x 192 individual pixels can be<br />
controlled using simple commands, and<br />
the built in software enables the user to<br />
work interactively at the dot, line,<br />
character, block and page levels.<br />
£29.95 inc. VAT<br />
Memocalc<br />
The screen display behaves as a<br />
'window' on a large sheet of paper on<br />
which a table of numbers is laid out.<br />
The maximum size of the table is<br />
determined by the memory capacity,<br />
and with a Memopak 64 K a table of up<br />
to 7000 numbers with up to 250 rows or<br />
99 columns can be specified.<br />
£29.90 inc. VAT<br />
Memotext<br />
Text is first arranged in 32 character<br />
lines for the scrccn with comprehensive<br />
editing facilities. On output the user<br />
simply chooses the line length required<br />
for printing and the system does the<br />
rest. Used with the Mcmopak<br />
Centronics Interface, the Word<br />
Processor makes available printout with<br />
80 character lines, upper and lower case<br />
and single and double size characters.<br />
£29.90 inc. VAT<br />
Memopak<br />
Memory<br />
Extensions<br />
For those just setting<br />
out on the road to real<br />
computing, these packs<br />
transform the <strong>ZX</strong>8I from<br />
a toy to a powerful computer<br />
Data storage, extended program<br />
ming and complex displays all bccome<br />
feasible. Further details available on request.<br />
16K Memopak £24.95 32K Memopak £34.95<br />
64 K Memopak £49.95 Prices inclusive of VAT<br />
MEMOPAKS ARE AVAILABLE AT MAIN<br />
BRANCHES OE WH SMITH and JOHN MENZIES<br />
Z80 Assembler<br />
The Assembler allows<br />
you first to code and<br />
edit a source program in<br />
the Z80 language, and<br />
then assemble it into<br />
machine code. You can<br />
now write flexible and<br />
economic programs.<br />
The Editor mode<br />
allows you to codc<br />
directly in the right<br />
format, manipulate<br />
individual lines and<br />
control the exact placing<br />
of source and machine<br />
codc. Routines may be<br />
merged or listed (even<br />
to a commercial printer<br />
using our Centronics<br />
Interface). The<br />
assembler mode handles<br />
all standard Z80<br />
mnemonics, numbers in<br />
hex or decimal,<br />
comments and uscrselectcd<br />
labels.<br />
£29.90 inc. VAT<br />
All Prices are inclusive of VAT, postage and packing.<br />
Memotech Keyboard<br />
The Memotech plug-in Keyboard plus buffer pack takes the<br />
effort out of data entry for <strong>ZX</strong>81 users. The Keyboard has a<br />
light professional touch and is housed in an elegant<br />
aluminium case. The simple plug-in system means that you<br />
are not obliged toopen->ip your <strong>ZX</strong>81, use a soldering iron or<br />
invalidate your <strong>ZX</strong>8I warranty.<br />
Keyboard Buffer Pak<br />
The Buffer Pak performs a "housekeeping" function for the<br />
Keyboard, interfacing directly with the port of your <strong>ZX</strong>81.<br />
£34.95 inc. VAT<br />
To Order: Send your Name, Address, Memopaks required, plus a Cheque/Postal Order 1 Access Barclavcard number (please state<br />
which) to: Memotech Limited, Station Lane Industrial Estate, Witney, Oxon. OX8 6BX. Telephone Witney 2977<br />
We want you to be completely satisfied with your Mcmopak - all our products carry a 14 day money back guarantee.
it's in<br />
the box<br />
Peter Shaw<br />
takes the lid off the<br />
Fuller Master Unit<br />
and tells us what<br />
he found there.<br />
Fuller, the Liverpool based<br />
company who have brought you<br />
add-ons for the <strong>ZX</strong>81 and<br />
Spectrum in great quantities in<br />
the past, have come up with the<br />
goods once again with a very<br />
useful peripheral for the <strong>ZX</strong><br />
Spectrum.<br />
Does it measure<br />
up?<br />
The Master Unit itself is built into<br />
a tough black plastic box<br />
measuring 8cm by 24cm by<br />
3cm. The connector at the back<br />
of the Master Unit is strong and<br />
forms a good and healthy<br />
connection with the Spectrum.<br />
The unit also has a connector at<br />
the back allowing you to make<br />
the outputs you would from the<br />
Spectrum itself.<br />
The Master Unit can perform<br />
a wide range of fancy tricks<br />
although its main feature is<br />
speech. The unit is capable of<br />
forming a large number of<br />
phonemes, all of which are<br />
clear, easy to use and, more<br />
importantly, easy to understand.<br />
You use the Master Unit's<br />
speech facility by sending a<br />
chosen number in port 1 59, ie if<br />
you say 'OUT 1 59,x' where x<br />
would be phoneme you wish to<br />
be enunciated. The speech<br />
demo supplied with the unit was<br />
not amazing but was adequate<br />
to test the unit's prowess. There<br />
are also rumours to suggest that<br />
there might be software coming<br />
soon from Fuller themselves<br />
which could drive the speech<br />
unit as well as providing a well<br />
written arcade game.<br />
zap! pow!! boom!!!<br />
The next feature the Master Unit<br />
offers is three channel sound —<br />
a very useful addition to the<br />
limited voice of the Spectrum.<br />
Unfortunately, the demo tape to<br />
illustrate the capabilities of this<br />
facility is not that good, just<br />
providing some sample arcade<br />
zaps and explosions before<br />
giving you a do-it-yourself<br />
sound generator program.<br />
However, as I found, it is very<br />
worthwhile 'doing it yourself' as<br />
some of the noises you can<br />
come up with are fantastic.<br />
But the unit doesn't stop<br />
there! It also has a joystick port<br />
for Atari-type joysticks which<br />
works very well with a lot of the<br />
software I have. The Master<br />
Unit also has an on-board<br />
cassette interface which<br />
enhances all the signals from the<br />
Spectrum and allows you to<br />
keep both EAR and MIC plugs<br />
connected at the same time.<br />
we shall not be<br />
moved<br />
The Fuller Master Unit sounds<br />
amazing, doesn't it — and it is.<br />
I'm not going to take it off the<br />
back of my Spectrum for a long<br />
time.<br />
You can buy the Master Unit<br />
for £54.95, or if you would<br />
prefer a cheaper version which<br />
has all the features of the Master<br />
Unit except the speech, you can<br />
get one for £29.95.<br />
For more information on the<br />
Master Unit or any other Fuller<br />
products, get in contact with<br />
Fuller Micro Systems, The <strong>ZX</strong><br />
Centre, Dale Street, Liverpool 2.<br />
Telephone enquiries can be<br />
made on 051-236 6109.<br />
44 <strong>ZX</strong> COMPUTING AUG SEPT 1983
irm<br />
cks<br />
i is<br />
i of<br />
of<br />
are<br />
lore<br />
ier-<br />
incul<br />
Inside...<br />
Latest prices round-up...<br />
Latest software...<br />
Order form...
Introduction<br />
One thing's certain about the Sinclair<br />
world - there's never a dull moment.<br />
Every month sees new software<br />
and new hardware, produced by<br />
Sinclair enthusiasts, or produced by<br />
Sinclair itself.<br />
The magazines do a fantastic job<br />
of keeping you up to date with the<br />
input of enthusiasts We want to keep<br />
you in touch with Sinclair's own<br />
developments.<br />
Every month, there'll be a Sinclair<br />
Special in this magazine.<br />
Sometimes, inevitably, there won't<br />
be anything new to say - we want to<br />
break away from the breathless<br />
announcements of hardware and<br />
software you just can't buy.<br />
But when something new is available,<br />
we want you to have accurate<br />
information-fast. You'll find it here<br />
This month, we're giving you the<br />
latest information on the recommended<br />
retail prices of Sinclair<br />
equipment. They're our prices, and<br />
you may well find things cheaper (or<br />
dearer) in the shops. If they're<br />
cheaper-terrific! Snap them up.<br />
Note, however, that from us the<br />
<strong>ZX</strong>81 is down to £39.95.<br />
We're also announcing six superb<br />
new Sinclair cassettes for the Spectrum,<br />
and three more which make full use<br />
of the <strong>ZX</strong>81. There's an order form at<br />
the back of this Special.<br />
Next month... but there, next<br />
month is another story! Watch (as<br />
they say) this space.<br />
Nigel Sear/e.<br />
Managing Director,<br />
Sinclair Research Ltd.<br />
Spectrum-latest recommended<br />
retail prices.<br />
16Kwas £125.00<br />
16Know£99.95<br />
48Kwas £175.00<br />
48K now £129.95<br />
<strong>ZX</strong> Printer was £59.95<br />
<strong>ZX</strong>81 was £49.95<br />
<strong>ZX</strong> Printer now £39.95<br />
<strong>ZX</strong>81 now £39.95
Six new ways to make more<br />
of your Spectrum.<br />
Take a look at these brand-new titles.<br />
Each is an outstanding new program<br />
using the full potential of the Spectrum,<br />
for games with stunningly animated<br />
graphics, for strategies of fiendish<br />
cunning, for masterly applications of<br />
computing capability...<br />
Cyrus-IS-Chess Based on the Cyrus<br />
Program, which won the 2nd European<br />
Microcomputer Chess Championship<br />
and trounced the previously unbeaten<br />
Cray Blitz machine With 8 playing levels,<br />
cursor piece-movement, replay and<br />
'take-back' facilities, plus two-player<br />
option.The 48K version has many additional<br />
features including an extensive<br />
library of chess openings. For 16K or<br />
48KRAM Spectrum.<br />
Horace and the Spiders Make your way<br />
with Horace to the House of Spiders,<br />
armed only with a limited supply of antispider-bite<br />
serum. In the house, destroy<br />
the webs before the spiders can repair<br />
them Then destroy the spiders, before<br />
they destroy Horace! Undoubtedly the<br />
creepiest Horace program ever produced!<br />
For 16K or 48K RAM Spectrum.<br />
Computer Scrabble The famous board<br />
game, on-screen - with the whole board<br />
on view! A huge vocabulary of over<br />
11,000 words Full-size letter tiles, four<br />
skill levels - the highest of which is<br />
virtually unbeatable. For 1 to 4 players.<br />
For48K RAM Spectrum.<br />
(SCRABBLE trademark and copyright licensed by<br />
Scrabble Schutzrechte und Handels GmbH - a J W Spear<br />
and Sons PLC subsidiary.)<br />
Backgammon A fast, exciting program,<br />
with traditional board display, rolling dice<br />
and doubling cube Four skill levels. For<br />
experts - or beginners. (Rules are<br />
included - it's the quickest way to learn<br />
the game.) For 16K or 48K RAM Spectrum.<br />
FORTH Learn a new programming<br />
language, as simple as BASIC, but with<br />
the speed of machine code. Complete<br />
with Editor and User manual. For 48K<br />
RAM Spectrum.<br />
Small Business Accounts Speeds and<br />
simplifies accounting work, produces<br />
Balance Sheets, Profit and Loss information<br />
and VAT returns. Complete with<br />
User manual For 48K RAM Spectrum.<br />
Overleaf-your Sinclair order form.
Three new ways to get the<br />
best out of your <strong>ZX</strong>81.<br />
The range of Sinclair software for the<br />
<strong>ZX</strong>81 continues to grow.<br />
These three new cassettes offer two<br />
totally different challenges to you and<br />
your <strong>ZX</strong>81 The games-like so many<br />
<strong>ZX</strong>81 games today - really do use the<br />
<strong>ZX</strong>8Vs capability The FORTH program is<br />
a fascinating extension of your own<br />
computer understanding<br />
Sabotage Defender or attacker? The<br />
choice is yours in this exciting game<br />
Be the Guard and defend the randomly<br />
placed boxes of ammunition inside the<br />
compound-or be the Sabateurand<br />
attack the ammunition!<br />
Written by Macronics tor a <strong>ZX</strong>81 with<br />
16K RAM Cassette price: £4 95<br />
City Patrol You are the Commander of a<br />
laser-firing ship. Your task is to intercept<br />
and destroy alien suicide ships<br />
descending on your city. Judge your<br />
rating as Commander by how many aliens<br />
you destroyand how much of your city<br />
survives.<br />
Written by Macronics for a <strong>ZX</strong>81 with<br />
16K RAM Cassette price: £4.95.<br />
FORTH Discover a new programming<br />
language which combines the simplicity<br />
of BASIC with the speed of machine<br />
code.<br />
FORTH's compiled code occupies<br />
less than a quarter of the equivalent<br />
BASIC program and runs ten times as<br />
fast It is fully extendable by the addition<br />
of user-defined commands.<br />
Free User-Manual and Editor Manual<br />
with each cassette.<br />
Written by Artie for a <strong>ZX</strong>81 with 16K<br />
RAM. Cassette price: £14.95.<br />
How to order<br />
Simply fill in the relevant section(s) on<br />
the order form below. Note that there is<br />
no postage or packing payable on<br />
Section B. Please allow 28 days for<br />
delivery. Orders may be sent FREEPOST<br />
(no stamp required). Credit-card holders<br />
iinczlsir"<br />
Sinclair Research Ltd,<br />
Stanhope Road, Camberley,<br />
may order by phone, calling 01-200 0200 Surrey, GU15 3PS.<br />
24 hours a day 14-day money-back option Telephone: (0276) 685311.<br />
T To: Sinclair Research Ltd, FREEPOST. Camberley, Surrey. GU15 3BR. ORDER FORM<br />
Section A: hardware purchase Section B: software purchase<br />
Qty Item Code<br />
Item Price Total<br />
£ £ Oty Cassette Code<br />
Item Price<br />
£<br />
<strong>ZX</strong> Spectrum -48K 3000 129 95 FOR SPECTRUM<br />
<strong>ZX</strong> Spectrum -16K 3002 99 95 G22/SBackgammon 4021 5.95<br />
<strong>ZX</strong> 81 (including 1 2 A Mams Adaptor) 1003 39 95 G23/S Cyrus-IS-Chess 4023 995<br />
16K RAM packtor<strong>ZX</strong>81 1010 29 95 G24/S Horace & the Spiders 4022 5 95<br />
<strong>ZX</strong> Printer 1014 39 95 G25/S Scrabble 4024 15.95<br />
1 2A Mams Adaptor, for use with<br />
<strong>ZX</strong>81 computer/<strong>ZX</strong> Printer combination<br />
(only required il you have<br />
an early <strong>ZX</strong>81 with 0 7A Adaptor)<br />
1002 795<br />
L1 IS FORTH 4400 14 95<br />
B6 IS Small Business Accounts 4605 12 95<br />
FOR <strong>ZX</strong>81<br />
Printer paper (pack ot 5 rolls) 1008 11 95 G25 Sabotage 2124 495<br />
Postage and packing orders under £90 0028 295 G24 City Patrol 2123 495<br />
orders over £90 0029 495 LI: FORTH 2400 1495<br />
'1 enclose a cheque/postal order made payable to Sinclair Research Ltd for £<br />
•Please charge to my Access/Barclaycard/Trustcard account no:<br />
TOTAL £ TOTAL £<br />
•Delete/complete as applicable 1 1 1 1 1 1 1 1 1 I 1 (Please print)<br />
I Signature<br />
I<br />
Total<br />
£<br />
j Mr/Mrs/Miss | | | | | | | | | I I I I I I I I I I<br />
Address, I I I I I I I 1 1 I I I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1<br />
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I I I I I 1 1 1 1 1 1 1 1 1 1 I I I I I I <strong>ZX</strong>C908
NOW. A <strong>ZX</strong>81<br />
PUSH-BUTTON<br />
KEYBOARD<br />
FOR UNDER £10.<br />
1 MM the original key hi ia< U is clean<br />
and ch« k (tut si the keys lunclion<br />
2 Ihf Butlonset is held m pl,Ke<br />
by serf adhesive pjds<br />
At last there's a really cheap but efficient way of<br />
ironing out the <strong>ZX</strong>81's only real bug: its keyboard. The<br />
Filesixty Buttonset offers:<br />
• A full-travel calculator-type moving keyboard for only<br />
£9.95.1 Installed in seconds. The peel-off adhesive backing<br />
means you just register into position and press. • No messy<br />
labels, dismantling or soldering. • 3 groups of colour keys<br />
to pick out shift, numerals and newline. • Precision moulded<br />
in ABS to match your <strong>ZX</strong>81, with contrasting legends for<br />
maximum legibility.<br />
Filesixty Ltd., 25 Chippenham Mews. London W9 2AN, England.<br />
Tel: 01-289 3059. Telex: 268 048 EXTLDN G 4087.<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983<br />
3 So all you do is remove Ihe<br />
prolwtive bAckirg<br />
•i And ou;eit
SPECTRUM CAME<br />
Tourist trap<br />
Get the holiday horrors in this spectacular board<br />
game for your 48K Spectrum, written for<br />
us by Colin Gooch of llminster.<br />
This is a 'board game' program<br />
for two people to play against<br />
each other, rather than one person<br />
against the computer. It is a<br />
fairly large program using a major<br />
portion of the 48K RAM<br />
available on the larger Spectrum.<br />
This means that SAVEing<br />
and LOADing will take quite<br />
some time. The playing of one<br />
game usually takes something<br />
like 40 minutes.<br />
You can consider the program<br />
as operating in four main<br />
parts:<br />
11 The initialisation of values<br />
and graphics, the printing of the<br />
instructions and then the playing<br />
board display.<br />
2} The dice calling routine to<br />
decide your throw.<br />
3) The moving of your piece and<br />
the diversion if required at that<br />
new position onto a subroutine<br />
which will decide your score for<br />
that throw.<br />
4) The end game routine.<br />
After the first part has been<br />
executed, lines 120 and 130<br />
will keep the program looping<br />
through the second and third<br />
parts, automatically changing<br />
the players, until the end game<br />
condition is fulfilled to break out<br />
983<br />
into the fourth part.<br />
Going fourth<br />
The four sections operate as<br />
follows:<br />
Part One Lines up to 100 call all<br />
the initialisation routines. Line<br />
9000 allows the instructions to<br />
be displayed while the userdefined<br />
graphics are set up.<br />
These are the two playing<br />
pieces, plus a number of odd<br />
shaped 'blobs' used to create<br />
pictures in the course of play.<br />
The board printout begins at line<br />
8000. The PLOT DRAW facility<br />
draws out a playing track around<br />
the outside of the display area<br />
allowing the cenire to remain<br />
clear for the various graphics<br />
routines. The playing squares<br />
are numbered using different<br />
combinations of INK, PAPER<br />
and BRIGHTness, these being<br />
controlled by the DATA<br />
statements at line 8000. It is the<br />
attributes on these squares that<br />
will decide the 'fate' of a player<br />
landing on them. It is most important<br />
that these are not<br />
altered or you will not be sent to<br />
the correct subroutines.<br />
Part Two The dice routine is a<br />
straightforward affair. The<br />
variables for the pips' are in line<br />
8300 onward and it is printed<br />
out as required by GOSUB<br />
8425. To roll the dice you press<br />
Enter and keep it pressed until<br />
you think you have the number<br />
you want. Removing the<br />
pressure will stop the dice.<br />
Part Three Moving the pieces<br />
around the board is more complicated.<br />
It is done by a series of<br />
FOR. NEXT statements.<br />
These take the value of the dice<br />
thrown as the second control<br />
value in the statement and move<br />
the piece along that number of<br />
squares. If that line runs out of<br />
squares then the next<br />
FOR . . . NEXT loop will use up<br />
the surplus. (I'm usually fond of<br />
conditional statements, but in<br />
this case found this system<br />
operated in a speedier manner.)<br />
On arriving at a square, the<br />
attributes of the number of that<br />
square is read. If it is 104 then<br />
that turn ends, line 6660<br />
changes over the player and<br />
your opponent will have their<br />
turn. If it is anything other than<br />
104 then the value is converted<br />
to a GOSUB line and off you go<br />
to see what (ate has in store.<br />
The bulk of the program consists<br />
of these subroutines which<br />
I will let you discover for<br />
yourself. The operation of these<br />
routines is fairly straightfor- [<br />
ward. There are nice things that<br />
will happen, not so nice things<br />
and, of course, some disasters<br />
all of which lose or gain you<br />
points, lose you money and use<br />
up your petrol. If you run out of<br />
petrol, you will have to pay for a<br />
rescue and if you are on the way<br />
to a location, you will lose the<br />
rest of that turn. The game ends<br />
when one person runs out of<br />
money. . . but the winner is the<br />
one with the most points, so<br />
towards the end of a game tactics<br />
can become important!<br />
Part Four Brief and simple. Once<br />
one person is out of money, line<br />
130 fails to maintain the loop<br />
and the 'game over' signal<br />
shows. The final scores are then<br />
displayed. The score display<br />
routine is at line 8600 and is used<br />
at intervals throughout the<br />
game. Line 8610 ensures that<br />
petrol and money are only<br />
displayed to two decimal places;<br />
without this line you'll find that<br />
as the game progresses you end<br />
up with petrol designated in<br />
scientific notation!<br />
Easy to enter?<br />
Debugging a program of this size<br />
can be a bit daunting and so I<br />
would suggest it is entered in<br />
sections. Enter the program as<br />
listed but omitting all the<br />
subroutines from line 1 000 to<br />
6490. This will allow you to get<br />
the board display and the piece<br />
moving routines all in working<br />
order. To do this enter a temporary<br />
line, 6480 RETURN.<br />
RUNning the program will then ;<br />
result in everything happening<br />
except any of the scoring<br />
subroutines. The subroutines<br />
can then be entered one at a<br />
time and tested out. There is no<br />
need to keep going round the<br />
board to test these, just let the<br />
Spectrum print out the board,<br />
then break into the program and<br />
type in GOTO (the appropriate<br />
routine) and all will be well. (The<br />
'Press enter to continue' uses<br />
the form 'INPUT:LINE Z$' which<br />
means that the usual Break and<br />
Stop keys will not work. Never<br />
fear. Use Caps Shift and '6' and<br />
you will get a 'stop in input'<br />
message.) The 'out of petrol'<br />
routine is the most difficult to<br />
test and may best be left until<br />
you are happy with the others.<br />
Most of the graphics are<br />
straight off the keyboard. The<br />
only user-defined graphics that<br />
are vital are those for the two<br />
playing pieces and the dots on<br />
the dice. The others are not so<br />
vital but if you enter and RUN<br />
50<br />
line 9000 to 9140 fairly early irly<br />
on, it is easy to see which keys iys<br />
are required.<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983
we're off...<br />
When all is entered and you are<br />
ready to play you will first of all<br />
see the instructions, then the<br />
Spectrum will choose at random<br />
someone to start. The board is<br />
then printed out; the player<br />
whose turn it is will be shown on<br />
the right-hand margin. If you<br />
throw the dice and land on a<br />
square that is not blue then<br />
some graphics and instructions<br />
will appear m the centre of the<br />
screen. To continue to play.<br />
simply follow all the prompts. To<br />
enter in the spirit of it all, you<br />
must imagine that you are on<br />
tour in a car, with a tent, and<br />
have the opportunity to visit<br />
various places. . . wild life<br />
parks. . . castles. . . the sea<br />
and so on.<br />
So off you go. Happy Holiday.<br />
variables<br />
The main variables used are:<br />
Some sample screen illustrations from the program. Tourist trap.<br />
0<br />
29<br />
£8<br />
27<br />
26<br />
25<br />
1 1 I<br />
26<br />
m<br />
125<br />
i e!4.<br />
i _.<br />
i di i<br />
is<br />
I2S<br />
124-<br />
;<br />
IN THE<br />
RESERUE<br />
YOU SEE<br />
THESE<br />
R N I M H L S<br />
SCORE £<br />
FOR ERCH<br />
— r ~<br />
5 6<br />
LIONS<br />
ELEPHRNT3<br />
M O N K E Y S<br />
G I R R F F E S<br />
C H M E L S<br />
B U F F R L O S<br />
U O L U E S<br />
1 3<br />
ZE5RR5 SCORE<br />
1 (=, i<br />
SPECTRUM GAME<br />
10<br />
1 1<br />
H<br />
12<br />
i"!<br />
P<br />
L<br />
R<br />
v<br />
11<br />
R<br />
2 1 j jffi j r ! i<br />
p a I i c I i « i ") I 1 if-<br />
^ > - ~ I — t * — I — {•"<br />
R LRZY DRY RT CRHP<br />
5UNBRTHE R5 LONG RS<br />
YOU CRN THROU OUER 3<br />
PRESS ENTER TO GO<br />
23 52 21<br />
MENU<br />
jPRRUNS<br />
jpIZZR<br />
i<br />
'FRUIT PIE' •<br />
jCOFFEE<br />
I<br />
-0 j 1 9 I S E<br />
16<br />
PRESS<br />
ENTER<br />
TO FIND<br />
COST<br />
£ 1+DICE<br />
23|22[21j 20 j 19 | IS 17 I S<br />
1983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983<br />
T<br />
13<br />
1 4<br />
1 5<br />
10<br />
11<br />
li<br />
1 3<br />
£3<br />
14-<br />
1 5<br />
&<br />
P<br />
t_<br />
R<br />
Ei<br />
P.<br />
C(x)<br />
D<br />
H(x)<br />
J(x|<br />
LO<br />
Ml<br />
P<br />
PL<br />
SUB<br />
Tl<br />
V(x)<br />
Cash on hand.<br />
Value of dice throw.<br />
Horizontal position of<br />
playing piece.<br />
Total score.<br />
Flag indicating turn to be<br />
lost.<br />
Miles to travel.<br />
Petrol in gallons.<br />
Player.<br />
Subroutine in use.<br />
Flag to check the<br />
number of times the<br />
petrol is evaluated.<br />
Vertical position of play<br />
Z$<br />
ing piece.<br />
Line input.<br />
(x> will be one or two according<br />
to value of PL.<br />
The subroutines use many more<br />
variables, but they are confined<br />
within those routines and are<br />
not difficult to trace through.<br />
There are also a number of<br />
DIMensioned strings and<br />
variables. These are used in<br />
several routines and are re-<br />
DIMensioned each time that<br />
routine is called.<br />
l o 1 2 3 4. I 5 6 7 Q 9<br />
I 2 9<br />
J<br />
2 3<br />
2 7<br />
Y O U R R E O U T O E P E T R O L<br />
f f<br />
1 3<br />
f u e i<br />
B V<br />
II Vjt<br />
2 6 1 3<br />
2 5<br />
Y O U M U S T P R Y £ 1 0<br />
T H R O U O F R I C E F O R<br />
24. 2 3 2 2 2 1 2 0<br />
0<br />
1 0<br />
1 1<br />
1 2<br />
+ ~<br />
R T O U 1 4<br />
R<br />
1 9 I S 1 7 1 6 1 5<br />
29 Y O U MRY B U Y P E T R O U Y O U<br />
H R U E 0 G R L L O N S<br />
R T T H E MOMEtsTT<br />
F O L L T R N K = 1 «<br />
21 2 0<br />
F U E L 1 G R L .<br />
C R S H £ 2 0 1 . 3 2<br />
8<br />
1 9 I B 1 7 16<br />
10<br />
11<br />
12<br />
1 3<br />
14.<br />
I S<br />
Er<br />
f<br />
L<br />
R<br />
v-<br />
E<br />
R<br />
B<br />
R<br />
L.<br />
R<br />
y<br />
E<br />
R<br />
51
0<br />
0 9<br />
5:8<br />
3 27<br />
: 26<br />
l<br />
!<br />
! _ ,<br />
; 24<br />
EG<br />
1 s 1<br />
_£<br />
V 8<br />
YOU N£ED PROVISIONS 1 3<br />
T i ; ' i • \<br />
SPECTRUM CAME<br />
! 1 3 I E<br />
i j i i t : j<br />
j jgl ; 2£i j 19 { 1-5 j 17 j 15 j 15 (CJ<br />
210 IF INKEY $ =" D" OR INKEY<br />
THEN CLS : PRINT PIT 10,5; PHPEfi<br />
5;"START THE TRPE": LORD ""<br />
220 GO TO 190<br />
230 PRINT RT 10,7; "THRNKS FOR f<br />
L RY IND " ; RT 11,10;" BYE EE ' ( • C-<br />
2 3 0<br />
1000 REM CH^CK PETROL tfHtf<br />
1010 LET TI=T1*1: LET P(PL)-P<br />
) - ( TNT (MI/,3) ) y100.<br />
THEN RETURN<br />
.1020 LET DTU=D: LET<br />
PL) "O: GO CUB 85O0:<br />
0 , 32 : r. TRCL E 130.90,<br />
.30 f>RRU 30/<br />
82: DRRIJ<br />
PRINT<br />
fuel";rtT 14-, ENK 2;<br />
9,16; INK 1;"B —<br />
1030 PRINT RT 4- j<br />
OF PETROL "<br />
3.04-0 PRINT RT 16<br />
Y f 10<br />
E FOR<br />
6 4 3 0 :<br />
IF P ( PL y (Pi<br />
> 0<br />
LO= 3<br />
GIRCl.<br />
30: P i o<br />
I PL. C O'<br />
m X3<br />
3<br />
Lf I<br />
.130 , 'i I<br />
A I s-:<br />
J '-* ,<br />
»<br />
AT<br />
YOU flRt OUT<br />
YOU MUST PR<br />
* "/RT 17,4; "THROW OF D T v •<br />
R TOW" : PAUSE 2S0 CO<br />
1® REM ************ *********<br />
11 REH *** TOURIST TRAP ***<br />
12 REM *********************<br />
19 REM *** C.N.GOOCH ***<br />
21 REM *********************<br />
22 REM *************** ft-*.****<br />
SO CLS : PRINT AT 10,5; PAPER<br />
5; «5TOP TME TRPE ": GO SUB BSSt<br />
60 RRNDOMIZE : CLS . PAPER<br />
INK O: CLS : GO SUP 90O0 LET PL<br />
= I + INT (RNDtflJ : BORDER PL: CLS<br />
PRINT RT 12/6;"PLRYER "; INK PI<br />
; CHR$ (143+PL); INK 0," TO START<br />
": PEEP .7,20: GO SUB 8650. CUt<br />
: BORDER 0<br />
70 DIM U(2>: DIM H(2> : DIM JCi"'<br />
); DIM C ( 3 ) : DIM P(2)<br />
80 FOR N — 1 TO 2: LET JiN) s©: t<br />
FT C (N)=250: LET P(N)=?: NEXT N<br />
90 LET FUD=2: LET FSF-0. LET I<br />
I — 0 : LET D=1<br />
100 LET U(l)=l: LET U(2)»1. : L ET<br />
Hi n -1 LET H(2)=2<br />
; i o GO SUB 3000<br />
120 LET L.O-0: GO SUR 5430 . GO 5<br />
UB 6J-.00<br />
130 IF<br />
! HEN G<br />
O TO<br />
14-0<br />
RT 7 , 11 ;<br />
INK<br />
I , 6RH£<br />
CRT UER";RT<br />
H O; "Pi.OVER<br />
f = 0 ) , c<br />
MR £> 1 1 4 h i C<br />
our<br />
OF lhsm" ; n<br />
F<br />
u h 5 w O P F . 6 " •<br />
ISO LET Js<br />
') =J (il * » P \<br />
)=0. GO SUB<br />
160 IF k) ( 1<br />
PLflfVER<br />
) , C H R<br />
$ ( U 4 f (JtS) >J(1) ) J ; INK<br />
U JN<br />
•-J<br />
1B0 IF INKEY $ <<br />
190 PRINT RT 11 S ;<br />
TO PL RY " ; AT IS , 1 2,<br />
14- . £5; "PRE OR<br />
; "OR DIFFERENT FOR " ; A T I 7 , 8 ^<br />
NEU GOME": IF INKEY$-"Y" OR 1W<br />
E;y $ = " y " THEN RUN £" 0<br />
200 IF INKE/$="H" OR INKEY*-"nw LET C (PL) ~C (PL) - < lO t[n<br />
3.050 LET JiPL) =J(PLi-5*(T,l=l ) -£>}<br />
C TI=2) : GO SUB<br />
1 0 6 0 g o s u e e e s o : g o s u e 8 S 0 0<br />
THEN GO SUB 8S00: GO TO<br />
7<br />
F TI=1 THEN PRINT RT 10,4;" DRY"<br />
RUINED "; RT 11/4, " LOSE 5 PO LTJTS<br />
";RT 12,4;" SCORE NOW ";J<br />
v > . o.« > ; INK I<br />
i U,-'^ "PRESS ENTfcR<br />
INPUT L II C Z%<br />
1 > = J i 1 j +P i A} L£T J (2<br />
L E T p { 1 > - 0 L E T p i2.<br />
8 D 0 0 :<br />
)=J(2> THEN GO SUB BS<br />
00: PRINT RT 10,7;" GRHH ORfiyN "<br />
GO SUB 86SO: GO TO 10&<br />
170 GO Sf.lB 8500: PRINT RT<br />
INK 1 * (U (2) >Lt;l)<br />
0 ;<br />
THEN GO TO 16<br />
' DO YOU U-4*JT<br />
' RGRJN? RT<br />
KJO ' , R-7 1 i* 6<br />
r' Ita Li a<br />
n Restaurant": GO SUB 8650<br />
2110 GO SUB 8500: PLOT 55,138: D<br />
RRW 81,0: DRRU 0,-100: DRRU -81,<br />
0: DRRU 0,100<br />
2120 LET SCM=0: DIH T$(B,10)<br />
2 130 DRTR "OYSTERS","PRRUNS","ME<br />
LON","SOUP"<br />
2140 DRTR "FISH","CHICKEN","STEft<br />
K","PIZZR"<br />
2150 DRTR "ICE CREAM","GATEAUX",<br />
"FRUIT PIE*,"PANCAKES"<br />
2160 DRTR "SOURSH","TEA","COFFEE<br />
","COKE"<br />
2170 FOR H=10 TO 40 STEP 10: LET<br />
NN = 1 + INT (RND*4) : RESTORE (2120<br />
fH). FOR N=1 TO NN; READ T$(H/1S<br />
>: NEXT N: LET SCM=SCM+NN: NEXT<br />
H<br />
2130 FOR N=5 TO 16: PRINT RT N,7<br />
;T$(S»: NEXT N: PRINT AT 5,9; PR<br />
PER 3; INK 7; BRIGHT 1;" MENU "<br />
2190 FOR N=7 TO 13 STEP 2: PRUSE<br />
25: BEEP .02,N; PRINT RT N,7;T$<br />
: NEXT N<br />
2200 LET T$(6) ="YUK ! » " : LET T$ [•<br />
7)="NOT BAD": LET T$(8)="YUHHY<br />
2210 PRUSE 70: PRINT RT 12,17; P<br />
RPER 5;"HEAL UAS ";AT 13,17;T$i<br />
S* (SCH>8) * I5CH>11) ) : BEEP .4,1-2<br />
0* (SCM *20* (SCM>11) : PRINT RT<br />
14,17;"SCORE ";INT (SCM/2): LET<br />
U (PL.) =J (PL) +INT (SCH/2)<br />
4<br />
2220 GO SUB 8650 PRINT RT 12,17<br />
; PRPER 4," PRESS ";RT 13,17, fi<br />
ENTER ";RT 14,17;" TO FIND<br />
" ; RT 15,17;" C-Oir-T<br />
RT 16,<br />
7," £1+DICE "<br />
2230 IF INKEY® THEN GO TO 22<br />
30<br />
983<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 52
, "ME<br />
iTEH<br />
JX" ,<br />
rFEE<br />
LET<br />
> 1 2 0<br />
•XT<br />
N , 7<br />
; Pfl<br />
} "<br />
u j s e<br />
7; TS<br />
1Y 15<br />
7; P<br />
; T * i<br />
, i<br />
RT<br />
_ET<br />
3, I T<br />
-IN£><br />
16 , 1<br />
3 2 2<br />
SPECTRUM CAME<br />
2240 GO SUB 8650; GO SUB 8500: G<br />
0 SUB 34-30: LET C(PL) =C(PLJ -1-D:<br />
PRINT RT 14-,6;" MERL COST £";l-<br />
0<br />
2250 IF SCM>11 RND 10 THEN GO TO<br />
4.455 IF P (PL) +GR < =10 THEN LET P i<br />
PL) =P (PL) + GR : LET C (PL) =C (PL j -GR<br />
* (PR/100)<br />
4 465 GO SUB 8610:<br />
; "FUEL "; P (PL) ; '*<br />
" CRSH £ " ' C- (PL)<br />
PRINT RT<br />
GRL . " ; RT<br />
10 , 13<br />
14,<br />
4.4.70" GO<br />
4.490 IF<br />
SUB 8650 . GO<br />
LO OR PMD > . 5<br />
SUB 35G0<br />
THEN RETURN<br />
4-495 REM ttttBtttt SITE FEES ttiitttta<br />
•U9? 11= F5F = 1 THEN GO TO t550<br />
4500 FOR N=5 TO 7: PRINT PT N,6;<br />
": NEXT N; PR<br />
INT RT 6,7; PRPER 4-;" R CRMPINC-<br />
SITE "<br />
4S10 LET SF = 3 + INT (RNO*3^ * PR IN"*<br />
RT 8.4;"YOU MUST PRY ci r t u o<br />
;RT 9,4;" PRESS ENTER TO FIND<br />
";RT 10,13;" COST ";RT 13,4,"<br />
COST UILL BE £";SF;" TIMES ";RT<br />
14,4;" THROW OF DICE<br />
4515 PRUSE 0: BEEP .2,20: FOR N~<br />
1 TO 150: NEXT N: IF INKEY$:>""<br />
THEN GO TO 4500<br />
4 520 GO SUB 8500: GO SUB 8430: P<br />
RINT RT 11,4;* COST IS £";SF*D<br />
; " ": LET C (PL) =C (PL) - (SF<br />
*D)<br />
4530 DIM N $(3,8) : LET N$(1)="TER<br />
RIBLE": LET N$(2)="GOOD": LET Nx*<br />
(3) =" PRETTY " : LET ST =1 +INT (RND if<br />
3)<br />
4540 PRUSE 100: LET J(PL)aJ(PL)+<br />
( ST =3) + ( ST =2 OR ST =3) - ( ST =1) : PR<br />
INT RT 15,4-; " IT IS R "; N$ (5T) ; "<br />
SITE ";RT 16,4;"SCORE ";
_<br />
GO 3650: GO TO 8600<br />
4.550 GO SUB 455f.: GO TO 4-590<br />
4-555 GO SUB 55(>G ; FDR N =3 TQ 11.<br />
PRINT AT INK 3; "KB3E«ffMa—^<br />
Q T<br />
4-SStf P R I N T R T<br />
2, B R I G H T 1;<br />
A570 FOR N = 12<br />
NEXT N: FOR<br />
SPECTRUM CAME<br />
(v=Q TO<br />
N,7; INK 1, W<br />
NEXT N<br />
10,8; PAPER 7;<br />
5UIZUAY5 STORES<br />
TO 17; PRINT RT<br />
INr-.<br />
t •<br />
5 ; INK 3; ' »<br />
NEXT N<br />
4 5 S S PRINT AT 1 7 , 5 ; INK I; PRPER<br />
3 ' ' ^ y y ^ f r f f y r T T T r t i h ' ' r e t u r n<br />
4590 PRINT RT 5,5; "YOU NEED PROU<br />
ISIONS"; GO SUB 3650<br />
4300 PRINT RT 6,S; PRPER 4; "DICE<br />
WILL DECIDE UHftT";RT 7,5;"HPPPE<br />
MS. IN STORE": GO SUB 8650: GO 5U<br />
8 3500; GO SUB 843©<br />
4610 RESTORE 4-610: DRTR "OUTRRGE<br />
•US","EXPENSIVE","AUERAGE","FRIR<br />
_Y CHEAP","UERY CHERP","GIUE RUfi<br />
4-620 FOR N = 1 TO D; RERD NEXT<br />
N: LET DU=D: PRINT RT 12,4;"THE<br />
PRICES IN THE SHOP ";RT 13,4;"R<br />
RE ",G>$<br />
4630 PRINT RT 15,5;" SCORE ";D:<br />
LET J(PL)=J(PL)+D: GO SUB 8650<br />
4640 GO SUB 8500: LET PR=12+INT<br />
i'PNOJ5) * PRINT RT 12,4; "YOU EXPE<br />
CT TO SPEND £";PR,RT 13,4;"DICE<br />
U' ILL TELL YOU RT 14- 4 ."SIZE OF<br />
SILL ": PRUSE 90: GO SUB 8430<br />
4 650 LET PP=5+D*3: PRINT RT<br />
; "YOU RC-TUALLY SPEND £";PP;AT 14<br />
,4; PRPER 6;"<br />
4 560 LET C(PL)=C(PL)-PP<br />
4670 IF PPU < 3 > : LET J(P<br />
L?= U(PL)+3>3*(DU GO TO 472C<br />
4.690 IF PP >PP+2 THEN IfxJT RT IS<br />
: 4; "YOU OUER SPEND IF DV>4. TH<br />
EN PRINT RT 16,19ALTHOUGH";AT<br />
1 7 , 4 ; " I T ' S " ; © $ ; "<br />
4^00 I F P P > P P + 2 THEN P R I N T RT 1~'<br />
, 20 ; , ,5COR£";-3-3*:-X ti4) : i-ET J( P<br />
L_) =JiPL) -3-3 * t DU >4 > GO TO 4720<br />
4 7 1 0 P R I N T RT 1 6 . 4 • " V O L R P E C L O t t<br />
£ T O Y O U R ' ; R T 1 7 , ^ ; " B U D G E T . S C O<br />
R E 2 " : L E T J ( P L J s J ( P L » + 2<br />
LET FSF=0: GO SUB 3650: GO<br />
TO 8600<br />
4740 REH tttznn LRZY DRY<br />
•i7t>i3 LET SC-D =0 : PLCT 39,-12®: DRR<br />
U 50 , 1 3 , — . 5*P I: T m =» - (>b<br />
AW -10,-2, .StPI; SEXT N. PLOT 64<br />
,125; DRAW 5,-40 * P L O T 39,64; DR<br />
RU 175,0: PLOT 10®,134: CRAW 30,<br />
30: DRAW 30,-33: PLOT 133,134: O<br />
RAW 50,8: DRRU 30,-30: DRAW -50.<br />
. r \ n m i c c nt<br />
— _ - O , t'<br />
47CCJ CIRCLE 90,80,7: DRAW<br />
DRRW 1 0 , 1 6 : D R R U 1 4 , - 1 6 . D R R U S -<br />
5: PLOT 1 0 0 , 7 7 : D R R U 2 2 , - 4 : PRIN<br />
T RT 1 4 , 4 ; " R LAZY DRY RT CAMP"<br />
4770 PRINT RT 15;4;"SUNBATHE RS<br />
LONG RS",RT 16,4;"YOU CRN T H R O W<br />
OUER 3";RT 1 7 , 4 ; PRPER 4 , " P R E S S<br />
ENTER TO G*j" : PAUSE ©; GO -SUB 84<br />
30: PRINT RT 10,20, FLRSH 1 , ; " R G<br />
RIN": LET U(PL)sj(PL)+D: LET SCO<br />
= SC-D+D: IF D > 3 THEN GO TO 4 7 7 0<br />
4780 PRINT RT 10,12; PRPER 5.; "SU<br />
N S GOME IN": FOR N=0 TO<br />
P -1; BEEP .05,N: NEXT N<br />
< =8 THEN GO SUB 2000<br />
4790 GO SUB 8650: GO SUB<br />
O TO 8600<br />
4795 REH Knntt GOLF' SiJtti*<br />
983<br />
-10 STE<br />
IF SCD<br />
8500: G<br />
4-800 GO SUB 4810. GO SUB 486©; R<br />
ETURN<br />
4-810 FOR N=4 TO 9: PRINT RT N,4<br />
PRPER 5;"<br />
": NEXT N<br />
4320 FOR N=13 TO 17: PRINT RT N,<br />
4; PRPER 4,"<br />
": NEXT N<br />
4830 P RINT RT 12,6; PRPER 4; INK<br />
6;"DEG"<br />
4835 PRINT RT 13,6; PRPER 4; INK<br />
8;"HHI"<br />
4 840 PRINT RT 14,6; PRPER 4; INK<br />
6 ; " J K M "<br />
4850 PLOT 180,120: DRAW 0,-24: P<br />
PINT RT 7,23;"1": RETURN<br />
4-360 PRINT RT 6,6.-" A DRY RT "; fl<br />
T 7,6;" THE GOLF CLUB ": PRUSE 7<br />
5; PRINT RT 12,12," YOU PLRY YOU<br />
R ";RT 13,12;" OPPONENT IN ";RT<br />
14,12;" THIS GRME "<br />
A370 GO SUB 8650: GO SUB 4810: P<br />
PINT RT 6,6;"LOSER OF GAME";RT 7<br />
» 6 ,<br />
PAYS FOR",AT 8,6 ,"THE GRME<br />
COST £10";RT 9,6;"WINNER GETS<br />
13 POINTS"<br />
4880 DIM 5 , IS ><br />
4S90 GO SUB 8650: GO SUB 8500 P<br />
PINT RT 10,5;"PLAYER INK<br />
"PLAYER "; INK 2,"B";RT 4,4,"H<br />
OLD ""S"" TO SPEED GRME "<br />
4900 DATA 2,3,4,3,4,2,3,3,4,4,-<br />
3,5,4,3,2,4,3<br />
4910 LET DR=0 LET GSA=0; LFT GS<br />
B=0 RESTORE 490O; LET HOL=l+IN T<br />
(RND*30): FOR N = 1 TO 18<br />
4920 RERD P: PRINT RT 6,6,"HOLE<br />
NUMBER ";N;RT 7,6;"PAR = ";P+l<br />
4930 LET S(1,N)=PfINT lRND+3)<br />
4940 LET 5(2,N)=P+INT (RND*3j<br />
4950 LET GSA=GSA+5 + 1 : L E T D R = 1 : P R I N T R T 1 7 , 4<br />
j p f l P ^ R 6 , "*<br />
4980 IF GSB =HOL RND DP=0 THEN PP<br />
INT RT 12,17; "1": FOR M = 1 TO<br />
STEP 4: BEEP , 4 , M: PRINT PT 17-4<br />
; FLRSH 1; "HOLE IN ONE PLRYER ",|<br />
INK 2;"B": NEXT H: LET GSB =G5B<br />
(2,N) +1: LE"<br />
PRPER 5; '*<br />
DR=2: PRINT AT 17,<br />
4990 PRUSE 150: BEEP .5,20: NEXT<br />
N: PRUSE 50: GO SUB 4810<br />
4995 IF GSA=GSB THEN PAUSE 100:<br />
PRINT RT 5,4;"GRME DRAWN. ";RT 6<br />
,4; "SHARE COST"AND POINTS": LET<br />
J(l) = J(1) +5: LET J(2) =J(2) +5: LE<br />
T C C 1) =C ( 1) — 5 : LET C(2)sC(2) -S<br />
5000 IF GSR >GSB THEN LET U(2) =J!<br />
2*+10: LET C(l)=C(1)-10: PRINT H<br />
T 5,4;"PLRYER "j INK 2;"B"; INK<br />
0; WINS" ;<br />
5010 IF GSAn'G&B THEN LET J(l) =JI<br />
1) +10: LET C(2) =C(2) -10: PRINT A<br />
T 5,4;"PLRYER "j INK 1;"A"; INK<br />
0 " * * y X N 5 "<br />
5015 IFDR=0 THEN GO TO 5060<br />
5020 IF DR = 1 THEN PRINT AT 7,4;"<br />
PLRYER ••; INK 1; "R"; INK 0, " HRD<br />
";RT 8,4;"R HOLE IN ONE"<br />
5030 IF DR =2 THEN PRINT AT 7,4,"<br />
PLRYER "; INK 2;"8"; INK 0," HRD<br />
";AT 8,4,"A HOLE IN ONE"<br />
5040 GO SUB 8650: GO SUB 4810: I<br />
F DR > 0 THEN PRINT RT 10, 10, "B PC'<br />
UND RT 19th";RT, 11, 10; "TEE WILL<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 54
COST : "j RT 12, 10; "£2xTHROU OF D I<br />
CE": PR USE 200: GO SUB 8430<br />
5050 IF DR>0 THEN LET C(DR) =C(DR<br />
}-2*D: PRINT RT 17 , 5; "COST £";2*<br />
D<br />
5060 GO SUB 6650<br />
5070 GO TO 8600<br />
5150 REM nntttt BERCH TRIP<br />
uutttt<br />
516© LET I? =6: GO SUB 5170: GO TO<br />
5230<br />
5170 LET SUB=5170: FOR N=4 TO IS<br />
: PRINT RT N , 4; PRPER 5;" .<br />
": NEXT N: FOR N<br />
= 11 TO 12: PRINT RT N,4; PRPER 1<br />
;" ": NEXT<br />
N<br />
518© IF D>=4 THEN FOR N = 1 TO 10<br />
INK 6: PRPER 5: CIRCLE 160,120,<br />
N: NE>£T N: INK O: PRPER 7<br />
51-90 IF D " J • — ^<br />
; RT 14,15; INK 1, CRR PrtRK" , RT L<br />
5,17, " £ 1" ; RT 16 , 15; "R DRY"; GO S<br />
UB 6650<br />
5235 FOR N = 13 TO 17: PRINT RT N,<br />
14; PRPER 6;" ": NEXT N<br />
5240 LET M 1=20 f TNT (RND f 10 ) : PRX<br />
HT RT 13,5, "YOU MRY GO ON R UI5I<br />
14,5," TQ THE SER " ; RT IS,<br />
5; 11 IT IS "J MI; " MILES ": INPUT<br />
" ENTER "; FLRoH I;"Y"; FLRSH 0,<br />
'E5 CP "; FLRSH 1; "N"; FLRSH 0, "<br />
LINE Z$ IP Z$="N" THEN RETU<br />
"V 1 •<br />
v /<br />
RN<br />
IF LO=l THEN L<br />
GO SUB i 0 0 0<br />
ET T2=0: R E T U R N<br />
525© LET C (PL) =C ( PL > — 1 : LET LO=P<br />
: GO 5U3 350©: PRINT RT 10,5," T<br />
URDU DICE TO FIND " ; RT 11,5;" O<br />
•J' THE, UERTHER . " ; RT 12 , 5; " T<br />
HE HIGHER SCORE " ; RT 13,5;" T<br />
HE BETTER<br />
5260 GC SUB 8 4 3 0 : DIM H$I6,6)<br />
"5270 LET h $ ( 1 > = "STORMY" : LET H$ -<br />
= j ="RRIMY" : L E T H$ ( 3 ) ="CL0UDY" :<br />
^ET H$(4i LET H*(5)="HOT<br />
11 LET H4i6) = "5UPER"<br />
5230 PRUSE 25: GO SUB 3500: GO S<br />
UB SUB: LET U(PL)=U(PL)+D: PRINT<br />
RT 10,5;" THE UERTHER IS '* : PRU<br />
SE 50: PRINT RT 1 1 , 5 ; H $ ( D ) ; " SCO<br />
RE " ; D ;<br />
5290 IF SUB < >5170 THEN RETURN<br />
5300 IF D > 2 RND RND < . 6 THEN GO S<br />
UB 8650: PRINT RT 5,4-; "YOU UIN R<br />
" ; RT 6, 4; "SRNDCRSTLE"; RT 7,4; "CO<br />
HPETITION": LET PRI=2 + INT (RND *4-<br />
): PRINT RT ©, 4, "SCORE ";PRI; " P<br />
OINTS": LET U (PL) =U (PL) +PRI<br />
5305 IF D > 2 THEN GO TO 5580<br />
5310 PfiUSE 70: PRINT RT 5,4;" GO<br />
ON THE ";RT 6,4;" PIER OUT OF";<br />
,4;" THE RRIN' GO SUB 8S5*?<br />
5320 GO SUB 8500: FOR N=5 TO 17<br />
STEP 2: PRINT RT N , 4 + INT N/2; PR<br />
-EP 1 + INT : LET U$(6)=US(4): LET U$(7<br />
? =U$(2) : LET J$i8) =J$(2) : LET U$<br />
(10) =J$(2) : LET J$ (il) =J$ (4-)<br />
5370 FOR N=1 TO 11: PRINT RT 6+N<br />
,6,; PRPER 7; J$ (N) : NEXT N: FOR N<br />
=10 TO 15: PRINT RT N,20; PRPER<br />
6;"I": NEXT N: PRINT RT 15,19; P<br />
RPER 6;<br />
5380 PRINT RT 6,21; PRPER 4;"POX<br />
NTS";RT S,23, PRPER 7," 2 ";RT 9<br />
.23; "--R"<br />
5390 PRINT RT 11,23;" 4 ";RT 12,<br />
23;"-BB";RT 14,23;" 8 ";RT 15,23<br />
; " C C C "<br />
LET UT=0: LET TU-1: LET GO=<br />
INT (RND*3): PRINT HT 17,8, PA<br />
PER 2; INK 7; BRIGHT 1, "lOp R G-'^<br />
"SfTT 10,8; PRPER 1, "YOU HRUE"<br />
RT 11,8;" ";GO;" GOES ",RT 12 5<br />
D4 10 INPUT "PRESS ENTER TO PLRY<br />
LINE Z*. LET<br />
5420 PRINT RT 7,8, PRPER 3; INK<br />
7; BRIGHT 1; "GO ", RT 7,14;" *';T'<br />
it • a<br />
5430 LET NN = 20 + INT (RND-HO) : FO«<br />
N = 1 TO NN: LET FMR= t 144+ INT<br />
E>*3> ) : LET r MB = ( 144 * INT<br />
LET FMC = ( 144 + INT {RND-^Cl<br />
5440 FOR M = 10 TO 12 PP TNT PT M<br />
8; PRPER 5," N E X T M<br />
5450 PRINT RT 11 9; INK 3 / . ; H k $ *<br />
; RT<br />
! •<br />
11,12; INK 1;CHP3<br />
INK 2;CHP4 Ff^C<br />
RETURN<br />
5700 PRINT RT<br />
¥N ";RT 6,11;"<br />
8650: GO SUB<br />
•MS, HT<br />
— N<br />
j<br />
5460 IF FMC = 144 THEN<br />
5470 IF FMB=145<br />
M<br />
LET U=4<br />
5480 IF FMR = 146 RND ^MB = 146 R N D<br />
FMC = 146 THEN LET U = S<br />
5490 PRINT RT 15,12.U: LET TU=T\<br />
+ 1 : L ET UT =UT + U : IF TU< >GO +1 "HE<br />
N BEEP ,5,TU: GO TO 54 10<br />
5500 GO SUB 8650: GO SUB 8S00• P<br />
RINT RT 6,5;" YOU SCORED ";UT;" .<br />
POINTS "; RT 8.5," IT COST YOU i<br />
; GO/10: LET U (PL) =PL) +UT : LET<br />
C(PL;=C(PL)-(GO/10)<br />
5590 GO SUB 8650- GO SUB 1O00: L<br />
ET TI=0; GO TO 3600<br />
5500 REM nnntitt RRILURY<br />
5510 LET DSL =0: GO SUB 5620 GO<br />
TO 5700<br />
5620 DIM U$ (6 , 1,7)<br />
5630 LET ( 1) =""<br />
5535 LET U $ ( 2 ) ^<br />
5540 LET US(3)=<br />
t-64 5 LET (4) =<br />
5650 LET U$(5)=<br />
5655<br />
U $ ( B ) =<br />
5680 FOR N = 1 TO 6 PRINT RT 8 +N<br />
5; PRPER 6,U$(N) : NEXT N<br />
5670 FOR N =5 TO 13: CIRCLE 30,54<br />
,N: CIRCLE 0,54,N: NEXT N. FOR<br />
N=50 TO 53: PLOT 75,N: DRRU 55.<br />
3: NEXT N<br />
5680 PRINT RT<br />
PRPEP 6,<br />
V *'<br />
1690 FOR N = • PRINT RT<br />
5; "S ' : NEXT N: PRINT RT 3,22; IN<br />
• * ,<br />
K 2; ' S' ; INK 7<br />
INK 2;<br />
5,©;" THE FULL O T<br />
RRILURY ": GO SUBw<br />
5710: GO TO 5720 ^<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 55
SPECTRUM CAME<br />
571© FOR<br />
O PRINT RT N • 4- 8 5250<br />
PRPER<br />
5120 DATA "LIONS","TIGERS","ELEP<br />
": NEXT N: RETURN<br />
HANTS","HONKEYS","GIRAFFES","RHI<br />
, ni ii<br />
57?e LET hi =15 -fl NT ( RND flf) ; PRI NOS","CRMELS","BUFFRLOS","UOLUES IOLUES<br />
NT RT 5,5;"THE RAILWRY 15 ";MI;A ","ZEBRRS","GNUS"<br />
T 6,10;" MILES RURY";RT 16,13, P 6130 LET RN=0: RESTORE 6120 I: GO 1<br />
RPER 4, "COST £2" : INPUT "DO YCU SUB 8650: GO SUB 8500: FOR N = 1 T<br />
WANT TO GO BE5 OR fflJO", LINE Z* 0 11: READ Q*. IF RND . U SEE";AT 10,5, "THESE " ; AT 11,5<br />
6 THEN GO TO 5760<br />
;"ANIMALS " ; AT 13.5; "SCORE 2 " ; RT<br />
5750 GO SUB 57 10 PRINT RT 4,5;" 14,5 "FOR ERCH"<br />
NO STERM TRAINS TODAY";AT 5,5;"L 5150"IF N > 4 AND FUD.9 THEN 4: LET J(PL) = J(PL) +2: LET AN =RN*<br />
GO SUB 5710: PRINT AT 4,5;"NEXT 2: PRINT AT 15,22;"SCORE";AT 16,<br />
HER RNY": LET DSL=1<br />
25;AN: NEXT N: PAUSE 100<br />
5770 PRINT RT 5,5;"DIESELS 6170 LET FL = 1: GO SUB 8500: GO S<br />
R U N N I<br />
NG TODRY"; RT 6,5; "SCORE "; -3KDS 1 iR R « 7 «<br />
L = l) +4-J (DSL=0) : LET J(PL) =J(PL) - 6180 IF RND>.8 THEN GO SUB 8650<br />
3f ( DSL = 1 > +4 + ( DSL =0 ) : GO TO 579® PRINT AT 4,5, "YOU SL. IP IN SEAL<br />
5^30 GO SUB 5710: PRINT RT 4,5;" ON ",AT 5,5,"POOL LOSE 3 POINT5<br />
/CURE IN LUCK",RT 5,5;"STERM TR ": LET J (PL) srJ CPL ~3 : L.ET FLr.0<br />
AINS RUNNING";RT 6,5;"TODRY. SCO 6190 IF RND> .6 T MEN GO SUB 8650<br />
RE 5": LET JtPL>=U(PL)+5<br />
PRINT AT 4,5, 'HALE SUPER ICE Cfl<br />
5790 LET FL = 1: IF RND ; AT 7, 10; "YOUR RNKLE": L , PRPER 2; INK 7, BRIGHT 1<br />
LG=3+2f (Q-=2) +7* (©=3)<br />
hi 1; "<br />
;83© GO SUB 8650: GO SUB 5710: P EXT N<br />
' INT RT 5,5;"LOSE ";LG;" POINTS 6310 PRINT RT<br />
. AT 7,10, PAPER 6;"<br />
7;" D I S A S<br />
LET U (PL) =J (PL) -LG: LET FL =0<br />
St?50<br />
5850 IF RND>.5 THEN GO SUB 8650: 6320 PRINT<br />
GO SUB 5710: PRINT RT 5,5;" YOU WN IN THE<br />
SEE FAMOUS TRAIN ";AT 6,5;" SCO Rs^E<br />
RE 4 POINTS ": LET J(PL)~J(PL)+4 TEP TO SEE<br />
LET FL =0<br />
OINTS YOU<br />
5860 IF RND>.92 THEN GO SUB 8650<br />
: GO SUB 5710. PRINT RT 5,5;" YO<br />
U GET R RIDE ON ";AT 6,5;" THE F<br />
•JOTPLRTE "; AT 7., 5, "SCORE 8 POINT<br />
5 ": LET U (PL) -1} (PL) +8 : LET FL=0<br />
5870 IF FL THEN'-GO TO 5790<br />
5900 GO SUB 8650: GO SUB 1000: L<br />
FT T1=0: GO SUB 8600 RETURN<br />
5990 REM tttttttttt PARK tmtfltJt<br />
8000 LET HI =25+INT (RND*10) : GO<br />
SUB 6010: GO TO 6080<br />
6010 DIM J * ( 9 , 16 )<br />
6020 LET U$(l) =1"<br />
6025 LET U$(2)<br />
5030 LET J$(3)<br />
5035 LET J$ 1 AND H (PL) =28+ (PL<br />
=2) THEN LET U (PL) =U (PL) +3 : IF U<br />
• PL) >19 THEN LET H (PL ) =H ( PL ) - (U (<br />
PL)-19): LET U i PL ) =19 : LET D=D-N<br />
GO TO 6570<br />
5560 NEXT N<br />
6570 FOR N-1 TO D<br />
5580 IF y (PL) =19 AND M('PL)
B<br />
I<br />
r m<br />
> 2<br />
(H<br />
3 +<br />
PL<br />
U<br />
V (<br />
—N<br />
fP<br />
^<br />
U (<br />
L *<br />
0 0<br />
SPECTRUM CAME<br />
6590 NEXT N<br />
660C FOR N — 1 TO D<br />
6610 IF U(PL) 104- THEN GO SUB 8500.<br />
GO SUB SUB *5 0: LET LO=0<br />
5660 LET PL=PL + (PL = 1) - (PL =2) : GO<br />
SUB 3500: GO SUB 3510: PRINT R^<br />
2fl8n'PL=2) ,31; INK 1+(PL=2);CM<br />
Rt *»R : PLOT 4, A: DRRU 240,0 N<br />
EXT N<br />
3120 FOR Y=4 TO 172 STEP 24<br />
5130 PLOT 4,Y: DRRU 25,0: PLOT cL<br />
20, Y DRRU 24,0: NEXT Y<br />
6140, FOR N = 1 TO 4: PERD R:<br />
« , 4 : DRRU 0,163: NEXT N<br />
5150 FOR X =4 TO 248 STEP 24<br />
•3160 PLOT X,4: DRRU O,24: PLOT<br />
, 143 DRRU 0 , 24 : N E<br />
5170<br />
5180<br />
=39:<br />
5190<br />
STEP<br />
V tO";RT 7,12; THROW"" DICE "; M<br />
T 8,11;" RELEASE TO STOP"- TK»PM<br />
LINE Z$<br />
3460 IF D =7 THEN LET D = 1<br />
8470 PRINT RT 6,6;A$(D);AT 7,6;<br />
* (D) ; RT 8 , 6 ; C $ (D )<br />
8480 IF INKEY$="" THEN RETURN<br />
8490 LET D = D + 1 *. GO TO 8460<br />
8495 REM UUn BLRNK BORRD UUU<br />
8500 FOR Y=4 TO 17: PRINT RT Y , ; LET Ct(4)=R*(4)<br />
-3400 LET R $ f 5) =R$ (4) : LET B$ (5) --<br />
8 $ (1> : LET C%(5)=A$(4><br />
•5410 LET R$(6)-"CCC": LET B$i6)-<br />
Pf$ (1) : LET C$i628, 125,255,255,255,255, 0 , 0 , O , 0 J<br />
193,231,239,255,0,0,0,0,1 9 2'^<br />
='24 , 240 , 15, 15,31,63, 127 , 63 , 63 , 15<br />
,240,224,252,252,243,240,224,240<br />
,15,15,3,1,0,0,0,0,255,255,255,2<br />
55,124,60,24,16,255,255,223,135<br />
6,4,0,0,240,224,224,128,0,0,0,0<br />
9130 RESTORE 9110: FOR N=0 TO IP<br />
FOR H=0 TO 7: BORDER H: BEEP ~<br />
005 , N<br />
9140 RERD R: POKE USR CHR$ (
1983<br />
(BitiUersttp j§>ofttoare<br />
LIBRARY OF ADVANCED MATH/STAT/ECON<br />
TAPE 1: MATRIX OPERATIONS SPECTRUM £6.9S <strong>ZX</strong>81 £5.95<br />
State A: Inversion multiplication addition subtraction and scalar mulliplicalion ol<br />
"jt' jos arte vectors «ithm one smgltf piOfad Any output can in luin tw used as the<br />
!1 yiuare .tin..<br />
TAPE 2: POLYNOMIALS SPECTRUM £6.95 2X81 £5.95<br />
Side A: :nadratic equations ias degree ? polynomials! and Newton Hapnson<br />
arvrt^an- ntervai search methods tot higher degree polynomials Computes the roots «filh<br />
3 ftipits Ol piecuxin<br />
Stale B: You can plot polynomials handling all sorts ol linear<br />
programming problems (any combination ot . constraints and<br />
xi>.xi20 20x15 16K Spectrum 10x10 -SflKSpoctrum 10x501 25x40 50x30<br />
Side 8: Solutions ot simultaneous equations<br />
TAPE S(b): PROFESSIONAL LINEAR PROGRAMMING £14 95<br />
A'.ii sible tor I6K <strong>ZX</strong>8t and 48K Speclrum with above features plus save dala and<br />
farce-data facilities Any single data entry can be changed m order lo observe ils<br />
effect on the solution<br />
• All inclusive prices for the UK •<br />
• Tapes 1-5(a) Spectrum £35 <strong>ZX</strong>81 £30<br />
Cheques payable to:<br />
UNIVERSITY SOFTWARE<br />
29 St. Peter s Street, London N1 8JP.<br />
SPECTRUM<br />
UPGRADE<br />
ONLY<br />
(ISSUE 2 MACHINES ONLY)<br />
TANDEM<br />
Expandable Expansion system,<br />
gives 4 expansion slots for Vic 20 cartridges<br />
Custom designed case. Plugs directly into<br />
computer. Further expanded by using<br />
Taridern System ROM socket. No<br />
extra power supply needed £30.00<br />
SEND NOW TO<br />
FOX ELECTRONICS<br />
141 ABBEY ROAD BASINGSTOKE,<br />
HANTS TEL 0256 20671<br />
cAliens witcoMf APPOINT»tm<br />
FOX<br />
ELECTRONICS<br />
Presents Products:<br />
For the Spectrum and the <strong>ZX</strong> 81<br />
£21.00<br />
incl VAT + P&P<br />
Spectrum <strong>ZX</strong>-81<br />
KEYBOARD £29.95<br />
INCL<br />
FOR THE SPECTRUM OR<br />
<strong>ZX</strong> 81 A4? KEY FULL<br />
TRAVEL CASED<br />
KEYBOARD WHICH YOUR<br />
MACHINE SITS INSIDE.<br />
PLUGS IN (NO<br />
SOLDERING REQI<br />
Please allow 21 days delivery<br />
SPECTRUM<br />
QUICKSHOT<br />
JOYSTICK<br />
• intvilacm to phi< straight<br />
into SPECTRUM<br />
• CompefiM* wftft most<br />
software from QuiC*JiJv«,<br />
SWvenoft. *rtic. New 0*n<br />
ate., ate. nM. y<br />
• Other pros'""" zSlzZ.<br />
HI lit modified £19.99<br />
• Full Instructions + C1.50P* P<br />
QUEST<br />
MICRO SOFTWARE<br />
SIMPLY THE BEST<br />
Momentum is building last with the BLACK HOLE High<br />
Scoro COMPETITION Leading score so far is an amazing<br />
2530 sent in by Russell Capel of Swindon Village. Glos<br />
When we designed the BLACK HOLE we decided to<br />
provide a real challenge for the player — and we appear to<br />
have succeeded since very few people have managed to<br />
pass the 'magic' barrier of 1000. Could YOU be the next?<br />
Our second game. VIOLENT UNIVERSE, snowavailable<br />
and will run on any Spectrum. In addition to having the same<br />
addictive and challenging qualities as The Black Hole, and<br />
another totally original game plan, the VIOLENT<br />
UNIVERSE offers a complete visual experience with its<br />
animated graphics and violent explosive effects<br />
QUEST — A NEW DIMENSION IN SPECTRUM SOFT-<br />
WARE — The battle could be yours. but it won't be easy'<br />
THE BLACK HOLE and VIOLENT UNIVERSE are available<br />
from QUEST MICROSOFTWARE, 119 THE<br />
PROMENADE, CHELTENHAM, GLOS at C5 50 each<br />
or from your<br />
local software retailer<br />
For details please ring<br />
0242 583661<br />
THE BEST AVAILABLE <strong>ZX</strong>-81<br />
EXPANDABLE RAM PACK AT<br />
THESE ~ 1 nvAJ PRICES!!<br />
16*<br />
rig so n<br />
32K<br />
t34 00<br />
• 4Sc pap<br />
The <strong>ZX</strong> Panda a specially contoured unit<br />
designed to eliminate wobble and memory<br />
loss, housed >n a very attractive case with<br />
red LED on oft indication<br />
A replacement keyboard this one with<br />
a calculator type feel Peel off backing<br />
and press to fit.<br />
Incredibly low<br />
price of<br />
£10.00<br />
INCL<br />
FOX ELECTRONICS, 141 ABBEY ROAD,<br />
BASINGSTOKE, HANTS.<br />
Please send me<br />
Name<br />
Address<br />
ITEM QUANTITY PRICE TOTAL<br />
J<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 5
1<br />
gn<br />
ng<br />
to<br />
to<br />
to<br />
(t?<br />
Die<br />
ne<br />
nd<br />
MT<br />
its<br />
Tsy!<br />
ail—<br />
iE<br />
SOFTWARE REVIEWS<br />
The #8l soft selection<br />
Nick Pearce casts his eyes over the<br />
latest software packages for<br />
the <strong>ZX</strong>81.<br />
Invaders —<br />
Odyssey<br />
Computing<br />
Invaders from Odyssey Computing<br />
is a high resolution<br />
yes, high resolution on your<br />
<strong>ZX</strong>61 - version of the popular<br />
arcade game. Unbelievable?<br />
Well, its true, and no ex pen<br />
sive hardware either, |ust the<br />
standard computer with 16K<br />
RAM. None of the usual <strong>ZX</strong>81<br />
characters to represent the<br />
alien fleet, in this game they<br />
are the genuine article. Action<br />
is fast and smooth too, and the<br />
explosion when your ship is hit<br />
really is shattering!<br />
Alter LOADing — which<br />
takes about five minutes — the<br />
program runs automatically.<br />
As well as the Hi res display<br />
the facilities offered are im<br />
pressive. The game required is<br />
first set up: a one or two player<br />
game can be selected (two<br />
players can either take turns or<br />
play simultaneously); the<br />
keyboard mode is selected;<br />
and the missile firing rate and<br />
bomb dropping rate are<br />
chosen. Selecting a high<br />
missile firing rate and a low<br />
bomb dropping rate gives a<br />
relatively easy game in which<br />
even the beginner can achieve<br />
a high score; increasing tha<br />
bomb rate and or reducing the<br />
missile firing rate makes the<br />
game more difficult for the ex<br />
perienced player.<br />
The game is robust but will<br />
crash if, for example, invalid<br />
entries are made in the setting<br />
up sequence A small price to<br />
pay for an excellent game.<br />
I am afraid your existing<br />
library of arcade games for the<br />
<strong>ZX</strong>81 is likely to lose much of<br />
this one. No sound or colour,<br />
of course, but the Hi-res<br />
display really does break new<br />
ground. An outstanding<br />
achievement.<br />
The use of high resolution<br />
graphics will almost certainly<br />
open up a whole new genera<br />
tion of <strong>ZX</strong>81 software as other<br />
software houses follow suit.<br />
An excellent game.<br />
Invaders costs €4.95 from<br />
Odyssey Comuting, 28<br />
Bingham Road, Sherwood,<br />
Notts NG5 2EP.<br />
Ocean Trader and<br />
Pioneer Trail —<br />
Ouicksilva<br />
Ocean Trader is a role playing<br />
adventure game set in the<br />
nineteenth century in which as<br />
captain and owner of a 1 30<br />
ton sailing barque, your aim is<br />
to make a profit of E'/im and<br />
retire. To do this you buy and<br />
sell coal, whisky and other<br />
cargos, sailing from port to<br />
port looking for a good price<br />
for them. Hazards abound and<br />
during the voyages you will en<br />
counter pirates, severe storms<br />
and overzealous insurance<br />
agents, to name a few.<br />
1 iuERPOOL<br />
LOMDON<br />
ueucnsTi-R<br />
JOUTnfMPTO"<br />
Some sample screen illustrations<br />
from the program, Ocean Trader.<br />
JER 1983 <strong>ZX</strong> COMPUTING AUG SEPT 1983 59
You make money by virtue<br />
of the varying prices in each of<br />
the five ports, but it is a slow<br />
and frustrating process just<br />
breaking even — never mind<br />
that elusive £500,000 profit<br />
you are after. You can lose half<br />
a valuable cargo in a severe<br />
storm, and if you cannot meet<br />
your insurance bills your ship<br />
can be impounded!<br />
Your home port is Swansea.<br />
A finance company here will<br />
loan you money if you require<br />
(you certainly will!) but<br />
beware, interest increases by<br />
1 2 Vi % each time you sail from<br />
port and there is a limit of<br />
£25,000.<br />
The game is in two parts.<br />
The first comprises comprehensive<br />
on screen instructions;<br />
the main game is loaded<br />
separately. This format<br />
enables the full 16K to be used<br />
for the game itself, but does<br />
have the penalty of extended<br />
LOADing times. The graphics<br />
accompanying the on-screen<br />
instructions are particularly impressive.<br />
Ocean Trader is a well<br />
thought out and enjoyable<br />
game. You will need to be a<br />
quick witted trader, and have<br />
luck on your side, to earn a rich<br />
retirement.<br />
Pioneer Trail is set in 1847<br />
when your family joins the trail<br />
to Oregon. You have 40 weeks<br />
to travel the 2,000 miles.<br />
Your assets consist of two<br />
tired old horses and $ 700 to<br />
spend on supplies; not a very<br />
auspicious beginning. You test<br />
your rifles before embarking on<br />
the trail, this is done by typing<br />
the changing letter or number<br />
on a moving target. You will<br />
need to be a good, and lucky,<br />
shot if you are to overcome the<br />
dangers of the trek.<br />
From then on you move<br />
along the trail towards your<br />
destination. You have the opportunity<br />
to stock up at forts<br />
along the way (finances permitting),<br />
and hunt for food.<br />
Dangers are encountered frequently<br />
and include hostile<br />
travellers, outlaws, rattlesnakes,<br />
severe weather and<br />
more. You can select one of<br />
20 levels of play from beginner<br />
to experienced pioneer.<br />
Limited use is made of<br />
graphics during the game. Instructions<br />
are displayed onscreen<br />
at the start.<br />
The incorporation of an in<br />
teractive element can add a<br />
touch of excitement to adventures,<br />
but I must admit that I<br />
found 'shooting' the target on<br />
Pioneer Trail rather uninspiring;<br />
success appeared to depend<br />
more on chance than reaction<br />
time or skill. Nevertheless, an<br />
entertaining game.<br />
Ocean Trader and Pioneer Trait<br />
cost £3.95 each from<br />
Quicksilva, Palmerston Park<br />
House, 13 Palmerston Road,<br />
Southampton SOI 1LL.<br />
Black crystal —<br />
Carnell Software<br />
Black Crystal is another role<br />
playing adventure in which you<br />
can become a warrior, wi2ard<br />
or elf in a quest to find and use<br />
the rings of creation to destroy<br />
the Lords of Chaos. Black<br />
Crystal is split into six parts<br />
which have to be played in the<br />
correct sequence in order to<br />
take the player through the<br />
Land of Beroth, the Castle of<br />
Shadows, Shaggoth's Lair and<br />
to the Black Crystal itself in the<br />
Dark Tower.<br />
SOFTWARE REVIEWS)<br />
S J U U - - U U<br />
u u U U U -U'J u
it pains,<br />
Jtc, and<br />
these is<br />
o seek<br />
similar<br />
>rogram<br />
ie pro-<br />
' subfominal<br />
in|ury,<br />
ich you<br />
wish to<br />
; used<br />
Doctor<br />
unless<br />
located<br />
m with<br />
sely to<br />
time<br />
n to be<br />
s hope<br />
ise too<br />
mea ringade<br />
a t e d<br />
'ou are<br />
quesalmost<br />
ledical<br />
to the<br />
i, until<br />
all the<br />
:hosen<br />
I. You<br />
Durself<br />
of beornble<br />
going<br />
s u b -<br />
^es/no<br />
used,<br />
e You<br />
emory<br />
aming<br />
:h you<br />
Disapndicalether<br />
oor or<br />
I.<br />
alified<br />
ijiven,<br />
nsible<br />
> little<br />
ice to<br />
0 gain<br />
1 you<br />
i food<br />
; feelj<br />
sick<br />
uldn't<br />
> over<br />
eeling<br />
loney<br />
on a<br />
liters.<br />
settes<br />
istage<br />
35 75<br />
npfete<br />
Comtmead<br />
terley,<br />
r 1983<br />
THE MOST EXCITING AND<br />
INNOVATIVE SOFTWARE EVER<br />
LAUNCHED FOR YOUR SPECTRUM<br />
BE SURE OF YOUR COPY<br />
SUBSCRIBE NOW!<br />
Cut out and SEND TO:<br />
'SPECTRUM COMPUTING<br />
513 London Rood<br />
Thornton Heath<br />
Surrey, CR46AR<br />
YOU HAVE NEVER SEEN<br />
ANYTHING LIKE IT- BECAUSE<br />
THERE IS NOTHING LIKE IT<br />
YES, IT'S A MAGAZINE, BUT<br />
WITH NO PAPER. IT IS ENTIRELY<br />
'WRITTEN'ON MAGNETIC TAPE<br />
READY FOR YOU TO SIMPLY<br />
LOAD AND RUN<br />
UNBEATABLE VALUE<br />
AT ONLY £2.99<br />
ISSUE NO. 2 NOW<br />
AVAILABLEAT<br />
W.H. SMITHS AND<br />
JOHN MENZIES. *<br />
'OR AVAILABLE BY POST FOR £2.99 (POSTAGE FREE) FROM<br />
SPECTRUM COMPUTING, 513 THORNTON ROAD, SURREY, CR46AR<br />
Please commence<br />
my subscription from<br />
issue No.2 (July August)<br />
Subscription<br />
Rates<br />
£17.94 for6 issues UK •<br />
£20.00 for6 issues by •<br />
overseas surface mail<br />
£24.00 for 6 issues by •<br />
overseas mail<br />
(tick • os appropriate)<br />
I am enclosing my (delete os necessary) cheque<br />
Postal Order International Mone y Order for £ .....<br />
(made payable to ASP L td) OR<br />
Debit my Access Barcloycord (delete as necessary)<br />
I I I<br />
Please use BL OCK CAPITALS and include post codes<br />
NAME (Mr Ms)<br />
ADDRESS<br />
Signature.<br />
Date<br />
POSTCODE
AGF<br />
PROGRAMMABLE<br />
lfi.ll I «»l N Mtm.t iHl f<br />
INH M I<br />
VtlfjMlIf l»r ••'•lilJiit •fr.iti.»l nrfr<br />
-if i mii mM<br />
i ftw<br />
I* • it «*f*A I<br />
miiin III I . .Af^aititM #<br />
l» #J" III 'Ol Wlft *#•«» III<br />
• r.!»J Ihr |||I# Ikl<br />
\»lf.i lifrflil- JtlhitaUjUiri f# f/jh<br />
»f«lrnM*«t<br />
|#j|r h>u rfl rfll 4#fitMi Md »nr<br />
ill '•»* !»•• i» 4 «10—• b^ai'l 'ill<br />
tec*<br />
Cnalw<br />
incTmwwi iw<br />
n H«h (sw<br />
VMitW'*!'! I<br />
VK Ur<br />
LATEST ADDITION<br />
New Generation Software<br />
• Knot In 3D f S 96<br />
' State "AGF version"<br />
«<br />
II<br />
JO Mo-**-<br />
IK ••ntow<br />
»'•»»<br />
* m «<br />
MM !<br />
t> H<br />
m H.kwi<br />
V:<br />
til^r.<br />
• Ptirar* mfw «"nlliKM Aa*<br />
DH0M MlTr*OT iwfv* 1* 1<br />
• ihiifftt Ann, l mprblhi* Pit*. *kh<br />
SUif^lM. U Wi, ImitKlLi<br />
• VtM.1 l»»»lkfl ImM|<br />
• I gM iw» fW^WIIWl If<br />
li*n<br />
ttlMHOI I JRS<br />
CKS<br />
SE^o cvt 0 inostamp >j(io(oi to ag f harowahe. oept zxc<br />
FflEtPOST 80GN0R REGIS. WEST SUSSEX. CO?? 98R<br />
otv ITEM ITEM PRICE TOTAL<br />
INTERFACE MODULE II<br />
20 95<br />
JOVSTICIt(S)<br />
SOf TA'ARE AS TICKED ON LIST<br />
SOFTWARE AS TICKED ON LIST<br />
? 54<br />
7X81 . <strong>ZX</strong>SPECTHUMG fiMie tick FINAL TOTAL<br />
nALin^viiuii MieoM ' ru% trrucirw<br />
1983<br />
c<br />
MICRO<br />
SHOP<br />
310 STREATHAM HIGH ROAD. LONDON SW16 6HG<br />
Tel: 01-769 2887 v<br />
Open Tues—Sat 10 30 am to 5 30 pm (Closed Mondays)<br />
SOFTWARE FROM ALL THE BEST SUPPLIERS<br />
— OVER THE COUNTER —<br />
PLUS GROWING RANGE OF PERIPHERALS.<br />
SEE IT N TRY IT BEFORE YOU BUY IT.<br />
SAE appreciated for catalogue — but please specify<br />
for which computer.<br />
DR&60N <strong>ZX</strong>81 <strong>ZX</strong> SPECTRUM<br />
THE WORLD'S GREATEST RANGE OF<br />
SINCLAIR SOFTWARE<br />
PIONEERS IN 1981 — WAY AHEAD TODAY<br />
O'C-ACORn'Z^<br />
BOOKS<br />
NEW'- BUFFER CLUB for regular customers.<br />
Special Offers - Lectures - Foreign Trips -<br />
Software Promotions. Ask for details of membership<br />
on your next visit.<br />
MEMBER OF THE COMPUTER THA0E ASSOCIATION _ YOUR FAIR DEAL<br />
GUARANTEE<br />
VISA - ACCESS - AMERICAN EXPRESS - OINERS CLUB<br />
ALL CARDS WELCOME J<br />
SOUND with SINCLAIR<br />
R MAKE AMAZING SOUND EFFECTS<br />
WITH YOUR <strong>ZX</strong> 81.<br />
TIMEX Sinclair 1000<br />
or SPECTRUM<br />
THE ZON X<br />
•M<br />
£25.95<br />
mdp&o&VAf<br />
• Tk? ZON SOUNO UNIT IS completely soil-containod and especially<br />
designefl use AT'h the /x SI Til/Ex Sinclil" 1000 arm Spectfyfi<br />
Cotipuleis II iusl plugs m — no cl'SiiianlMig or sokJefing<br />
• No powc pack naileries load* or oltaH e>tfas '<br />
• Manual Volume Control on panel — ample volume 'torn buiH-in loud<br />
speaker<br />
• Standard Sinclair — 16K Rampsck or pr.nie» can be plugged into^ONX<br />
Sound Uml without affecting noimal compute* ooe'alu'<br />
• Huge range ol possible sounds tor Games Music. Helicopters Sci Fi.<br />
SpaceinvaOers Explosions,Gun-srrots,D'ums Planes Lascs Organs,<br />
Bells. Tunes Chords eic o> whatever you devise'<br />
• 8 Tun octaves Uses 3-Cnannei sounrt cnip givmgpiogramme control of<br />
pilch volume ot tones and noise an rt-ih envelope control<br />
• Easily added to emslmg games or programmes using a le* simple<br />
3ASIC lines or macd ny coOe<br />
• No memory addresses used — IO mapped<br />
FULL instructions with many riamplvt ol how lo obl.no elfectt and<br />
the programmes, supplied Fully guaranteed British Made<br />
'Except tt/itn Spectrum you need fie Spectrum it tension Board<br />
Orde' No SET PRICE £6 80 inc. VAT<br />
Payment may pe made Dy Cheque PO<br />
G»o NIL 3R8 7006 Postjl Order or Creo t<br />
Card<br />
Export orders - Bank Cheque interna<br />
tonai Money Ordei U S • or f Steiimg<br />
BhPAK<br />
Dvpl <strong>ZX</strong>, PO 8016,<br />
63A High Slrtvl,<br />
War*. H*rtt.<br />
um-<br />
toWlWMWM<br />
Ring 09!0 3183 lor<br />
VTwnsdWa d#jpoicfi<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 62
Brace yourself for a<br />
new generation of software<br />
ft<br />
V<br />
J j j Sjjj/jiJjai<br />
ilHBl<br />
.'6/W8 K SPEC TRun<br />
30 TUNNEL I6K 4SK Spectwm<br />
A M achon g'jpKcs flame to lest<br />
yajr ml and nerve Whal lies in the<br />
flrplhs ol fit tunnel 7 flying bats.<br />
tucnj loads. scurrying rait, crawling<br />
tpdf i a> appear the depth i ol Ihe<br />
movng Krintl Tlir 43K miipn alio<br />
holds a wj-pnse m store 1 ONLY<br />
Co-eato* w>th Kempnon and AG!<br />
JoyltcU "30 Tunnel contains some<br />
o* tlx mast impressive graphics you r*<br />
HaV to see on tire Spectrum"<br />
Computer and Video Games<br />
m i<br />
3<br />
FGR16X-SP£C7RUn<br />
ESCAPt 16K Spectrum<br />
You'll need plenty ol stamina to escape<br />
the dinosaur infested ma?e You'll have<br />
10 lind the ax and break oul o' Ore<br />
mug. but me Twieiaiops will ae<br />
looluig lor you and the Pleranodon<br />
could swoop down nn you al any lime 1<br />
ONLY E4S5 One ol the best and most<br />
origmai games we have seen lor The<br />
Spectrum so lar' Smcl»r User<br />
130 Tunnel I6K.48K «< £5.95 mc<br />
C. Escape (« £4 95 inc<br />
• Knot in 30 (u £535 inc.<br />
C ! 30 Defender (« £4 95 inc.<br />
• 30 Monster Ma?e f« £4 95 inc<br />
FOR H8K SPECTRUH FOR iSX 2X81<br />
KNOT IN 30 -18* Spectrum Th, is an<br />
achon game, lhat needs nerve and quick<br />
reactions' Hurtling through a void, your<br />
task is to IrarviH as long as posubfe seeing<br />
po«ts along the way Be careful though<br />
as you will have to awwi your own trail<br />
and Ihose ol up to (our chasers As traits<br />
are let; you have to thread your way<br />
through, but don't toiget the mw trails<br />
Ihe lass space ID' manoeuvring You will<br />
be teimmated Mien you 'malty get caught<br />
in The Knot Compatible w
Facts<br />
from the<br />
Fair<br />
Our roving reporter checks out<br />
the microscene at the 7th zx<br />
Microfair.<br />
The day was June 4 — not a<br />
particularly inspiring date<br />
except for the fact that this<br />
was the day that the 7th <strong>ZX</strong><br />
Microfair was to take place.<br />
Complementing the 1 30<br />
suppliers were over 8,000<br />
visitors to the exhibition in its<br />
new, and as it would seem,<br />
permanent home in the<br />
Alexandra Pavilion (or as we<br />
Londoners think of it, 'Ally<br />
Pally').<br />
There were many new<br />
companies at the show, and it<br />
was very evident that the<br />
stands were put together very<br />
professionally. Vortex, an<br />
extremely new company, had<br />
one of the most prominent<br />
stands at the show. Vortex<br />
were selling two Spectrum<br />
games. Android One and Gun<br />
Law. They also had a great<br />
game for the <strong>ZX</strong>81 called<br />
Astral Convoy.<br />
Protek Computing, a new<br />
Scottish-based software<br />
company, were exhibiting a<br />
wide range of hardware and<br />
software, including a cursor<br />
compatible joystick interface<br />
for the <strong>ZX</strong> Spectrum. Another<br />
new company. Apocalypse<br />
Software had, what I thought,<br />
was the best software deal I've<br />
seen for a long time — they<br />
had two extremely good games<br />
on one tape for a mere £4.90.<br />
They also had some useful<br />
utilities for the Spectrum so<br />
they might be a name to bear in<br />
mind when you're looking<br />
around the software shelves.<br />
Old favourites, Quicksilva,<br />
had a stand at the show which<br />
looked more like a space-age<br />
house. They were exhibiting<br />
their latest titles to a large and<br />
interested crowd. As were<br />
Artie, who were showing five<br />
983<br />
of their new programs for the<br />
Spectrum.<br />
Hewson Consultants,<br />
famous for their 'Nightflight'<br />
flight simulation program, have<br />
now released a new software<br />
package called 'Heathrow —<br />
Air Traffic Control'. In this you<br />
must talk several aircraft down<br />
onto the runway, trying to<br />
keep their flight patterns<br />
regular and avoiding air<br />
collisions, etc. Hewson also<br />
gave away plans for a game<br />
called 'Quest' which they are<br />
soon to release. In this<br />
adventure/with 1 33 locations<br />
and sporting full graphics, you<br />
get to play one of five<br />
characters and fight various<br />
creatures — one of which is a<br />
Hobbit (some backstabbing<br />
here, maybe?). The idea behind<br />
the game is to accumulate<br />
points and eventually find the<br />
scroll which holds the clue to<br />
finishing the game. Hewson<br />
don't think anyone will finish<br />
the game in under six months<br />
— and I think they're probably<br />
right!<br />
Softek, who fronted an<br />
impressive six table stand,<br />
were displaying a wide range<br />
of Spectrum software of<br />
arcade quality. Automata also<br />
had an impressive display of<br />
software, with one particular<br />
package, Automonopoli, which<br />
was the best adaptation of that<br />
game that I have ever seen.<br />
They also added a fair amount<br />
of good cheer by serving up the<br />
champagne at just the right<br />
moment.<br />
The hardware company,<br />
Eprom Services, were<br />
displaying various new add-ons<br />
for the Spectrum and <strong>ZX</strong>81<br />
including an Auto Start board<br />
and A/D convertors.<br />
SINCLAIR NEWS<br />
But software was really the<br />
main attraction of the show for<br />
me, and Emsoft had a 3D<br />
graphics package which really<br />
quite amazed me. An 'X' was<br />
simulated on the screen in<br />
three dimensions, and was<br />
then made to spin round at<br />
speeds faster than I've ever<br />
seen before. The package also<br />
allowed you to enlarge the 'X'<br />
and even incorporate the 3D<br />
facility in your own programs.<br />
Procom, yet another new<br />
company, had tiwo Spectrum<br />
programs on display.<br />
Breakaway and Character<br />
Design, which were both<br />
worthy of praise.<br />
Of the clubs at the show, all<br />
had a range of software<br />
written by various club<br />
members. The Staines and<br />
Stanwell Computer Club had a<br />
Cesil interpreter, the Stevenage<br />
Club were selling graphics aids,<br />
and the people from the<br />
Aylesbury Computer Club were<br />
selling practically everything<br />
(as usual!).<br />
At the end of the day, I'm<br />
sure everyone would agree that<br />
the show was a definite<br />
success. I, for one, am really<br />
looking forward to the next<br />
one!<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 64<br />
s K<br />
s o<br />
h<br />
r<<br />
e<br />
F<br />
r< it<br />
r<br />
t<br />
t<br />
c<br />
a<br />
r
Sinclair Advanced<br />
Research<br />
Sinclair Research are to invest<br />
over £2 million in establishing<br />
MetaLab, a new advanced<br />
research centre. At this new<br />
establishment, Sinclair<br />
Research will be exploring<br />
revolutionary and high risk<br />
ideas with a view to developing<br />
new products in high<br />
technology.<br />
Sir Clive Sinclair believes<br />
that MetaLab will provide a<br />
challenging 'think tank'<br />
atmosphere for a highly<br />
motivated multidisciplinary and<br />
Congratulations!<br />
As recognition of his<br />
achievements in the British<br />
micro industry, Clive Sinclair,<br />
Chairman and Chief Executive<br />
of Sinclair Research, is to be<br />
knighted as part of this year's<br />
Queen's Birthday Honours.<br />
Said Sir Clive on hearing the<br />
news "The award of a<br />
knighthood is a truly great<br />
honour and one I value very<br />
Safe AS Houses<br />
Computers For All have<br />
announced a complete<br />
warranty extension plan for<br />
home computers, printers, disc<br />
drives and monitors.<br />
Called the Computersafe<br />
Extended Guarantee Plan, you<br />
can extend your<br />
manufacturer's warranty for a<br />
further 12 months covering<br />
such items as complete cost of<br />
repair through mechanical or<br />
electrical breakdown, etc. The<br />
creative scientific team which<br />
it is now seeking to expand.<br />
"MetaLab will act as an<br />
incubator, fostering new<br />
products from initial idea to<br />
commercial launch" said Sir<br />
Clive , "Not only will MetaLab<br />
complement research work<br />
underway in existing computer<br />
and television divisions — it<br />
will also open up totally new<br />
fields ranging from battery<br />
technology to robotics".<br />
The MetaLab complex is<br />
planned to open in the<br />
Autumn. Watch these pages<br />
for future developments of Sir<br />
Clive's latest endeavour.<br />
highly. It was completely<br />
unexpected and a wonderful<br />
surprise. More than ever, I feel<br />
committed to achieving<br />
success here, in and for<br />
Britain."<br />
As readers of <strong>ZX</strong> Computing<br />
and faithful users of <strong>ZX</strong> micros,<br />
I'm sure you will not need us to<br />
tell you of his many successes<br />
over the past 20 years, so it<br />
only remains to wish Sir Clive<br />
all our congratulations.<br />
insurance has been organised<br />
by Computers For All in<br />
conjunction with Domestic and<br />
General Insurance Co Ltd.<br />
The extended guarantee is<br />
unique in as much as it will be<br />
serviced through all Computer<br />
For All dealers as well as most<br />
bone fide computer repair<br />
companies.<br />
Further information is<br />
obtainable from Computers For<br />
All, 72 North Street, Romford,<br />
Essex. Telephone enquiries can<br />
be made on 0708 752862.<br />
SINCLAIR NEWS<br />
The Return Of<br />
Horace<br />
Sinclair Research, in a further<br />
expansion of its software<br />
library, have released nine new<br />
cassette programs, including<br />
an additional language,<br />
FORTH, an advanced chess<br />
program and yet another<br />
adventure for the intrepid<br />
Horace.<br />
For<strong>ZX</strong>81 and Spectrum<br />
users with plans on increasing<br />
their programming interests<br />
comes a new FORTH program<br />
offering a language combining<br />
BASIC'S simplicity with the»<br />
speed of machine code.<br />
FORTH is extendable by userdefined<br />
commands, and its<br />
compiled code occupies less<br />
than a quarter of the equivalent<br />
BASIC program yet runs up to<br />
ten times as fast. Both versions<br />
for the <strong>ZX</strong>81 and Spectrum are<br />
available at £14.95.<br />
A major challenge for the<br />
games enthusiast is the new<br />
eight level chess program for<br />
the Spectrum called Cyrus-lS-<br />
Chess. Based on the original<br />
Cyrus program which won the<br />
second European<br />
Microcomputer Chess<br />
Championship, it features<br />
cursor movement of pieces,<br />
replay and take-back facilities,<br />
as well as the ability to<br />
function as a normal twoplayer<br />
game board. The CyrusiS-Chess<br />
program is priced at<br />
£9.95.<br />
In amongst the serious<br />
titles, there are, of course, five<br />
new software games packages<br />
forthe<strong>ZX</strong>81 and Spectrum.<br />
And Horace rears his head<br />
once more in a program called<br />
Horace and the Spiders. In this,<br />
his third program, you have to<br />
help Horace survive the<br />
traumas of the mountain and<br />
the bridge before engaging the<br />
Spiders in a deadly duel in their<br />
web. Horace and the Spiders is<br />
available for £5.95.<br />
Other games for the<br />
Spectrum include a full feature<br />
Backgammon game and<br />
Scrabble which features over<br />
11,000 words in its memory<br />
and four levels of skill.<br />
Backgammon and Computer<br />
Scrabble are priced at £5.95<br />
and £1 5.95 respectively.<br />
For the <strong>ZX</strong>81 with 16K<br />
RAM, Sinclair Research have<br />
introduced two new adventure<br />
games. Sabotage and City<br />
Patrol. These two tapes are<br />
priced at £4.95 each.<br />
Finally, meeting the growing<br />
demand for business software,<br />
Sinclair Research have also<br />
released a program for the 48K<br />
Spectrum called Small<br />
Business Accounts. This<br />
program, priced at £1 2.95,<br />
provides balance sheet and<br />
profit and loss information<br />
together with VAT returns.<br />
All the new cassettes are<br />
available via mail order from<br />
Sinclair Research, Stanhope<br />
Road, Camberley, Surrey. They<br />
should shortly be on sale in<br />
major branches ol WH Smiths,<br />
Boots, Currys, John Lewis<br />
Partnership, House of Fraser,<br />
John Menzies and Greens, and<br />
other leading chains and<br />
computer stores.<br />
983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 65
Hardware in Brief<br />
• AGF Hardware have introduced a Programmable<br />
Interface for the <strong>ZX</strong> Spectrum and <strong>ZX</strong>81. Accepting<br />
connection of one or two Atari-compatible joysticks, the<br />
new interface offers users compatibility with all games<br />
software through a unique programming design.<br />
Keyboard operation is not affected by the interface and<br />
expansion is accommodated through an extension edge<br />
connector. Full instructions are supplied with a<br />
demonstration program which allows high resolution<br />
drawing to be made under joystick control. The price of<br />
the programmable interface will be £32.95 plus £1.00<br />
postage and packing. For more information get in touch<br />
with AGF Hardware, 26 Van Gogh Place, Bognor Regis,<br />
West Sussex P022 9BY.<br />
• If you're having problems with a wobbly RAM Pack,<br />
Adapt Electronics may have come up with a solution to<br />
your worries. The RAMLOK kit consists of a gold-plated<br />
male connector which replaces the computer connector<br />
and, through an ingenious mechanical clamping device,<br />
clamps the RAM pack to computer. The RAMLOK kit is<br />
easily fitted and requires no cutting, drilling or special<br />
tools. Step by step instructions are included allowing for<br />
simple installation. Priced at £7.50 plus 50p postage and<br />
packing, you can find out more about RAMLOK from<br />
Adapt Electronics, 20 Starling Close, Buckhurst Hill,<br />
Essex IG9 5TN.<br />
• Cheetah Marketing Ltd have introduced a 32K RAM<br />
pack for the 1 6K <strong>ZX</strong> Spectrum allowing it to be<br />
upgraded to a fully fledged 48K machine. Its injection<br />
moulded case has been specifically designed to fit the<br />
contours of the <strong>ZX</strong> Spectrum thus hopefully eliminating<br />
the worries of the 'wobble'. The device is fully<br />
compatible with all Spectrum accessories. Now available<br />
on mail order, the RAM pack will soon be sold through<br />
selected retail outlets. All the devices are tried, tested<br />
and guaranteed, and are priced at £39.95. For further<br />
details contact Cheetah Marketing Ltd, 359 The Strand,<br />
London WC2R OHS or 'phone 01 -240 7939.<br />
• A speech synthesiser for the Spectrum or <strong>ZX</strong>81 is<br />
now available from Spirit Instruments. Housed in a sturdy<br />
case, the speech synthesiser plugs into the back of your<br />
computer, providing speech from its own built-in speaker<br />
or output to your hi-fi. Programming speech using the<br />
device is simple, and full instructions are provided with<br />
the package. For further details contact Spirit<br />
Instruments, Station Road, Maldon, Essex CM9 7LQ or<br />
'phone 0621 56969.<br />
• If you would like to get more sound out of your<br />
Spectrum then look no further than the new device from<br />
Compusound. Housed in a small box, the device has<br />
three leads which are attached inside the Spectrum via<br />
crocodile clips. Full details on how to connect up the unit<br />
are given with a comprehensive diagram for the nervous.<br />
Once connected you will get all the 'zaps, pows and<br />
booms' from your games through the speaker in the TV<br />
— so you can now drive everyone in the house mad with<br />
deafening explosions as you destroy the alien fleet! For<br />
more details have words with Compusound, 32 Langley<br />
Close, Redditch, Worcs B98 OET or 'phone 0527<br />
21439.<br />
HARDWARE NEWS<br />
Are You in Touch?<br />
Tactile have introduced a new<br />
concept in keyboard overlays<br />
for the Spectrum which is<br />
aimed at early education<br />
programmers, teachers and<br />
parents thus allowing the<br />
Spectrum to become a much<br />
simpler teaching aid.<br />
The Tactile keyframe, with<br />
its touch sensitive membrane,<br />
fits snugly over the computer<br />
and allows you to create your<br />
own easily changeable overkeys.<br />
The key surface can be<br />
configured as one large key or<br />
up to forty individual, userdefined<br />
keys using simple IN<br />
or INKEY$ instructions;<br />
prepared instructions are<br />
enclosed with the package to<br />
help you adapt your programs<br />
to suit the new key layout.<br />
The complete set includes<br />
a keyframe, coloured, white<br />
and clear backgrounds,<br />
symbols and shapes, allowing<br />
you to construct an infinite<br />
variety of over-key panels. A<br />
piano keyboard and a<br />
simplified children's<br />
typewriter layout are also<br />
included.<br />
The software company.<br />
Early Learning Opportunities,<br />
is to market software<br />
compatible with this keyframe<br />
and pictorial overlays.<br />
For further information on<br />
these products get in touch<br />
with Tactile on 0272<br />
678431 or write to Tactile,<br />
Wraith, 32 Elmfield,<br />
Kingswood, Bristol BS15<br />
2SS.<br />
Going Mobile<br />
If you ever wanted to<br />
combine the hobby of<br />
computing with robotics then<br />
you may be very interested to<br />
learn about the Zeaker Micro-<br />
Turtle.<br />
The Micro-Turtle is a twowheeled<br />
mobile robot whose<br />
66 <strong>ZX</strong> COMPUTING AUG,SEPT 1983
movements can be controlled<br />
by any microcomputer,<br />
including the Spectrum and<br />
<strong>ZX</strong>81, via a connecting<br />
umbilical ribbon cable.<br />
Suitable software is provided to<br />
permit the movements to be<br />
memorized and reproduced.<br />
Sensors indicate when the<br />
robot touches an obstacle and<br />
the computer instructs it to<br />
find an alternative route. An<br />
additional feature of the<br />
machine is that it has an inbuilt<br />
retractable pen which<br />
can be used to trace its path<br />
across a surface. The pen<br />
itself is controlled by the<br />
computer and is indicated by<br />
an LED on top of the robot;<br />
two other LEDs indicate<br />
which direction the Micro-<br />
Turtle is travelling in.<br />
The unit comes complete<br />
with interface, power supply<br />
and operation manual, as well<br />
as the necessary software to<br />
suit your particular computer.<br />
Aimed at the educational<br />
market, as well as anyone<br />
else interested in control<br />
systems, the unit has been<br />
priced very competitively. The<br />
Micro-Turtle is avilable as a<br />
kit priced at £52.00 + VAT<br />
or fully assembled at £69.50<br />
+ VAT,<br />
For further information on<br />
the Zeaker Micro-Turtle<br />
contact Colne Robotics Co<br />
Ltd, Beaufort Road, Off<br />
Richmond Road, East<br />
Twickenham, Middlesex TW1<br />
2PH or 'phone 01-892<br />
8197.<br />
Sounding Out<br />
Timedata, computer<br />
publishers, have now spread<br />
their business wings and are<br />
introducing a range of<br />
hardware add-ons for Sinclair<br />
computers.<br />
Their first product in the<br />
proposed new range is the<br />
<strong>ZX</strong>M Sound Box, Retailing at<br />
C29.95 inclusive, the Sound<br />
Box uses the 891 2 three<br />
channel sound generator chip<br />
to provide a wide range of<br />
programmable sound effects.<br />
The built-in amplifier and<br />
loudspeaker can also be used<br />
to boost the Spectrum's own<br />
BEEP.<br />
Not that the Sound Box<br />
can be used exclusively with<br />
the <strong>ZX</strong> Spectrum — it can be<br />
used with the <strong>ZX</strong>81 without<br />
the need for an adaptor. The<br />
<strong>ZX</strong>M also has a nine pin I/O<br />
socket which can be used<br />
with Atari/Commodore<br />
joysticks. Other Sinclair addons<br />
can be plugged into the<br />
back of the Sound Box.<br />
For further information on<br />
the <strong>ZX</strong>M Sound Box and<br />
details of their other products<br />
which should be forthcoming<br />
over the next few weeks, get<br />
in touch with Timedata Ltd,<br />
16 Hemmells, High Road,<br />
Laindon, Basildon, Essex<br />
SSI 5 6ED. Telephone<br />
enquiries can be made on<br />
0268 418121.<br />
HARDWARE NEWS<br />
Keyed up?<br />
Dk'Troniks have introduced a<br />
new keyboard which will<br />
function with both the <strong>ZX</strong><br />
Spectrum and <strong>ZX</strong>81.<br />
Launched at the recent<br />
Midland Computer Fair, the<br />
new cased keyboard includes<br />
52 keys, 1 2 of which are<br />
used for the numeric keypad.<br />
The keypad is a repeat of the<br />
one to nine keys plus full stop<br />
and Shift keys. Measuring 1 5<br />
inches by 9 inches by 2 Vt<br />
inches, the cased keyboard is<br />
coloured black with grey and<br />
red keys.<br />
The computer, either the<br />
<strong>ZX</strong>81 or Spectrum, fits neatly<br />
inside the case; although the<br />
computer is removed from its<br />
original case, the base of the<br />
case has been customised to<br />
allow for easy fitting. Also<br />
The <strong>ZX</strong> Floppy<br />
Analogue Information<br />
Systems Ltd are introducing a<br />
floppy disc controller for the<br />
<strong>ZX</strong>81 which should prove<br />
invaluable to anyone<br />
contemplating using the<br />
<strong>ZX</strong>81 for business<br />
applications.<br />
The controller offers single<br />
or double density<br />
compatibility with all Shugart<br />
5% inch drives, the new<br />
Japanese 3 inch drives and<br />
the new Hungarian MCD1 3<br />
inch drives. It also allows the<br />
use of single or double sided<br />
drives up to any number of<br />
tracks.<br />
An important part of the<br />
fitted inside the case can be a<br />
motherboard (<strong>ZX</strong>81 model<br />
only) which allows 1 6K, 32K<br />
or 64K RAM packs to be<br />
fitted. There is also room<br />
inside the case for other addons<br />
to be included such as<br />
the Power Pack.<br />
All the connections usually<br />
found at the back of your<br />
computer are to found at the<br />
back of the keyboard case, ie<br />
Power, MIC, EAR, TV and the<br />
expansion port.<br />
Priced at £45 inclusive,<br />
you can find Out more about<br />
the keyboard case from<br />
Dk'Tronics, Unit 2, Shire Hill<br />
Industrial Estate, Saffron<br />
Walden, Essex CB11 3AX.<br />
You can always 'phone them<br />
on 0799 26350.<br />
controller board is the disc<br />
operating system which is<br />
supplied in ROM. This gives a<br />
simple disc interface to<br />
BASIC involving no USR calls,<br />
POKE, PEEK, etc. The DOS<br />
commands are many and are<br />
available directly from a<br />
BASIC program, from the<br />
BASIC command mode or<br />
from machine code.<br />
At the time of writing the<br />
controller board is set to enter<br />
the market at around £40.00<br />
inclusive, available by mail<br />
order only. For further details<br />
of the floppy disc controller<br />
board contact Analogue<br />
Information Systems Ltd, 43<br />
Gilmour Road, Edinburgh 1 6<br />
or 'phone 031-667 6862.<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 67
Software in Brief<br />
• A tape which demonstrates three top-line Hilderbay<br />
programs for 48K Spectrum is now available priced at<br />
£3.95 (a fraction of the price of the software it<br />
demonstrates!. The demo program illustrates the three<br />
programs. Payroll, Stock Control and Statutory Sick Pay.<br />
This lets people get some idea of the content of the<br />
software before they take the plunge and part with their<br />
money. For more information on this tape get in touch with<br />
Hilderbay Ltd, 8/10 Parkway, Regents Park, London NW1<br />
7AA or 'phone 01-485 1059.<br />
• Following the success of Accounts <strong>ZX</strong>81 comes the<br />
launch of a similar piece of software for your 48K Spectrum<br />
called (of course! Accounts Spectrum. The programs<br />
featured on the tape are aimed at both practising<br />
accountants and businesspeople and can improve the<br />
efficiency of routine accounting. If you require any further<br />
information get in touch with Hestacrest Ltd, PO Box 1 9,<br />
Leighton Buzzard, Beds LU7 ODG or 'phone 052-523 785.<br />
• Collins have released the Spectrum Starter Packs 1 and<br />
2, which comprise a tape and booklet explaining the<br />
programs included on the tape. Providing a range of<br />
programs which have both sound educational content as<br />
well as being fun to play, these packs are designed for<br />
children and their parents to learn to handle the <strong>ZX</strong><br />
Spectrum. Priced at £9.95 each, you can find out more<br />
from Collins Educational, 8 Grafton Street, London W1 or<br />
by 'phoning 01-493 7070.<br />
• Direct from Silicon Valley North comes a piece of<br />
software for the <strong>ZX</strong>81 called Gradebook. Aimed at teachers<br />
and professors, Gradebook is menu driven, allowing the user<br />
to manipulate data, such as exam marks, by different<br />
distribution methods. There are also built-in routines<br />
allowing you to print out displays. Supplied with full<br />
documentation, the price of the package is £6.25 plus<br />
£1.00 postage and packing. Orders can be made from<br />
Silicon Valley North, PO Box 2442, Hammond, Indiana<br />
46323, USA.<br />
• Virgin Games Ltd have produced a number of software<br />
packages for three of the most popular micros, including the<br />
<strong>ZX</strong> Spectrum. Of the four programs released, two packages,<br />
Starfire and Sheepwalk, are designed to run on the 48K<br />
machine. The other two packages. Golf and Yomp, are<br />
designed to run on either version of the Spectrum. All of the<br />
new programs are priced at £7.95 each. For more details<br />
contact Virgin Games Ltd, 61-63 Portobello Road, London<br />
W11 3DD or telephone 01-221 7535.<br />
• Micromega have announced their Spring collection of<br />
software for the Spectrum and <strong>ZX</strong>81. All priced at £4.95,<br />
for the Spectrum there is Monte Carlo, Roulette, Dominoes<br />
and Brainstorm. The final package is Gulpman, which also<br />
includes an advanced 1 6K <strong>ZX</strong>81 version on the same<br />
cassette. For further information on the new range of<br />
software contact Micromega, Personal Computer Division,<br />
Quantec Systems and Software Ltd, 230-236 Lavender<br />
Hill, London SW11 1 LE or 'phone 01-223 7672.<br />
• Hisoft have released two new packages for the<br />
Spectrum. The first is Pascal 4 and is a complete<br />
implementation of Pascal for the Spectrum and is priced at<br />
£25.00 inclusive. The second package is called DEVPAC 2<br />
and is an upgraded version of their current assembler,<br />
disassembler/debugging program. The DEVPAC 2 package<br />
is priced at £1 2.50 inclusive. Both packages come with<br />
comprehensive documentation from Hisoft, 60 Hallam<br />
Moor, Liden, Swindon, Wilts SN3 6LS. Telephone enquiries<br />
can be made on 0793 26616.<br />
SOFTWARE NEWS<br />
For The Record<br />
A computer game pop single<br />
was recently released by EMI<br />
Records (UK). The single, by<br />
Chris Sievey, features a selfpenned<br />
song, Camouflage, on<br />
the A-side, while the B-side<br />
contains three of his<br />
programs ior the <strong>ZX</strong>81.<br />
The programs, once played<br />
into the <strong>ZX</strong>81, will produce<br />
one demo program —<br />
illustrating the lyrics of the<br />
A-side with text and graphics<br />
— and two games programs,<br />
one for the 1 K and one for<br />
the 1 6K <strong>ZX</strong>81. These games<br />
are versions of an arcade-type<br />
game called Flying Train,<br />
Chris Sievey's single will<br />
be in your record store at the<br />
moment, but should you have<br />
any problems in obtaining<br />
your copy try contacting EMI<br />
Records (UK) at 20<br />
Manchester Square, London<br />
W1A 1ES. I haven't managed<br />
to see the programs yet, but<br />
anyone who could release a<br />
single entitled 'I'm in love<br />
with the girl on the<br />
Manchester Virgin Megastore<br />
checkout desk' must have<br />
something going for him!<br />
This is not, however, the<br />
record industry's first foray<br />
into the world of computing.<br />
Mainframe, a band comprising<br />
Murray Munro and John<br />
Molloy, released a single<br />
called 'Talk to me' in which<br />
they have included material<br />
for the Apple computer,<br />
<strong>ZX</strong>81, Spectrum and the BBC<br />
Computer. For more<br />
information on Mainframe,<br />
get in touch with MC 2 Music,<br />
24 Missden Drive, Hemel<br />
Hempstead, Herts.<br />
BASiCally, it's A Magazine<br />
68 <strong>ZX</strong> COMPUTING AUG,SEPT 1983 2
">9<br />
The Sound<br />
Of Music<br />
If you ever wanted to play<br />
and compose music on your<br />
48K Spectrum, Bellflower<br />
Software may have come to<br />
your rescue.<br />
As well as using the<br />
Spectrum's own BEEP<br />
command, the program has<br />
successfully managed to meet<br />
the challenge of representing<br />
each note on the screen in<br />
accurate musical notation. It<br />
will play and print melodies in<br />
11 different keys, each with<br />
a choice of 1 2 time signatures<br />
and ten playing speeds.<br />
Rests, accidentals and dotted<br />
notes can all be programmed<br />
into the tune and bar lines are<br />
drawn in their correct places<br />
automatically.<br />
A revolution in computer<br />
magazine publishing was<br />
witnessed last month with<br />
the launch of 'Spectrum<br />
Computing' — a bi-monthly<br />
magazine on tape!<br />
Edited by lolo Davidson,<br />
the new magazine, Spectrum<br />
Computing, is available for<br />
£2.99. Altogether there is<br />
some 80K of code which<br />
readers follow through a<br />
series of on-screen prompts.<br />
On the first issue, designed<br />
for both the 16K and 48K<br />
models, there were software<br />
reviews (including 'stills' from<br />
the programs under review), a<br />
Morse code trainer, chess<br />
graphics, a routine for turning<br />
text upside down and<br />
Don't worry if you don't<br />
rate yourself as an expert<br />
musician because all the<br />
musical knowledge you need<br />
is stored in the computer and<br />
tunes can be put into memory<br />
using single keys to make<br />
choices from the screen<br />
display. Starting off as a<br />
beginner, you can check that<br />
what you are doing is correct<br />
by comparing your efforts<br />
with the three tunes supplied<br />
with the program. Once you<br />
have input your tune, you can<br />
get the computer to print out<br />
the tune note by note as it<br />
plays it for you.<br />
Available at £5.75, you<br />
can find out more information<br />
by contacting Bellflower<br />
Software, 6 Rosewood<br />
Avenue, Greenford,<br />
Middlesex. Telephone<br />
enquiries can be made on<br />
01-903 1816.<br />
sideways, as well as a couple<br />
of arcade games thrown in for<br />
good measure.<br />
Said lolo "I've put in the<br />
sort of things that interested<br />
me. We don't want to go<br />
over the heads of some of the<br />
readers nor do we want to<br />
talk down to them. It's a<br />
difficult balance to strike and<br />
! hope I've achieved it".<br />
Perhaps this shows the<br />
shape of things to come —<br />
maybe soon the computer<br />
bookshelves in the newsagents<br />
will be filled with cassette<br />
magazines.<br />
Spectrum Computing is<br />
published by Argus Specialist<br />
Publications, owners of <strong>ZX</strong><br />
Computing.<br />
SOFTWARE NEWS<br />
Fast Loader<br />
JRS Software have developed<br />
a unique system for their<br />
software for the 2X81 which<br />
will enable programs to be<br />
loaded at the maximum speed<br />
possible within the limits of<br />
the computer itself, ie<br />
without the need for<br />
additional hardware.<br />
Data is loaded at between<br />
300 and 500 bytes per<br />
second, or 10 to 15 times<br />
faster than the normal <strong>ZX</strong>81<br />
rate. This means that almost<br />
every program for the <strong>ZX</strong>81<br />
could be loaded in under a<br />
minute — a very effective<br />
cutting of the loading time.<br />
This breakthrough has<br />
been achieved by drastic<br />
modification of the I/O signals<br />
whilst limiting the maximum<br />
frequency to 4KHz to<br />
guarantee reliable operation<br />
even when using poor quality<br />
tapes or low-cost cassette<br />
recorders.<br />
JRS Software are based at<br />
1 9 Wayside Avenue, Worthing,<br />
West Sussex BN1 3<br />
3JU.<br />
The Artie Arrivals<br />
Artie Computing have<br />
released nine new titles to<br />
complement their growing<br />
range of software for the<br />
<strong>ZX</strong>81 and Spectrum.<br />
First up are two chess<br />
programs. Spectrum Chess II<br />
is for the 48K Spectrum and<br />
incorporates no skill levels —<br />
you just specify how long you<br />
want the Spectrum to think<br />
and it will come up with the<br />
most challenging move. The<br />
other chess program is called<br />
Chess Tutor and operates on<br />
the 16/48K Spectrum. This<br />
program not only plays chess<br />
on three different levels but<br />
also coaches the beginner to<br />
expert level. Spectrum Chess<br />
II and Chess Tutor are priced<br />
at £9.95 and £6.95<br />
respectively.<br />
There are also some games<br />
for the Spectrum including<br />
Cosmic Debris (48K), 3D<br />
Combat Zone (48K), 3D<br />
Quadracube (16/48K) and<br />
The Golden Apple (48K).<br />
These tapes are priced at<br />
£4.95, £5.95, £4.95 and<br />
£6.95 respectively.<br />
There is also a software<br />
package which enhances the<br />
power of the Spectrum so<br />
that you can produce 64<br />
column copy which can even<br />
by LISTed without any extra<br />
commands. This package,<br />
SYS 64, is suited to the<br />
1 6/48K Spectrum and is<br />
priced £6.95.<br />
The two packages released<br />
for the <strong>ZX</strong>81 are Reversi,<br />
incorporating four levels of<br />
play, and Raider, a version of<br />
the arcade game Scramble.<br />
Both tapes require 1 6K<br />
memory and are priced at<br />
£5.95 and £3.95<br />
respectively.<br />
For further information on<br />
these new releases contact<br />
Artie Computing Ltd, 396<br />
James Reckitt Avenue, Hull,<br />
North Humberside.<br />
83 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 69
1983<br />
YOUR MISSION<br />
To penetrate the witches defences, enter<br />
her cavern and destroy her wicked heart<br />
rm An Exciting range for 16K <strong>ZX</strong>81 rag<br />
« from SOFTWARE FARM 6iJ<br />
THE WITCHES DEFENCES<br />
Stalagmrtes and stalactrtes - which grow<br />
across your path<br />
Volcanoes - to get past alive - if you can 1 • Wntten entirely in machine<br />
code<br />
Vampire Bats - that cling to your ship and • Hall of Fame<br />
make controls sluggish<br />
• 1 or 2 players<br />
Cave-ins - should you hit the side of the • Mystery score positions to<br />
cave with your Laser Cannon or Bomb, part bomb<br />
of the roof will cave in on you<br />
• 5 skill levels<br />
Stay alive as long as possible in open space<br />
filled with ftying rocks Score by shooting • On screen scoring<br />
them -which also causes them to break into<br />
lots of little bits and makes life even worse!<br />
• Machine coded for fast action<br />
• High score with enter name<br />
facility<br />
• Up to 4 players<br />
• E xtra ship tor 1,000 points (riot<br />
as easy as it sounds!)<br />
• Ship moves iust like arcade<br />
version<br />
• Rotate left/rotate right/thrust<br />
• Fires in all 8 Erections<br />
• Increasing number of asteroids<br />
• Three asteroid sizes<br />
• alien spacesho (fires back!)<br />
• Machine coded for fast acton<br />
• Extra 'Gobbler' for 10,000<br />
points<br />
• On screen scoring<br />
• High score w*h onter name<br />
facility<br />
• Up to 4 players<br />
• 50 Skin levels'<br />
• Played against the dock -<br />
froggie only has a short white to<br />
live'<br />
Send your order to:<br />
Design Dept THE SOFTWARE FARM. Craigo Farm. Botany Bay. Tintem. Gwent<br />
Mk2<br />
Beat that high score!<br />
Gobble those dots before those meames<br />
gobble you!<br />
Your only aids are four "Power Pills' which<br />
make the meames edible But not for long 1<br />
'""ZZT*<br />
Jump your frog over the lanes in the road -<br />
preferably without being turned into jam by<br />
the approaching traffic 1 Then cross the river<br />
by hitching a few ndes on some passing logs<br />
and finally into the safety of your hole on the<br />
opposite bank Once all 'Frog Holes' have<br />
been filled you start again with a different<br />
pattern and a bonus frog.<br />
WIV ier you have an Or«. Spectrum
Reader's<br />
reviews<br />
Read what you, the<br />
reader, think of<br />
software commercially<br />
available for your micro.<br />
This feature provides you<br />
space to air your views on any<br />
1 software, be it for the <strong>ZX</strong>80,<br />
<strong>ZX</strong>81 or <strong>ZX</strong> Spectrum. If<br />
you've had a good or bad ex<br />
perience of any of the commerical<br />
software packages<br />
available for your micro, why<br />
oot write and tell us.<br />
Your reviews should contain<br />
your critical thoughts<br />
about the software and the<br />
relevant details concerning the<br />
availability of the package, its<br />
price, etc. If you can provide<br />
any screen dumps to illustrate<br />
the review, so much the better.<br />
Any reviews published in<br />
this section of the magazine<br />
will be rewarded with the price<br />
of the tape you review. So, if<br />
you buy a cassette and send in<br />
a review that gets published,<br />
you'll get your software for<br />
free!<br />
Spectrum Pascal<br />
Hl-SOft<br />
David Bolton<br />
I SOFTWARE REVIEWS!<br />
How would you like to write<br />
programs in a language very<br />
much like BASIC and then run<br />
them at machine code speeds?<br />
It is now a very practical suggestion<br />
with the release of a<br />
full Pascal compiler for the<br />
48K <strong>ZX</strong> Spectrum by the<br />
British company Hi-Soft.<br />
Before I look at the Spectrum<br />
version, let me give you a<br />
little history of Pascal. It is a<br />
very young language, born in<br />
1969 when a leading computer<br />
scientist called Wirth<br />
decided that ALGOL, the then<br />
leading academic language,<br />
was getting too complex. He<br />
designed Pascal specifically to<br />
teach good programming practices.<br />
It is now available in<br />
many forms on disc-based<br />
machines, but there are very<br />
few implementations on<br />
cassette driven micros.<br />
Pascal is very similar to<br />
BASIC in many ways, certainly<br />
much closer than languages<br />
like FORTH, LISP, assembly or<br />
PILOT. It is generally a much<br />
better language.<br />
This version of Pascal is a<br />
very high quality product comprising<br />
some 20K of machine<br />
code for the compiler, editor<br />
and run-time package. It completely<br />
compiles a Pascal program<br />
into Z80 machine code<br />
which runs very fast indeed.<br />
Try filling an array of 7,000<br />
elements in half a second, or<br />
summing up the numbers one<br />
to 20000 in seven! Obviously<br />
one could write faster programs<br />
using an assembler, but<br />
try assembling A- LOGfSIN<br />
IB/1 80 * 22 7) 10.45)<br />
- 8/2.2234!<br />
When the compiler package<br />
is loaded it starts in the editor,<br />
allowing the programs to be<br />
typed in, or loaded from tape.<br />
Hi-Soft have been very cunning<br />
with their editor as it completely<br />
bypasses the Spec<br />
trum's single-key entry<br />
system. Programs are entered<br />
line by line just like BASIC with<br />
a line number at the start of<br />
each line:<br />
10 PROGRAM DAVE;<br />
20 VAR l,J:INTEGER;<br />
30 BEGIN<br />
40 J: = 0 ; FOR I: =<br />
1 TO 100 DO<br />
50 J: = J + 1;<br />
60 WRITELN CJ = J:5)<br />
70 END.<br />
The line numbers are at the<br />
start of each line for purposes<br />
of the editor only, they have no<br />
bearing on the program. Com<br />
mands are included to do the<br />
equivalent (in BASIC) of<br />
AUTO, DELETE and<br />
RENUMBER as well as sear<br />
ching and moving. There is<br />
also quite comprehensive commands<br />
involved with line<br />
editing which can do find, insert,<br />
replace and delete on one<br />
line.<br />
Overall, the editor is not as<br />
good as a screen editor, but it<br />
is the next best thing and for<br />
anyone used to Sinclair editing<br />
it is a significant improvement.<br />
The editor only changes the<br />
'Source code', ie the program<br />
as it looks above. Once a program<br />
has been compiled into<br />
machine code lor object code<br />
as it is known) it can only be<br />
changed by changing the<br />
source code and re-compiling.<br />
Source code can be saved<br />
onto tape and it's quick to ao<br />
so because Hi-Soft uses<br />
tokens (just like BASIC) to<br />
represent reserved words, eg<br />
PROGRAM and INTEGER only<br />
occupy 1 byte each in internal<br />
storage. When source code is<br />
loaded into RAM it appends<br />
onto the end of any existing<br />
code; this makes the creation<br />
and use of libraries much more<br />
convenient.<br />
One problem with the editor<br />
is that there is no keyboard<br />
beeping. I tried unsuccessfully<br />
to get it to work, even writing<br />
a short program to POKE<br />
23609 with 255, but to no<br />
avail. As soon as I exited from<br />
Pascal to BASIC the beeping<br />
started working again.<br />
Compilation is the process<br />
which converts source code to<br />
object code. There are two<br />
ways of doing this in Hi-Soft<br />
Pascal: the first is for debugging<br />
purposes, and keeps both<br />
source code and object code in<br />
RAM at the same time to<br />
speed up the EDIT-COMPILE-<br />
TEST cycle. When testing is<br />
complete the specially compiled<br />
object code can be dumped<br />
out to tape so that it will<br />
automatically LOAD and RUN<br />
as a stand-alone program.<br />
If a syntax error is<br />
discovered during compilation<br />
then the choice is given of<br />
stopping and going into the<br />
editor at the faulty line, or<br />
listing other errors. Pascal is<br />
typical of compiled languages<br />
in that one error early on can<br />
generate lots later.<br />
Compiling is a very quick<br />
process, but it will be slowed<br />
down if the compiler provides<br />
a listing at the same time. The<br />
Spectrum 'write character'<br />
routines are not terribly fast,<br />
so if the compiler listing is<br />
disabled then the compilation<br />
takes place in a short period of<br />
time and instantaneously for<br />
small programs.<br />
There are seven compiler<br />
options which determine<br />
whether or not certain checks<br />
will be incorporated into the<br />
machine code. They check<br />
such things as overflow in integer<br />
addition/subtraction, or<br />
checking if array references go<br />
out of bounds. The idea of<br />
these checks is to include<br />
them while testing and debugging<br />
and then remove them in<br />
the finished program. Some of<br />
the other options are used to<br />
control compiler listing or printing.<br />
Tape and I/O facilities are<br />
included for the program to<br />
store variables on tape and<br />
read them back in. It is nonstandard<br />
for Pascal but is very<br />
powerful as just one statement<br />
can write out or read in any<br />
variable from one character up<br />
to a very large array.<br />
The I/O ports used on the<br />
Spectrum can be read and<br />
written to by use of the INP<br />
function and the OUT procedure.<br />
A statement similar to INP, i<br />
(OUT(X,C) is used to output a I<br />
» 1983 <strong>ZX</strong> COMPUTING AUG.'SEPT 1983 71
character byte C to port X.<br />
Statements and functions<br />
are included to allow reading<br />
from and writing to RAM.<br />
Again non-standard for Pascal,<br />
these are taken from BASIC<br />
and are PEEK and POKE. Both<br />
are much more versatile than<br />
their BASIC equivalents as<br />
they can work with single<br />
characters up to entire arrays.<br />
For example, POKE (CAOOO,<br />
'DAVID BOLTON') will deposit<br />
12 characters in RAM from<br />
A000 onwards.<br />
As well as the statements<br />
described above, there are a<br />
couple of features which are<br />
useful for the machine code<br />
programmer.<br />
INLINE is a statement which<br />
permits machine code to be<br />
directly embedded into the<br />
Pascal program. It is followed<br />
by a list of decimal or hexadecimal<br />
integers which represent<br />
the machine code.<br />
USER is a function which is<br />
similar to BASIC'S USR, and<br />
permits calls to machine code<br />
routines external to the program.<br />
For example with the<br />
Spectrum, there are lot of<br />
useful ROM calls which can be<br />
incorporated into programs.<br />
Note that addresses can be<br />
also given in hexadecimal<br />
form; this is a more useful<br />
representation than decimal<br />
for integers, because any in<br />
teger higher than 32767 must<br />
be given in negative form.<br />
This is a very impressive<br />
product, and certainly one that<br />
could be of benefit to any<br />
Speciurm programmer once<br />
he/she has mastered BASIC<br />
and wants to advance.<br />
The compiler is fast at its<br />
job and produces very quick<br />
machine code, and together<br />
with the ability to have<br />
machine code incorporated in<br />
the program should mean that<br />
there are not tasks which are<br />
better done in assembler than<br />
Pacal.<br />
Naturally there are some<br />
negative aspects, nothing's<br />
perfect, but I consider them<br />
fairly minor.<br />
Apart from machine code<br />
speed, integer and real<br />
arithmetic, better data structuring,<br />
recursive procedures<br />
and functions, there is also for<br />
matted output where you can<br />
specify how numbers are written<br />
out, with rounding.<br />
For the price of £25 you get<br />
the complete compiler/editor<br />
and a 60 page reference<br />
manual. This is not a teaching<br />
manual, so if you are unfamiliar<br />
with Pascal I would recommend<br />
purchase of a good<br />
book. The manual mentions a<br />
few at the back.<br />
13<br />
Ah Diddums<br />
Molar Maul<br />
imagine Software<br />
Peter Shaw<br />
As I make no secret of the fact<br />
that Arcadia is my favourite<br />
game, I was naturally pleased<br />
to recieve Imagine's latest<br />
Spectrum offerings. Ah Diddums<br />
and Molar Maul. Both<br />
cassettes are very attractively<br />
presented in very imaginative<br />
(no pun intended) cassette<br />
covers, and both packages<br />
come with a lifetime<br />
guarantee, something which<br />
few other software houses of<br />
fer. Instructions supplied with<br />
the tapes give detailed instructions<br />
on loading and playing.<br />
I loaded Ah Diddums first,<br />
mainly because the cover ap<br />
pealed to me, plugged in my<br />
joystick and prepared to fight<br />
off the other toys in the<br />
toybox. Ah Diddums, as you<br />
will have probably guessed, is<br />
rather an original idea, concerning<br />
a tubby teddy and his mission<br />
to comfort the baby.<br />
What Teddy must do is take<br />
some toys to Baby so she will<br />
stop crying, but it's not as simple<br />
as that — you see this<br />
game has many sub plots going<br />
on. If Teddy comforts Baby<br />
then the mother will quite sensibly<br />
put the lights out. 'What<br />
is wrong with that?' I hear you<br />
cry. The trouble is that the<br />
toys in the toy box can only<br />
play with the light on, so they<br />
will do all they can to stop Teddy<br />
comforting the baby.<br />
Sounds confusing — well,<br />
there's more! Teddy is in a set<br />
of 99 nested toyboxes, and to<br />
escape from any one of them<br />
he must pile building bricks up<br />
in a certain order. Also in the<br />
toybox (well most of them,<br />
I've yet to get out of the first)<br />
is a Jack-in-the-Box. This<br />
bouncy little fellow takes the<br />
pressure oii any sticky situations<br />
you might have got<br />
yourself into. Amongst the<br />
toys you can pick up is a<br />
peashooter, which I'm still trying<br />
to work out what to do<br />
with. I tried shooting the<br />
soldier who was in the box<br />
with me, but all I ended up in<br />
doing was making it turn more<br />
vicious.<br />
Ah Diddums uses amazing<br />
high resolution graphics and<br />
sound. It even uses colour,<br />
something I dearly missed<br />
when they brought out<br />
Schizoids. Also Teddy has one<br />
amazing walk! I think this program<br />
has the edge over Arcadia,<br />
but 1 will not definitely<br />
give this the accolade of 'My<br />
I SOFTWARE REVIEWS!<br />
favourite program' until I have<br />
mastered it.<br />
Moving rapidly on, I then<br />
loaded Molar Maul. The way<br />
the title page was built up was<br />
quite fantastic.<br />
I pressed a key and a large<br />
set of teeth were displayed on<br />
the screen — they then opened<br />
and the play area, the inside of<br />
someone's mouth is, if not<br />
very convincingly, displayed in<br />
full gruesome colour. The idea<br />
of the game is to fight of the<br />
dreaded 'DK's (de-cays — get<br />
it?) with your trusty<br />
toothbrush and supply of Imagico<br />
toothpaste. The game is<br />
very fast, and no matter how<br />
quickly you can brush one<br />
tooth, another is being attacked.<br />
The teeth are colour coded<br />
so you have an idea of how<br />
long they will probably survive.<br />
You have three toothbrushes<br />
per game, and you can<br />
easily lose these every four<br />
cavities you get. You are not<br />
helped by the sweets which<br />
appear on the tongue, the<br />
'DK's rush over and their<br />
power is increased.<br />
Altogether, I think Molar Maul<br />
is the most original, addictive<br />
game for the Spectrum I have<br />
played in a very long while.<br />
Both Ah Diddums and Molar<br />
Maul are available for £5.50<br />
from Imagine Software,<br />
Masons Buildings. Exchange<br />
Street East, Liverpool L2 3PN.<br />
Spectrum Golf<br />
R & R Software<br />
Darren Norbury<br />
Like many other people, I enjoy<br />
a game of golf. Unfortunately,<br />
the Briitsh climate doesn't<br />
always allow me to go and play<br />
a few holes anytime I want. I<br />
don't mind though. If rain<br />
prevents play then I can stay<br />
indoors and load Spectrum<br />
Golf from R & R Software into<br />
my Spectrum.<br />
Having played quite a few<br />
different types of computerised<br />
golf before, I was pleasantly<br />
surprised at how close this program<br />
came to the real game.<br />
It is a game for one or two<br />
people over a nine or 1 8 hole<br />
course. Each hole is of a completely<br />
random construction<br />
and can be either a par three, a<br />
par four or a par five, with hole<br />
lengths ranging from about<br />
1 60 yards to over 500 yards.<br />
Although each hole looks the<br />
same length as the last on the<br />
screen they are all on different<br />
scales.<br />
For each shot, the player is<br />
asked for the direction of the<br />
shot, and the strength of hit.<br />
Direction is based on the<br />
numbers on a clockface,<br />
assuming that the ball is the<br />
centre of the clockface.<br />
Strength is gauged simply on a<br />
scale of one to 1 00.<br />
Between the tee and the<br />
green of each hole are varying<br />
amounts of water, sand and<br />
rough for the unwary player to<br />
get trapped in as well as the<br />
major hazard — trees. Once<br />
you've landed in one of these<br />
uncompromising positions<br />
then life is made very difficult<br />
indeed.<br />
This is an outstanding<br />
simulation which should appeal<br />
especially to the new<br />
Spectrum owner. I hope that it<br />
is as appealing to non golfers<br />
as it is to me.<br />
My best score? Nine under<br />
par, but then there was a very<br />
helpful wind behind me!<br />
Spectrum Golf, priced at<br />
£4.95, is produced by R & R<br />
Software, 34 Bourton Road.<br />
Tuffley, Gloucester, GL4 OLE.<br />
3D Defender<br />
JK Creye<br />
Enterprises<br />
Geoff Cheshire<br />
At the time when the software<br />
market for the <strong>ZX</strong> 81 was really<br />
beginning to take off, one of<br />
the tapes which gained the<br />
most critical acclaim (and is<br />
still a best seller) was the 3-D<br />
Monster Maze from J.K Greye<br />
software. It may be a differeni<br />
company this year but the<br />
author is the same. Escape,<br />
from New Generation Software,<br />
is based upon the<br />
aforementioned Monster<br />
Maze, but this time the required<br />
hardware is a <strong>ZX</strong> Spectrum<br />
(16K).<br />
Once again, there is a<br />
monster involved; once again,<br />
the player is trying to escape<br />
from the monster; once again,<br />
there is just one way out. This,<br />
however, is where the similarity<br />
with the former game ends.<br />
When the tape has loaded<br />
the instructions appear on the<br />
screen along with a preliminary<br />
warning about the dangers<br />
which the player is about to<br />
face. The computer then asks<br />
you to select a level of difficulty<br />
from the scale one to five.<br />
Upon pressing a number the<br />
game starts.<br />
Lo and behold, you are<br />
presented with a slightly<br />
angular aerial view of the maze<br />
with a high resolution version<br />
of your good self in the bottom<br />
right-hand corner, raring to be<br />
manoeuvered away by the<br />
usual cursor direction keys. In<br />
the top left-hand corner is the<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 72
! a<br />
ain,<br />
ape<br />
ain,<br />
his,<br />
lari-<br />
is.<br />
ded<br />
the<br />
lary<br />
jers<br />
: to<br />
isks<br />
culive.<br />
the<br />
are<br />
illy<br />
aze<br />
sion<br />
torn<br />
• be<br />
the<br />
. In<br />
the<br />
maze exit. All you've got to do<br />
is get from the bottom righthand<br />
corner to the top left.<br />
Simple, isn't it?<br />
You're right - it isn't that<br />
simple. To get out of the exit<br />
you need the axe which is hidden<br />
somewhere within the<br />
maze. And then, of course,<br />
there is the added danger of<br />
thetyrannosaurus rex who can<br />
be aided, according to whether<br />
or not you attempt difficulty<br />
levels two to five, by either<br />
one, two, three or four of his<br />
beastly companions who include<br />
a flying pterodactyl in<br />
their ugly band.<br />
This is not, as it may sound,<br />
a jump on the Pacman' bandwagon<br />
but rather an original<br />
and absorbing game which can<br />
become extremely difficult and<br />
frustrating.<br />
Escape, priced at £5.95,<br />
is available from New Genera<br />
tion Software, Freepost,<br />
Oldland Common, Bristol<br />
BS15 6BR.<br />
Spectres<br />
Bug Byte<br />
Steven Meldrum<br />
The latest offering from Bug<br />
Byte for the 1 6K or 48K Spectrum<br />
is Spectres. For the price<br />
of £8 I was certainly expecting<br />
an excellent copy of a "certain<br />
arcade game', and I am pleased<br />
to say that although it is<br />
slightly different to the arcade<br />
game, in my opinion it is betier!<br />
Before I tell you some of the<br />
details of the game. I would<br />
like to comment on the<br />
packaging, which is first class.<br />
A colourful artworked cover<br />
(obviously to attract prospective<br />
buyers) and detailed instructions<br />
which blend a<br />
storyline in with the objectives<br />
of the game.<br />
As the game is being loaded<br />
into your computer, a message<br />
appears in the 'PAPER' area of<br />
the screen telling you to wait.<br />
From then on, the game is run<br />
automatically and the Break<br />
key is disabled.<br />
The objective of the game is<br />
to help your little man, Eddie<br />
the electrician, re wire the<br />
mansion (the maze) by fitting<br />
light bulbs. There are,<br />
however, four Spectres in the<br />
maze which have to be avoid<br />
ed. Eddie is aided in his task by<br />
four light generators which<br />
change the hunters into the<br />
hunted. The duration of how<br />
long the generators are kept on<br />
for is determined by how much<br />
fuel Eddie has collected.<br />
Spectres is fast, colourful<br />
I SOFTWARE REVIEWS!<br />
and very addictive. When I first<br />
received Spectres, I spent<br />
nearly six hours trying to clear<br />
the first maze! Each Spectre<br />
had a different colour, name<br />
and character. The graphics<br />
are outstanding and obviously<br />
a lot of thought has gone into<br />
deciding the shape of the<br />
Spectres.<br />
Sound is used effectively<br />
throughout the program, but<br />
due to the internal speaker inside<br />
the Spectrum it is difficult<br />
to hear. (I especially like the<br />
'sparking' noise when a Spectre<br />
is ignited.)<br />
After the first maze has<br />
been cleared, a totally different<br />
structured maze has then to be<br />
cleared with your score and<br />
men left carried over.<br />
Altogether there are three different<br />
mazes.<br />
However, I do have a few<br />
quibbles. First up, on my copy<br />
a bonus 'man' is awarded<br />
every 3,000 points and not<br />
every 2,000 points as stated<br />
on the inlay card. Also, when<br />
you reach a certain level (either<br />
9,000 or 12,000 - I can't<br />
remember which as my Spectrum<br />
is with Uncle Clive at the<br />
moment) you get a full set of<br />
'men' and from then on, Eddie<br />
is invincible.<br />
But even with these quibbles,<br />
Spectres will become a<br />
standard by which other<br />
similar games will be judged.<br />
Froggy<br />
DJL<br />
Nick Breeds<br />
After loading the game for<br />
about five minutes, the game<br />
auto runs and thank goodness,<br />
the Break key is disabled which<br />
means that there's no way<br />
you're Suddenly going to lose<br />
your best score ever just<br />
through a misplaced finger.<br />
The title page is very impressive<br />
with a frog bringing<br />
on the title of 'FROGGY ' in<br />
large letters. Four more screenfulls<br />
of instructions revealed<br />
the scoring mechanism and<br />
which controls to use. DJL<br />
chose my favourite — the cursor<br />
keys ('5', '6', '7' and '8').<br />
On playing the game, a full<br />
screen greets you with a busy<br />
road, a river full of turtles, logs<br />
and crocodiles, and five homes.<br />
The game is great fun to play<br />
with bonuses for picking up<br />
baby frogs, for finishing quickly<br />
and so on. Each completed<br />
screen brings a new, much<br />
harder one. The graphics are<br />
superb and very smooth.<br />
WARNING! This game is<br />
very addictive and will keep you<br />
on the keyboard for literally<br />
hours.<br />
However this is hardly a<br />
fault and, all in all, the game is<br />
superb. Oh, by the way, the<br />
price of the package is £ 5.9 5.<br />
For further information on the<br />
cassettes reviewed in this article.<br />
you can write to the following<br />
addresses:<br />
Hi-Soft, 60 Hallam Moor,<br />
Lidon, Swindon, Wiltshire.<br />
Imagine Software, Masons<br />
Building, Exchange Street East,<br />
Liverpool, Merseyside L2 3PN.<br />
R&R Software, 34 Bourton<br />
Road, Gloucester GL4 OLE.<br />
New Generation Software,<br />
Freepost, Oldland Common,<br />
Bristol BS1 5 6BR<br />
Bug Byte, 98-100 The Albany,<br />
Old Hall, Liverpool.<br />
DJL, 9 Tweed Close, Swindon,<br />
Wilts SN2 3PU.<br />
The authors of any of the<br />
reviews published within this<br />
section of the magazine will<br />
receive payment equal to the<br />
amount spent on the software<br />
reviewed unless another<br />
financial arrangement has<br />
already been settled on. All<br />
contributions should be typed,<br />
double spaced, and be accom<br />
panied with screen dumps<br />
where possible. Your reviews<br />
should be sent to the following<br />
address:<br />
Reader's reviews,<br />
<strong>ZX</strong> Computing,<br />
145 Charing Cross Road,<br />
London WC2H0EE.<br />
13 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 73
This program is designed for<br />
anyone who doesn't own the<br />
board game, but would like to<br />
play a game of Reversi with<br />
someone other than the computer.<br />
First up, you should type in<br />
the program shown in Listing 1.<br />
Once this is done, you should<br />
type, in the immediate mode:<br />
POKE 16403.20<br />
to get rid of line 1, so that the<br />
program won't crash. Now RUN<br />
the program and input the<br />
numbers on the right-hand side<br />
of Listing 2, treating each<br />
comma as an instruction to<br />
press Newline. After you have<br />
finished typing in the data, go in<br />
to immediate mode and type<br />
PRINT B. If the answer is<br />
'7026', the program should be<br />
OK and you should SAVE what<br />
you have so far achieved.<br />
Going over board<br />
From now on, do not try to LIST<br />
without a line number, RUN, or<br />
press Home or Clear, as you will<br />
lose the program. Now type in<br />
the BASIC part of the program<br />
as shown in Listing 3.<br />
To save memory space, all<br />
the variables used in the program<br />
must be assigned in immediate<br />
mode; this will also<br />
enable us to find the start of the<br />
screen address in the very beginning<br />
of the program. The value<br />
and name of each variable is<br />
shown in Table 1.<br />
To RUN the program, simply<br />
type GOTO 10 and you'll see a<br />
board similar to that shown in<br />
983<br />
Fig. 1. A graphic<br />
illustration of<br />
what you should<br />
see on the<br />
screen. X 0 2 >0 2 0<br />
Program description<br />
Lines Description<br />
10<br />
Activates the machine code program.<br />
20-30<br />
Assign the number of pieces each player has when<br />
the game starts.<br />
35<br />
The finding of the starting address of the display<br />
file.<br />
40<br />
50-51<br />
POKEs the number of pieces each player has.<br />
POKE the arrow head on the screen indicating<br />
whose turn it is.<br />
52<br />
INPUTs the move.<br />
53<br />
Checks to see if a player wants to give up their<br />
turn.<br />
55<br />
Initializes the sub-total of the move.<br />
60<br />
Finds out the address of the player's choice.<br />
70<br />
Checks to see if that address is being occupied by<br />
other pieces.<br />
90-180 The checking routine for finding whether the move<br />
is legal.<br />
190<br />
If the sub-total of that move is zero then the player<br />
200<br />
must input another move.<br />
Changes to another player's turn.<br />
210<br />
POKEs the number of pieces each player has on<br />
the screen and waits for another move.<br />
1000-1080- The flipping routine to find out the number of<br />
pieces flipped in that direction.<br />
1090 1 100-<br />
Reads the number of pieces each player has.<br />
1110 Goes back to check another direction.<br />
2000-2030 — POKE the number of pieces on the screen.<br />
2035 Checks to see if the board is full.<br />
Fig. 1. Notice the arrow head indicating<br />
which player is next to<br />
play and the number of pieces<br />
each player has placed on the<br />
screen.<br />
in the move<br />
To move, you type in the coordinates<br />
as a single number;<br />
for example, if you wanted to<br />
place one of your pieces in the<br />
bottom right-hand corner, you<br />
would type in ' 1 8'. If the move<br />
is illegal, the arrow head will<br />
stay pointing to the player who<br />
made the illegal move and wait<br />
for a legal instruction. Once a<br />
legal move has been made, the<br />
arrow head will move to point at<br />
the other player's score.<br />
If you cannot move, you<br />
should input '99' and the computer<br />
will automatically go to<br />
the next player's move. After<br />
each move, the number of<br />
pieces each player has placed<br />
will be re-adjusted and printed<br />
on the board.<br />
The game will stop<br />
automatically when the board<br />
is full, but if neither player can<br />
move at any stage of the game<br />
you can type in a letter and stop<br />
the game.<br />
1 REM (112 As)<br />
10 LET B = O<br />
20 FOR A - 1 6427<br />
16538<br />
30 INPUT C<br />
40 POKE A,C<br />
50 PRINT A,C,<br />
60 LETB-B + C<br />
70 NEXT A<br />
listing 1. The BASIC program to<br />
enter the machine code.<br />
TO 1<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 74
TO<br />
to<br />
Address Statement Code<br />
16427 LD HLI16396) 42,1 2,64,<br />
16430 INC HL 35,<br />
16431 LD D,H 84,<br />
16432 LD E,L 93,<br />
16433 LD A,28 62,28,<br />
16435 LD 8,9 6,9,<br />
16437 LD(HL),0 54,0,<br />
16439 INC HL 35,<br />
16440 PUSH BC 197,<br />
16441 LD B,8 6.8.<br />
16443 LD(HL), 1 9 54,19,<br />
16445 INC HL 35,<br />
16446 DJNZ E(41) 16,251,<br />
16448 LD(DE),A 18,<br />
16449 LD(HL),A 119,<br />
16450 INC DE 19,<br />
16451 INC HL 35,<br />
16452 INC A 60,<br />
16453 LD(HL), 117 54,1 17,<br />
16455 INC(HL) 52,<br />
16456 INC HL 35,<br />
16457 POP BC 193,<br />
16458 DJNZ E(37) 16.233,<br />
16460 LD B,2 6,2,<br />
16462 PUSH BC 197,<br />
16463 LD B, 1 0 6.10,<br />
16465 LD(HL),0 54,0,<br />
16467 INC HL 35,<br />
16468 DJNZ E(63) 16,251,<br />
16470 LD(HL), 1 1 7 54,1 17,<br />
16472 INC (HL) 52,<br />
16473 INC HL 35.<br />
16474 POP BC 193,<br />
16475 DJNZ E(60) 16,241,<br />
16477 LDU 6398),HL 34,14,64,<br />
16480 LDO 6400),HL 34,16,64,<br />
16483 LD A, 12 62,12,<br />
16485 LD(16421 ),A 50.37,64,<br />
16488 LD DE, 16515 17.131,64,<br />
16491 LD B,8 6,8,<br />
16493 LD HL,(1 6396) 42,12.64,<br />
16496 PUSH BC 197,<br />
16497 LD( 1 6503),DE 237,83,1 19,64,<br />
16501 LD BC, 1 237,75,152,64,<br />
16505 ADD HL.8C 9,<br />
16506 INC DE 19,<br />
16507 INC DE 19,<br />
16508 LD A,(DE) 26,<br />
16509 LD(HL),A 119,<br />
16510 INC DE 19,<br />
16511 POP BC 193,<br />
16512 DJNZ E(16493) 16,235,<br />
16514 RET 201,<br />
16515 1.<br />
16516 0,<br />
16517 0.<br />
16518 10,<br />
16519 0,<br />
16520 0,<br />
16521 49,<br />
16522 0,<br />
16523 61.<br />
16524 50,<br />
16525 0,<br />
16526 52.<br />
16527 60,<br />
16528 0,<br />
16529 52,<br />
16530 61,<br />
16531 0,<br />
16532 61,<br />
16533 111,<br />
16534 0,<br />
16535 6 1 • Listing 2.<br />
16536 120, The machine<br />
16537 0, coda part of the<br />
16538 52, Re versi program.<br />
<strong>ZX</strong>80 CAME<br />
10 RANDOMISE USRI1 6427)<br />
20 LET F(0) = 2<br />
30 LET F(1) = 2<br />
35 LET M = PEEK! 16396)+ PEEK( 16397)* 256<br />
40 GO SUB 2000<br />
50 POKE M + 1 14-3*(C = 1),23-(C = 0)<br />
51 POKE M+114-3*(C = 0),0<br />
52 INPUT X<br />
53 IF X = 99 THEN GO TO 200<br />
55 LET ST = 0<br />
60 LET P = (X * (X/10) * 1 0) * 1 1 +1 + X/10<br />
70 IF NOT PEEK(M + P) = 19 THEN GOTO 52<br />
90 FOR X = 1 TO 8<br />
92 LET X1 = P<br />
95 LET T = O<br />
100 LET X1 = X1 + D(X)<br />
110 IF NOT PEEK(M + X1) = A( - (C - 1)) THEN GO TO 120<br />
112 LET T = T + 1<br />
114 GO TO 100<br />
1 20 IF PEEKIM + X1) = A(C) THEN GO TO 1000<br />
180 NEXT X<br />
190 IF ST = 0 THEN GO TO 52<br />
200 LET C = - (C - 1)<br />
210 GO TO 40<br />
1000 IF T = 0 THEN GO TO 180<br />
1005 LET X1 = P<br />
1010 POKE M + X1,A(C)<br />
1020 IF ST >0 THEN GOTO 1030<br />
1025 LET F(C) = F(C) + 1<br />
1030 FOR A = 1 TO T<br />
1060 LET X1 = X1 + DIX)<br />
1070 POKE M + X1,A(C)<br />
1080 NEXT A<br />
1090 LET F{C) = F(C) + T<br />
1100 LET F{ - (C - 1)) = F( - (C - 1)) - T<br />
1105 LET ST = ST + T<br />
1110 GO TO 180<br />
2000 FOR A = 0 TO 1<br />
2005 POKE M + 1 12 +
983<br />
<strong>ZX</strong>81 DOMESTIC<br />
Having difficulty<br />
getting your<br />
fingers around<br />
those tricky<br />
guitar chords!<br />
Bring your <strong>ZX</strong>81<br />
into play with this<br />
program from<br />
C A Read of Swansea<br />
Striking<br />
right<br />
When RUN, this program draws<br />
a simulation of a guitar neck and<br />
asks the user to input a number<br />
corresponding to the particular<br />
chord you wish to see on the<br />
screen.<br />
Getting in tune...<br />
The program asks the user to<br />
input a number one to ten and<br />
then the chord corresponding to<br />
the number will be displayed<br />
with the relevant finger positions.<br />
The chord name is<br />
displayed in a box beside the<br />
diagram and the program then<br />
waits for a further input.<br />
You could add two more<br />
chords to the published program<br />
by changing line 82 to read:<br />
82 IF C 12 THEN<br />
GOTO 80<br />
and enter the co-ordinates for<br />
the new chords in the<br />
subroutines at lines 5500 and<br />
6000. Then, you would have to<br />
alter the menu in line 7065. The<br />
chords included in the program<br />
as it stands are C, D, E, F, G, A,<br />
Dm, Em, Am and G7.<br />
Now if only someone could<br />
write a program to tune the<br />
guitar. . .<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 76
ll REM ITOg.gggg?<br />
PO LET X=15<br />
30 LET Y=17<br />
40 GOSUB 7000<br />
SO INPUT C<br />
ft! then GOTO<br />
85 bOSUB 7008<br />
90 GOSUB<br />
iOO PRINT AT « #B;"0"<br />
HO PRINT RT C , D; " Q *•<br />
120 PRINT RT E.F;"O"<br />
130 GOTO 30<br />
4-90 REM C CHORD<br />
SO0 LET R=4<br />
510 LET B = 10<br />
520 LET C<br />
530 LET D =6<br />
540 LET E = 10<br />
550 LET F =4<br />
550 PRINT RT<br />
570 RETURN<br />
990 REH D CHORD<br />
100O LET R = 7<br />
1010 LET B=B<br />
1020 LET C = 10<br />
103O LET D = 10<br />
1040 LET E=7<br />
1050 LET F = 12<br />
1060 PRINT RT<br />
1070 RETURN<br />
1&00 REH E CHORD<br />
1510 LET Ps7<br />
1520 LET B=4-<br />
1530 LET C =7<br />
154.0 LET D =6<br />
1550 LET E =J-<br />
1560 LET F=8<br />
X,Y;"C"<br />
X, Y;"D"<br />
1570 PRINT RT X,Yj'*E"<br />
1530 RETURN<br />
5000 REH F CHORD<br />
2010 LET R = 10<br />
2020 LET 8=6<br />
2030 LET C =7<br />
204.0 LET D = S<br />
2050 LET E=4<br />
2060 LET F = 10<br />
2070 PRINT RT 4,12;"O"<br />
20Q0 PRINT RT X,Y;"F"<br />
2090 RETURN<br />
2500 REM G CHORD<br />
2510 LET R = 10<br />
2520 LET B=2<br />
2530 LET C =7<br />
2540 LET D =4-<br />
2550 LET E = 10<br />
2560 LET F = 12<br />
2570 PRINT RT X,Y;*'G"<br />
2580 RETURN<br />
3000 REM R CHORD<br />
3010 LET R=7<br />
3020 LET B =6<br />
3030 LET C=7<br />
3040 LET D=8<br />
3050 LET E = 7<br />
3060 LET F = 10<br />
3070 PRINT RT X,Y;*'R"<br />
3080 RETURN<br />
3500 REM DM CHORD<br />
3510 LET R = 7<br />
3520* LET B = 8<br />
3530 LET C = 10<br />
3540 LET D=10<br />
3550 LET E =4.<br />
3560 LET F=12<br />
3570 PRINT RT X,Y;"OM"<br />
3580 RETURN<br />
4000 REM EM UHORD<br />
4010 LET R=7<br />
4O20 LET B =4-<br />
4O30 LET C =7<br />
4040 LET D =6<br />
4050 LET Es7<br />
4060 LET F =6<br />
<strong>ZX</strong> COMPUTING AUG.SEPT 1983<br />
2X81 DOMESTIC<br />
4070 PRINT RT X(Y;"EM"<br />
4080 RETURN<br />
4500 REH RH CHORD<br />
4.510 LET R=7<br />
4&20 LET S=S<br />
4530 LET C=7<br />
454-0 LET D=S<br />
4550. LET E =4<br />
4560 LET F = 10<br />
4570 PRINT RT X,Y;"fiM"<br />
4580 RETURN '<br />
5000 REM G7 CHORD<br />
5010 LET R = 10<br />
5020 LET B =2<br />
5030 LET C =7<br />
5040 LET D =4<br />
5O50 LET E =4<br />
5060 LET F = 12<br />
5070 PRINT RT X^Y^'CT"<br />
5080 RETURN '<br />
FINDER?" NT fiT *'®'"GUITRR CHORD<br />
7010<br />
7015<br />
702©<br />
7030<br />
7040<br />
7050<br />
7060<br />
PRINT<br />
PRINT " E R D G B E"<br />
FOR T =<br />
'TtTTTl<br />
1<br />
PRINT<br />
ORTNT<br />
PRINT<br />
NEXT T<br />
^ S P R ^ T B T S i e ^ C - . . l - ^ - D -<br />
-?I®NUM8^.^T "INPUT CHORD<br />
7080^ I" PRINT RT 1 4 , 1 6 ; "J<br />
/ t<br />
7090 RETURN
78<br />
SPECTRUM CAME<br />
Can you defend<br />
the Earth from the<br />
invading aliens in<br />
this game written<br />
for us by Andrew<br />
Cole of Burnley?<br />
~ r ^<br />
- • y*\ ' i \ r<br />
-<br />
- * * ^ f 'i<br />
4<br />
-1 g -<br />
& - .<br />
V S ^ «r*<br />
, . - '<br />
v<br />
, y<br />
In this game for your 16K<br />
Spectrum, you command a<br />
missile base which you can<br />
manoeuver along the surface of<br />
the Earth, using the 'p' key to<br />
move right and the 'o' key to<br />
move left. To fire a missile you<br />
have to press the 'q' key.<br />
The aliens, in their usual<br />
unfriendly way, re-energise at<br />
different levels above the Earth<br />
one at a time. It is your job to<br />
shoot them out of the sky before<br />
they get enough ships out of<br />
hyperspace to destroy the<br />
Earth. Once they have 1 0 ships<br />
positioned over the surface,<br />
they will be in a position to do<br />
this. So, your mission, should<br />
you choose to accept it, is to<br />
keep the number of aliens in the<br />
sky down to less than 10.<br />
You can only fire one missile<br />
at a time on-screen, but if you<br />
find it too difficult to play at one<br />
level, you can always choose<br />
another — there are five skill<br />
levels in all.<br />
: v 5* ^ w \<br />
* * ^ 11 *<br />
- \<br />
' r r -<br />
- 5<br />
i \ <<br />
> %<br />
/ \ **<br />
<strong>ZX</strong> COMPUTING AUG. SEPT 1983<br />
&!<br />
[U<br />
*<br />
!
1<br />
%<br />
i i<br />
% %<br />
* % %<br />
ll!» GC- SUE'- 1 0 0 0<br />
C-C S U B<br />
3C R E M s c r e e n s e t u p<br />
33 B O R D E R 0<br />
4 0 O 5 ; P R I N T P T 2 0 , 2 ; P P P E R<br />
1%<br />
4 5 P R I N T P T 0 1 , 0 , P P P E R 4 - , "<br />
i •<br />
= 1 T O £ 3<br />
_ _ C'LO" R N D R N D # 1 2 O + 4.0<br />
7 P N E X T 5<br />
6 0 L E T f I - 3 ; L E T I - I S<br />
9 0 L E T Z = 3 : L E T h : t £ = D<br />
11C<br />
R E H<br />
P p K l<br />
• ".; TT T t<br />
* — C- er jr t* . i- js<br />
t — - _ r, i: i. L' r c<br />
> = ?;£. - ; e 4 T H E N P R I N T<br />
' ~ £ S»D + 1<br />
, R N D I N K 2 j " H L E<br />
1 4 0 I r z = 1 0 T H E N GO T O 4 3 0<br />
1 5 0 P R I N T P - , 2 J ; z<br />
1 6 0 I F t > = 6 0 - 15 *-6.. THEN- P O K E 2 ,<br />
> r'i . 0<br />
2 0 0 p e n l a s e r<br />
Si".) " ><br />
l = l + t I N K E Y $ = - p - (IN.KE-:<br />
2 1 ® L E T L = L t i' i =0.'t - i. =3i3.><br />
2 2 0 PRINT P,T 1 9 , 1 ; " L ": FHUSE<br />
4 330 IF INKEYJ="q" THEN GO TO<br />
£<br />
IF INKEY*,
'Mastering Machin<br />
On Your Z*81'|<br />
through the<br />
of a great racing car<br />
program.<br />
In this article I would like to<br />
concentrate on the very basic<br />
question of how to write a pro*<br />
gram. That is, given an idea,<br />
how do we change that idea into<br />
byte by byte reality? There's<br />
no real algorithm for it — it's<br />
an intuitive process. If there<br />
was an algorithm for it then we<br />
could write a computer program<br />
to do it for us. Imagine<br />
how great that would be. We<br />
could feed in the information<br />
"CHESS: Board Game, 8x8;<br />
starting position; rules" and<br />
the program would output a<br />
chess program for us! No such<br />
luck in real life. Writing programs<br />
is an abstract, not a<br />
logical process — lateral rather<br />
than linear.<br />
Lateral thinking is a skill<br />
which all of us, as human beings,<br />
posess. Lateral thinking<br />
is different from linear thinking.<br />
In linear thinking, one idea<br />
leads to another, which leads<br />
to another, which leads to<br />
another, until eventually you<br />
reach a conclusion. Computer<br />
MACHINE CODE<br />
programs can be written to<br />
follow this kind of thinking,<br />
and those which do may be<br />
defined as 'intelligent';<br />
however, nobody yet has<br />
devised a program which uses<br />
lateral logic — this is when you<br />
abandon one train of thought<br />
and decide to try a different<br />
approach. This new train of<br />
thought comes into your head<br />
spontaneously and you cannot<br />
pinpoint exactly where the<br />
idea came from. Artists and<br />
songwriters create their works<br />
in their heads almost entirely<br />
by lateral thinking (well, the<br />
best of them anyway) and this<br />
process they will describe as<br />
'inspiration' or 'intuition'. Intuition<br />
then, is the basic ingredient<br />
in the writing of a<br />
sucessful computer program<br />
from scratch.<br />
Thanks for the<br />
memory<br />
Memory (human memory, not<br />
80 <strong>ZX</strong> COMPUTING AUG. SEPT 1983
On display<br />
MACHINE CODE<br />
Answers, answers<br />
computer memory) is another<br />
Notice the special bytes<br />
basic ingredient. This is known<br />
in the strings. Byte 11 means<br />
in the trade as 'experience'.<br />
The 'format' of the screen<br />
'PAPER', and so the two bytes<br />
The solution is that we can<br />
Experience, however, is not<br />
display is something else<br />
1 106 together means PAPER<br />
resort to an alogorithm-type<br />
paramount (for if it was then<br />
which improves with ex-<br />
6. Similarly the byte 1 6 means<br />
approach just a little here. The<br />
the first ever program wouldn't perience. The intricacy of the<br />
'AT', and so the bytes<br />
first step in almost any video<br />
have been written). Experience picture — the 'flowerification'<br />
16050A together mean AT<br />
game is called initialisation,<br />
can be replaced by immediate as someone I know would say.<br />
5,10. Comma separators may<br />
and this usually consists of<br />
access to knowledge in other A beginner would use screen<br />
be replaced by the byte 06,<br />
two parts: (i) initialising any<br />
forms. An experienced pro- displays constructed out of<br />
and apostrophe separators by<br />
variables needed; and (ii) ingrammer<br />
may know instinc- Characters from the Spectrum<br />
OD. All of these are listed in<br />
tialising the image on the<br />
tively that the Hex 09 means character set, then as you ad-<br />
Appendix A of the Spectrum<br />
screen. We can't really think<br />
ADD HL, BC and that to vance you will find yourself us-<br />
manual. A third string is also<br />
about variables just yet<br />
LPRINT a character all you ing user-defined graphics (up<br />
needed for the FOR. . . NEXT<br />
because we don't know what<br />
have to do is set bit one of to 21) and then even more<br />
loop. See if you can work out<br />
we're going to need — so to<br />
FLAGS and then use RST 10, user-defined graphics (any<br />
what it translates to in Hex.<br />
the screen.<br />
whereas everyone else will unlimited number), and finally<br />
(Warning: TAB x translates to<br />
Here we rely on intuition<br />
need to look these things up. ) dispense with the graphics<br />
1 7xx00, not to 1 7xx as you'd<br />
and artistic ability. We have<br />
must stress that this is not a altogether and just POKE into<br />
expectl) The text needed is as<br />
total control over what we<br />
handicap as long as you do the memory to obtain the<br />
in line 30.<br />
want the image to look like,<br />
have the information (usually ultimate in high resoluteness. remember, and so we need im- In the machine code version,<br />
in book form) immediately to Let's program then. First agination to decide on how we the first string should end in<br />
hand. Experienced people may the idea, then the solution. The want it. My suggested pro- PAPER white, which was not<br />
write better (and by that I idea is a racing car program. cess, written first in BASIC, is necessary in the BASIC<br />
mean more sophisticated) pro- It's not an original idea — I shown in Fig. 1.<br />
version.<br />
grams than beginners, but this stole it from a video game I If you feed in this pro-<br />
is only because they have im- once saw. (It's not illegal to gram you should see a yellow<br />
mediate access to more<br />
Last stage<br />
steal the idea for a video game information window (yes.<br />
sophisticated blocks of<br />
knowledge — "Oh yes, I know 10 PRINT PAPER 6;"Time four spaces Distance four<br />
And so to business. To print<br />
Ihe best way to scroll the<br />
spaces Distance twelve spaces to go (H) three spaces<br />
one of these strings the<br />
screen sideways two squares<br />
to go (C) three spaces" ,," = = = = = = = = = = = = =<br />
procedure is as follows: load<br />
m __ _m rt<br />
BC with the length of the<br />
with a double somersault in<br />
between because I did it last 20 FOR i- 1 TO 1 7 '<br />
string, and DE with the<br />
Thursday for the program to 30 PRINT TAB 7;"graphic shift 8" ;TAB 24graphic shift address of the first byte, and<br />
then CALL 103C. Thus, the<br />
make toasted cheese sand-<br />
8"<br />
wiches out of five unknown 40 NEXT I<br />
BASIC may be replaced<br />
variables". I wouldn't worry 50 PRINT AT 5,1 0; INK 1graphic shift 1 graphic shift 2<br />
entirely by the code in Fig. 2.<br />
too much about it. That routine inverse C graphic shift 1 graphic shift 2 two spaces";<br />
The initialisation of the screen<br />
may be to hand now, but even<br />
INK 2;"graphic shift 1 graphic shift 2 inverse H<br />
complete, the next stage is to<br />
the experienced had to write it<br />
graphic shift 1 graphic shift 2"<br />
look closely at the rest of the<br />
game. This is actually easier<br />
for the first time once, and<br />
fig. 1.<br />
than it sounds. Given that<br />
believe me it took them a very<br />
as long as you write the actual that's what it's called!) above there is a subroutine in the<br />
long time (not to mention<br />
program yourself from the start of a racetrack on ROM which will scroll all but<br />
hours of lost sleep) to get it<br />
scratch.) The game plays as which are drawn a blue the top five inches of screen<br />
working.<br />
follows: given a steering wheel human's car and a red com- upwards, see if you can figure<br />
The sophistication of the (or in this case two buttons) puter's car.<br />
out for yourself how the rest of<br />
1 program then, is what is deter- and an accelerator to control To turn this part into the program will work. This is<br />
mined by experience. The your speed, you must perform machine code is very simple. where I effectively test your in-<br />
beginner should not attempt to one lap of a specific race We need two strings as data: tuition and lateral thinking<br />
write a chess program. The ex* track faster than your oppo- one for the string in line 10, ability. I'm not simply going to<br />
perienced programmer would nent (the computer). Your op- and one for the string in line leave it at that, of course, but I<br />
laugh at the idea of writing ponent is a perfect driver and 50. So in other words, one am going to wait until the next<br />
anything as trivial as a program will never crash, however, this way to start the program could article before I carry on. In the<br />
w to turn the screen blue. You is only because they maintain a be:<br />
meantime I would like you to<br />
must compromise the kind of constant and fairly medium<br />
stretch your brains a bit trying<br />
program you want to write speed. You on the other hand<br />
to decide for yourself more or<br />
with what you know you can must compromise between<br />
less what answer I'm eventual-<br />
achieve. Every program you travelling slowly but safely<br />
ly going to come up with.<br />
write should fall somewhere (and losing the race) or going<br />
(Good game this, isn't it?) I will<br />
between the limits 'simple' for speed in order to win<br />
complete this program next<br />
and 'very hard'. These words (whilst trying not to crash).<br />
issue. Till then, keep up the<br />
3 obviously mean different<br />
good work.<br />
Now here's where intui-<br />
things to different people, so<br />
ly<br />
tion/experience bit comes in .<br />
judge by the following conven-<br />
ie<br />
I, as an experienced so and so,<br />
tion: a 'simple' program is one<br />
01???? LD BC, length of string one.<br />
is<br />
happen to know offhand that<br />
that takes you less than two<br />
11???? LD DE, address of string one.<br />
is<br />
there is a subroutine in the<br />
days to complete, and a 'very<br />
CD3C20 CALL PR STRING<br />
7-<br />
ROM which will scroll part of<br />
hard' program is one that takes<br />
061 1 LD B, 1 7d<br />
e- the screen upwards, but that<br />
you over a month. Programs<br />
C5 LOOP PUSH BC<br />
a<br />
there is not a subroutine in the<br />
which you think are going to<br />
01???? LD BC,length of string three.<br />
m<br />
ROM which will scroll part of<br />
take you much much longer<br />
11???? LD DE,address of string three.<br />
the screen downwards.<br />
than even that fall into the<br />
CD3C20 CALL PR STRING<br />
Because I can't be bothered to<br />
category 'impossible' and<br />
CI POP BC<br />
write one I conclude that it<br />
should not be attempted, as<br />
10F3 DJNZLOOP<br />
would be easier to have the car<br />
they usually result merely in<br />
01???? LD BC,length of string two.<br />
at the top of the screen with<br />
the breaking of a few items of<br />
11???? LD DE, length of string two.<br />
the road scrolling upwards<br />
n<br />
furniture.<br />
CD3C20 CALL PR STRING<br />
ot<br />
toward the car.<br />
Fig 2<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 81
Naught but<br />
a game!<br />
The classic game of<br />
Naughts and Crosses for<br />
your <strong>ZX</strong>81, courtesy of<br />
SP Stratford of Hemel<br />
Hempstead.<br />
This program has the <strong>ZX</strong>81<br />
playing a pretty mean game of<br />
Naughts and Crosses against a<br />
willing opponent. The program<br />
requires about 7K of RAM to<br />
operate.<br />
In this game you are the<br />
'naughts' and the computer is<br />
the 'crosses'. The program is<br />
divided into several parts:<br />
DRAWC — Draws the computer's piece.<br />
DRAWP — Draws the player's piece.<br />
WIN — Checks to see if someone has won or if it<br />
is a draw.<br />
COMP — The computer's move.<br />
PLAYER<br />
CLEAR<br />
GRID<br />
— The player's move.<br />
— Clears the player's prompts.<br />
— Prints the playing grid. o<br />
Each part of the program is<br />
called by the GOSUB com-<br />
mand, for example GOSUB<br />
COMP is the subroutine for<br />
the computer's moves.<br />
Three in a row<br />
The following is a brief guide to<br />
some of the more important<br />
lines in the program:<br />
5005-5020 Find if one of the players has a row of three<br />
counters.<br />
5200 The player gets two points for each win.<br />
5320 The <strong>ZX</strong>81 gets five points for each win.<br />
6005-6008 Work out the average value of RND.<br />
8002 Ensures the print position is in the top lefthand<br />
corner.<br />
8200-8210 Make sure that the scores do not run onto<br />
the board.<br />
82<br />
<strong>ZX</strong>81 CAME<br />
1 S f l ' J E " O "<br />
a 5 L O U<br />
3 REM * 7K<br />
R . R . M . R T L E R 5 -<br />
4- R R N D Q _<br />
5 P R I N T T H B 9 j " N O U G H T S " ; R T<br />
1 1 , " R N D " ; A T 4 , 9 ; " C R O S S E S "<br />
'5 PRINT AT S,S; ••Haa"; RT 7,2,'<br />
B B" ; TRB -a.; "THIS 15 YOUR PIECE";<br />
S T S . 2 : 1' r»T»I«] •'<br />
7 P R I N T R T 1 1 , 2 ; " B " ; T R B 4 ; " P "<br />
, T H E 3 . " S I " ; T R B " T H I S I S T H E Z X<br />
- S I p I E C E " , T h B 2 ; " H ET"<br />
0 B P R I N T R T 2 1 , 2 : " ( C ) S . P . S T R P<br />
T j r t P : ^<br />
I : • t_' I<br />
I<br />
•=.<br />
. -* -1<br />
J. J. ,<br />
. ' •<br />
3 P R I N T h T<br />
U L I N E T O 5 T T 3 R T<br />
" R T 1 5 , 0 ; " i<br />
• R E 5 S N E U L I N E T O S T R R T * J I I "<br />
I F C O D E X N K E Y $ < > I I S T H E N G O<br />
T O<br />
1 5<br />
1 9<br />
20<br />
21<br />
2 2<br />
2 3<br />
»—<br />
£ 5<br />
2 6<br />
3 0<br />
1 ;<br />
4-0<br />
5 0<br />
S O<br />
9 0<br />
100<br />
1 0 5<br />
n o<br />
L I S<br />
120<br />
1 3 0<br />
14-0<br />
9 9 9<br />
1000<br />
1001<br />
L010<br />
Y p 1 + 1<br />
1 ; R T<br />
1 0 3 0<br />
1 4 9 9<br />
1 S 0 \<br />
1 5 1 0<br />
1 5 2 0<br />
G O S U B 9 0 0 0<br />
C L S<br />
L E T G O E S = 0<br />
F O P U = 1 T O 3<br />
F O R P = 1 T O 3<br />
L E T R F P , U I<br />
N E X T P<br />
N E X T U<br />
G O S U B G R I D<br />
P R I N T R T 1 1 , 1 ;<br />
' U I S H<br />
1 A 3<br />
" D O<br />
T O " I R T 1 3 / 1 ;<br />
Y O R N<br />
L E T P $ = I N K E Y $<br />
I F R $ = " N " T H E N G O T O :<br />
I F R $ < > " Y " T H E N G O T O<br />
G C S U E P L R Y E R<br />
GOSUB UIN<br />
G O S U B D R R U P<br />
G O S U B C O M P<br />
L E T G O E S = G O E S + 1<br />
G O S U B U I N *<br />
G O S U B D R R U C -<br />
G O T O 9 0<br />
R E M AGG<br />
R E M<br />
R E M<br />
L E T !_!$ — '<br />
2,<br />
Y O U " ; R T I<br />
' G O F I R S T ?<br />
.10<br />
4-0<br />
P R I N T R T Y P 1 - 1 . X P L - L J U $ ; R T<br />
X P 1 - 1 ; U $ ; R T Y P 1 , X P 1 - 1 , U $ ( 1<br />
Y P 1 , X P I + 1 ; U $ I 1 )<br />
R E T U R N<br />
R E M<br />
REM<br />
K'trH<br />
L E T *<br />
P R I N T R T Y C 1 - 1 , X C 1 - 1 ; U $ ; R T<br />
Y C 1 - 1 . X C 1 + 1 ; U $ ; R T<br />
Y C L T L . X C 1 - 1 : U $ ; R T<br />
1 5 3 0 R E T U R N<br />
JMUBBM<br />
1 9 9 9 R E M<br />
2 0 0 0 R E M V «<br />
2 0 0 1 R E M W<br />
2 0 0 5 L E T U $ = "<br />
2 O 4 . 0<br />
Y C 1 , X C 1 ; U * ; R T<br />
Y C 1 + 1 , X C L + L J U $<br />
2010 F O<br />
2020 I F<br />
U $ F T O<br />
R Z = 1 0<br />
Z C = 1 5<br />
11)<br />
T O<br />
T H E<br />
2<br />
N P R I N T R T Z , 0 ;<br />
2 0 3 G :F Z > 1 5 T H E N P R I N T R T Z , 0 , U<br />
N E X T Z<br />
R E T U R N<br />
2 9 9 9 R E M ASMSBM<br />
3 0 0 0 R E M<br />
3 3 3 1 R E M<br />
3 3 1 0 G O S U B C L E A R<br />
3 0 2 0 P R I N T R T 1 1 , 1 ; " T O " ; R T 1 2 .<br />
1 ; " U H E R E " ; R T 1 4 , 3 ; " ? "<br />
3 O 4 - 0 L E T R $ = I N K E Y $<br />
3 3 5 © I F R $ < " 1 " O R R ? > " 3 " T H E N GU<br />
TO<br />
3 G 6 3 L E T X P = U R L R $<br />
3 0 7 0 P R I N T R T 14- , 3 ; X P ; R T 1 6 , 2 ; "FL<br />
N D " ; R T 1 8 . 3 ; " - 7 "<br />
3 0 S O L E T R $ = I N K E Y $<br />
3 0 9 0 I F P $ < " 1 " O R R $ > " 3 " T H E N G O<br />
I O 3 0 S 0<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983
310O<br />
3110<br />
3115<br />
10<br />
3120<br />
3130<br />
3i5e<br />
3160<br />
3170<br />
3 150<br />
3190<br />
3200<br />
1999<br />
5000<br />
5001<br />
5005<br />
sei0<br />
5S50<br />
51<br />
L E T V P = U H L R $<br />
PR I N T RT 13,3.. V P<br />
IF R tXP/YP) 0 T H E N G O T O 3i<br />
IF XP = i THFN LcT<br />
IF XP=2 TMfN L?T<br />
IF Xp=3 THEN LET<br />
IF VP = 1 THEN LET<br />
IF VP = 2 THEN L ET<br />
IF VP=3 THEN I FT<br />
G05UB DRflUP<br />
LET flfXP.YP)=1<br />
RETURN<br />
REM '<br />
REM<br />
KtSXtftStft'tf^<br />
M<br />
NEXT Z<br />
L E T C O M P U =COHPiJ -r 1<br />
"O 3<br />
• ^ «<br />
l_l o<br />
, O) = 0<br />
* P 1 = I 4-<br />
VP 1sj9<br />
XP 1 =24.<br />
VP 1 = 3<br />
VP 1 =3<br />
VP1=13<br />
53S6 L E T H U M R N -HC :MRN -r 1<br />
5050 305US C L E R R<br />
5070 P R I N T RT 1 3 i 2 ; " P O E 5 5 :<br />
C0NT INUE , " j RT £0 , 7 ; "SPACE<br />
STOP . "<br />
5050 IF T H K E v t o ' T . " THEN G<br />
80<br />
5090<br />
5100<br />
5101<br />
5102<br />
510 3<br />
5104-<br />
511CI<br />
5200<br />
^205<br />
5210<br />
INT 5,<br />
BT<br />
522©<br />
5230<br />
5300<br />
5310<br />
5320<br />
TS . "<br />
5330<br />
5340<br />
5350<br />
6000<br />
6001<br />
6005<br />
6006<br />
6007<br />
6803<br />
6010<br />
6020<br />
5030<br />
5040<br />
5053<br />
5060<br />
6065<br />
5070<br />
6050<br />
&Q90<br />
610Q<br />
C L S<br />
FOR 0=1<br />
FOR G = 1<br />
LET RiG<br />
NEXT G<br />
NEXT O<br />
GOTO 20<br />
LET HUMAN=HUMflN+2<br />
FOP Z = 1 TO 100<br />
PRINT RT 19,5, 'VOu<br />
",RT 19,5;"tf<br />
NEXT Z<br />
GO SUB CLizRR<br />
GOTO 5070<br />
LET COMPU =COMPU +5<br />
FOR Z=1 TO 100<br />
W IN<br />
S I ! 3JXI3<br />
P O<br />
J - f P C T N T .<br />
P R I N T AT 19,6;"I UIN<br />
RT 19.6,<br />
NEXT Z<br />
GOSUB CLEAR<br />
GOTO 5070<br />
rttH<br />
FOR B = 1 TO 11<br />
LET WHERE=UHERE+RND<br />
NEXT B<br />
L E T U H E R E = U H E R E - 1 1<br />
I r l.iHERr < = . t. T H E N CO<br />
FOR T = 1 TO 3<br />
FOR U = 1 TO<br />
IF R(U.T>=0<br />
NEXT U<br />
NEXT T<br />
GOTu 70 00<br />
RETURN<br />
IF U = 1 THEN<br />
IF U =2 THEN<br />
I F =3 THEN<br />
<strong>ZX</strong>81 CAME<br />
BRR TO<br />
OT O 50<br />
5 PO I N<br />
5 P O I N T ©<br />
0 0<br />
THEN GOTO 6030<br />
LET<br />
LET<br />
LET<br />
< C 1 = 1 4<br />
X C 1 = 1 9<br />
X C I = 2 4<br />
& 1 10<br />
6 I S O<br />
£ 133<br />
6 135<br />
e 1 4 0<br />
6 150<br />
6 1 5 0<br />
7 0 0 0<br />
7 0 0 1<br />
7 G<br />
70 13<br />
7 0 2 0<br />
VC > 3<br />
70:30<br />
0<br />
a<br />
« a iT.<br />
V.'<br />
IE T = 1 THEN LET YC1=3<br />
IF T =2 THEN LET YC1=S<br />
IF T=3 THEN LET V CI=13<br />
IF fi(U.T)O THEN GOTO 5000<br />
LET R< U , T)=2<br />
GC5U3 DRRUC<br />
RETURN<br />
FOR T = 1 TO 3<br />
FOR U=1 TO 3<br />
LET XC = INT (RND*3) +1<br />
LET VC = INT i RND> +1<br />
IF XC =3 OR XC >3 OR VC=0 OR<br />
T H E N GOTO 7000<br />
IF R(XC .VC) = 0 THEN GOTO 505<br />
R E H •. v" • v<br />
7 0 3 9 NEXT U<br />
FOR KJ = i TO 2<br />
7040 NEXT T<br />
i f 9 THEN RET EN<br />
m<br />
, 1 • 5 Ti<br />
5025 FOR Z = 1 TO 100<br />
g£<br />
5030 PRINT R 19,2 "IT I<br />
.UE BOTH GET ; RT 20 ,9. ''1<br />
•BO 0 P S T!<br />
•sac<br />
504.0 PRINT RT<br />
hdi fd<br />
-*<br />
REM ^<br />
K t. M<br />
PR INT RT 0.0;<br />
PRINT "<br />
<strong>ZX</strong> -51<br />
w '<br />
Y O U<br />
0 PR T!<br />
—, R : i<br />
c-17 t PR ± fN i<br />
VII li "^ V' i'J<br />
8200 LET Ml=7-fLEN (STR$ COHPW))<br />
3210 LET H2 =7- i LEN t 5TR$ HUMAN) ><br />
3220 PRINT RT 3.H1,COMPU;RT 7,H2<br />
;HUMAN<br />
324-0 RETURN<br />
3999 REM<br />
9O00 REM<br />
^001 REM<br />
9 0 1 0 D I M ^ < 3 , 3 )<br />
5020 FOR T = 1 TO 3<br />
9030 FOR Z=1 TO 3<br />
9O4-0 LtT R ( Z , T ) =0<br />
9050 NEXT Z<br />
9Q60 NEXT T<br />
X N T T Z R L 1 5<br />
9O70 LET DRRUC=1500<br />
9080 LET DRAUP=1000<br />
9 0 9 0 LET UIN =500C5<br />
9 100 LET COMP=5000<br />
91 10 LET PLRYER =3000<br />
9120 LET CLERR =2000<br />
9 13 0 LET GRID=3000<br />
9 14-0 LET HUMRN=0<br />
9 15 O = T COMPU=0<br />
:3 •* ~ .r, L.ET G O E S<br />
9170 LET UHERE =0<br />
9210 RETURN<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983 83<br />
K<br />
rtis
1983<br />
£39.95<br />
(inc. VAT)<br />
+ 80p P&P<br />
THE NEW FDS for the SPECTRUM,<br />
<strong>ZX</strong>81, LAZER 200, JUPITER ACE,<br />
and the ORIC as illustrated<br />
This elegant desk top system, designed tor the<br />
professional user. In its slimline case, the<br />
superior keyboard contains all the graphic<br />
characters for the above computers. With the<br />
additional function keys and SPACE BAR,<br />
speedy and accurate data entry is made simple.<br />
The Fuller FDS is easy to install, based on the very<br />
popular FD42 system, it requires no soldering or technical I<br />
knowledge.<br />
For the user who is reluctant to install his computer circuit board<br />
inside the FDS a buffer is available -r-<br />
CENTRONICS PRINTERFACE<br />
As above but for parallel printer with CENTRONICS input<br />
DUAL/PR1NTERFACE Features both c*n Qc<br />
RS 232 CENTRONICS INTERFACE<br />
(leads can be supplied at an extra cost)<br />
£34.95.<br />
(inc. VAT)<br />
+ 80p P&P<br />
line v»r<br />
• Up CAP<br />
£39.95<br />
line VAT*<br />
+ tOt>M<br />
«JDt(..)iawnpiA0i tosm(a*f Mm (Mourn I'/MVmwJFVw tflcav «))SWII ip—<br />
tmttflff.oietfttw fcrwUdttLM.&'MWhft&ipriLj Iwrpcol U MH ttl ret«H» frnul coapwn I*. X<br />
to>St foiwvt. Sufc» irinn Cintntmy Wrwn Ct»t (rv frwi (jrtntwv IMCT12AS Hunt)OwCsHHI<br />
IV, IM Bectto- toWl' lMU*n (impair UtM. 24 n» ••«sdr ! tf^lj* itnuf, I.ndn lym SlA :,tJ HHILI i Co<br />
BHH (wpuimohr ltd. I ( pitjI PmkV 4 SurtKor. f 'xti-I Su KI6 tfl 01 W)llJJ-«ou MUSka I<br />
0«*»Wow 114.tVCaWfiC«Bn 0WHIMJ7 Dtstwwtomprtrt«mIM ttsjjw «sa<br />
FMOnnic ttouie iter kjujif SufirSKH 1J 0J7« MJM Iv OtflTQMO. Ul Wry to*- tenjo*! KaU u<br />
levari OtUtUV KWC.vUrmmSWft HcrVtxit. IrKbLS] tuf OiUililV' HwliM(iHMti>alMMWM<br />
JMOwctiSrvr i^tpoH ITlf. lwfr !Wurtw lud nwmaj M ISv OMJIMJn KVW fltMoUt. MtfMi tlOW<br />
Cuer Or am* 01* WOOO Were audi UOnpd tbtrMf. Mrt tMOtl Wa»Trwia 27A W SMI '4 M<br />
»l WMfi Qodsln HStr Hr«t iorlyj la*. OIJJMO l*1txdHI fl W.'MGtoucBc (m; irjJ:< UlUttV c<br />
IMSi Gtv&laal Owhrtun OnaMnlin HMMhIMGitaimi Mmn Iran Ltnta WEI J^Ffl<br />
S»inKv Km- yuofiontldro Jtts Htf S-w. frtngnct JniiNjtair (JJ UHWJJJ WotSHn WJE^W mm<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 84
£54.95<br />
(inc. VAT)<br />
+ 80p P&P<br />
The Fuller Box -<br />
The Sound System for the Spectrum<br />
The FULLER BOX added to the <strong>ZX</strong> Spectrum, improves the sound quality<br />
enormously The built in audio amplifier working well with all SPECTRUM<br />
programs.<br />
nie FULLER BOX allows you to program your own music, explosions,<br />
zaps, chimes, whistles and an infinite range of other soun<<br />
around the popular G1 AY 3 8912 sound cnip. It gives you<br />
complete control over J channels of tone and/or white<br />
noise, plus an overall envelope control<br />
Also provided with a joystick port, the unit gives instant<br />
command over all your own games programs The port<br />
is compatible with all the commercially available<br />
joysticks eg Atari/Commodore<br />
The FULLER BOX is complete with full documentation and<br />
a demo tape which includes the type of sounds you can<br />
Based<br />
f* fx<br />
achieve, tt also allows you to program your own sounds Fitting<br />
neatly onto the back Of of the SPECTRUM, the FULLER BOX still Still<br />
allows access for other peripherals, including the new SPECTRUM<br />
Micro Drives, via its duplicate user port.<br />
^ W v l<br />
(inc. VAT)<br />
+ 80p P&P<br />
THE MASTER UNIT -<br />
The Ultimate Games Unit<br />
The Master Unit provides all the requirements<br />
for the serious games enthusiast, containing<br />
not only the FULLER BOX, but also the FULLER<br />
/ ORATOR, all contained within the standard<br />
case.<br />
The Speech Unit and sound synthesiser combines<br />
to provide exciting voice and sound for your games.<br />
The other features include. Cassette interface, a<br />
variable audio output which may be connected directly<br />
to a HI Fl system. The MASTER UNIT provides endless<br />
scope in applications, and it allows asccess to the<br />
SPECTRUM for other periferal, via its duplicate user port,<br />
i.e. printerface. The MASTER UNIT is complete with full<br />
documentation and demo tapes which includes the type<br />
of speech and sound you can achieve.<br />
Upgrades for the Fuller Box and Orator<br />
Ttie systems can be expanded to MASTER UNIT specifications including the full range of controls. The upgrades must be fined by us. at<br />
FULLER MICRO S.<br />
PRICES Line V A T.) ORATOR to MASTER UNIT £14.95 FULLER BOX to MASTER UNIT £24.95<br />
The Fuller Orator -<br />
Speech for the Spectrum<br />
A smash hit at a number of recent Micro Fairs, the FULLER ORATOR<br />
uses an allophone system. Based on the G1 SP0256 AL voice<br />
synthesiser chip. Directly accessabte in BASIC, it is able to say<br />
anything you command using the keyboard or a games program<br />
It comes in the standard case complete with its own audto<br />
amplifier, it allows access to the SPECTRUM for other peripherals<br />
via its duplicate user port. Full documentation and demo tape<br />
included<br />
PRICE [inc. v.A T 1 £39.95 plus sop p&p<br />
16K to 48K Memory Expansion Pack for<br />
the Spectrum<br />
For the 16K SPECTRUM owner - upgradeyour machine to 48K of<br />
RAM with the FULLER upgrade kit. Complete with full assembly<br />
Instructions (Model 2 or 3 only).<br />
PRICE (inc. V AT.) £24.95 plus sop p&p.<br />
Ram Adaptor Boards for the <strong>ZX</strong>81<br />
Allows you to fit your Ram Pack inside the FD42 system. Accepts<br />
most commercial Ram Packs.<br />
PRICE (inc. VAT.) £9.35 & 80p p&p.<br />
tiOiasrw siM urn un«si*ruvM».]7vr?**9»«yiMua fufvtm loxtai 5W CI KS OtfiontHiri.<br />
• be fcmnwt (oapter Stop urn ft MTO.V* H(*k Srwc*IW lipgnlpmsnW<br />
MkCaapan Sranu 11* concww Cent UOKDigHf CJwJirf<br />
Mono Wad ud. HfcTHWfWliMt vnn^im tirrti o4 btdvij.<br />
0«MU»W3ifUI •w^xoajhttaw Coffin 'OwrtSr«T» VWHKtwou(h<br />
i MiCsHprtB(am tent WfUiJ .CUl;sew tUcttwn ura Horn Canprttnlid.<br />
muMttlMltf.KnoaMSM .ordersvu HP CHii.":! Nnvr«.uwi;<br />
i S tan UK iKtor »)> Wtfl HUt II VJl VHrtH iffwt ty* «14 Itf<br />
> V-fc toll HI n turn 1«twrrtll<br />
FOmJimaiNFOMAlKW<br />
swDcwiosm<br />
FOIUK I 1 SA£<br />
AMtMDI I MONEY<br />
COUfON<br />
fMnlord liie OMSVW) Snmlm<br />
ftadKnOltanLatteStimoiMnit Swnlnr 0«1tmn»w. n owm iimi. tWwa Cmwl<br />
Fuller Quality<br />
Fuller Micro Systems reach for the highest quality in Research and<br />
Development, to make our products the BEST.<br />
Fuller Service<br />
In an effort to provide the best service we have built a new MAIL<br />
ORDER dept. at 71, Dale Street. Liverpool 2. Due to come into<br />
service soon.<br />
Fuller Guarantee<br />
All our products carry a worldwide one year guarantee.<br />
FULLER stock a full range of components and kits for your<br />
computer, send SAE for details.<br />
I<br />
I<br />
I<br />
I<br />
I<br />
I<br />
I<br />
f .<br />
(A)<br />
Please supply the following items: [state items and quantity!<br />
plesase send me t<br />
please send me @ I<br />
please send me Co 1<br />
please add t for p&p<br />
I cnclose a cheque/PO payable to<br />
FULLER MICRO SYSTEMS Total I or debit my Access<br />
Bardaycard - Card No.<br />
Signature<br />
Name<br />
Address<br />
II<br />
HI<br />
DEALERS REQUIRED FOR UK & ABROAD<br />
ENQUIRES WELCOME<br />
051-236 6109<br />
71, DALE STREET, LIVERPOOL 2<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 85
HARDWARE/SOFTWARE REVIEW<br />
The graphics solutio<br />
Nick Pearce looks at a<br />
couple of ways to get<br />
high resolution graphics<br />
on your <strong>ZX</strong>81.<br />
Owners of the <strong>ZX</strong> Spectrum<br />
will already be familiar with the<br />
delights of high resolution<br />
graphics. However, <strong>ZX</strong>81<br />
owners (excepting those with<br />
the necessary hardware addons)<br />
have hitherto been denied<br />
that facility, although the excellent<br />
results sometimes obtained<br />
by enterprising programmers<br />
belie the limited<br />
graphics set available. High<br />
Resolution is a piece of software<br />
which goes some way<br />
towards remedying this deficiency<br />
enabling 256 by 192<br />
resolution displays to be constructed,<br />
User-defined<br />
characters (lower case<br />
alphabet, chess pieces, space<br />
invaders, etc) and smooth<br />
curves are available using this<br />
software on your trusty <strong>ZX</strong>81<br />
and 16K RAM Pack.<br />
The cassette contains three<br />
programs: the high resolution<br />
toolkit itself, and two<br />
demonstration programs.<br />
Toolkit is held in a REM statement<br />
and occupies about %K<br />
of RAM. The Hi-res display file<br />
is about eight times as large as<br />
normal and is held above RAMtop,<br />
which must be lowerec<br />
with the appropriate POKE<br />
command before LOADing —<br />
easily forgotten as I found to<br />
my cost!<br />
The displays are generated<br />
86<br />
using eight commands obtained<br />
through USR calls. The<br />
PRINT command prints in minicharacters;<br />
these are the same<br />
width (eight pixels) but one<br />
eighth the height of normal<br />
<strong>ZX</strong>81 characters and can be<br />
any one of 128 dot patterns.<br />
(For truly addressable graphics<br />
there would need to be 256<br />
dot patterns, but the 128<br />
available should be adequate<br />
for most practical purposes.)<br />
For Hi-res printing the<br />
screen is divided into 32 columns<br />
and 1 92 lines, and the<br />
...< -- .••* ."TV<br />
. A . • • • . .-.* ><br />
...... - w:'-s. I<br />
• j?- .'••,. - *•—-• .* - •<br />
r// • V "J:;"— . •. • *<br />
'' . * ' * • * . \ / . ' • * ' '<br />
j-"—' • , . . . • .**•••<br />
. ..... • . • . - - •<br />
.... —...... . . .<br />
.•• . .<br />
•:•.••.'• • • • - v x - • • * ,<br />
• • * / ••>":--. • .-<br />
4 ' • * .* * .* . i.ttH'fek." "V N * .<br />
.• . • .•• ^ .... •*.<br />
.' * • . ..<br />
.. .- .- »• •'.... ..<br />
A sample screen illustration using Notting Dale<br />
Technology Centre s Graphics Pack.<br />
* . V<br />
. * -<br />
V'- •<br />
\ • • • ,-V<br />
....<br />
•* •. 'ir. • *s<br />
*.•*„ . . . *<br />
;.;.*<br />
• *• "-••>*<br />
1<br />
r<br />
procedure is to POKE the column<br />
number, line number and<br />
mini-character code into<br />
assigned memory locations<br />
from which they can be printed<br />
onto the screen. The method is<br />
a little tedious (it is particularly<br />
frustrating trying to find the<br />
right dot pattern for the required<br />
characters) but thej<br />
results are worth the effort. Hires<br />
characters can be moved<br />
around the screen and so<br />
games featuring high resolution<br />
graphics are possible<br />
(movement is slow in BASIC,<br />
but could obviously be speed<br />
ed up using machine code).<br />
MPUTING AUG/SEPT 1983
The GOO 7 High Resolution Graphics<br />
Pack from the Notting Dale<br />
Technology Centre.<br />
l Ur* •<br />
The PLOT command gives<br />
i to the complete 256 by<br />
192 pixels. Plotting is obtained<br />
in a similar fashion to printing;<br />
the column and line coordinates<br />
are POKEd, followed<br />
bv a USR call to plot the screen<br />
pixel.<br />
An instruction booklet is included<br />
with the package. This<br />
explains the various Hi-res<br />
comands and lists the minicharacters<br />
available and their<br />
codes — it also gives some examples<br />
of how high resolution<br />
graphics can be used and incorporated<br />
in BASIC programs<br />
I felt the booklet could have<br />
been more comprehensive; the<br />
inexperienced programmer<br />
may find it a little inadequate.<br />
I did not find the High<br />
Resolution package a particularly<br />
easy program to use,<br />
relying as it does on POKE<br />
commands and USR calls.<br />
However, experienced<br />
machine code buffs should not<br />
/have any difficulty using it effectively.<br />
Computer Rentals are to be<br />
congratulated for producing<br />
this high resolution software<br />
for the <strong>ZX</strong>81. Not perfect, but<br />
a commendable achievement.<br />
High Resolution is priced at<br />
£5.95 from Computer Rentals,<br />
140 Whitechapel Road,<br />
London E1.<br />
C007 High<br />
Resolution<br />
Graphics Pack<br />
Notting Dale<br />
Technology Centre<br />
The G007 is a very powerful<br />
piece of hardware for the<br />
<strong>ZX</strong>81. It provides true high<br />
resolution graphics which,<br />
together with a comprehensive<br />
range of graphics commands,<br />
gives features usually found<br />
only on quite advanced<br />
machines — such as line drawing<br />
and textured area filling.<br />
The G007 commands are<br />
easy to use and have been<br />
achieved by extending the<br />
functions of some of the normal<br />
BASIC statements. Particularly<br />
versatile is the new<br />
PLOT command which is in the<br />
form PLOT n,x,y. The coordinates<br />
x and y specify a<br />
position on the 256 by 1 92 Hires<br />
screen; n is a new<br />
parameter which is used to<br />
select any one of the 115<br />
separate functions.<br />
Plot on. ..<br />
To give an idea of the procedure<br />
and the facilities<br />
available, some examples are:<br />
PLOT 34,x,y draws a coarse<br />
dotted line from the previous<br />
plot position to co-ordinates<br />
x,y; PLOT 102,x,y draws a<br />
Chain dotted line to coordinates<br />
x,y relative to the<br />
previous plot position; and<br />
PLOT 42,x,y fills the triangle<br />
between x,y and the two<br />
previous plot positions in<br />
black.<br />
User-defined characters are<br />
also easily obtained. The<br />
GOO 7 allows the 32<br />
characters of the <strong>ZX</strong>81 from<br />
inverse 4 to inverse Z to be<br />
readily re-defined {the old inverse<br />
video characters can still<br />
be obtained since the Hi-res<br />
print mode allows characters<br />
to be printed in inverse video).<br />
To re-define a character, the<br />
eight binary numbers representing<br />
each row of eight pixels<br />
have to be worked out; these<br />
are then POKEd into the appropriate<br />
locations in the<br />
'character table' in RAM.<br />
The normal low resolution<br />
mode of the <strong>ZX</strong>81 is still<br />
available with the G007 in<br />
use, and the <strong>ZX</strong>81 may be<br />
freely switched between the<br />
two modes without losing the<br />
contents of either. The Hi-res<br />
display file takes about 6.4K of<br />
RAM. The Hi-res display can<br />
be copied onto the printer, and<br />
programs and displays can be<br />
SAVEd on cassette.<br />
The unit comes with a comprehensive<br />
and very wellwritten<br />
manual which also<br />
gives a number of example<br />
programs. The G007 itself<br />
comes in an attractive black<br />
plastic case measuring about<br />
1 7cm by 3cm by 6'/icm and is<br />
contoured to fit snugly between<br />
the <strong>ZX</strong>81 and the 16K<br />
RAM Pack.<br />
Powerful<br />
This is a very powerful high<br />
resolution graphics pack. The<br />
commands have been well<br />
thought out and it is a pleasure<br />
to use. Once you have used it<br />
for a few programs you will<br />
wonder how you ever managed<br />
without it.<br />
The problem for the <strong>ZX</strong>81<br />
owner is considering hardware<br />
of this sort is whether to expand<br />
or to upgrade to obtain<br />
the desired facilities. Those<br />
who select the former option<br />
should find the G007 an excellent<br />
investment.<br />
The G007 High Resolution<br />
Graphics Pack costs £32 excluding<br />
VAT (plus 75 pence<br />
P&P) from Notting Dale<br />
Technology Centre Ltd, TFL<br />
(<strong>ZX</strong>81), 189 Freston Road,<br />
London W10 6TH.<br />
983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 87
isii^IDO^ISI IF®® w m wma ©a w s m m m<br />
Our new cased keyboard has 52 keys, 12 of which are used for the numeric pad. The numeric pad offers useful features, you<br />
can cursor with one hand and it will be a boon for anyone who enters a lot of numeric data. The pad is a repeat of the 1 — 9<br />
keys, it also has a full stop and a shift key. The numeric pad keys are red in colour, the normal keyboard keys are grey, with<br />
the case being black, which results in making the keyboard very attractive. The keyboard case dimensions are: 15" x 9" x 2Vi".<br />
The computer (either 80/81 or Spectrum), fits compactly inside.<br />
You witl have to remove the computer from it's original case, it is then screwed to the base of the case. The case has all the<br />
bosses already fitted and the screw holes are marked. Also fitted inside the case is a mother board (81 model only)<br />
which allows 16K, 32K and 64K to be fitted in the case. All connectors are at the rear of the case i.e. Power, Mic,<br />
Ear, T.V. and the expansion part. The case is large enough for other add-ons also to be fitted inside. One of these<br />
could be the power supply then you could very quickly fit a mains switch or a switch on the 9V line. This<br />
means you have a very smart contained unit.This case does not stop you from using any other addons<br />
that you may have eg Printer etc. We are convinced that this is the best keyboard available at present.<br />
It offers more keys and features than any other keyboard in it's price range.<br />
MTIooo<br />
The case can be purchased separately with the keyboard aperture uncut, therefore if you<br />
possess one of our early uncased keyboards, or in fact, any other suppliers' keyboards<br />
these could be fitted. The keyboard is connected to your computer by a ribbon cable<br />
and this has connectors fitted which simply push into the Sinclair connectors. It<br />
is a simple two minute task and requires no electronic skills. This keyboard<br />
does not need any soldering. Please specify on order whether you<br />
require the <strong>ZX</strong>81 or Spectrum case.<br />
©DDlOn<br />
This is supplied with Spectrum legends, and a slightly different<br />
base for fitting the Spectrum inside, again, all the connectors<br />
are at the rear of the case and there is plenty of room for the<br />
power supply (and other add-ons). Should you wish to<br />
change, we can supply both the Spectrum legends and<br />
details of updating your case which will enable modification<br />
from the <strong>ZX</strong>81 to Spectrum. PLEASE<br />
specify on your order whether you require the<br />
<strong>ZX</strong>81 or Spectrum inside.<br />
w m<br />
16K Memory £22.95<br />
64K Memory £52.95<br />
16K (Uncased) £19.95<br />
64K (Uncased) £49.95<br />
8IFECTBSBB8<br />
MKI £301<br />
MKII £30<br />
"b I"<br />
If you have ever had<br />
white outs or system<br />
crashes this could be the<br />
answer. It stops the movement<br />
between the computer<br />
and the RAM<br />
expansion, it is supplied<br />
with a ribbon 6 inches<br />
DK Tronic*. Unit 2. Shire Hill Ind Est. Saffron Walden lon9' with 3 male Atronks<br />
«>nnec<br />
IFEaO<br />
IUSMM mwM\ !(gfl<br />
o n e end and a<br />
m m ga®<br />
Essex CB11 3AQ. Tel: (0799) 26350
'(M<br />
1®<br />
1983<br />
®®¥0a M H I ^<br />
This is the toolkit which won acclaim in the feature in the<br />
August 1982 issue of Sinclair User. "It is the most impressive<br />
programm, fast in execution with clear and full instructions .<br />
... it stands out from the rest of the field". The <strong>ZX</strong>ED is<br />
a powerful editor for use on the expanded <strong>ZX</strong>81. It is<br />
intended for use by the serious BASIC programmer and<br />
offers several useful and time saving features most helpful<br />
during all stages of program development. The facilities<br />
provided are as follows: ALTER, BYTES, COPY,<br />
DELETE, FIND, HELP, INSERT, KEEP,<br />
MOVE, RENUMBER, AND VERIFY.<br />
The Spectrum Toolkit contains most<br />
of the features above plus<br />
autoline numberer and<br />
append, and will run in the<br />
16K and 48K Spectrum.<br />
This module unlike most other<br />
accessories fits neatly inside your computer<br />
under the keyboard. The module<br />
come ready built fully tested and complete<br />
with a 4K graphic ROM.This will give you an<br />
unbelieveable number of extra pre-programmed<br />
graphics. This now turns the 81 into a very powerful<br />
computer with a graphic set rarely found on larger<br />
more expensive machines. In the ROM are lower case<br />
letters, bombs, bullets, rockets, tanks, a complete set of<br />
invaders,graphics and that only accounts for about 50 of them,<br />
there are still approximately 400 left (that may give you an<br />
idea as to the scope of the new ROM}. However, the module<br />
does not finish there, it also has a spare holder on the board<br />
which will accept a further 4K of ROM/RAM. This holder can<br />
befitted with a 1K/2K/RAM and can be used for user definable<br />
graphics so you can create your own custom character sets.<br />
The so called speaker in your Spectrum is really only a<br />
tjuzzer'. With the DK Tronics "SPECTRA SOUND" you can<br />
generate fully amplified sound through the speaker on your<br />
TV. set. SPECTRA-SOUND is a very simple but highly<br />
effective add on. This means that you no longer have a faint<br />
beep but a highly amplified sound, which can be adjusted with<br />
the TV volume control.<br />
The SPECTRA SOUND fits comoactly and neatly inside the<br />
Spectrum case and is connected by three small crocodile<br />
tfw mm ant £9.9S<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983<br />
I<br />
I<br />
I<br />
I<br />
I<br />
I<br />
LIGHT PEN<br />
The pen enables<br />
you to produce<br />
high resolution<br />
drawings on your<br />
own T.V. screen.<br />
The controlling<br />
software supplied<br />
with the light pen<br />
has 16 pre-defined<br />
instructions. These<br />
are chosen from a<br />
menu positioned<br />
at the bottom of the screen next to the pen.<br />
You can utilise the menu for changing colour (Border, Paper,<br />
Ink). Drawing circles, arcs, boxes, lines. You are also able to<br />
fill any object with any colour, and insert text onto the screen<br />
at any chosen place. Of course you can also draw freehand.<br />
There is a feature to retain the screens and animate. On the<br />
48K Spectrum you can retain 5 screens.<br />
You can also use the machine code on it's own in your own<br />
programs, for selecting out of a menu etc. The software<br />
provided will return with the X,Y, cords for it's position on<br />
the screen.<br />
The light pen is supplied with a control interface in order to<br />
adjust the sensitivity/pen alignment.<br />
This simply plugs into the ear socket on your spectrum.<br />
Should you require further details please send a S.A.E.<br />
Internal fixing for<br />
<strong>ZX</strong> 81 keyboard case.<br />
r 1<br />
* KMU '<br />
I 1.W > |<br />
I *** I<br />
I I<br />
L J<br />
—ill iminiiiiiii<br />
T > ±<br />
Internal fixing for<br />
spectrum keyboard<br />
case.<br />
Please state type of machine, which ROM memory siie, quantity,<br />
and place when ordering.<br />
Please send me £<br />
Please send me @ £<br />
Please send me @ £<br />
Please add on £1.25 for p/p<br />
I enclose cheque/P.O. payable to DK Tronics total £<br />
or debit by Access/Barclaycard No. LLLL I L I j_LJ_LL nr<br />
Signature.<br />
Name . . .<br />
Address. .<br />
Send to DK Tronics, Unit 2, Shire Hill Ind Est, Saffron Walden,<br />
Essex CB11 3AQ, Te): (07991 26350 (24 hrs) 5 lines.<br />
*<br />
89
COMPETITION<br />
Competition<br />
Have some fun, and maybe win yourself a joystick<br />
package for your spectrum or <strong>ZX</strong>81!<br />
Okay, settle down now and<br />
don your competition hats.<br />
This issue we've got some<br />
great prizes for you to win, and<br />
all you have to do is to put<br />
some lines to go with the cartoon<br />
below.<br />
You'll all have seen competitions<br />
like this before I'm<br />
sure and I'm afraid it's one of<br />
those awkward times where<br />
there is no real answer for you<br />
to find. You just have to stir up<br />
the grey matter and come up<br />
with a line or two which complements<br />
the cartoon and<br />
hopefully makes us laugh here<br />
at the <strong>ZX</strong> Computing editorial<br />
offices.<br />
Once again, you'll have to<br />
cope with our strange sense of<br />
humour but if the limericks<br />
which are streaming into the<br />
office from last issue's competition<br />
are anything to go by,<br />
you should have no problem at<br />
all! Again, we would like to<br />
publish the best three captions,<br />
so try and keep them<br />
clean; still, if you feel otherwise<br />
inclined, we always need<br />
a laugh.<br />
The prizes<br />
There will be three winners to<br />
the competition, those with<br />
captions which show originality<br />
and most of all, humour.<br />
Each of the three prize winners<br />
will receive a joystick<br />
package courtesy of AGF<br />
Hardware. Each package will<br />
consist of two Atari joystick<br />
controllers, one Interface<br />
module II (Spectrum or <strong>ZX</strong>81<br />
version! and a 'Video Graffiti'<br />
demonstration program.<br />
You should have no trouble<br />
finding compatible software<br />
for the joysticks should you<br />
win. The interface is compatible<br />
with 28 games from 14<br />
companies for the Spectrum<br />
and there are 20 games com-<br />
patible with the <strong>ZX</strong>8 1 from 1 1<br />
companies. You can also,<br />
following the instructions accompanying<br />
the joystick<br />
package, incorporate the<br />
joystick facility in your own<br />
programs.<br />
Rules<br />
• This competition is open to<br />
all UK and Northern Ireland<br />
readers of <strong>ZX</strong> Computing except<br />
employees of Argus<br />
Specialist Publications Ltd,<br />
their printers and distributors,<br />
employees of AGF Hardware,<br />
or anyone else associated with<br />
the competition.<br />
• As long as the correct<br />
coupon is used for each entry,<br />
there is no limit to the number<br />
of entries from each individual.<br />
• All entries must be<br />
postmarked before September<br />
31 st, 1 983. The prizes will be<br />
awarded to the best three entries.<br />
the decision to be made<br />
by the Editor of <strong>ZX</strong> Computing.<br />
No correspondence will be<br />
entered into with regard to the<br />
results and it is a condition of<br />
entry that the Editor's decision<br />
is accepted as final.<br />
• The winners will be notified<br />
by post and the results will be<br />
published in a future issue of<br />
<strong>ZX</strong> Computing.<br />
Address your entires to:<br />
<strong>ZX</strong> Computing — cartoon<br />
caption,<br />
145 Charing Cross Road.<br />
London WC2H OEE.<br />
Results<br />
Congratulations to Dennis<br />
Plowman of Dunkirk, Nottingham,<br />
for you sent us the entry<br />
that was first to be picked out<br />
of the competition bag in our<br />
April/May competition. The<br />
prize of 1 2 books about the <strong>ZX</strong><br />
Spectrum is, as you are<br />
reading this, on its way to you<br />
courtesy of the Post Office.<br />
In case any of you are keen<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983
to find out whether you got the<br />
answers right and want to get<br />
some programming in at the<br />
same time, then you might be<br />
interested in an ingenious entry<br />
from Peter Cameron of Oxford.<br />
Instead of engaging brain<br />
and settling down to a couple<br />
of hours of word searching, he<br />
switched on his Spectrum and<br />
got to work.<br />
The program he wrote is not<br />
terribly fast — running speed<br />
about six minutes with the<br />
data provided in the competition<br />
— but he assures me it is<br />
2 0 I N P U T<br />
j*. INPUT<br />
c o l s<br />
30 D I M a t If OIUS<br />
IF rows ROWS OR CX < 1<br />
HEN GO TO 4S0<br />
b $ t J , TO C ( J .»<br />
ete": ST<br />
LET V $ =<br />
=rx+dr: LET c<br />
IF rx <<br />
THEN RETURN<br />
=v $ +a $ ( r x .. cxJ : GO TO<br />
X = CX + d C<br />
) ; " t o c a<br />
WILLIPMTPNG located,<br />
start row IS,column 13,<br />
direction northwest.<br />
DILWYNJONE5 located,<br />
start row 16 , c o l u m n 3,<br />
direction north.<br />
DRIPNLOGPN located,<br />
start row l , column 13,<br />
direction we s t-<br />
TIMLPNGDELL located,<br />
start row 4,column 13,<br />
direction west.<br />
TIMHHRTNELL located,<br />
start row 14,column 13,<br />
direction west.<br />
OfiUIDHARIJODD located,<br />
start roif is, c o Lumn 14,<br />
direction west.<br />
TREUORTOMS located,<br />
start row 2, column 5,<br />
direction east.<br />
MIKELORD located,<br />
start row 7,co lumn 6<br />
direction east.<br />
MPRTINURENHILTON located,<br />
start row 2 ,column 2,<br />
direction south.<br />
SMGEE located,<br />
s t a r t row 11,column 5,<br />
direction south*<br />
ROE- INBRPDBEEP located,<br />
s t a r t r o w 1 , c o I u ro n 1 2 ,<br />
direction south.<br />
Search complete<br />
The output from Peter Cameron's program.<br />
Competition<br />
Name . .<br />
Address<br />
My caption for the cartoon is:<br />
Postcode<br />
(please write your caption in block capitals)<br />
983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 91
1983<br />
OIL<br />
WELL<br />
THAT<br />
ENDS<br />
WELL<br />
Dallas. The task of oil exploration and<br />
exploitation in Texas is no game. You'll have<br />
to decide how much you II sell the stuff for -<br />
where to find it - how to get to it and where<br />
to pump it<br />
That's just for starters.<br />
Can you take over the Euing Empire or will<br />
you be taken over in the attempt^<br />
We've warned you - but ihen we think you re<br />
just about ready for it<br />
Dallas Airline,<br />
for —<br />
ORIC I<br />
£7.95<br />
Other UtJes in the range include Airline.<br />
Autochef, Print Shop and Farmer.<br />
Prices: <strong>ZX</strong>81 and Spectrum 16K£5<br />
Spectrum 48K £6<br />
Available from W.H. Smith and all<br />
guod computer shops or Dept. <strong>ZX</strong><br />
Cases Computer Simulations<br />
14 Langton Way London SE3 7TL.<br />
Strategic Games. They're no pushover.<br />
SPECTRUM & <strong>ZX</strong>81<br />
EDUCATIONAL SOFTWARE<br />
SPECTRUM FAMILY LEARNING SERIES<br />
Use our Computer Assisted Learning PACks to help your children with<br />
their school work. The programs in the series use moving colour<br />
graphics and sound to make learning more eniovable. Each pack<br />
contains four programs and is suitable for use with the 16K or 48K<br />
Spectrum. Program notes are supplied,<br />
CALPAC FL1 (5 to 8 years) £7.50<br />
Tens and units addition and subtraction with detailed help facilities;<br />
powerful, easy to use drawing program; English comprehension applied<br />
to American Indians.<br />
CALPAC FL2 a to 10 years) £7.50<br />
Roman history, spoiling tester with easy entry of your own lists; flexible<br />
table tester; homophones.<br />
CALPAC FL3 (9 to 12 years) £7.50<br />
Nouns, verbs, adjectives and adverbs; tenses of verbs; biology of the<br />
flower; long division tutor.<br />
The programs are ideal for the ages stated, but could be used by anyone<br />
requiring revision of these areas of Study.<br />
CALPAC C1 O-LEVEL CHEMISTRY £7.50<br />
Four clearly presented revision/tutorial programs. The subject matter<br />
has been carefully structured to cover the most important aspects of:<br />
* Elements, compounds and mixtures.<br />
* Structure, bonding and properties.<br />
* Redox, electrolysis and the activity series.<br />
* Acids, bases and salts.<br />
48K Spectrum and I6K <strong>ZX</strong>81 versions of the cassette are available.<br />
Please specify which you require.<br />
Professional Computer Assisted Learning materials from:<br />
CALPAC COMPUTER SOFTWARE<br />
108 Hermitage Woods Crescent, St Johns,<br />
Woking, Surrey GU21 1UF.<br />
Overseas orders £8.50; includes airmail postage.<br />
A MUST FOR<br />
ANYONE INTERESTED<br />
IN <strong>ZX</strong> MACHINE CODE!<br />
The finest range of utility programs for <strong>ZX</strong> Compute^<br />
Used by professionals. Very uselul -<br />
for beginners s^asssr<br />
uiaiefl'^,<br />
i i S i S ^ s r <br />
riy II<br />
PCT RESCUE<br />
P CT RESQUE<br />
o CT RESOUF<br />
SMCI'vn Son»»'» |y»llt)«*-oi' UX'I StiMtHm Mxfowira Ldcatlc E4iiCM«10 iubjWi CrrtTir 1 Ew^<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 92
3<br />
Jltf*<br />
•H-<br />
*<br />
i<br />
RANI-PACKS FLAP<br />
. h„a„„ o( edgy connectors (so children! keep off!).<br />
TRADE IN YOU K fX si -*the case (children come back!)<br />
Introducing the M AX1MEM MAXIMF.M <strong>ZX</strong>81, <strong>ZX</strong>81 A <strong>ZX</strong>81 - the with must m_or a«ordable32.<br />
64J, RAM f n t e d ^ ^ ^<br />
M / V X I M E M ^ 1<br />
6 4 k - £ 5 9 ^ * and<br />
not<br />
on<br />
i r M o2 al1d 64k is a ^^ u aT«ntee 01<br />
The MAX1MEM32*> a six month gu uade.in<br />
-t a RAM «< * ^ of the<br />
the ^ ^ a m e t n o t V u f \ ° 7 i "memo** and does<br />
<strong>ZX</strong> SLOWLOADER £10<br />
f^TaS into Spectrum A recent letter<br />
i s s * £ ? • • » — r - ^ *>*<br />
and this time it went straight ^ ^ T S ^ n T L thing was ready to<br />
POKEs. 20 to add some colour and!a He*<br />
Hock at the linw ol tining
Equation<br />
solver<br />
John Norbury shows us<br />
how to solve equations on<br />
the <strong>ZX</strong>81 using the bisection<br />
method.<br />
Suppose that you want to solve<br />
an equation of the form f 0,<br />
such as:<br />
y = f(x) = x3 + 3x2 _ 10x - 5<br />
The roots of this equation are<br />
the values of x for which y = 0.<br />
You can find roughly where they<br />
occur from a sketch graph<br />
(Fig. 1) which shows that the<br />
curve cuts the x axis at three<br />
places. One is between x - - 5<br />
and x = - 4, another between x<br />
- 1 and x = 0, and the third is<br />
between x = 2 and X - 3.<br />
You could find this same information<br />
by tabulating the<br />
values of y - f(x) for a range of<br />
values between, say, - 10 and<br />
+ 1 0 (Fig. 21. Where the sign of<br />
y changes from plus to minus, or<br />
vice versa, is the interval in<br />
which you could expect to find a<br />
root. The table shows that there<br />
are again the three intervals<br />
(-5,-4), (- 1,0) and 2,3)<br />
which need to be studied in<br />
more detail.<br />
The bisection method takes<br />
each interval in turn, divides it into<br />
two equal parts, and decides<br />
in which half the root is to be<br />
found. It then divides that half<br />
into two equal parts and repeats<br />
the process. This iteration continues<br />
until the size of the portion<br />
so formed is smaller than<br />
the specified error, at which<br />
point it gives the mid point of<br />
the portion as the root of the<br />
equation. It is here that the<br />
graph crosses the x axis and<br />
changes sign.<br />
Advantages and<br />
disadvantages<br />
Unless you tabulate the function<br />
<strong>ZX</strong>81 EDUCATION<br />
over a very wide range, you cannot<br />
be sure of finding all the<br />
roots of an equation. Nor can<br />
you find any roots that might be<br />
complex numbers, such as the<br />
solution to the equation<br />
y = xi + 1, for its graph does not<br />
even cross the x axis (Fig. 3).<br />
However, you can find the solutions<br />
to whatever accuracy you<br />
like given sufficient iterations<br />
and, as the method does not suf<br />
fer from instability, il always<br />
converges to the required<br />
answer.<br />
Between the lines<br />
The program will run with about<br />
4Y3K RAM. The following<br />
describes the structure of the<br />
program.<br />
Lines 10-1 10 set up the default<br />
values of the parameters. The<br />
equation to be solved is held as<br />
A$.<br />
Lines 200-360 print the menu<br />
and choose the selected<br />
subroutine.<br />
Lines 1000 1030 allow the<br />
equation to be entered or changed.<br />
To prevent program execution<br />
stopping with the report<br />
code A, powers of x such as x 3<br />
Fig 2<br />
should be entered as x * x * x.<br />
and so on.<br />
Lines 2000-2080 specify the<br />
interval in which you are searching<br />
for a root.<br />
Lines 3000-3040 ask for the<br />
number of values that you want<br />
to tabulate.<br />
Lines 4000-4090 tabulate the<br />
function over the range set by<br />
option 2. If a change of sign occurs<br />
between the lowest and<br />
highest points of the range, the<br />
bisection method can be used. If<br />
two or more changes of sign occur,<br />
the interval set by option 2<br />
should be reduced to include just<br />
one such sign change. If no<br />
change of sign occurs, then a<br />
wider interval could be tried.<br />
Lines 5000-5040 allow the<br />
maximum permitted error in the<br />
answer to be set. The smaller<br />
this is made, the longer it will<br />
take and the more iterations will<br />
be needed to reach the solution<br />
In fact, the error depends on<br />
1/2", where n is the number of<br />
iterations.<br />
Lines 6000 6230 carry out the<br />
actual bisection process, letting<br />
the user know if an incorrect interval<br />
has been set by option 2.<br />
Lines 7000-7050 list the current<br />
values of all the parameters.<br />
TfiBi_E OF L'fiLUES BETUEEN -10 RND<br />
10 UP X *X *X t-3 #X *X - 1 0 *X — 5<br />
X = -10 F £ X ) = -605<br />
X--9 F C X 1 = -dSl<br />
X--6 FIX) = -345<br />
X = — "7 F i X ) = -131<br />
>'= ~6 F £ X > = -53<br />
X = -5 F CX) = -5<br />
X--A F (X) = 19<br />
X = —3 F (X) = 25<br />
X = -2 F IXi = 19<br />
X - -1 ~ * F (X)<br />
X = 3 F (X) = -5<br />
V — T_ F £ X ) = -11<br />
XsS F (X) = -5<br />
Xi3 F (X) = 19<br />
X =
including the equation itself.<br />
Lines 9000-9070 wait for the<br />
user to specify either a return to<br />
the menu or a printout of screen<br />
contents. The program will run<br />
as it is even if no printer is<br />
available.<br />
How to use the<br />
program<br />
When first run, choose option 1<br />
and enter the test equation x 3 +<br />
3x 2 - 10x - 5 in the form:<br />
x * x * x + 3 * x * x<br />
10 * x - 5<br />
Then choose option 2 and<br />
specify the interval from - 10 to<br />
+ 10. Option 3 should be used<br />
to ask for 20 tabulation points.<br />
Option 4 will list the values of<br />
the equation at these 20 points,<br />
and will also tell you what to do<br />
<strong>ZX</strong>81 EDUCATION<br />
1 SLOU<br />
10 REM BISECTION METHOD FOR RO<br />
GTS OF EQURTION Y = F (X)<br />
23 REM (R.B) IS INTERURL IN UH<br />
ICH R ROOT IS SOUGHT<br />
33 LET R=-l<br />
40 LET B=1<br />
53 REM R$ IS EOURTION FOR F(XI<br />
50 LET fl$="X"<br />
70 REM E IS MRXIMUM ERROR RLLQ<br />
UED FOR ROOT<br />
30 LET E=0.03i<br />
93 REM N IS NUMBER OF TflBULRTl<br />
ON POINTS IN INTERURL (R.B)<br />
13© LET N=10<br />
liO LET X=3<br />
203 PRINT RT S . 13; "gfcjfifcSKE *<br />
213 PRINT RT 2.3 INPUT THE<br />
EXPRESSION FOR F(X)'<br />
223 PRINT RT 4.3."; INPUT INTE<br />
RURL (R . S) IN UHICH ROOT IS 5E<br />
IHG S O U G H T<br />
233 PRINT PT 7,3 "3 INPUT NUMB<br />
tR OF TRBULRTION<br />
POINTS"<br />
24-3 PR INT PT 13.3; "4 TRBULRTE<br />
EXPRESSION DEFINED BY OPTION<br />
1 BETUEEN R RND B "<br />
253 PRINT RT 13,0;"5 INPUT REG<br />
•LURED RCCURRCY"<br />
263 PRINT RT 15.3;"S FIND ROOT<br />
IN (R.. B) BY METHOD OF BISECT<br />
luN"<br />
2"73 PRINT RT 18,0; '"7 LIST CURR<br />
ENT PRRRMETERS"<br />
233 PRINT RT 23.3:"6 STOP"<br />
3O0 LET 2 $ = INKEY$<br />
310 IF 2$="" OR CODE Z$36 THEN GOTO 333<br />
323 LET 2=URL 2$<br />
233 CLS<br />
343 GOSUB 1333*2<br />
353 CLS<br />
353 GOTO 233<br />
1033 PRINT RT 5.3 "ENTER EXPRESS<br />
ION F IX) IN<br />
CORRECT SYNTR<br />
CTIC FORM"<br />
1310 INPUT fi$<br />
2 323 PRINT RT B,3. {x) = ",: R $<br />
IS3Q GOTO 9333<br />
23S0 PRINT RT 5.3."ENTER LOUEST<br />
RXD HIGHEST POINTS OF RRNGE FOR<br />
7P5ULRTION"<br />
2613 PRINT RT S. 3. "LOUEST FIRST<br />
n — *? ••<br />
2323<br />
R<br />
2O30<br />
RT S , 16<br />
£043<br />
RT 13 .. 3<br />
EST :<br />
. • .—• .—•<br />
2GS3<br />
2570<br />
2260<br />
3030<br />
R<br />
INPUT<br />
PRINT<br />
PRINT<br />
" N O U "HE HIGH<br />
E — T "<br />
INPUT B<br />
IF B < = R THEN GOTO 23!<br />
PRINT RT 13.19.B<br />
GOTO 9000<br />
PRINT RT 5.0.'ENTER NUMEER<br />
OF TfiBULRTION POINTS"<br />
3310 INPUT N<br />
3320 IF N < > INT N OR N 1 THEN GC"<br />
0 3 0 1 3<br />
3030 PRINT RT B,©;"N=";N<br />
3343 GOTO 9333<br />
4300 FOR X=R TO B STEP CB-R),'N<br />
when the screen fills up. The<br />
table should look like that in Fig.<br />
1. Three changes of sign are<br />
found, so we call up option 2<br />
again and enter the interval<br />
(-5, -4).<br />
Next, we choose an error of<br />
less than 0.00001 using option<br />
5. Option 6 calculates the root<br />
in our chosen interval as<br />
- 4.84946. You can then<br />
return to option 2 to set the<br />
other two intervals in which<br />
there is a root of the equation,<br />
Note that the test equation is<br />
a cubic, for which there can only<br />
be three roots. However, any<br />
polynomial or trigonometric<br />
equation can be entered, for ex<br />
ample, sin(x| + tanfx) — 3x 2<br />
+ 4x.<br />
With practice, this becomes<br />
an effective and reliable way of<br />
solving all sorts of equations —<br />
especially recommended for<br />
maths homework!<br />
4.013 PRINT "Xs":X:TRB 15:"F(X) = '<br />
. URL<br />
4323<br />
3 3 3<br />
IF PEEK 15442> 4 THEN GOTO<br />
4333 PRINT "PRESS C TO CONTINUE"<br />
4043 LET 2 $ =INKEY $<br />
4353 IF 2 $ = " " THEN GOTO 4343<br />
4363 IF 2 $ < >"C" THEN GOTO 6993<br />
40-73 CL3<br />
4363 NEXT X<br />
4393 GOTO 9333<br />
•3333 PRINT RT 5.3. "ENTER MAXIMUM<br />
RLLOUED ERROR"<br />
10 INPUT E<br />
5320 IF E < =3 THEN GOTO 53lO<br />
3333 PRINT RT B,3;"E=";E<br />
5343 GOTG 9333<br />
3230 LET R1=R<br />
-313 LET E1=B<br />
6 3 2 3 L ET X = R<br />
5333 LET UR=URL<br />
5343 LET X=B<br />
R$<br />
5350 LET UB=URL R$<br />
U060 IF UR*UB
Spectrum 48k<br />
MAKE YOU 11 OWN TV FILMS!<br />
**tTH 1.1 VF. ANIMATION<br />
96<br />
13 MUSIC<br />
SAVE them . . .<br />
1 AMUSE FRIENDS AND FAMILY<br />
WHIN VOl PLAY THFM PACK!<br />
k<br />
t, talk! "<br />
ORDER<br />
not)<br />
COSS1RUCTION<br />
4. ANIMATION CASSETTE MCA<br />
SPECIAL MACRO-PROGRAMMING TtCHKIQtEi ALLOW YOU TO: -<br />
CALL-UP ANY MEMBER OK CAST, INCLUDING IPO, HELICOPTER<br />
AND A HOST Or •PERSONNEL 1 IN A CHOICE OF NEARLY JO_'CALL»'.<br />
MAKE EACH ANY COLOUR - LARGE ONES CAN BE IN TWO COLOl'RST<br />
THEY WALK, RUN. CLIMB I FLY.<br />
BUILD HOUSES. CHURCHES ETC. IN A FLASH - it ERASE THFM<br />
I P TO IS WINS. PER 'FILM*, OH MORE IF YOU'RE A GOOD DIRECTOR<br />
MAKE CHARACTERS 'SPEAK' USING ANNOTATIONS AS IN STRIPS.<br />
Fl'I.L COMPUTER-PROMPTING TO SAVE YOU MAKING ERRORS.<br />
INSTANT PLAYBACK, EDITING AND DELETING AS YOU GO ALONG!<br />
MOST COMMANDS ARE A SINGLE KEY-STROKE, WITHOUT 'ENTER'.<br />
COMPOSE YOUR OWN TUNES USING THE SPECIAL TII R E E-OC T A V E<br />
CHROMATIC MUSIC COMPOSER, WHICH ALLOWS YOU TO LISTEN.<br />
CORRECT AND EDIT AT EACH NOTE ... IP YOU NEED TO!<br />
STORE UP TO NINE »*-NOTE TUNES TO 'CALL-UP' AT ANY TIME<br />
IN A STORY COMPUTER GIVES EACH A NUMBER IN MEMORY.<br />
CHANGE TUNES AT ANY TIME. EVEN WHILST MAKING A 'FILM'.<br />
YOl CAN EVES ADD PERSPECTIVE TO BUILDINGS, ROADS ETC.<br />
NO SPECIAL SKILLS OR COMPUTER KNOWLEDGE NEEDED . . , JV9T IMAGINATION!<br />
I- tl. P1NEHU JRST PARK,<br />
>RS WIMBORNE<br />
studios <br />
DORSET HH3I OBP<br />
IMPORTANT! FOR 41k SPECTRUM ONLY<br />
<strong>ZX</strong> REPAIR<br />
SERVICE<br />
At last no need to<br />
wait for weeks<br />
Send your faulty <strong>ZX</strong>81 for fast reliable repair.<br />
We will repair any <strong>ZX</strong>81 KIT or READY<br />
BUILT UNIT.<br />
Only £15.95 fully guaranteed + p&p £2.00<br />
Please state the nature of problem. Send<br />
cheque or postal order to:<br />
NEXT COMPUTER<br />
SYSTEMS<br />
88 Harvest Road, Englefield Green,<br />
Surrey TW20 OQR<br />
js*>cv\\A%\m i • i • i w i g / M / f / j ^<br />
NEW: Speech & Music for <strong>ZX</strong>81 & Spectrum!<br />
<strong>ZX</strong>M SOUND BOX <strong>ZX</strong>S SPEECH|<br />
YNTHESISER<br />
£29.95<br />
3 channel sound chip gives a huge range of possible<br />
sound effects Programmable pitch, level, envelope<br />
and noise source.<br />
For the <strong>ZX</strong>81 or Spectrum - no adaptor needed<br />
Just plug it in. Other peripherals or Ram Pack can be<br />
plugged into the <strong>ZX</strong>M<br />
Built in amplifier and loudspeaker.<br />
Audio in/out socket, can be used to amplify the<br />
Spectrum beep'.<br />
9-pin I/O socket can be used with cheap Atari/<br />
Commodore type joysticks.<br />
Comprehensive manual includes many example<br />
routines<br />
£32.50<br />
For the <strong>ZX</strong>81 or Spectrum - no adaptor needed<br />
Let your computer talk back!<br />
Allophone' synthesis gives an unlimited vocabulary<br />
Active filtering for improved speech quality<br />
Other peripherals or RAM Pack can be plugged into<br />
the <strong>ZX</strong>S.<br />
Output to normal audio amplifier or to our <strong>ZX</strong>M<br />
Sound Box<br />
Manual gives full details on how to use the <strong>ZX</strong>S, with<br />
many examples<br />
And Don't Forget Our Books:<br />
EXPLORING SPECTRUM BASIC: £4 95 The book of answers Explains Spectrum BASIC programming<br />
techniques in more depth than was possible in the Sinclair manual, illustrated by over 50 full programs 192 pages<br />
THE EXPLORERS GUIDE TO THE <strong>ZX</strong>81: £4 95 The book for the <strong>ZX</strong>81 enthusiast Games, application and<br />
utility programs plus much useful information on machine code and hardware. "Immediate and lasting value"<br />
(PCW)<br />
All prices include U.K. carriage and VAT where applicable. Overseas customers add £1.50 per item for surface mail.<br />
TIMEDATA Lid. 16 Hemmells, Laindon, Basildon, Essex. SS1S 6ED Tel.: (0268) 418121 ^ -<br />
r / CifilEDAiA =<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983
The Cheapest Ram packs Jn The World<br />
Available Now<br />
<strong>ZX</strong> SPECTRUM<br />
32K RAMPACK<br />
Simply plugs into user port at rear<br />
of computer and increases your<br />
16K Computer instantly to 48K £39-95<br />
# Fully Compatible with all accessories.<br />
# No need to open computer and invalidate guarantee.<br />
# Why send your computer away and wait weeks for upgrade,<br />
9 Fully cased, tested and guaranteed.<br />
<strong>ZX</strong>81 16K RAMPACK £19.75<br />
<strong>ZX</strong>81 64K RAMPACK £44.75<br />
Now make your Spectrum talk!<br />
The Cheetah "Sweet Talker" just plugs into the back of the computer using the existing<br />
power supply. Fully cased. Easy to program any word, sentence or phrase.<br />
Simply incredible at £34.95<br />
All Units: Fully Cased and Guaranteed. Secure No Wobble Design.<br />
Fully Compatible with all accessories.<br />
PRICES INCLUDE VAT and P&P. Delivery normally 14 days.<br />
Export orders at no extra cost.<br />
Send cheque/P.O. Payable to:—<br />
Dept <strong>ZX</strong>C<br />
CHEETAH<br />
MARKETING LTD<br />
359 THE STRAND<br />
.LONDON WC2R OHS<br />
Tel: 01-240 7939<br />
Telex: 8954958<br />
16K <strong>ZX</strong> 81 Rampacks and 32K <strong>ZX</strong> Spectrum y<br />
Rampacks now available at larger branches of<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983<br />
John Menzies<br />
97
* * m Rescue the astronauts ftp*<br />
in this lunar listing for<br />
your spectrum, courtesy of John Miller.<br />
The object of this game is to<br />
rescue the ten astronauts<br />
stranded on the moon. You have<br />
three rather ancient space craft<br />
capable only of left and right<br />
movement, and an initial thrust<br />
to clear the surface of the moon.<br />
At the beginning of the game,<br />
you are docked in your mothership<br />
traversing left and right at<br />
the top of the screen. Below are<br />
this layer and you'll find the<br />
astronauts on the surface of the<br />
moon.<br />
Moon madness<br />
To start your descent, press the<br />
'0'; after that youcan only move<br />
left and right using the '5' and<br />
'8'keys respectively — you descend<br />
automatically. During your<br />
asteroid-type objects, and all descent you must avoid hitting<br />
you have to do is to get through the asteroids and then attempt<br />
a<br />
5<br />
y<br />
1 0<br />
20<br />
3©<br />
O TO<br />
4-0<br />
1000<br />
1 0 0 1<br />
IO02<br />
= 0: D<br />
I 0 O 5<br />
1007<br />
2 0 0 8<br />
2 0 1 0<br />
1 0 2 0<br />
a $ i c<br />
" ?> 17»<br />
I F RNDft I<br />
.6}= "G"<br />
NEXT d.<br />
N E X T C<br />
to land your craft on the magenta<br />
landing pads. Once down<br />
safely, there will be a short delay<br />
while one of the astronauts<br />
clambers aboard. You then have<br />
to make your way back to the<br />
mothership, this time trying to<br />
avoid the cyan enemy ships<br />
which guard the planet.<br />
To begin your ascent, press<br />
the '0' key again and then guide<br />
your ship using the cursor keys<br />
to move left and right until you<br />
rr . ,<br />
dock with the mothership. Once<br />
docked, you unload your human<br />
cargo and head off to rescue<br />
another astronaut.<br />
The game ends when you<br />
have either rescued all ten<br />
astronauts or lost all three of<br />
your ships. Should you find the<br />
game too easy, you could<br />
always alter the velocities of the<br />
asteroids and the enemy space<br />
craft by changing the value of<br />
PINC in line 9042.<br />
RESTORE 9900 : GO SUB 9100 1210 LET pointer=pojnter+pjnc: x<br />
RESTORE : GO 32 THEN LET pointer=I<br />
GO SUB w a i t<br />
1215 FOR C-L TO 5: PRINT INK 6,FL<br />
GO TO S t age 1<br />
T 4+ci2,0;a$(c,pointer TO );a$(c<br />
GO TO S t age2<br />
, TO pointer-lJ: NEXT c<br />
IF Ship < 4. A N D man : DIM i5(5,32J<br />
GO T O S h i p l O S S<br />
L ET la a ."I -»<br />
a n +1<br />
1227 IF NOT d r o p THEN GO TO 1200<br />
L E T p O i n ter=:<br />
1230 LET X=X-IINKEY$="5" RND X>P<br />
L E T i n C l<br />
3 f ( INKEY $ = "B" R>JD X < - 4. THEN LET<br />
20<br />
124-0 IF SCREEN $ ty,x)=s"" THEN GO<br />
T O S h i p l O S S<br />
1300 GO TO 1200<br />
1999 STOP<br />
2000 PRINT RT Y-1,X;3 $: FOR C = 1<br />
TO 10: BEEP .1,-10 + C: BEEP .1,-1<br />
C3 a o go SUE surfac e<br />
A 0 3 0 GO SUB toppri n t<br />
1 0 6 0 PRINT RT 0 , E> . ink 6;score;R<br />
T 0 / 1 7; INK 5;high ;RT 0,30; INK<br />
p<br />
0-C; NEXT C<br />
7 ; f h i<br />
2001 LET UP=0: LET drop=0<br />
10 70 FOR C =1 TO 5: PRINT RT 4- + C* 2002 LET pointer=i<br />
INK 6; 3 $ ( C J . NEXT c<br />
2005 LET" m cnman ) =0 : LET naan-nau<br />
1060 PRINT RT 2,0; m $; RT 3,0;n$;f: n +1<br />
T y , X<br />
20 10 CLS : GO SUB surface: GO SO<br />
10S5 PRINT RT 3,3; S $<br />
3 t opp r i n t<br />
1200 LET H0thx=7,uthxfinc: IF NOT 2020 LET y=y-i: PRINT RT y,x;s$<br />
drop THEN LET X=X+inc<br />
2030 FOR C-l TO 5: FOR d=l TO 32<br />
1201 IF IDOthX =2E THEN LET inc=-l 204-0 IF RND ft ( 11 -»in) < . 4- THEN LET<br />
1202 IF fl»OtbX=l THEN LET inc=l i $ ( C , d .1 = " H "<br />
1205 PRINT RT 2,ttOthx;»$;RT 3, X> C 2050 BEEP .005,30: NEXT d: NEXT<br />
t h x ; n $. PRINT RT y,XiS%<br />
98 <strong>ZX</strong> COMPUTING AUG. SEPT 1983
2 0 5 5 L E T S<br />
2 0 6 0 P R I N T R T<br />
core =s core+250<br />
0,5; INK 6;<br />
h i g h<br />
T 0 , 1 7 ; I N K 5 ; h i<br />
7; S h i p<br />
2 0 7 0 F O R C = 1 T O<br />
2 , 0 ; I N K 5 ; i % ( C)<br />
2 0 8 0 P R I N T R T 2 ,<br />
t h x ; n $<br />
SPECTRUM GAME<br />
core; P<br />
R T 0 , 3 0 , I N K<br />
AT 4fCi-<br />
5: PRINT<br />
: NEXT C<br />
ttOthXj Bt$; R T 3 , m c<br />
2100 LET B0thx=m0thx+>nc<br />
2 1 0 1 I F W O t h X - 2 8 T H E N L E T i n c = - l<br />
2 1 0 2 I F n> O t h X = 1 T H E N L E T i n c = l<br />
2 1 0 5 P R I N T R T 2 , £J> O t hX ; fo % , R T<br />
t h x ; n $<br />
2 1 0 6 P R I N T R T y,x;s$<br />
2 1 1 0 L E T p o i n t e r = p o i n t e r + p i n c : i<br />
F p o i n t e r > 3 2 THEN LET p o i n t e r = l<br />
2115 FOR C=1 TO 5: PRINT INK S; FI<br />
T 4 4- c * 2 , 0 ; i $ (c , p o i n t e r T O ) ; i s (c<br />
, TO p o i n t e r - l J : NEXT c<br />
2120 IF INKEV $ = " 0 '* THEN<br />
2130 BEEP .O05,.24IUP-12<br />
£5 . 24- *UP - 10<br />
2140 PRINT RT Y,X;" "<br />
2150 LET Y=Y-UP; IE YG<br />
.- t ? INKtT$ = "8" RND X < 32 )<br />
LET up=i<br />
BEEP .0<br />
THEN GO<br />
THEN C-<br />
2190 IF SCREEN $ (y , x) THEN GO<br />
T O S h i p LOSS „<br />
2200 GO TO 2100<br />
£999<br />
3000<br />
STOP<br />
INK 7; PRPER 0: BORDER 0: C<br />
L 5<br />
3010 FOR C =0 TO 50:<br />
, RND*175 NEXT C<br />
4002 PRINT RT 19,0:<br />
PLOT RND £-25'<br />
3020 PRINT RT 5,4.; INK 5; "UELCON<br />
E TO 'NOON RESCUE'"<br />
3030 PRINT RT 16,0; FLRSH 1; BR X<br />
GHT l;"PRESS RNY KEY UHEN YOU RR<br />
E RERDY"<br />
3040 IF INKEY $ = " " THEN GO TO 304-<br />
P<br />
304-5 PRINT RT 16,0; OUER 1; "PRES<br />
& RNY KEY WHEN YOU RRE RERDY"<br />
3050 RETURN<br />
4000 INK 4-: PRINT RT 17,0;"!<br />
M"<br />
4001 PRINT RT 15,0; J|I<br />
4003 PRINT RT 20,0;<br />
K 3; SSN"; INK 4-;"<br />
K 3; "KBhbN" ; INK 4-;"<br />
4004 PRINT RT 21.0'"<br />
JJJJJJJJHK*JJJJ<br />
• • -<br />
/<br />
J J J u<<br />
4.005 FOR C=1 TO 10: IF m ( C ) >0 TH<br />
cN PRINT RT 20.DI (C) ; INK 6;"L"<br />
4006 NEXT C<br />
4910 INK 7: RETURN<br />
5000 PRINT RT 0,0; INK 6; BRIGHT<br />
l; "SCORE: INK 5; "HIGH:<br />
"; INK 7;"SHIP:<br />
5020 RETURN<br />
5500 FOR C=0 TO 7 STEP .5: PRINT<br />
RT u , x ; INK C; "E": BEEP .01,C*5<br />
BEEP .01,C*-5: NEXT c<br />
5510 LET score=score+300: GO TO<br />
30<br />
5000 FOR C =y TO 20: PRINT RT C,X<br />
: INK RND47;"E"; OUER l;RT c,x;"<br />
E": BEEP .01, -C: NEXT C<br />
6005 BEEP 1.-20: PRUSE 50<br />
5010 LET S h i p =S hip+1: LET di"Op=0<br />
: LET u p =0: CLS : GO TO 30<br />
3000 PRINT RT 6,11; FLRSH 1; "GAM<br />
E OUER"<br />
5010 IF sccrs>hi
The profit<br />
prophet<br />
A serious program to help you<br />
get to grips with your business<br />
written for us by Michael Carroll<br />
of Wexford, Ireland.<br />
The object of this program is to<br />
help a company or financial institution<br />
measure their profitability.<br />
On RUNning the program you<br />
will be greeted with a menu<br />
which will provide a route<br />
through to the particular ratio<br />
you require. Here follows a list of<br />
the facilities available with this<br />
program:<br />
al Return on investment.<br />
b) Net profit percentage.<br />
c) Asset turnover.<br />
d) Gross profit percentage,<br />
el Selling expenses/sales.<br />
f) Administration expenses/<br />
sales.<br />
g) Establishment expenses/<br />
sales.<br />
h) Financial expenses/sales.<br />
il Sales and distribution expenses/sales.<br />
j) Research and development<br />
expenses/sales.<br />
k) Fixed asset turnover.<br />
I) Current asset turnover.<br />
ml Working capital turnover.<br />
n) Debtor's turnover.<br />
o) Rate of stock turnover.<br />
10 GOSUB<br />
32 PRUSE<br />
3 4- CL3<br />
4-0 PRINT<br />
E3SURES"<br />
4-5 PRIHT<br />
91300<br />
9 0<br />
SO PRIHT " A i<br />
EMT"<br />
x<br />
55<br />
ft< ±<br />
PRINT "6 J<br />
TmGE "<br />
SB PRINT<br />
BO PRINT "C><br />
6 1 PRINT<br />
65 PRINT "D><br />
ENTAGE"<br />
66 PRIHT<br />
70 PRINT "E)<br />
SRLE5"<br />
71 PRINT<br />
75 PRINT "F ><br />
DEN5E5/5FLLE5"<br />
76 PRINT<br />
SO PRINT "G><br />
EN5ES/5RLE5 **<br />
81 PRINT<br />
35 PRINT "H.T<br />
5 / S A L E S "<br />
56 PRINT<br />
90 PRINT "IJ<br />
./SRLE5"<br />
9 1 P R I N T<br />
p) Current asset ratio.<br />
q> Acid test.<br />
r) Average period of credit<br />
given.<br />
s) Average period of credit<br />
received.<br />
t) Earnings per share,<br />
u) P. E. ratio.<br />
v| Dividend per share,<br />
w) Dividend yield.<br />
x| Dividend cover,<br />
y) Capital employed.<br />
As you can see from the long list<br />
of options, the program certainly<br />
tries to fill in the gaps of your<br />
business knowledge.<br />
In fact, the author has added<br />
a number of program notes<br />
which will be revealed should<br />
you choose certain options.<br />
These are not part of the operation<br />
of the program but illustrate<br />
certain patterns which<br />
developed over a period of<br />
trading months so were added<br />
for the author's convenience.<br />
Should these not apply to you<br />
they could be left out or have<br />
new comments substituted.<br />
[X31 PROFITPB IL ITY M<br />
RETURN OH IN'JESTM<br />
NET PROFIT PERCEM<br />
PSSET TURNOVER"<br />
GROSS PROFIT PERC<br />
SELLING EXPENSES/<br />
RDHINISTRPTION EX<br />
<strong>ZX</strong>81 BUSINESS<br />
100 PRINT<br />
OR OUST N/L<br />
ENTER OPTION LETTER<br />
110 INPUT<br />
123 IF U$ = "" THEN GOTO 130<br />
125 GOTO (CODE<br />
130 CLS<br />
135 PRINT "<strong>ZX</strong>S1 PROFITABILITY R<br />
RTIDS"<br />
14.0 PRINT "<br />
150 PRINT<br />
EXP.•SPLES'<br />
J> RES. +DEUEL OPHENT<br />
151 PRINT<br />
IBS<br />
UER"<br />
PRIHT "K > FIXED ASSET TUPNO<br />
156 PRINT<br />
160 PRINT<br />
NOUER"<br />
" L J CURRENT RSSET TUR<br />
161 PRINT<br />
1B5 PRINT<br />
URNO'JER "<br />
"MJ WORKING CRPITRL T<br />
166<br />
1 7 0<br />
PRINT<br />
P R I N T "N> DEBTORS TURNOVTR"<br />
171 PRINT<br />
175 PRINT<br />
NOUER"<br />
" O i RRTE OF STOCK TUR<br />
176 PRINT<br />
130<br />
IO"<br />
PRINT P) CLIRRENT ASSET RFTT<br />
1S1 PRIHT<br />
155<br />
136<br />
PRIHT<br />
PRINT<br />
PCID TEST"<br />
190 PRINT<br />
IT GIUEN"<br />
"R) AU.PERIOD OF CRED<br />
196 PRINT<br />
200 PRINT ENTER<br />
r CRPITRL EMPLOYED"<br />
276 PR INT<br />
23 O PR INT " I 5 END "<br />
L— 3 1 PRINT PT 20 , 3;<br />
300 PRINT "ENTER OPTION LETTER<br />
r t<br />
OR JUST N.-'L<br />
310 INPUT<br />
320 THEN STOP<br />
33 0 GO : O { COD E U $ -s 1 00 )<br />
340 ST DP<br />
3 300 CLS<br />
5302 PRINT "RETURN CN INUESTMENT<br />
3508 PRINT N$<br />
331© PRINT "CRPITRL EMPLOYED =";<br />
3812 INPUT C$<br />
3314- PRINT c $<br />
W-- o 1 o IF N$ = OP C5="°" THEN RU<br />
N<br />
3 3 1 3 PR INT "RE TURN ON INVESTMENT<br />
= '•; IMT ( (UP L N $yVPL €•%> 4-100) ; "<br />
100 <strong>ZX</strong> COMPUTING AUG SEPT 1983
3 3 2 0<br />
333 0<br />
3900<br />
3 902<br />
PR IN"<br />
GOTO<br />
CLS<br />
PRINT<br />
'000<br />
"NET PROFIT PERCENTRG<br />
E: "<br />
3904.<br />
3 9 0 6<br />
3 9 0 8<br />
3 9 1 0<br />
3912<br />
3914<br />
3916<br />
N<br />
3913<br />
PR INT t,"NET PRDFIIr";<br />
INPUT N $<br />
PRINT N$<br />
PRINT "SALES=";<br />
INPUT S$<br />
PR INT S i<br />
IF = 7 " OR S? = **7 THEN RU<br />
PRINT "NET PROFIT PERCENTAG<br />
c = ; INT ( (URL N$/UAL 4IO0.1 ; **<br />
3920<br />
E "<br />
3 9 3 2<br />
3934<br />
4.300<br />
4-002<br />
4.004-<br />
4-006<br />
4.008<br />
4-010<br />
4012<br />
4014<br />
4016<br />
N<br />
PRINT<br />
Ph INT PRESS N/L TO CONTTNU<br />
PRUSE 4E4<br />
GOTO 6600<br />
CL S<br />
PRINT "RSSET TURNOVER:<br />
PRINT .."3RLES=";<br />
INPUT 54<br />
PRINT S4<br />
PRINT "CAPITAL<br />
E M P L O V E D = " ;<br />
INPUT C%<br />
P R i f r r eg.<br />
IF S$="7" OR C$s"?" THFN E N R U<br />
4 0 1 3 P R I N T " R S 3 E T T U R N O V E R — '*; I N T<br />
t CJBL. S$.-'URL .»<br />
4020 PRINT<br />
4030<br />
4100<br />
4 1 0 2<br />
Qftr .<br />
4104<br />
4-ies<br />
4108<br />
4110<br />
4112<br />
4114<br />
4116<br />
N<br />
4118<br />
iJDTO 7000<br />
C-LS<br />
PRINT "GROSS PROFIT PERCENT<br />
PRINT<br />
INPUT<br />
PRINT<br />
PR INT<br />
INPUT<br />
PRINT<br />
IF G$ = '<br />
,,"GROSS<br />
G*<br />
G $<br />
"SFLLES="<br />
5 $<br />
PROFIT-";<br />
OR S $ = — •• o 1 THEN RU<br />
PRINT " G R O S S P R O F I T P E R C E N T<br />
RGE="; INT { ( U R L G $ / W L S * > 4 1 0 0 )<br />
4120<br />
N'UE "<br />
4122<br />
4124<br />
4200<br />
4 £-02<br />
• 11<br />
4204<br />
4206<br />
4208<br />
4210<br />
4212<br />
4214<br />
4216<br />
N<br />
1218<br />
4220<br />
4222<br />
4300<br />
4302<br />
4304<br />
4306<br />
4308<br />
4310<br />
4312<br />
4314<br />
4316<br />
N<br />
4318<br />
; INT<br />
1320<br />
4322<br />
P R I N T "PRESS N/L TO CONTI<br />
PRUSE 4E4<br />
GOTO 6600<br />
CLS<br />
P R I N T " S A L E ;<br />
PRINT<br />
INPUT<br />
PRINT<br />
PRINT<br />
INPUT<br />
PRINT<br />
,,"SRLE5<br />
E*<br />
" S A L E 3 - " ;<br />
s *<br />
EXPENSES/SRLE5<br />
EXPENSES=";<br />
S*<br />
IF E$="?" OR SJ=" THEN RU<br />
PRINT "SALES EXPENSES/SfiLES<br />
INT C(URL E$/UfiL S$J(100)<br />
PR INT<br />
GOTO 70OC<br />
CLS<br />
PRINT<br />
PRINT<br />
INPUT<br />
PRINT<br />
PRINT<br />
INPUT<br />
PRINT<br />
IF S$=*"<br />
PRINT<br />
( (URL<br />
PRINT<br />
GOTO<br />
"RDM.EXPENSES/SALES:<br />
,,"RDM.EXPENSES=";<br />
E *<br />
E»<br />
"SALE5=";<br />
5 *<br />
S *<br />
OR ES =*"?•*- TMET*—RU<br />
"RDM.EXPENSE S/SALE5 = "<br />
E $/UAL S $J *100) ; " S"<br />
' 0 8 0<br />
<strong>ZX</strong>81 BUSINESS<br />
4 4 0 0 CLS<br />
1 4 0 2 PRINT "EST.EXPENSES/SALES:<br />
^•404 PRINT , , " EST . EXPENSES — »i ' ><br />
/<br />
44-06 INPUT E $<br />
4-4-08 PRINT E$<br />
4410 PRINT "SHLES=";<br />
4412 INPUT S$<br />
4414 PRINT S$<br />
4416 IF S$ = "?" OR E $ = " ? THEN RU<br />
N<br />
44 16 PRINT "EST . EXPENSES/SRLES = '<br />
; INT ( (URL E$/'JAL St) *100) ; " S"<br />
4120 PRINT<br />
44-22 GOTO 7000<br />
450S CLS<br />
1502 PRINT "FINANCIAL EXP./SALE^<br />
1504 PRINT . . "FINANCIAL EXPENSE i.<br />
4506<br />
4508<br />
4510<br />
4512<br />
4514<br />
4516<br />
N<br />
4513<br />
INPUT E$<br />
PRINT E$<br />
PRINT "SRLES=";<br />
INPUT 3$<br />
PRINT S$<br />
IF S$="7" OR E $ = " ? "<br />
T H E N R U<br />
P R I N T " F I N A N C I A L E X P - / S A L E S<br />
=:"; I N T ( ( U A L E $ / U A L S $ ) i l O 0 ) ;<br />
4520 PRINT<br />
4522 GOTO 7000<br />
4 6 0 0 C L S . _<br />
4 6 0 2 P R I N T " S A L E S + D I S T R I B . E X P . / S<br />
A L E S :* **<br />
4 6 0 4 * P R I N T<br />
4 6 0 6 I N P U T E $<br />
4 6 0 8 P R I N T E *<br />
S A L E S + D I S T R I B - E X P<br />
4 6 1 0 P R I N T " S f l L E S = " ;<br />
4 6 1 2 I N P U T S *<br />
4 6 1 4 P R I N T S »<br />
4 6 1 6 I F 5 $ = " ? " O R T H E N R U<br />
N<br />
4618 PRINT "SALES+DIST- EXP./SAL<br />
ES = ", INT l (UAL E $/URL S$) *100> ; "<br />
g -<br />
4520 PRINT<br />
4622 GOTO ' 0 0 0<br />
4700 CLS<br />
4702 PRINT "RESEARCH+DEU.EXP./SA<br />
LES : "<br />
4 "704 PRINT , , "RESEARCH +DEU-EXP . =<br />
4706 INPUT<br />
4708 PRINT<br />
4710 PRINT<br />
4712 INPUT<br />
4714 PRINT<br />
E *<br />
4716 IF E $ — "*?<br />
N<br />
" SALES =: " ,<br />
S$<br />
5 $<br />
OR S$ = THEN RU<br />
4718 PRINT "RESEARCH +DEU. EXP. /S<br />
ALES=",INT ( (UAL E$/UAL S$)+100)<br />
... g..<br />
4 720 PRINT<br />
4722 GOTO 7000<br />
4300 CLS<br />
4802 PRINT "FIXED ASSET TURNOUEF<br />
4804 PRINT .. . "SALES = " ,<br />
4305 INPUT 5 $<br />
4303 PRINT S$<br />
43 10 PRINT "FIXED ASSETS = " -<br />
1612 INPUT F'j<br />
4314 PR INT F I.<br />
4316 IF S$="7" OR » — THEN RU<br />
N<br />
4313 PRINT "FIXED ASSET TURNOVER<br />
=";INT f(UAL Si/UAL F$1 ><br />
4S28 PRINT f f "PRESS N.-L TO CONTI<br />
NUE "<br />
4322 PAUSE 4E4<br />
4824 GOTO 6500<br />
4900 CLS w<br />
4902 PRINT "CURRENT ASSET TURNO'J ^<br />
983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 101
ER : "<br />
4904 PRINT ,."5RLES=";<br />
4-906 INPUT 5$<br />
4906 PRINT S$<br />
4-910 PRINT "CURRENT ASSETS = ";<br />
4912 INPUT C$<br />
4-914 PRINT C-$<br />
4916 IP S$="7" OR C$ = —?" THEN RU<br />
N<br />
4-9 IB PRINT "CURRENT ASSET TURNOU<br />
ER = " ; INT ( (URL. 5$/UFLL C$) ><br />
4920 PRINT ,,"PRESS N/L TO CONTI<br />
NUE"<br />
4922 PRUSE 4E4<br />
4924 GOTO 6400<br />
5000 CLS<br />
5062 PRINT "UORKING CRPITFLL TURN<br />
OUER:"<br />
5004- PRINT J F " SRLE3 = " ;<br />
5006 INPUT S$<br />
5006 PRINT S$<br />
5010 PRINT "UORKING CRPITFLL=";<br />
5012 INPUT U$<br />
5014 PRINT U*<br />
5016 IF = OR 5$ = '"?" THEN RU<br />
N<br />
5018 PRINT "UORKING CAPITAL TURN<br />
OUER="; INT ( CURL S$/T'FLL U$> )<br />
5020 PRINT<br />
5022 GOTO 7000<br />
5100 CLS<br />
5102 PRINT "DEBTORS TURNOUER:"<br />
5104 "PRINT , ,"CREDIT SALES=";<br />
5106 INPUT 3$<br />
5108 PRINT S$<br />
5110 PRINT "TRADE DEBTORS=";<br />
5112 INPUT D$<br />
5114 PRINT D$<br />
5116 IF S* = '"?" OR D$="?" THEN RU<br />
N<br />
Silo PRINT "DEBTORS TLRNOUER;I<br />
NT s. CVflL 5S/USL D*J<br />
5 i 2 e - F R i n r<br />
5122 GOTO 70C-0<br />
5200 CI. 3<br />
5202 PR INT "RATE OF STOCK TURNOU<br />
ER : "<br />
5204 PRINT -."COST OF SAL ES=";<br />
5206 INPUT c$<br />
5208 PRINT CS<br />
5209 IF C$ ="?" THEN RUN<br />
5210 PR INT "OPEN TNG DTGCK = " ;<br />
52 12 INPUT SI<br />
5214 PR INT SI<br />
5216 PR INT "CLOSTNG STOCK — j<br />
52 13 INPUT 32<br />
S22C 1 PR I N T 52<br />
5222 IF SI =0 THEN L ET S$ = 5TR$ 32<br />
5224 IF 52 =0 THEN L T 3S- 5TR$ SI<br />
S22te> IF 51 < >0 AMD 3- •—<br />
> 0 T HEN LET<br />
5$=STR$ « 0 , 5 iSl+52) '<br />
5223 PRINT "RATE OF STOCK TURNOU<br />
ER = " :<br />
5 230 LET X = INT iURL C$- UflL S*><br />
5232 PRINT INT (365/X);"DAYS"<br />
5 234 PRINT<br />
523S GOTO "7000<br />
5300 CLS<br />
5302 PRINT "CURRENT ASSET RATIO;<br />
5304 PRINT<br />
5306 INPUT<br />
530 7 PRINT<br />
5308 PRINT<br />
.."CURRENT<br />
ci<br />
"CURRENT<br />
5310 INPUT L$<br />
5312 PRINT L$<br />
5314 IF C$ = "~" OR L $ -"?<br />
M<br />
5315 PRINT "CURRENT ASSET<br />
•• ; INT ( CURL C5/UAL L$) ) : "<br />
5313 PRINT<br />
5320 GOTO 7000<br />
5400 CLS<br />
102<br />
RS5ETS="<br />
<strong>ZX</strong>81 BUSINESS<br />
L IABIL 3TIES =<br />
THEN RU<br />
RATIO=<br />
1 "<br />
5402 PRINT<br />
5404 PRINT<br />
5406 INPUT<br />
5403 PRINT<br />
5410 PRINT<br />
5412 INPUT<br />
5414 PRINT<br />
5416 PRINT<br />
"ACID TEST:"<br />
..."CURRENT A5SET5=";<br />
F $<br />
F$<br />
"STOCK=";<br />
S$<br />
S$<br />
"CURRENT LIABILITIES<br />
5418 INPUT L$<br />
5420 PRINT L$<br />
5422 PRINT "ACID TEST=";INT<br />
L F $ —UAL 5$) /HAL L$) ; ": 1"<br />
( CUR<br />
5424 PRINT , , "PRESS N/L TO CONTI<br />
NUE"<br />
5426 PAUSE 4E4<br />
5425 GOTO 6300<br />
55B0 CLS<br />
5502 PRINT "AUERAGE PERIOD OF CR<br />
EDIT GIUEN;"<br />
5504 PRINT , F"DEBTORS^";<br />
5506 INPUT D$<br />
5508 PRINT D %<br />
5510 PRINT "CREDIT SALE3=";<br />
5512 INPUT C$<br />
5514 PRINT C$<br />
5516 IF C$="7" OR D$="7" THEN RU<br />
N<br />
5513 PRINT "RU-PERIOD OF CREDIT<br />
GIUEN^R"<br />
5520 »PR INT " "; INT F T UAL<br />
D %/URL C$J J365) ; " DAYS"<br />
5530 PRINT<br />
5540 GOTO 7000<br />
5600 CLS<br />
5602 PRINT "AUERAGE PERIOD GF CR<br />
EDIT REC""D:"<br />
5604 PRINT ,,"CREDITORS= M;<br />
5606 INPUT C$<br />
5608 PRINT CS<br />
5610 PRINT "PURCHASES="/<br />
5612 INPUT P$<br />
5614 PRINT P$<br />
5616 IF C$="7" OR P$="7" THEN RU<br />
N<br />
5616 PRINT<br />
REC""D = "<br />
AU.PERIOD OF CREDIT<br />
5620 PRINT " ";INT (FURL<br />
C$/UAL P$)*36S);" DAYS"<br />
5630 PRINT<br />
5640 GOTO 7000<br />
5700 CLS<br />
5702 PRINT "EARNINGS PER SHARE;"<br />
5704 PRINT .."NET PROFIT AFTER T<br />
RX RND FIXED IHTREST=".<br />
5 706 INPUT N$<br />
5 708 PRINT N$<br />
5710 PRINT "NO.OF ORD SHARES ISS<br />
UED = "*;<br />
5712 INPUT S $<br />
5714 PRINT S$<br />
5716 PRINT "EARNINGS PER SHARE="<br />
; INT ( < UAL N$/UFLL S$) *100»<br />
5713 PRINT<br />
572© GOTO 7000<br />
5800 CL3<br />
5302 PRINT "PRICE ERRNINGS RRTIO<br />
5304 PRINT<br />
HARE = ";<br />
5306 INPUT<br />
5806 PRINT<br />
5810 PRINT<br />
MARKET PRICE PER S<br />
M *<br />
N $<br />
"EARNINGS PER SHARES"<br />
5312 INPUT S I<br />
5314 PRINT 3$<br />
5316 IF M$= "?" OR S$ = " THEN RU<br />
N<br />
5818 PRINT "P.E.RFLTIOR"; INT ( CJFL<br />
L M $/UAL S$J )<br />
5820 PRINT<br />
5830 GOTO 7000<br />
5900 CLS<br />
5902 PRINT "DIUIDEND PER SHARE:"<br />
<strong>ZX</strong> COMPUTING AUG SEPT 1983
5904<br />
5906<br />
5907<br />
5903<br />
5910<br />
5920<br />
5925<br />
N<br />
5930<br />
; INT<br />
5932<br />
5934<br />
5000<br />
6002<br />
6004-<br />
*mm •• "<br />
6006<br />
6 0 0 6<br />
6010<br />
RE =" i<br />
5012'<br />
6014-<br />
6016<br />
N<br />
6018<br />
PRINT .,"DIUIDEND PRIO=";<br />
INPUT D*<br />
PRINT D$<br />
PRINT "NO.OF SHFLRE5=";<br />
INPUT N$<br />
PRINT N$<br />
IF D$ = "? M OR N$ = *"?" THEN RU<br />
PRINT<br />
( ( URL<br />
PRINT<br />
GOTO 7000<br />
CL5<br />
"DIUIDEND<br />
D I f / U A L N $ )<br />
PER<br />
)<br />
PRINT "DIUIDEND YIELD:<br />
PRINT ,,"DIUIDEND PER<br />
INPUT<br />
PRINT<br />
PRINT<br />
D*<br />
<strong>ZX</strong>81 BUSINESS<br />
SHRRE = "<br />
SHARE<br />
"MARKET PRICE PER SHR<br />
INPUT M$<br />
PRINT H$<br />
IF D$="7"<br />
_ II i<br />
OR M$ = THEN RU<br />
PRINT "DIUIDEND VIELD=";<br />
INT<br />
(CURL D$/URL M$)1100);" 3"<br />
6020 PRINT<br />
6022 GOTO 7000<br />
6100 CL5<br />
6102 PRINT "DIUIDEND COUER:"<br />
6104- PRINT , ,"NET PROFIT - TRX -<br />
FIXED INTREST - PREF.DIUIOEND=<br />
6106 INPUT<br />
6106 PRINT<br />
6110 PRINT<br />
CTS — ** ;<br />
6112 INPUT<br />
6114 PRINT<br />
6116 PRINT<br />
(LURL D$/<br />
6120<br />
620©<br />
6202<br />
6204<br />
6206<br />
6205<br />
6210<br />
5212<br />
6214<br />
6216<br />
5 = " :<br />
6216<br />
622G<br />
6222<br />
6224<br />
6226<br />
6226<br />
INPUT<br />
PR INT<br />
PRINT<br />
INPUT<br />
PRINT<br />
PRINT<br />
C$+URL D5<br />
6230 PRINT<br />
6240 GOTO<br />
6300 CLS<br />
6305 PRINT<br />
6313 PRINT<br />
EING HELD<br />
EFORE NOT<br />
5 PROFITS.<br />
6320 PRINT<br />
6330 PRINT<br />
RND<br />
D$<br />
D *<br />
" D I U<br />
M * M*<br />
"DIUIDEND<br />
PRID ON ORD.8HRR<br />
C O U E R ; I N T<br />
URL M$) )<br />
6116 PRINT<br />
GOTO 70O0<br />
CLS<br />
PRINT "CRPITRL EMPLOYED:"<br />
PRINT ,."SHRRE CRPITRL=";<br />
INPUT B $<br />
PRINT 3 2<br />
PR INT "RESERUES = ";<br />
INPUT cs<br />
PRINT C *<br />
PRINT "LONG TERM LIRBILITIE<br />
D5<br />
D *<br />
"INTANGIBLE RSSET5=";<br />
E$<br />
E $<br />
"CAP.EMPLOYED=";((URL<br />
+ URL B$> -URL E$><br />
7000<br />
"ACID TEST:"<br />
"TOO MUCH RESOURCES B<br />
INLIQUID FORH RND THER<br />
CONTRIBUTING TO FIRM<br />
. "EXRTIPLES SUCH RS: "<br />
, ," 1) CRSH RT BRNK,<br />
2) DEBTORS<br />
534.0 PRINT RT<br />
TO STOP or<<br />
TO RE-STRRT"<br />
20,0;"PRESS J,N/L<br />
N/L<br />
6350 INPUT<br />
5360 IF U$="U" THEN STOP<br />
6370 RUN<br />
6400 CLS<br />
6405 PRINT "CURRENT ASSET TURNOU<br />
ER: "<br />
64-10 PRINT "R FRLL IN CURRENT AS<br />
SET TURNOUERINDICRTES R PROBLEM<br />
IN SALES OR CURRENT ASSETS:"<br />
6420 PRINT .,"THERE IS ALSO A PO<br />
SSIBILITY OF —UNDERTRADING""-"<br />
64-40 PRINT RT 20,0; "PRESS U , N/L<br />
TO STOP OR N/L<br />
TO RE-5THRT"<br />
FC>4S0 INPUT<br />
6460 IF THEN STOP<br />
6470 RUN<br />
6500 CLS<br />
6505 PRINT "FIXED RSSET TURNOUER<br />
6510 PRINT "A FRLL IN F . R.TURNOU<br />
ER INDICRTESUNDERUTILISATION OF<br />
CRPRCITY."<br />
SS15 PRINT " -EG:PLANT HAY BE TO<br />
O BIG IN RELATION TO UOL<br />
UME OF SALES"<br />
6520 PRINT ,," TOO RAPID EXPR<br />
N3IGN"<br />
6525 PRINT ,," ANTICIPATE^ DE<br />
MRN ID FOR SALES IS OUST NOT TH<br />
ERF - "<br />
PRINT RT 20 f O; "PRESS U,tl/L<br />
^O STOP OR<br />
N/L<br />
TO RE-START"<br />
6550 INPUT J$<br />
6560 IF = THEN STOP<br />
6570 RUN<br />
6600 CLS<br />
6605 PRINT "NET+GROSS PROFIT RIS<br />
E : "<br />
6606 PRINT<br />
6610 PRINT 'INDICATES OVERTRADIN<br />
G RND R DELAY BETWEEN PRVMEN<br />
T OF DEBTS RND RECEIPT OF HONEY<br />
OUED."<br />
6620 PRINT ,"REMEDIES FOR FRLLI<br />
PROFIT PERCENTAGES<br />
5625 PRINT<br />
6S30 PRINT<br />
PRICE<br />
ON CRSH<br />
ING STOCK"<br />
D635 PRINT<br />
1) INCREASE SELLING<br />
2) TIGHTEN SECURITY<br />
AND STOCK<br />
3 ) CHECK ON SLOU MOU<br />
4)<br />
TION METHOD S5)<br />
IENCY 6)<br />
SALE5<br />
SS40 PRINT RT<br />
TO STOP OR<br />
TO RE-START"<br />
6650 INPUT J$<br />
6660 IF =<br />
6670 RUN<br />
7000 PRINT "PRESS<br />
R R T "<br />
7 010<br />
7020<br />
7030<br />
7040<br />
9000<br />
CHECK STOCK URLUR<br />
CHECK STAFF EFFIC<br />
FIRE BUYER AND/OR<br />
MANAGER"<br />
0,0;<br />
THEN STOP<br />
PRESS U,N/L<br />
N/L<br />
JfN/L TO END<br />
N/L TO RE-ST<br />
INPUT<br />
IF J$ = "J'<br />
RUN<br />
PRINT END<br />
THEN STOP<br />
CLS<br />
9010<br />
**************<br />
PRINT " * * * * * * * * * * * * * * * * * * * *<br />
9020 PRINT<br />
9030 PRINT<br />
Y RATIOS<br />
9040 PRINT<br />
9050 PRINT<br />
ROLL<br />
9060 PRINT<br />
9070 PRINT<br />
"*";TAB 31;"*"<br />
"* <strong>ZX</strong>S1 PROFITABILIT<br />
* "<br />
"*";TAB 31; "<br />
BY MICHAEL CAR<br />
* "<br />
"*";TAB 31;" *"<br />
"* RUNS ON A <strong>ZX</strong>81<br />
IN 16K<br />
* "<br />
9080 PRINT<br />
TAB 31."*"<br />
9090 PRINT "* USES APPROX<br />
. 10K<br />
* "<br />
9100 PRINT "*";TAB<br />
" * * * * * * * *<br />
31;<br />
* * *<br />
"*"<br />
9110 PRINT<br />
* * * * * * * * *<br />
**************<br />
9120 PRINT AT 15,0;<br />
E TO CONTINUE..."<br />
9130 INPUT A $<br />
9140 RETURN<br />
PRESS NEULIN<br />
83 2X COMPUTING AUG/SEPT 1983 103
If<br />
Friday November 25th<br />
Saturday November 26th<br />
Sunday November 27th<br />
i<br />
I<br />
t *<br />
10am - 6pm<br />
10am - 6pm<br />
10am - 4pm<br />
Improved venue<br />
We have transferred Breadboard to Cunard International Exhibition Centre, so that we can offer improved facilities<br />
to the visitor, including car parking and ease of access by rail, tube and car. all in a modern attractive setting.<br />
We have also arranged a reduced hotel/rail fare package to attract enthusiasts from all parts of the country.<br />
Planned features include<br />
1. Full range of lectures planned over 3 days to cover most aspects of electronics and computing.<br />
2. F.lpctronics Computing Advice Centre — manned by experts.<br />
3. Demonstration of electronic organs and synthesisers.<br />
4. Holography presentation.<br />
5. Practical Demonstration on "How to produce printed circuit boards".<br />
6. Computer Corner — extensive display of computer hardware — "Try Before You Buy".<br />
7. Amateur radio Action Centre.<br />
8. Computer controlled model railway competition.<br />
9. Pick of the Projects - Demonstration of the best from ELECTRONICS TODAY INTERNATIONAL,<br />
HOBBY ELECTRONICS and ELECTRONICS DIGEST over the past ten years.<br />
10. Giant T.V. screen video games.<br />
11. Robotic display.<br />
Why not bring the family to the show and enjoy a weekend<br />
in London? We have arranged a complete hotel package for<br />
our visitors to the exhibition. All inclusive rail tickets also<br />
available. Send now for details of what we, the organisers,<br />
Can offer yOU. Write to: Breadboard '83<br />
ASP Exhibitions<br />
145 Charing Cross Road<br />
London WC2H OEE
if^JIYKM<br />
"IT LOOKS N<br />
THE HELL CANIDOWITHIT?"<br />
Every zx SPECTRUM Print n Plotter jotter has 100 pages of finely<br />
printed screen grids.<br />
50 for the high resolution screen. 50 for the normal character<br />
screen.<br />
with these at your disposal you can plan practically any graphics printout<br />
to program into your computer.<br />
The high-resolution PLOT grid shows every one of the 45.060 pixels!<br />
Every one printed. Everyone with Its co-ordinate numbers. This gives<br />
you enormous graphics power to DRAW, PLOT. CIRCLE, PLOT OVER and so<br />
on in any position or screen building up graphic drawings, charts, maps<br />
.. in fact anything without the complications of guesswork, integer<br />
out of range, or wrongly positioned pixel colours which change PRiNTed<br />
INK characters!<br />
The normal character PRINT grids on the other hand will allow you to<br />
be specific about PRINT AT. TAB, PRINT OVER, SCREENS and INK PAPER in<br />
direct coordination with PLOT... you see every page is printed on high<br />
quality tracing paper... ideal to overlay on to illustrations and copy<br />
or co-ordinate.<br />
And there's another bonus, because each page contains 24 Userdefinable<br />
grids — 2400 per pad!<br />
with 50 pages of PLOT grids. 50 pages of PRINT grids 2400 userdefinable<br />
grids, a set of colour pens, a printed PIXEL RULER and our<br />
Special Offer of demo programs, ITS THE BEST VALUE IN <strong>ZX</strong> CRAPHICS<br />
PROGRAMMING.<br />
I DON'T BELIEVE IT!"<br />
Five rolls of our PRINTER PAPER wilt only cost you £12.50 Including<br />
postage, packing and VATI And you'll gain a great deal morel<br />
it prints beautifully, its not too thick, it's not too shiny. Print Is black<br />
- not grey, it actually feeds through the machlnei<br />
See for yourself only £12.50 Including everything, it's a bargalni<br />
Post today to Print n Plotter Products. 19 Borough<br />
High street. London SE19SE or phone: 01-403 6644<br />
(General) or 660 7231 (Credit Card salest.<br />
Name<br />
Address<br />
ZD<br />
MiviiiwruiLuu^v<br />
TO SHOOT DOWN<br />
THE THING FROM MARS?"<br />
Ever forgotten which key to press when playing a game?<br />
Do you suffer from a mind-boggling mass of programmed keys?<br />
Do you write programs that use different keys to perform various<br />
functions? if so, we have Just the thing for your zx SPECTRUM.<br />
A pack of Prirrt'n'Plotter Keyboard Overlays.<br />
just write the function or functions under each key you program and<br />
keep the overlay for the next time you play the game.<br />
Of course there s lots of more uses you will find for our OVERLAYS, user<br />
defined characters, keyboard scanners, mathematical programs,<br />
business uses—to name just a few.<br />
There's TEN OVERLAYS to a pack — so you can program with Impunity)<br />
And they fit perfectly onto your standard zx SPECTRUM KEYBOARD<br />
Each OVERLAY Is printed with the cursor movement key directions and<br />
there's room for program name etc.<br />
For the cost of a<br />
console for your si<br />
mes cassette you can have a truly professional<br />
TRUM!<br />
We ve cut costs (not cut quality) by designing a self-assembly method<br />
using relatively inexpensive materials like strong corrugated board.<br />
The result Is a console that s tough, light, highly finished and capable<br />
of giving years of useful service.<br />
Facilities include ergonomlc keyboard angle, access to rear of<br />
machine, choice of P.S.u. Internal or external, and alternative of Printer<br />
on board or cassette storage area. Fully Illustrated instructions are<br />
included.<br />
<strong>ZX</strong> SPECTRUM JOTTER . E9.95 each<br />
<strong>ZX</strong> SPECTRUM KEYBOARD OVERLAYS<br />
til £2 95 per pack<br />
<strong>ZX</strong> SPECTRUM CONSOLE £5.25 each<br />
<strong>ZX</strong> PRINTER PAPER (3) £12 SO per five rolls<br />
<strong>ZX</strong> SPECTRUM DEMO CASSETTES (i> 95p each<br />
<strong>ZX</strong>81 JOTTER PADS £3 50 each<br />
<strong>ZX</strong>81 FILMS ,^E2.25 each<br />
<strong>ZX</strong>81 CRAPHICS PROGRAMMING GUIDE<br />
@ £1.50 each<br />
remittance enclosed Ptease Dili mv Access 1 Bare laycard /<br />
visa; Mastercard NO<br />
an onces include vat p&p Overseas orders please add 2S%<br />
for additional surface man<br />
»<br />
'WHERE CAN ICET THEM?<br />
10u t»n w* Buy moH c* OW OTOOum it<br />
« m Smltn iCOrvutrrltoiVd<br />
toon iMwctw Ix«ncnni<br />
Huff Micro
I SOFTWARE REVIEWS!<br />
The soft<br />
touch<br />
The heavens have opened and<br />
showered James Walsh with a<br />
wealth of software for his<br />
Spectrum. Read on and find out<br />
what he thought of it all. . .<br />
Painter<br />
— A&F software<br />
The first thing that can be said<br />
about Painter is that it certainly<br />
is different! This does, in turn,<br />
make it rather more difficult to<br />
explain.<br />
The object of the game is<br />
run around a maze of paint<br />
pots on the screen and in turn<br />
fill them up with paint. This is<br />
whilst being chased by at least<br />
one roller, and making sure<br />
that you do not run out of<br />
paint. If you succeed in filling<br />
each pot then you play again<br />
13<br />
but with two rollers chasing<br />
you, and so it goes on.<br />
This is a novel game, using<br />
the properties of the Spectrum<br />
well. It may not be the most innovative<br />
program of this<br />
review, but it is one of the<br />
most enjoyable to play. The<br />
graphics are good, and the<br />
movement smooth. A game<br />
well worth playing, though I<br />
feel £7.00 is a little steep!<br />
One characteristic of all<br />
A&F Software so far is that<br />
though it may be good, the<br />
plain packaging prevents it<br />
making sufficient impact on<br />
the shelf. A shame. . .<br />
The Dungeon<br />
Master<br />
— Crystal<br />
Computing<br />
The Dungeon Master is nicely<br />
packaged with a large booklet<br />
of well thought out documentation.<br />
The concept of this<br />
game will be better known to<br />
the players of the traditional<br />
'Dungeons and Dragons'<br />
games rather than the adventure<br />
games which are widely<br />
available for the Spectrum.<br />
This is, in fact, the first attempt<br />
to put the real 'D&D'<br />
game onto the Spectrum.<br />
Needless to say, it uses the full<br />
48K of memory. This is partly<br />
due to the fact that it is written<br />
totally in BASIC, but also<br />
because the author has done<br />
his best to cram as much of the<br />
game onto the computer as<br />
possible. Obviously you cannot<br />
expect a full version on<br />
such a relatively limited computer<br />
as the Spectrum.<br />
The game is based on the<br />
development of a character<br />
whose fate is determined by<br />
his own actions. The character<br />
is trapped in a dungeon and<br />
has to conquer many<br />
challenges. Though this is a<br />
totally text game, its main dif-<br />
ference is the fact that you can<br />
define your own dungeons as<br />
well as dangers. Hence the<br />
limits of the game extend as<br />
far as your imagination. On the<br />
tape there is a sample 140<br />
location dungeons for your<br />
use.<br />
This cassette must be<br />
highly recommended for its<br />
versatility, originality and<br />
quality. For an avid adventure<br />
player this is definitely well<br />
worth obtaining.<br />
Jetpac<br />
— Ashby Computers<br />
and<br />
Graphics Ltd<br />
The idea of this game is that<br />
you are an astranaut and your<br />
object is to collect as many of<br />
the valuable minerals, etc, of<br />
the planet which you are on,<br />
whilst also collecting fuel for<br />
your safe departure. Though<br />
the scenario is not the most<br />
original around, what puts it to<br />
number one in this review is<br />
the fantastic quality of the<br />
graphics. The characters are<br />
beautifully designed and colour<br />
is used very well indeed. But<br />
the thing that really caught my<br />
eye was the incredible<br />
smoothness of it all. Never in<br />
the game will you see one jerky<br />
move. As you get to more<br />
106<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983
planets the inhabitants get<br />
more and more determined to<br />
stop you. Another nice feature<br />
is the way in which, as you<br />
proceed through the game,<br />
your rocket turns into the<br />
space shuttle — a nice touch.<br />
There are five controls to be<br />
mastered: left, right, fire,<br />
thrust and hover. All of which<br />
maybe controlled via the<br />
keyboard or through a joystick.<br />
Overall this is a very well<br />
put together piece of software.<br />
If you want a game with impact<br />
then this is one of the<br />
best around. An excellent program<br />
and game.<br />
3D Tanx<br />
— dk'Tronics<br />
The idea of the game is to<br />
destroy the 2D tanks which<br />
are moving from right to left<br />
across the screen, using your<br />
30 gun turret. There are three<br />
levels of play, one or two<br />
player options, a hold feature,<br />
demo and training modes. One<br />
particularly nice feature is that<br />
you are allowed to pick your<br />
own control keys. Just to<br />
make it more difficult the tanks<br />
can actually fire back at you.<br />
Colour is used well in this<br />
game, but whilst the detail of<br />
the graphics is good, the tanks<br />
still only move one character<br />
square at a time which does<br />
I SOFTWARE REVIEWS!<br />
look rather jerky. The gun turret<br />
looks very good and moves<br />
very well indeed whilst you<br />
aim. Probably the most advanced<br />
feature of this game is<br />
the semi-recoil of the nozzle of<br />
the gun, going down each time<br />
you fire.<br />
To conclude, it can be said<br />
that though the standard of 3D<br />
Tanx is not quite the best in<br />
this review, it is an addictive<br />
and entertaining game. Well<br />
recommended.<br />
Dietron<br />
— custom Data<br />
Ltd<br />
Dietron is the only program in<br />
this review which is definitely<br />
not a game. It has a number of<br />
major functions: 1 — to work<br />
out your maximum advised<br />
weight and intake of calories<br />
according to your height, build,<br />
age, sex, etc, and 2 — it holds<br />
data on an enourmous number<br />
of different foods, so that it is<br />
possible to plan a balanced<br />
meal. The data available includes<br />
protein, fibre, vitamins,<br />
etc; this section is a very comprehensive<br />
catalogue indeed.<br />
It is also possible to load in a<br />
second program which holds<br />
information on dieting, as well<br />
as how quickly you are likely to<br />
lose those precious pounds if<br />
you cut down by a chosen<br />
amount of calories. It also explains<br />
the value of each<br />
vitamin for which data has<br />
been given for the different<br />
foods. More specifically it<br />
gives details about them, as<br />
well as the consequences of<br />
too much or too little in your<br />
diet.<br />
This is well written and<br />
researched program which can<br />
be useful for anyone who is interested<br />
in their diet. There is a<br />
substantial amount of data in<br />
Dietron which is well worth<br />
having and using. Though all of<br />
this can be found in a book, it<br />
has been arranged in such a<br />
way that makes it far quicker<br />
and easier to use on your Spectrum.<br />
Cosmic Guerrilla<br />
— Crystal<br />
Computing<br />
This is a new, original and fast,<br />
100% machine code arcade<br />
type game. The object of the<br />
game is to protect your laser<br />
bases from the marauding<br />
aliens which slowly eat away<br />
your defences. The aliens are<br />
lined up vertically on either<br />
side of the screen, with your<br />
bases vertically lined up in the<br />
centre. The aliens smoothly<br />
walk towards the centre and<br />
collect the objects which are<br />
the only defence your bases<br />
have. Your task is to zap the<br />
Q QUEST<br />
aliens with the laser running<br />
horizontally along the bottom<br />
of the screen.<br />
Though Cosmic Guerrilla<br />
does have some parallels with<br />
the 'space invaders' type<br />
games, the screen arrangement<br />
and the different<br />
scenarios put it way ahead in<br />
my view. One quality of<br />
'Space Invaders' that it does<br />
unashamably possess, is its incredible<br />
addictive quality.<br />
Amongst other things the<br />
graphics are good, as well as<br />
smooth, plus good sound and<br />
colour. This is a very playable<br />
game indeed. For all those who<br />
have enjoyed Space Invaders,<br />
then this is the next step up.<br />
Highly recommended.<br />
The Black Hole<br />
— Quest Microsoftware<br />
The idea of the game is that<br />
alien space craft are using the<br />
Black Hole to gain entrance to<br />
other galaxies. Unfortunately<br />
their intent is destructive,<br />
hence your task is to inflict as<br />
much damage on them as you<br />
possibly can. You have two<br />
weapons, the Positive and<br />
Negative Ion gun, and a<br />
Neutron Blaster. The large<br />
scale advertising campaign<br />
that Quest have launched for<br />
this program seems to suggest<br />
some amazing graphics. Yes<br />
the graphics are good, but<br />
K*I6K '<br />
\. I<br />
BLACK<br />
HOLE I<br />
13 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 107
personally, I found the 2D effect<br />
rather confusing because<br />
it just doesn't look right.<br />
However, all in all, not a bad<br />
piece of software.<br />
Krazy Kong<br />
— Control<br />
Technology<br />
Kong the gorilla has captured a<br />
girl and your task is to rescue<br />
her from his evil grasp. There<br />
are three stages of this game:<br />
first you must avoid the barrels<br />
and fireballs which are being<br />
hurled at you and climb the<br />
ladders to the second screen.<br />
Then you must climb the staircase<br />
again avoiding the<br />
fireballs to rescue the girl. It is<br />
left up to your own imagination<br />
to decide who the fair maiden<br />
in distress is, so you can be the<br />
in-house hero!<br />
Being written in machine<br />
code means that the action is<br />
pretty fast, though jerky and a<br />
little crude. Some of the controls<br />
are a little too sensitive,<br />
but apart from that it is a good,<br />
fun game, which can be played<br />
for hours — just change the<br />
maiden!<br />
Blind Alley<br />
— Sunshine Books<br />
Ltd<br />
The instructions on the back of<br />
the box tells that this game is a<br />
deadly duel, deep in space —<br />
the sport of the year 3017.<br />
The idea is to trap your opponent<br />
or opponents by<br />
enclosing them in the trail that<br />
you have left. It is rather like<br />
the game in the movie, Tron.<br />
The graphics of the introductory<br />
screen are good, though<br />
the graphics of the rest of the<br />
game are less than brilliant.<br />
Though there is only one level<br />
of play it does get progressively<br />
more difficult, with more<br />
and more opponents sent<br />
against you.<br />
Sunshine seem to have a<br />
habit of producing games<br />
which are not technically<br />
brilliant, but manage to be<br />
highly addictive and great fun<br />
to play.<br />
Frenzy<br />
— Quicksilva<br />
As soon as you see a<br />
Quicksilva game on the<br />
shelves of a shop or advertised<br />
you do expect it to be pretty<br />
good — they have a name to<br />
live up to. In this game you<br />
have been placed in a room<br />
with walls segmenting it,<br />
which is also inhabited by<br />
robots. Unfortunately they<br />
seem intent on killing you.<br />
108<br />
There are various special<br />
features, including different<br />
levels of robots, exploding<br />
pods and minelayers. The main<br />
disappointment comes when<br />
you see the screen display,<br />
which is rather dull, with all the<br />
robots, etc, taking up exact<br />
I SOFTWARE REVIEWS!<br />
character squares. If you hit a<br />
wall you die — though it is<br />
possible to escape through a<br />
hole in the outer wall and then<br />
you find yourself in a new<br />
room with more robots.<br />
I didn't think Fren2y was<br />
really up to QS's usual high<br />
technical standard, though it is<br />
still quite fun to play.<br />
Alien Swarm<br />
— Titan Software<br />
This is very much another version<br />
of the 'Galaxians' game.<br />
The idea is to kill off the<br />
swarms of aliens which proceed<br />
down the screen at you.<br />
Every so often the PAPER/INK<br />
colours change, making for<br />
some pretty weird combinations.<br />
After a while you are<br />
even lucky enough to get different<br />
shaped aliens.<br />
Though Alien Swarm may<br />
be quite well written, it cannot<br />
compete with the other 'Galaxians/lnvaders'<br />
clones such as<br />
Imagine's Arcadia, which I<br />
reviewed two issues back.<br />
Overall this game may be<br />
quite fun but rather predictable<br />
and not very innovative.<br />
Roulette<br />
— Micromega<br />
It doesn't take much in the<br />
way of grey matter to work out<br />
what this game is all about.<br />
Unlike most previous versions<br />
of roulette for the Sinclair computer<br />
it does give you a good<br />
range of options, ie odds,<br />
evens, blacks, column, etc,<br />
and you can bet on a combination<br />
of these.<br />
This is a welt put together<br />
program with no real surprises<br />
except for the pretty screen<br />
display when the wheel is<br />
spun. If you like this type of<br />
game then you'll find<br />
Micromega's version a pretty<br />
safe bet.<br />
UK Map<br />
— Kuma<br />
Map of UK has recently been<br />
released by Kuma in a rather<br />
bigger than usual package -<br />
more along the lines of VIC<br />
software packaging.<br />
Aimed mainly at the educational<br />
market this program produces<br />
a large map of the UK, a<br />
tour of which may be obtained<br />
by pressing the right keys. It is<br />
also possible to instruct the<br />
computer to search for a particular<br />
place. Fortunately, it<br />
does hold a reasonable number<br />
of places but for some reason<br />
county names have been omitted.<br />
There is also an inbuilt<br />
game in which you are in a<br />
balloon floating over the British<br />
Isles — quite an interesting<br />
diversion.<br />
This is a useful educational<br />
package which I would recommend<br />
for the classroom.<br />
» 1983 <strong>ZX</strong> COMPUTING AUG.'SEPT 1983 108
The Knights Quest<br />
— Phipps<br />
Associates<br />
This is one of the few adventure<br />
games with a decent<br />
amount of in-built graphics.<br />
Having a picture or map of<br />
your location does make a<br />
great deal of difference to an<br />
adventure game.<br />
The screen itself is split into<br />
graphics and text, though<br />
often there is only text. The<br />
object of the game is to find<br />
the lost treasures whilst rescuing<br />
a Princess held by a witch<br />
(another chance to be a hero),<br />
and battling against various<br />
evils including scorpions,<br />
elves, etc. The Knights Quest<br />
follows the tradition of Phipps<br />
games by being extensive in<br />
detail and length and a<br />
pleasure to play.<br />
As far as adventures go I<br />
feel confident to recommend<br />
Knights Quest most highly.<br />
Spectrum special 1<br />
— Shiva Software<br />
All the programs on this<br />
cassette are enhanced versions<br />
of some described in<br />
their range of books for the<br />
Spectrum.<br />
There are ten programs:<br />
Sink the Bismark, Wolf Puzzle,<br />
Character Builder, Tiger Hunt,<br />
Pie Chart, St. Moritz, Hidden<br />
Words, Towers of Hanoi,<br />
Picasso and Statistics Made<br />
Simple. Alt these are very obviously<br />
book-type programs<br />
because they are very simple<br />
and relatively unimaginative.<br />
However, all the programs<br />
work reasonably well and illustrate<br />
various techniques of<br />
programming included in the<br />
books.<br />
This cassette can only really<br />
be recommended as a supplement<br />
to the books if you do not<br />
wish to type the programs in.<br />
Panic<br />
— Mikrogen<br />
Panic is very similar indeed to<br />
the ladders type arcade game.<br />
An almost identical version is<br />
available for the BBC under the<br />
name 'Monsters'. Though<br />
Panic may not be 100%<br />
original as a game, it is very<br />
well written indeed.<br />
The idea is that you are<br />
caught in a maze of walls and<br />
ladders with a load of rather<br />
nasty aliens. The object is to<br />
lure them into holes which you<br />
have dug and then bang them<br />
over the head until they die. As<br />
if this wasn't enough you are<br />
in danger of running out of oxygen.<br />
As time goes on, and<br />
especially if an alien gets<br />
through a hole without getting<br />
hit, they get even more<br />
ferocious and difficult to kill.<br />
Maybe not original, but this<br />
is the first time I have seen it<br />
for the Spectrum. It is definite<br />
ly a highly addictive and enjoyable<br />
game to play.<br />
I SOFTWARE REVIEWS!<br />
/ / / / / / /<br />
/ / / ^ / ft /<br />
/ > / j / / / ^ 7 / /<br />
/ / $ / Q / V- /O v/4 4ft 4 4 4ft 4<br />
Painter 7.00 16K 2% 4 4 4 4 4<br />
Knights Quest 5.95 48K 3 4 4 4 4 4<br />
Krazy Kong 5 00 48K 3% 3ft 3 3ft 3 3ft<br />
Jetpac 5.50 16K 4% 4Vi 5 4ft 4ft 4ft<br />
Black Hole 5.50 16K 3 3 3'A 3ft 3ft 3ft<br />
Dietron 4.75 48K 4 ft 4 — 4 4ft 4ft<br />
Blind Alley 4.95 1 6K 3ft 4 3 3 4 4<br />
3D Tanx 4.95 16K 3 4 4 4 3ft 4<br />
Spectrum Special<br />
1 5 95 16K 3 2 3 2 3 3<br />
Panic 5.95 16K 3ft 4 4 3ft 4 4<br />
Alien Swarm 4 9 b 16K 3ft 3 3 3 3 3<br />
Addresses of suppliers<br />
A&F Software, 830 Hyde Road. Gorton, Manchester.<br />
Kuma Computers Ltd, 11 York Road, Maidenhead, Berks.<br />
dk'Tronics, 23 Sussex Road, Gorleston, Gt. Yarmouth, Norfolk<br />
Sunshine Books Ltd. Mobhouse Court, 1 9 Whitcomb Street. London<br />
WC2 7HF.<br />
Phipps Associates. 99 East Street, Epsom, Surrey KT1 7 TEA.<br />
Control Technology, 184 Market Street, Hyde, Cheshire.<br />
Quest Microsoftware, 1 19 The Promenade, Cheltenham,<br />
Gloucestershire.<br />
Ashby Computers and Graphics Ltd, The Green, Ashby de la Zouch.<br />
Leicestershire.<br />
Quicksilva Ltd. Palmerston Park House, 1 3 Palmerston Road,<br />
Southampton S01 ILL.<br />
Shiva Publishing Ltd. 4 Church Lane. Nantwich, Cheshire<br />
Micromega, 230-236 Lavender Hill, London SW1 1 1 L£.<br />
Crystal Computing, 50 Charles Close. Wroxham, Norwich<br />
NR1 2 8TU.<br />
Mikrogen, 24 Agar Crescent. Bracknell, Berks<br />
Titan Software, The Computer Palace, 46 Market Place, Chipperton.<br />
Wilts.<br />
Custom Oata, 20 Friars Quay. Colegate, Norwich NR3 1ES.<br />
13 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 109
; have been interested for some<br />
time in trying to get a program to<br />
RUN on the2X81 which displayed<br />
a solid object rotating in space<br />
giving a three-dimensional effect.<br />
The program, once typed in, requires<br />
a full five minutes RUNing<br />
time to complete the POKEing of<br />
sach of the six picture frames. The<br />
program will then automatically<br />
oegtn. The display is quite realistic<br />
— there is no screen flicker or<br />
jumping — and shows a rotating<br />
rectangle, spinning on a fixed<br />
axis. The rotational effect lasts for<br />
around 30 seconds and looks<br />
something like the illustration<br />
shown in Fig. 1.<br />
Shapes of things<br />
The shape of the figure is easily<br />
altered by changing the coordinates,<br />
X( ) and Y( ) in lines<br />
140 to 600. (You'll need to do this<br />
on plotting paper though.)<br />
One restriction of the program<br />
is that only the top half (lines 0 to<br />
10) can be used. When I first<br />
developed the program, I tried to<br />
use the whole screen but I ran out<br />
of memory (even with the 16K<br />
RAM Pack attached!).<br />
Once you have the program<br />
entered into the machine, it<br />
should be SAVEd before you<br />
attempt to RUN it. Once it has<br />
been RUN, any new instructions<br />
have to be typed in 'blind' as the<br />
PRINT position has been moved<br />
down below line 23 of the screen.<br />
If you want to re-RUN the program,<br />
you should type in 'GOTO<br />
1000'; this will also have to be<br />
done 'blind'.<br />
As a final point, the insertion<br />
of a '£' sign at lines 630 and<br />
650 is to end each frame with a<br />
code signal for the operating<br />
machine code to recognise the<br />
end of a frame, and the end of<br />
the last (the sixth) frame.<br />
110<br />
<strong>ZX</strong>81 UTILITY<br />
Creating a three-dimensional<br />
image on your 16K <strong>ZX</strong>81 is not<br />
as difficult as you might imagine<br />
with this program from Mr DJ<br />
Munro of coleraine.<br />
BASIC notes<br />
Here is a breakdown of the BASIC<br />
part of this listing:<br />
Lines 140 600<br />
SUB 4010<br />
SUB 1500<br />
Lines 660 800<br />
SUB 4070<br />
Lines 1010-1060<br />
Initialisation — co-ordinates of the<br />
corners of each wire frame (there are six<br />
frames altogether).<br />
Enters the operating machine code<br />
starting at address 30000 from AS.<br />
Leaves A$ as an empty string.<br />
SUB 2500 and SUB 3000. Prints the<br />
picture of each of the six frames in turn.<br />
Convert the picture frame into Hex code<br />
and store code in a character string (A$).<br />
POKEs the Hex code into memory<br />
starting at the address after the<br />
operating code (address 30042) and<br />
leaves A$ as an empty string ready for<br />
the next frame.<br />
Calls up the display with RAND USR<br />
30000.<br />
<strong>ZX</strong> COMPUTING AUG SEPT 1983 r
1<br />
IE FF LD E,255<br />
1D DECE<br />
78 LDA.E<br />
FE 00 CPO<br />
C8 RET IF ZERO<br />
2A0C40 LDHL( 16396)<br />
01 5A 75 LD BC 30042<br />
OA LD AI8C)<br />
77 LD(HL>A<br />
23 INC HL<br />
03 INC BC<br />
OA LDA(BC)<br />
FE OC CP 12<br />
20 F8 JRNZ 8 steps back<br />
03 INC BC<br />
OA LDA(BC)<br />
FE OC CP 12<br />
28 E6 JR Z 26 steps back<br />
16 02 LD D,02<br />
15 DEC D<br />
7A LDA.D<br />
FE 00 CPO<br />
20 FA JR NZ 6 steps back<br />
2A0C40 LDHL116396)<br />
OA LD A(BC)<br />
18 E4 JR 28 steps back<br />
The machine code part of the listing,<br />
The BASIC part of the listing.<br />
J<br />
20 CLS<br />
30 REM "3DMOUER"<br />
40 FR ST<br />
50 DIM X
f HOLY<br />
HOME COMPUTERS<br />
WHAT ARE WE<br />
DOING HERE,<br />
BATMAN V<br />
Here's a batty program for your<br />
16K Spectrum from Colin Gooch<br />
of llminster.<br />
In this program, you are a bat fly<br />
ing about trying to secure some<br />
moths for your supper. Movement<br />
is made via the four<br />
'arrow' keys on the Spectrum,<br />
and to make a catch you have to<br />
place the centre of the bat<br />
character directly over the<br />
moth. Watch out though — the<br />
moth moves totally at random.<br />
Because your bat cannot fly<br />
in bright light, the moth can<br />
escape you by flying into the<br />
lighted window in the top left-<br />
hand corner of the screen. All<br />
you have to do is to trap the<br />
moth before it gets there! The<br />
game ends when you have attempted<br />
to catch ten moths,<br />
although there is a bonus if you<br />
manage to catch all ten.<br />
Holy bat-catcher!<br />
Initialisation of the graphics is<br />
done in lines 2230 to 2250.<br />
This leads straight into the in<br />
struction page which is completed<br />
by lines 2300 to 3030.<br />
This last section is not repeated<br />
when you play subsequent<br />
games after your first.<br />
The main program begins<br />
with line 50 which calls the<br />
subroutine to print the screen<br />
display, followed by lines 90 to<br />
120 which initialise the screen<br />
co-ordinates for the bat and the<br />
moth. Lines 200 to 300 are a<br />
loop which constantly moves<br />
the position of the moth, and if<br />
the right keys are pressed this<br />
section of the program actually<br />
moves the bat.<br />
The conditional statements<br />
for the moth make sure that it<br />
stays within the screen area and<br />
also reverse its direction should<br />
it get too near to the edge. The<br />
moth is moved 'dx' and 'dy'<br />
across and up the screen, but it<br />
is not incremented on each pass<br />
of the loop. It is the RND value in<br />
lines 230 and 240 which look<br />
after this latter task, and it is this<br />
which gives the moth its random<br />
movement.<br />
The conditional statements<br />
for the bat read the keyboard,<br />
keep the bat on the screen and<br />
also ensure that it will not move<br />
into the area of the window. Line<br />
320 detects a caught moth and<br />
moves on to the scoring section<br />
of the program. Lines 330 to<br />
350 detect the moth in the<br />
vicinity of the window, and once<br />
there it is automatically drawn<br />
into the window, the moth's<br />
home score is updated and a<br />
new moth appears down in the<br />
bottom right-hand area of the<br />
screen.<br />
Scoring is carried out from<br />
lines 370 to 520. This includes<br />
a 'high score' routine, and offers<br />
you a bonus 'go' if you managed<br />
to catch ten moths out of ten.<br />
This invitation comes courtesy<br />
of lines 530 to 580.<br />
Flying tonight<br />
The REM at line 20 indicates<br />
which lines need letters typed in<br />
the graphics mode. Lines 250<br />
and 260 use keyboard graphics<br />
and it is important that you get<br />
four blanks at the end of each<br />
string,<br />
Line 3400 looks the most<br />
complicated. However, if you<br />
decide that you don't want to<br />
put a title or instructions in your<br />
listing, you could always re<br />
write line 2400 to read:<br />
2400 RETURN<br />
and omit all from thereon.<br />
112 <strong>ZX</strong> COMPUTING AUG. SEPT 1983
420 LET TET=TET+ET: IF ET = 10 AH<br />
D MO =0 THEN PRINT AT 15.0; PAPER<br />
4-;" IT'S A GOOD NIGHT FOR HUNTI<br />
NG ";AT 17.10; PAPER 2; INK 7;<br />
BRIGHT 1; FLASH 1;" CARRY ON<br />
IF INKEY'* "" THEN GO TO 4-20<br />
430 IF ET = 10 AND MO=0 THEN PAUS<br />
E 4-00: FOR N = 15 TO 17 STEP 2: FC<br />
R M=0 TO 31. PRINT AT N,M; PAPER<br />
5;" " : NEXT M; NEXT N: GO TO It<br />
0<br />
430 IF TET >HSC THEN LET HSC =TET<br />
4-90 PAPER 4-: CL.S : PRINT AT 5 . G=<br />
, PAPER 6j" YOUR SCORE THAT ROU<br />
MD UAS ; ET; " MOTHS EflTE<br />
N ";MO;" MOTHS ESCAPED "<br />
500 IF TET>10 THEN PRINT AT 7,0<br />
, PRPER 6; " YOUR TOTAL SCORE UAS<br />
"; TET<br />
510 IF ET > HSC THEN LET HSC =ET<br />
520 PRINT AT 10,6; PAPER 3; INK<br />
0;" HIGHEST SCORE SO FRR ";HSC<br />
530 PRINT AT 12,4-; PAPER 6;" DO<br />
YOU UPNT ANOTHER GO 7"; AT 13,4-;<br />
" PRESS v ""es TO CONTINUE " ; AT<br />
14- , 4-; N " " o TO STOP OR •'••c""t<br />
ange";NR 15,4-," TO GO TO NEXT GP<br />
HE<br />
SPECTRUM GAME<br />
9<br />
10<br />
R E M<br />
REM BATS by C N GOOOM<br />
1 1 R E M +<br />
20 REM Jn Lines 250,300,570,23<br />
3S the tetters to be printed are<br />
those Letters in GRAPHICS mode<br />
30 RANDOMIZE ; CLS ; BORDER 1:<br />
LET HSC=0: GO SUB 2200<br />
4.0 PAPER 5. CLS : LET TET =0; L<br />
ET ET-0: LET MO=0<br />
50 GO SUB 2050<br />
Q0 LET XX=16: LET yy=20<br />
lOO LET y =12 +INT (PND * 5 ) : LET X<br />
-5: IF RND>.4 THEN LET X=31<br />
120 LET dX=l: LET dy=l<br />
190 REM MOUE MOTH<br />
200 LET dX = t tX =0) - (X -31) +dX * (X ><br />
3 PND X c<br />
RND u C20J<br />
220 PRINT AT y,X; PAPER 5 + 1* (X<br />
3 PND Y 8 } ; " "<br />
230 I RND>.5 THEN LET X=X+dX<br />
2 . 5 THEN LET y=y+dy<br />
2SO PRINT AT y,X; PAPER 5+1*(X<<br />
? PND Y <br />
T N. FOR N=0 TO 3 STEP 3: PRINT<br />
PT N.0; PPPER 5,P$: NEXT N<br />
2090 RETURN<br />
2200 REM ***MOTH***<br />
2210 RESTORE 2210. DATA 0,36,102.*<br />
,255,126,102,36,36<br />
222 0 REM > > > BP T< < I<br />
2230 DATA 8,26,62,63,127,231,19=;<br />
, 126.36,60,60, 24- , 255 . 255 . 255 , 126.<br />
, 16,56, 124- , 252 , 254- . 231 , 195 , 1<br />
224-0 REM BTTSFORM GRAPHICSNWJT<br />
2250 FOR N=0 TO 3. FOR N=0 TO 7.<br />
READ A: POKE USR CHR$ (N+CODE<br />
2<br />
1<br />
FI'*)+M,A: NEXT M: NEXT N<br />
2300 FOR N =0 TO 21 STEP 2: FOR H<br />
= 1 TO 31 STEP 4-; PRINT AT N,M; 1<br />
NK 1+INT (RNDf3);"BCD": NEXT M-<br />
NEXT N<br />
24-00 GO SUB 34-00<br />
500 PRINT AT 6,0;K $<br />
2600 PRINT AT 14,2; PAPER 6;" PF:<br />
ESS ""ENTER"" TO CONTINUE ";AT 2<br />
1,10; PAPER 7; INK 0; FLASH L;"<br />
STOP THE TAPE "; PAUSE 0: CLS<br />
2700 PRINT AT 2,10; PAPER 2; INK<br />
7,* BRIGHT L; FLASH 1; " B A T S<br />
2800 PRINT AT 4. , 0; YOU ARE A BP<br />
T HUNTING MOTHS ' ' "FOR 5UPPEP<br />
2900 PRINT AT 5,0;<br />
OV>ED UITH KEYS NO .<br />
M # *<br />
3000 PRINT AT 8,0;<br />
CAUGHT UHEN THE "'<br />
LLY OUER IT"<br />
3010 PRINT AT 10,0;<br />
SAFE IN THE YELLOU<br />
HE LIGHTED UINDOU*'<br />
NOT GO HERE"<br />
3020 PRINT AT 16,0;<br />
DS WITH 10 MOTHS<br />
""CAUGHT<br />
3030 PRINT AT 18,0;<br />
ER"" TO CONTINUE ":<br />
RETURN<br />
34-00 LET Kf = "<br />
34-10 RETURN<br />
THE<br />
** * I I<br />
BAT IS H<br />
"5 TO 8'<br />
THE MOTH IS<br />
BAT IS CENTRP<br />
' THE MOTH IS;<br />
PREP OF T<br />
' THE BAT CAH<br />
' THE GAME EM<br />
""HOME"" OR<br />
' PRESS ""EN7<br />
PAUSE 0. CLE-<br />
1983 <strong>ZX</strong> COMPUTING AUG'SEPT 1983 113
1983<br />
CHILDREN'S<br />
EDUCATIONAL<br />
SOFTWARE<br />
THE MICRO MASTER SERIES<br />
FOR ANY SPECTRUM<br />
The Micro Master series is a unique educational<br />
product covering essential numeracy and language<br />
skills for 7-13 year olds. It has been RESEARCHED<br />
and TESTED by experienced teachers with one<br />
specific aim LEARNING.<br />
The series comes in two parts which can be<br />
purchased separately or together<br />
THE FOUR RULES OF NUMBER<br />
(A package of 5 programmes)<br />
This package, developed for ALL children between<br />
the ages of 7-13. concentrates on the fundamental<br />
skills of Addition, Subtraction. Long Division. Long<br />
Multiplication and it incorporates a multiplication<br />
tables learner. Knowing how to use and perform<br />
these skills is NOT ENOUGH. These programmes will<br />
engender FAST and ACCURATE calculation ability<br />
and advance the child to high levels of complexity.<br />
Progress can be monitored readily by consulting the<br />
age-related grading charts which are included.<br />
THE LANGUAGE DEVELOPMENT SERIES<br />
(Each cassette contains 10 programmes)<br />
This series is specifically designed to develop the<br />
verbal skills required by our EDUCATION and<br />
EXAMINATION systems. The series will develop<br />
VOCABULARY, SPELLING. CONCEPT ATTAIN-<br />
MENT. VERBAL REASONING and KNOWLEDGE OF<br />
THE ENGLISH LANGUAGE. It can be used lor<br />
remedial teaching and, at the highest levels, for<br />
Common Entrance, 11+ etc.<br />
TO ORDER:<br />
The Four Rules of Number £11.70<br />
(Please state pupil s age)<br />
Language Development Cassette £7.90<br />
(Please state pupil's age)<br />
Both the above £14.50<br />
CHEQUES/P.O.s to:<br />
MICRO MASTER<br />
Dept <strong>ZX</strong>C, 94 Airdale Avenue, Chiswick,<br />
London W4 2NN.<br />
FOR FURTHER DETAILS<br />
PHONE 01-747 1373<br />
BEFORE YOUR CHILD PLAYS INVADERS —<br />
THINK OF MICRO MASTER<br />
MAIL ORDER PROTECTION SCHEME<br />
If you order goods from Mail Order Advertisers in this<br />
magazine and pay by post in advance of delivery, this<br />
publication will consider you for compensation if the<br />
advertiser should become insolvent or bankrupt,<br />
provided<br />
1 You have not received the goods or had your money<br />
returned: and<br />
2 You write to the publisher of this publication explaining<br />
the position not earlier than 28 days from the day<br />
you sent your order and not later than 2 months from<br />
that day.<br />
Please do not wait until the last moment to inform us<br />
When you write, we will tell you how to make your claim<br />
and what evidence of payment is required<br />
We guarantee to meet claims from readers made in<br />
accordance with the above procedure as soon as<br />
possible after the advertiser has been declared bankrupt<br />
or insolvent lo a limit ol £1.800 per annum for any one<br />
advertiser, so affected, and up to £5,400 p a in respect of<br />
all insolvent advertisers Claims may be paid for higher<br />
amounts, or when the above procedures have not been<br />
complied with, ai the discretion of this publication, but<br />
we do not guarantee to do so in view of the need to set<br />
some limit to this commitment and to learn quickly of<br />
reader's difficulties<br />
This guarantee covers only advance payment sent in<br />
direct response to an advertisement in this magazine<br />
(not, for example, payments made in response to catalogues,<br />
etc. received as a result of answering such<br />
advertisements):<br />
CLASSIFIED ADVERTISEMENTS ARE EXCLUDED.<br />
DONT MISS THIS UNIQUE OFFER —<br />
<strong>ZX</strong>8116KRAM PACKIuily cased tested and guaranteed Gold plated edge<br />
connector — no wobble design Only CI 7 95 (just El 7 95 — no mistake')<br />
incl PAP in UK only Compare OUT prices<br />
SPECTRUM OUST COVERS hign quality & cashable C1 95 Also<br />
available lor most other micros monitors. disc drives & printers<br />
<strong>ZX</strong>81 OE-LUXE LOADING AID comprises electronic circuil hou<br />
smart black case Red. green & yellow lights (LED) allow volume to be<br />
adiusted easily for perfect LOADing Pushbutton to RESET computer Hear<br />
voiceovers & position tape accurately using FARPHONE supplied Supplied<br />
with LOAD'SAVE switch filled so both FAR & MlC leads may be left<br />
connected Complete with full inslructtons It is designed to ensure trial<br />
even (apes made on loreign casselle players toad first time <strong>ZX</strong><br />
Computing Oct/Nov 1982 Tms is not just a cheap VU meter this one<br />
works Only C18 70 (incl P&P in UK only) Spectrum version only C18 95<br />
<strong>ZX</strong>81 KEYBOARD BEEPER — brings the keyboard to lite providing audible<br />
feedback lo keyboard entry AII210characiersbeepineilherSLOWorFAST<br />
modes Fits inside — no trailing wires — no soldering necessary as a"<br />
connections simply plug-m lllustiated mstiuctions incl Only CI 0 95 (incl<br />
P&P in UK onlyl<br />
T-SHIRTS C3 50 SWEATSHIRTS C7 50 black with red SINCLAIR <strong>ZX</strong>81<br />
or white with black "<strong>ZX</strong> SPECTRUM' 4 rainbow Thesearo Sinclair approved<br />
designs — correct colours & logos (Prices mcl P&P in UK onlyi Terrific<br />
hand airtxushed (but washable) multi-coloured designs i M A MICRO<br />
ADDICT or ' MICROCOMPUTERS TAKE YOU INTO ANOTHER WORLD<br />
against space scenes Words do them |ustice T-shirts C4 50 Sweatshirts C9<br />
(incl P&P m UK only) Specify garment sizes required 24 to 44<br />
Flat flexible ribbon cable suits other keyboard 10<strong>ZX</strong>8I or Spectrum interconnection<br />
(which leguires 5 & 8 way) available any length maximum 19<br />
way 1 p per lOmm (e g lOOmm ol 5 way = 50p) Plus <strong>ZX</strong>81 & Spectrum type<br />
keyboard connectors 5 way 95p ea. 8 way CI 05 ea<br />
BOOKS Spectrum Graphics 1982 Nick Hampshire C7 95 Spectrum<br />
ROM Decoded/Disassembly An annotated disassembly of the Spectrum<br />
ROM 1982MOIC4 90 f he <strong>ZX</strong> Spectrum & how to get the most trom it 1983<br />
tan Sinclair C6 95 Z80 Instruction Handbook' 1982 Wadsworlh C550<br />
introduction 10 the Z80 Microcomputer 1982 Khambala C9 50<br />
SPECTRUM SCREEN DISPLAY CHARTS I ;>ads printed with the<br />
appropriate matrices to enable the user to draw character & screen display<br />
designs C4 95 ea (incl P&P in UK only)<br />
Please send stamped addressed envelope for free catalogue. Dealer<br />
Enquiries Welcome. Please mail order with cheque.' PO to: Dept <strong>ZX</strong><br />
FULCRUM PRODUCTS<br />
14 Sleep Lane. Findon. Watt Sui»> BN14 0UF Tel: Findon (090 671) 2750<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 114
More overhead<br />
excitement in this<br />
Spectrum program,<br />
courtesy of Mr HT Davis<br />
of Hereford.<br />
This program differs a little bit<br />
from the normal 'war time'<br />
simulation games in that the<br />
shells actually follow a<br />
parabolic trajectory. The equation<br />
used to work out their motion<br />
is calculated in line 75 and<br />
simulates a projectile under<br />
gravity.<br />
what goes up.. .<br />
The initial velocity and angle of<br />
projection can either be<br />
selected by the player (mode<br />
x) or by the computer (mode<br />
i). The aim of the game is to<br />
destroy the overhead aircraft,<br />
launched ICBMs and the ICBM<br />
base; the ICBMs and their base<br />
must be destroyed using shells<br />
and the aircraft should be<br />
destroyed using rockets. The<br />
115 <strong>ZX</strong> COMPUTWG AUG/SEPT 1983<br />
game stops either after eight<br />
cycles or if you accidently<br />
destroy an allied aircraft (you<br />
can spot them because they're<br />
blue!).<br />
Full instructions are included<br />
in the program, including<br />
when one can fire a shell or a<br />
rocket. The program occupies<br />
virtually all of the 16K<br />
memory.<br />
A variable<br />
situation<br />
The variables used in this program<br />
are:<br />
P<br />
s<br />
— The number of<br />
game cycles.<br />
— The game mode.<br />
— The score.<br />
r<br />
v<br />
w<br />
•<br />
(x.y)<br />
The rocket drive.<br />
The rocket control.<br />
The random element<br />
in the aircraft<br />
and ICBM drive.<br />
The aircraft and<br />
ICBM drive.<br />
The shell trajectory<br />
pixels.<br />
(q,m)<br />
z<br />
U (V on<br />
display)<br />
A<br />
The shell trajectory<br />
co-ordinates.<br />
The shell control.<br />
The shell launch<br />
velocity.<br />
The shell launch<br />
angle.<br />
i<br />
i
1 GO SUB 1000<br />
5 PRPER 6: INK 1<br />
10 DIM i $ (704) : PRINT RT 0,0;:.<br />
12 BORDER 4<br />
14 PRINT INK 2; FLASH 1;AT<br />
** AIR-RAID " : PRINT AT 4.2;<br />
s t r o y t h e r c e i i ' s a n d t h e i r<br />
a s e W i t h s h e l l s ( K e y S3 A T 8 , 2 ;<br />
" D e s t r o y e n e m y a i r c r a f t w i t h<br />
s h e l l s I S ) a n d r o c J t e t s ( R ) " ; R T<br />
1 2 , 2 ; " A l l i e d a i r<br />
I j m u s t n o t<br />
1 5 P A U S E 2 0 0<br />
18 PRINT<br />
s e t o w n s h e<br />
o r y , p r e s s<br />
d o l a u n c h ,<br />
19 PRUSE<br />
SPECTRUM CAME<br />
1 , 1<br />
" D e<br />
r c r a f t a r e b l u e a<br />
be h i t "<br />
BCRDER 5<br />
I N K 2 , R T 1 6 , 6 ; " T O s e l<br />
11 t r a j e c -<br />
< X 3 " ; A T 2 0 , 2 ; " F o r r a n<br />
p r e s s ( Z ) "<br />
2 0 0<br />
20 LET S=0<br />
25 LET g =0<br />
30 IF INKEY $ =" X<br />
GO TO 600<br />
32 IF INKEY J = " Z<br />
GO TO 725 »<br />
34 GO TO 12<br />
40 LET V =0<br />
45 LET Z=0<br />
50 LET w =INT (RND*7)<br />
60 FOR X=0 TO 60<br />
61 IF X < 40 AND 2=0<br />
N PRINT INK 0; PAPER<br />
RT 0,1;"FIRE S",AT 0<br />
,13;" "; RT 0,14; "fi = ".<br />
"; AT 0, 16; A; ""<br />
" 70 IF Z =0 THEN LET y=0<br />
THEN LET p =1<br />
THEN LET p =0<br />
b<br />
AND V =0 THE<br />
7; FLASH l;<br />
6; "U = " ; AT 0<br />
AT 0, 10; U;<br />
75 IF Z > . 5 AND X-Z1 AND y0 AND X-5*w 30 RND W+X31 AND w +x24 AND X 25 AND X 3 8 A N D X < 6 1 T H E N P R I N T<br />
R T 6 0 - X , 2 4 ; " " , - R T 6 0 - X , 2 0 ; " "<br />
1 3 2 I F w -*-x > 3 7 R N D v + x < 5 9 T H E N<br />
R I N T I N K 4 ; R T 5 8 - I w+X 3 , 2 2 ; " C "<br />
1 3 3 I F w + x > 3 7 A N D U f X < 6 0 T H E N<br />
R I N T A T 5 9 - (W+X 3 , 2 2 ; '* "<br />
1 5 0 L E T q = I N T t ( 1 7 S - 4 0 # y J / S ) :<br />
E T frt = X - Z<br />
1 5 5 I F A T T R ( q , B ) = 5 7 A N D m < 3 2<br />
N D Z > . 5 A N D q > 0 T H E N P R I N T R T q .<br />
« ; " G " : GO T O 8 5 0 : R E M G R R P H I C S G<br />
1 5 6 I F A T T R ( q , K ) > 5 7 A N D » < 3 2 R<br />
ND Z > . 5 A N D q > 0 T H E N P R I N T A T q .<br />
m;"G": B E E P 1 , - 2 5 ; L E T S = 5 + 2 0 0<br />
1 6 0 I F S C R E E N $ ( q , » ? t = A N D m<<br />
3 2 A N D Z > . 5 T H E N P R I N T A T q . m ; "<br />
" ; B E E P . 2 . - 1 0 : L E T 5 = S + 5 0<br />
1 7 0 I F A T T R (r ,33 = 5 7 A N D V < > 0 R<br />
N D X —V < 1 2 T H E N P R I N T I N K 6 ; A T r .<br />
3 ; "G"„- B E E P 1 , - 2 0 : G O T O 8 5 0<br />
1 7 1 I F R T T R f r , 5 3 = 5 7 A N D V < > 0 R<br />
N D X —V < 1 2 T H E N P R I N T I N K 6 ; R T r .<br />
5 ; " G " : B E E P 1 , - 2 0 : GO T O 8 5 0<br />
1 7 3 I F R T T R ( r - 1 . 3 3 > 5 7 R N D V < > 0<br />
R N D X —V < 1 1 T H E N P R I N T I N K 6 ; RT<br />
r - 1 , 3 ; " G " : B E E P 1 , - 2 0 : L E T S = S + 1<br />
0 0 •<br />
1 7 4 I F A T T R ( r - 1 , 5 3 > 5 7 A N D V < > 0<br />
R N D X - V < 1 1 T H E N P R I N T I N K 6;flTT<br />
r -1<br />
3 0<br />
130<br />
5, "G"<br />
8; s ; " "<br />
2 0 0 IF<br />
GO SUB<br />
205 IF<br />
2 3<br />
215 IF<br />
3 303<br />
220 IF<br />
305<br />
230 IF<br />
US 305<br />
235 IF<br />
•JB 550<br />
24 0 NEXT<br />
PRINT INK 0;<br />
• •<br />
245<br />
250 DIM<br />
DIM<br />
X
$: PRINT RT 15,0;if: PRINT<br />
, 3;iS: PRINT RT 17,0;i$<br />
260 DIM i $(17) : PRINT<br />
PRINT RT 19,0; i$<br />
261 DIM 1163; PRINT<br />
$ 263 LET 9=9-1-1: IF 9=8<br />
3 9 0 0 .<br />
265 IP p=l THEN GO TO<br />
268 IF p =0 THEN"CO TO<br />
2 "70 GO TO 4-0<br />
3 0 0 LET Z =X<br />
303 IF INKEYJ= " r " THEN GO TO 4-43<br />
2<br />
306 IF V=0 OR x-v>9 THEN PRINT<br />
INK 0; FLRSH lj PRPER 6;RT 0,0;"<br />
PRESS R ": PRINT PRPER 7;RT 0,9<br />
310<br />
400<br />
4-02<br />
=X<br />
405 IF<br />
44-5 IF<br />
T 0,0;"<br />
SPECTRUM GAME<br />
RT 16 INK 0;RT 2 1 , 3 ;<br />
RT 1 8 , 0 ; z 3 1 5<br />
i ** »<br />
J- /<br />
RT 2 0 , 1 ; i 8 3 0<br />
mc s<br />
THEN GO 8 4 0<br />
3 4 5<br />
6 0 5 8 5 0<br />
7 2 5 354<br />
RETURN<br />
IF Z < . 5 THEN GO TO 450<br />
IF V-0 RND X-Z>4 THEN LET<br />
450 RETURN<br />
500 IF Z < >0<br />
505 RETURN<br />
550 IF V < >0<br />
355 RETURN<br />
600 CLS<br />
X-V>11 THEN LET V =X<br />
X=V THEN PRINT PRPER 7; R<br />
THEN LET Z-.5<br />
THEN* GO TO 305<br />
603 IF g =0 THEN GO TO 780<br />
505 INPUT "Enter Speed U"<br />
510 INPUT "Enter Rngie R"<br />
515 GO TO 40<br />
725 LET U =80 +INT (RNDM0)<br />
730 LET R =25 + INT (RNDF40)<br />
74.0 IF O0 THEN GO TO 4-0<br />
780 CLS<br />
790 BORDER 5: INK 0: PRPER 7<br />
795 DIM I $ (704) : PRINT RT 0,0;<br />
$ 800 PRINT INK 2;<br />
RT 14- , 29 ^<br />
R»T 15,29;<br />
RT 16.29,<br />
RT 17,29;<br />
RT 18,17;<br />
RT 19,17;<br />
RT 20,17;<br />
805 PRINT OUER<br />
RT 14,29;<br />
RT 15,29;<br />
RT 16,29;<br />
RT 17.29;<br />
RT 18 , 17;<br />
RT 19,17:<br />
RT 20,17;<br />
310 PRINT INK<br />
Your rockets destroy the enemy<br />
planes — but your shots missed<br />
the enemy missiles. Jit*<br />
1983 <strong>ZX</strong> COMPUTING AUG'SEPT 1983<br />
U<br />
R<br />
PR IN"<br />
4-00<br />
3 6 0<br />
B";RT 21,5;'<br />
1; INK 4-RT 2 1 , 2<br />
PRINT OUER<br />
"RT 21 23' 1<br />
PRINT RT 21,0;"H"; REM GRflR<br />
H<br />
IF p=l THEN GO TO 605<br />
IF p=0 THEN GO TO 4-0<br />
CLS<br />
INK 1<br />
PRINT FLRSH 1;RT 5,11;"GRME<br />
OUER": PRINT RT 8,4;"You have d<br />
estroyed o n e " ; R T 10,6;"o f your o<br />
afn p lanes"; RT 13, 6; "Your score ;<br />
5 "; FLRSH I; INK 0; PRPER 7;s;"<br />
865 PRINT RT 16,4;"Press to<br />
P l a y a q a i n "<br />
870 FOR d =0 TO 7<br />
374- IF INT (d/2) =d/2<br />
. 5 . 2<br />
876 IF INT (d/2) < > d/2<br />
5 —2 '<br />
THEN BEEP<br />
THEN BEEP<br />
880 IF INK EY $ = "p" THEN GO TO 5<br />
885 NEXT d<br />
890 GO TO 860<br />
900 CLS<br />
910 INK 1<br />
920 PRINT FLRSH 1;RT 3,11;"GRME<br />
OUER": PRINT RT 8,6;"YOU have *<br />
cored "; FLRSH l; INK 1; PRPER 7<br />
; S;<br />
9 2 5 PRINT RT 1 1 , 4 ; " W i t h o u t LOSS<br />
o f a i r c r a f t " ; R T 16,5;"Press
If you run, or are a member of,<br />
a user club which caters for<br />
the Sinclair user, why not get<br />
your group on the map by<br />
writing to us at:<br />
Ctub Corner,<br />
<strong>ZX</strong> Computing,<br />
145 Charing Cross Road,<br />
London WC2H OEE.<br />
All you have to do is to send us<br />
a letter with details of your<br />
club (times of meetings, addresses<br />
of who to contact,<br />
etc) and we'll do the rest. If<br />
you publish a newsletter or<br />
club magazine, we'd very<br />
much like to see that too.<br />
And if you don't see a club<br />
in your area, why not start one<br />
up by writing to <strong>ZX</strong> Computing<br />
and seeing if any like-minded<br />
enthusiasts wish to join you.<br />
National zx users'<br />
Club<br />
Dear <strong>ZX</strong> Computing,<br />
I am writing to announce the<br />
closure of The National <strong>ZX</strong><br />
Users' Club which was founded<br />
by Tim Hartnell over three<br />
years ago.<br />
When Tim started Interface,<br />
there were no local user<br />
groups or specialist <strong>ZX</strong><br />
oriented magazines. But there<br />
comes a point when one must<br />
grow up — when other people<br />
are doing the job you have<br />
been doing. Tim Hartnell and<br />
The National <strong>ZX</strong> Users' Club<br />
gave a lot of help to the<br />
magazine Sinclair User at its inception<br />
and as your readers are<br />
aware, Tim was Editor of <strong>ZX</strong><br />
Computing for the first four<br />
issues.<br />
Those with memberships<br />
still to run are being offered<br />
either a full refund for the<br />
outstanding period, or free<br />
books published by Interface<br />
Publications. On a further<br />
note, Interface Publications<br />
will continue to flourish in the<br />
field of computer-related<br />
books and Tim Hartnell will<br />
continue to write and edit new<br />
titles.<br />
As you know, the membership<br />
of our club has been<br />
strong in the past, over<br />
10,000 members at its peak,<br />
and I would like to take this opportunity<br />
to thank all of them<br />
for their support.<br />
Yours faithfully,<br />
Liz North,<br />
Interface Publications.<br />
Lambeth<br />
Computer<br />
Club<br />
Dear <strong>ZX</strong> Computing<br />
The Lambeth Computer Club<br />
has now been fully organised,<br />
even to the extent of a draft<br />
constitution. Our inaugural<br />
meeting was on Saturday, 30<br />
April, with some 12 members<br />
attending (60% of the<br />
membership). Our first Annual<br />
General Meeting is planned for<br />
Thursday, 15 September, the<br />
venue to be announced.<br />
Will new members please<br />
contact me at the address<br />
below. Your name and address<br />
will be passed as soon as<br />
possible to the Membership<br />
Secretary.<br />
Yours faithfully,<br />
Robert Baker.<br />
54 Brixton Road,<br />
London SW9 6BS.<br />
Llantwit Major<br />
Computer Club<br />
Dear <strong>ZX</strong> Computing<br />
We have, alter three meetings,<br />
already achieved a membership<br />
of some 20 people whose<br />
experience on personal computers<br />
range from elementary<br />
knowledge to quite advanced<br />
ability. Age range of members<br />
is also very varied.<br />
The club meets every Tuesday<br />
evening in the Adult<br />
Education Centre in Llantwit<br />
Major where we have the<br />
facilities of the comprehensive<br />
school's computer equipment.<br />
Members are also encouraged<br />
to bring along their own computers.<br />
The basic objectives of the<br />
club have been defined as<br />
follows:<br />
a) To encourage greater computer<br />
programming skills.<br />
b) To attain greater<br />
understanding of the internal<br />
operation of computers.<br />
c) To develop the use of different<br />
programming languages.<br />
d) To assess the market<br />
availability of both software<br />
and hardware.<br />
e) To foster the advancement<br />
of personal knowledge of computers<br />
and equipment by<br />
association with other interested<br />
computer users.<br />
f) To keep abreast of the state<br />
of the art.<br />
We hope to supplement these<br />
objectives by holding occasional<br />
lectures by professional<br />
computer users and arranging<br />
visits to local establishments<br />
who are involved in the<br />
manufacture and use of computers.<br />
Yours faithfully,<br />
Douglas Mountain<br />
1 6 Denbigh Drive,<br />
Llantwit Major,<br />
South Glamorgan,<br />
CF6 9GQ.<br />
Sutton Library<br />
Computer Club<br />
Dear <strong>ZX</strong> Computing,<br />
I am writing with fuller details<br />
of the club we formed earlier<br />
this year which might be of interest<br />
to your readers.<br />
We meet on the first Friday<br />
of each month between 6.15<br />
and 10pm and on the third<br />
Tuesday of each month between<br />
8.15 and 10pm at the<br />
Sutton Central Library, St<br />
Nicholas Way, Sutton, Surrey.<br />
Subscriptions are £6 for<br />
adults, and £4 for students<br />
and pensioners. Our membership<br />
is currently around 1 00.<br />
New members are always<br />
welcome whether experienced<br />
or new to computers. No<br />
machine is necessary, and in-<br />
deed about 25% of our<br />
membership do not own a<br />
computer.<br />
We have a programme for<br />
1983 which includes everything<br />
from an introduction for<br />
beginners to machine code and<br />
Prestel editing. In addition to<br />
the formal groups at each<br />
meeting, members are encouraged<br />
to bring their equipment<br />
along to demonstrate<br />
and exchange ideas and help<br />
solve each other's computing<br />
problems.<br />
For further information contact<br />
me at the address below<br />
or 'phone Jennifer Woeller at<br />
the Sutton Library on 01-661<br />
5031.<br />
Your faithfully,<br />
David Wilkins,<br />
22 Chestnut Court,<br />
Mulgrave Road,<br />
Sutton,<br />
Surrey SM2 6LR.<br />
The Edinburgh<br />
Home Computing<br />
Club<br />
Dear <strong>ZX</strong> Computing,<br />
The Edinburgh Home Computing<br />
Club (formerly the Edinburgh<br />
<strong>ZX</strong> Users Club) meets<br />
three times a month at the<br />
Claremont Hotel, Edinburgh on<br />
the second, third and fourth<br />
Wednesday of each month.<br />
The club is open to all those interested<br />
in the uses of micros<br />
and we also produce a bimonthly<br />
newsletter with articles,<br />
software and hardware<br />
reviews of interest to the<br />
members.<br />
Anyone interested should<br />
contact John Pamer on<br />
031-661 3183 after 6pm,<br />
myself at the address below or<br />
just come along to one of the<br />
meetings.<br />
Yours faithfully,<br />
Ian Robertson,<br />
Secretary,<br />
71 Oxgangs Terrace,<br />
Edinburgh EH 13 9BZ.<br />
Tel: 031-441 2361<br />
118 <strong>ZX</strong> COMPUTING AUG. SEPT 1983
mrortcouco c<br />
/ i / / ' . / V . O / n d \ i Z<br />
MICROSPHERE COMPUTER SERVICES LTD<br />
72 ROSEBERY ROAD LOttDOH HIO 21, A<br />
TEl.EPHOriE 01-883 9411<br />
EVOLUTION (48K Spectrum)<br />
Can you trace the course of evolution from the primordial soup to man. Keeping<br />
a balanced world and surviving the odd disaster as ycu 90''<br />
Should be easy after ail it's been done before 1<br />
Only £6.95<br />
OMNICALC I48h Spectrum)<br />
The best Spectrum spreadsheet you can buy Written in machine code to be<br />
taster to give you more spacefor data, and to allow more features to be included<br />
it is guaranteed uncrashabie<br />
-If more programs shared the Quality of OMWCALC. then we might see more<br />
Spectrums m offices " Home Computing Weekly 3/5/83<br />
-it is ideal lor someone whohasiust found the spreadsheet concept, but it is also<br />
a very powerful tool lor anyone who has used one p/evrous'y "<br />
Sinclair User June 1983<br />
Complete with comprehensive manual £9.95<br />
<strong>ZX</strong>StOEPRINT Spectrum S <strong>ZX</strong>8T versions)<br />
Use <strong>ZX</strong> Sideprmt to print sideways giving you 80/132 etc characters pei line<br />
(Stale version reqd) £4.95<br />
CREVASSE A HOTFOOT iany Spectrum)<br />
Can you make it across the ice cap whilst chasms open and close all around 9<br />
Or. hetp the rabbit get to fields lull ol carrots - but remember 1 the plumper the<br />
rabbit the greater Ihe danger<br />
2 original games tor only £4 .95<br />
NEW! THE TRAIN GAME (any Spectrum! NEW!<br />
First there were model railways, then there were computers Now Microspheie<br />
gives you both in one<br />
Featuring passenger, goods A express trams tunnels, viaducts, points, stations,<br />
turntable bonus games collisions, derailments, irate passengers, and every<br />
thing else you expect from a maior railway'<br />
Two track layouts on each cassette Superb value for money<br />
Only £5.95<br />
Battle of Britain<br />
A strategic Wargame for the 48K Spectrum<br />
One day in summer. 1940 Reports arecommg m of enemy bomber<br />
squadrons crossing the English coast, target unknown<br />
How are you to deploy the nine tighter squadrons under your<br />
command to intercept the incoming threat 1<br />
British and enemy squadron movements are plotted on a superb<br />
high resolution screen map of south east England with communications<br />
signals presented both visually and in morse code<br />
Features variable difficulty levels, lull control of squadron<br />
movements, randomly selected targets and bomber routes (or<br />
each game, intelligence reports, refuelling etc.<br />
A tense game of strategy for one player<br />
48K Strategic<br />
Wargame<br />
only £5.95<br />
(inc. p&p)<br />
73 The Broadway, Grantchester. Cambridge CB3 9NQ<br />
New from ...<br />
COSMIC RAIDERS (16K) £5,95<br />
VOu — (he only remaining pilot of the *Taith<br />
Of Ipnrp fieri" — have ir* daunting talk ol<br />
defending Ihc Earth from attack by alien being*<br />
that have already wt op a haw of their own on earth.<br />
* Hnrlni Scanner display In hi-tes *<br />
1 Full colour and sound affects 4<br />
• T torn the author ol Spectrum 'Scramble' *<br />
• 100 S machine code •<br />
MINES OF SATURN and<br />
RETURN TO EARTH £5,95<br />
Miin ol Saturn While piloting a routine orbit of<br />
Saturn, you are caught up in a radiation storm<br />
which loicei you into the giant planet's rings. Your<br />
energy drained, you make a forced landing on<br />
the planet's surlace. luckily you Clashed near an<br />
abandoned mining base and you set off in search ol<br />
some di-liihium crystals to refuel your stranded<br />
space ship. Can you do it?<br />
Return to Farth Having escaped from your previous<br />
dilemmas, you leach faith Station 1, but tail<br />
to make radio contact. You effect a safe if<br />
harrowing manual ducking. On entry you find II<br />
deserted, and the control room destroyed. You must<br />
explore the station and find some way to alert Earth<br />
Of your predicament, but beware, many ol the<br />
rooms are identical, there Is extensive damage, and<br />
signs of alien mtrudets-<br />
Software<br />
SPACE ZOMBIES (16K) £5,95<br />
Shooting through ipvr you are vntuslvd by a<br />
Heel ol Spare Zombies flying at you in formal ion.<br />
swooping and diving at you. Destroy them, it you<br />
ran: But in destroying them, you attract more to<br />
I've area, arid Ihc (jarnr gels progressively hardri.<br />
* full screen hi-res graphics 1<br />
• 1 or 2 players • loystick option •<br />
•lull sound and colour *<br />
•llurr playing speeds •<br />
(16K) Text Adventure<br />
Graphic Advi MAD MARTHA £6,95<br />
Name<br />
Jv<br />
Poor little Henry is Ihe hen-pecked hero of this<br />
domestic tale. One night he can lake no more. He<br />
steals his wages (torn his wile's purse, weeks out<br />
ol the house bring careful not to wake the<br />
baby or trip over the cat, and heads lor the bnqhl<br />
lights to have some lun. Trouble is he runs out ol<br />
money. His only way to (else some Cash is to<br />
gamble his few remaining pound* on Ihe iparming<br />
wheel ol the roulette table, lust as Henry is getting<br />
into his evening Ms wile — Mud Martha —<br />
has noticed his absence. Realising Henry has<br />
absconded with Ihe housekeeping she sets out alter<br />
him with an axe. Guess what part you play in<br />
this happy tale'' Thai's IHjht, you're Heniy. Watch<br />
out lot that axe!<br />
JAccess or Visa Card<br />
•AHClAtCAMD<br />
v/SA<br />
holders^<br />
please telephone (0344) 2 7317 (9am -6pm.t<br />
Please add 40 p prr order for post A pricking<br />
Address<br />
Cosmic Raiders Space Zombies<br />
Mines of Saturn Return to Carth Mad Martha<br />
MIKKOIJ N, Opt A), 2i Agar Crescent, flrackreil. Berkshire, RG1» JHlK<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 119
<strong>ZX</strong>81 CAME<br />
Motor marines<br />
Enter the Crand<br />
Prix in this<br />
program for<br />
your <strong>ZX</strong>81<br />
written for us by<br />
Keith Ditchburn<br />
of Danby.<br />
You are a racing driver in the<br />
Grand Prix and you must steer<br />
your car using the '5' and '8'<br />
keys to move left and right<br />
respectively.<br />
The machine code takes up<br />
to 50 bytes and should be<br />
located in a REM statement<br />
with the starting address<br />
16514. The routine you'll<br />
need to POKE this into your<br />
computer follows below:<br />
1 REM 50 Es<br />
10LET A = 16514<br />
20 INPUT N<br />
30 PRINT N;",";<br />
35 POKE A,N<br />
40 LET A = A + 1<br />
50 GOTO 20<br />
Once this program has been<br />
entered into the computer you<br />
should type in the following<br />
numbers. (The commas<br />
separating the numbers represent<br />
Newline.I<br />
Okay, you're on your own<br />
now - happy racing, and try<br />
and keep out of the fast lane!<br />
42, 12, 64, 229, 17, 33, 0, 25, 209, 1, 214, 2, 237,<br />
176, 42, 12, 64. 35, 6, 15. 35, 5, 194, 150, 64. 14,<br />
126, 6, 16, 17, 33, 0, 25, 5, 194, 162, 64, 6, 5, 5, 35,<br />
1 1 3, 194, 169, 64, 201,<br />
120 <strong>ZX</strong> COMPUTING AUG/SEPT 1983
1 REM E£RND FAST > 5 ; SGN • CHR<br />
$ • GOSUB ISE£: R N DTgTm 71 TftB fiRND fc*<br />
OS :*TftB 3RND/®1 7?TfiB JRMOTAN T<br />
RN EEEEEEEEEEEEEEEEEEE.EEE.EEEEEEE<br />
EEEEEEEEEEEEEEEEEEEEeEEEEEEEEEEE<br />
o<br />
4-<br />
9<br />
lO<br />
3C<br />
8G<br />
6 3 9 7<br />
85<br />
ao<br />
DIM R$'12.10)<br />
DIM ft
Spectrum<br />
streams<br />
Mike Lord, author of<br />
Exploring Spectrum BASIC,<br />
shows you how to make<br />
use of some of the more<br />
inaccessible commands on<br />
the spectrum.<br />
Most of the software needed to<br />
handle the promised Spectrum<br />
RS232 Network and Microdrive<br />
will be in a ROM in the new interface.<br />
But, the BASIC ROM in the<br />
Spectrum itself does contain<br />
some undocumented functions<br />
which — although intended for<br />
use with the new peripherals —<br />
can be used without them. They<br />
control the way input to a program,<br />
and output from it, are<br />
handled.<br />
BASiCally speaking<br />
Within a BASIC program, the<br />
Spectrum manual says that we<br />
can use:<br />
PRINT to output to the upper<br />
part of the TV screen.<br />
LPRINT to output to the <strong>ZX</strong><br />
Printer.<br />
INPUT to output to the lower<br />
part of the TV screen, and also<br />
to input from the keyboard.<br />
But experimentation has shown<br />
that there is another form of<br />
these commands:<br />
PRINT 0 n;<br />
LPRINT 0n\<br />
INPUT # n;<br />
where 'n' is any valid numeric<br />
expression.<br />
Normally, giving 'n' any<br />
value other than 0, 1, 2 or 3 wilt<br />
result in the error message:<br />
INVALID STREAM<br />
So, it seems logical to call 'n' the<br />
'Stream number'. The four valid<br />
values give the following<br />
results:<br />
0/1 These values are the<br />
same; they cause output<br />
to be printed on the lower<br />
SPECTRUM UTILITY<br />
half of the screen,<br />
whether PRINT, LPRINT<br />
or INPUT is used, and<br />
they allow input from the<br />
keyboard with an INPUT<br />
statement.<br />
This value causes output<br />
to the upper part of the<br />
screen, regardless of<br />
whether the keyword used<br />
is PRINT, LPRINT or<br />
INPUT. But, any attempt<br />
to input a value, as for example<br />
with:<br />
INPUT 02;" Enter a<br />
number " ;A<br />
will result in the error<br />
message:<br />
INVALID I/O DEVICE<br />
This value is similar to 2,<br />
except that output is to<br />
the <strong>ZX</strong> Printer rather than<br />
to the screen.<br />
One use for these "Stream<br />
numbers' is to give the user of a<br />
program the choice of output to<br />
the screen or to the printer:<br />
100 INPUT " Enter 2 for display,<br />
3 for hard copy " ;strm<br />
200 PRINT #strm;" Message<br />
1 "<br />
300 PRINT #strm;" Message<br />
More deviously, we can use<br />
PRINT #0; or PRINT #1; to<br />
display a message on the bottom<br />
part of the screen, in the<br />
same way that INPUT normally<br />
does but without expecting an<br />
input from the user. For<br />
example:<br />
PRINT 00;" 24th line" : PAUSE<br />
0<br />
The PAUSE 0 statement here is<br />
to prevent the message being<br />
over-written by the Spectrum's<br />
OK report when it has finished<br />
executing the PRINT command<br />
in this little demonstration.<br />
Having got a message onto<br />
the bottom line of the screen, it<br />
can be deleted by an INPUT<br />
statement, which always clears<br />
the lower part of the display.<br />
And, if you don't actually want<br />
to INPUT anything at that stage<br />
in the program, then you can just<br />
use the strange looking command:<br />
INPUT<br />
which clears the bottom of the<br />
screen, prints nothing, then<br />
moves immediately on to the<br />
next statement in your program.<br />
To see this, try:<br />
10 FOR A = 1 TO 10<br />
20 PRINT #0;A<br />
30 PAUSE 25<br />
40 INPUT " "<br />
50 NEXT A<br />
One variant which can often be<br />
useful is:<br />
PRINT #0;" Press any key to<br />
continue" : PAUSE 0 : INPUT<br />
If you don't clear the bottom<br />
part of the screen, then subsequent<br />
PRINT 00 statements will<br />
print on successive lines, scrolling<br />
the bottom part of the screen<br />
up to make room, as can be seen<br />
from:<br />
10 FOR A = 0 TO 21 : PRINT A :<br />
NEXT A<br />
20 FOR A = 1 TO 20 :<br />
PRINT #0;A : NEXT A<br />
But you can overcome this by including<br />
an AT function in the<br />
PRINT MO command:<br />
10 FOR A = 1 TO 100<br />
20 PRINT 40; AT 0,0;A<br />
30 NEXT A<br />
If you try this you will see that it<br />
prints on the 23rd line which is,<br />
of course, normally the top line<br />
of the lower part of the display.<br />
Changing line 20 to:<br />
20 PRINT #0; AT 1,0:A<br />
and this will make it print on the<br />
24th line. If the AT line number<br />
is greater than one, then the bottom<br />
part of the screen will be expanded,<br />
scrolling the top part up<br />
»o make room.<br />
Open more<br />
streams<br />
As well as 0 to 3, you can also<br />
use stream numbers 4 to 1 5, as<br />
long as you tell the Spectrum<br />
about it first. The command for<br />
doing this is:<br />
OPEN *n , c$<br />
where 'n' is the stream number<br />
(4 15) and 'c$' is:<br />
"P" For output to the <strong>ZX</strong><br />
Printer.<br />
"S" For output to the upper<br />
part of the screen.<br />
"K" For output to the lower<br />
part of the screen and input<br />
from the keyboard.<br />
( OPEN 0 is below key 4.) So, if<br />
you include:<br />
OPEN #1 5," P"<br />
in a program, then any subsequent<br />
PRINT #15 (or LPRINT<br />
01 5 or INPUT 01 5) statements<br />
will output to the printer.<br />
The CLOSE #n command<br />
(see below key 51 does the<br />
opposite — cancelling any OPEN<br />
0n streams — although it can't<br />
be used to close the four predefined<br />
streams numbered 0 to<br />
3.<br />
Presumably the extra ROM<br />
software provided with the<br />
RS232/Net/Microdrive interface<br />
will let you use the OPEN #<br />
command to set up channels for<br />
communicating with the I/O<br />
devices and with Microdrive<br />
files — we shall have to wait and<br />
see!<br />
in machine code<br />
Things get even more interesting<br />
when you look at how<br />
the Spectrum handles the ' 0'<br />
commands. The Spectrum<br />
manual gives a few clues about<br />
how they work. Within the<br />
122 <strong>ZX</strong> COMPUTING AUG/SEPT 1983
system variables area there<br />
is a block of 38 bytes<br />
(23568-23605) called<br />
'STRMS' which contains the<br />
Addresses of channels attached<br />
to streams'. Then at<br />
23631/2 the system variable<br />
CHANS is said to hold the 'Address<br />
of Channel Data', and this<br />
is followed at locations<br />
23633/4 by CH.RCHL, the<br />
'Address of information currently<br />
being 'Address of Channel<br />
Data', and this is followed at<br />
locations 23633/4 by<br />
CHURCHL, the 'Address of<br />
information currently being<br />
used for input and output'.<br />
Also, the memory map in<br />
chapter 24 of the manual<br />
shows an area denoted as<br />
'Channel Information'. CHANS<br />
holds the address of the start<br />
of this area; the end is<br />
signalled by a byte of value 80<br />
Hex.<br />
After some investigations into<br />
the contents of these RAM<br />
locations and into the workings<br />
of the Spectrum ROM, the<br />
following picture emerged.<br />
The 38 bytes of STRMS consist<br />
of 1 9 two-byte entries. On<br />
power-up or after a NEW command,<br />
they are set to the values<br />
:<br />
shown in Table 1. The first three<br />
entries are used for other ROM<br />
<strong>ZX</strong><br />
SPECTRUM UTILITY<br />
functions, but the remaining 1 6<br />
two-byte entries correspond to<br />
stream numbers 0 to 15. The<br />
OPEN M and CLOSE #<br />
statements mentioned earlier<br />
change the values in this table.<br />
For example, OPEN #4,"S"<br />
changes the contents of location<br />
23582 to 6.<br />
These values turn out to be<br />
pointers, so that the value in<br />
system variable CHANSplusthe<br />
value from the STRMS table<br />
minus one, gives the address of<br />
one of the entries in the Channel<br />
Information area of RAM. Each<br />
entry in this area is five bytes<br />
long, and consists of two twobyte<br />
addresses followed by a<br />
single byte containing the code<br />
for one of the characters, "K",<br />
"S", *R" or "P". (Note that<br />
"K", "S" and "P" are the letters<br />
allowed in an OPEN #statement.)<br />
Without the RS232/Net/<br />
Microdrive interface fitted, the<br />
Channel Information area is 21<br />
bytes long, and contains four<br />
blocks as shown in Table 2. The<br />
first address in each block is the<br />
starting address of a ROM<br />
routine used to output a<br />
character. The second address<br />
is either that of a ROM routine to<br />
input a character from the<br />
keyboard or of a routine which<br />
gives the 'INVALID I/O DEVICE'<br />
error message.<br />
in comparison<br />
By comparing Tables 1 and 2,<br />
we see that the first pair of addresses<br />
in the Channel Information<br />
area are used by streams '0'<br />
and '1', the third pair by '2' and<br />
the fourth pair by '3'.<br />
In each case, the Spectrum<br />
looks up the address of the<br />
appropriate I/O routine in the<br />
table then calls it with the<br />
character to be output in the<br />
Z80's A register. What this<br />
means is that if, say, we wanted<br />
to drive a special, non-<strong>ZX</strong>,<br />
printer, then we could write a<br />
machine code routine to handle<br />
it, and replace the first two<br />
bytes of the fourth block in the<br />
Channel Information area by the<br />
starting address of the new<br />
routine. Any LPRINT, LLIST or<br />
PRINT #3 commands would<br />
then automatically use the new<br />
printer drive routine! If you are<br />
actually going to do this, then<br />
note that your machine code<br />
routine must be able to cope<br />
with the print control codes (6 to<br />
23), the keyword codes (1 65 to<br />
255) and graphics character<br />
codes, as well as with 'normal'<br />
characters.<br />
You will see from Table 2<br />
that the same ROM routine<br />
Table 1 : The contents of STRMS.<br />
(starting at OF94 Hex) is used to<br />
print to either half of the display<br />
and also to the <strong>ZX</strong> Printer. The<br />
routine decides where to send<br />
the output by looking at bit one<br />
of FLAGS (2361 1) which is '0'<br />
for output to the screen and '1'<br />
for output to the printer, and<br />
also at bit zero of TVFLAG<br />
(2361 2) which is '0' when the<br />
output is to the top part of the<br />
screen and ' 1' for output to the<br />
lower part.<br />
via RST10<br />
Machine code programmers will<br />
be used to using RST1 0 to output<br />
the character whose code is<br />
in the A register. What RST10<br />
does, in fact, is to take the contents<br />
of the system variable,<br />
CHURCHL. which will be the address<br />
of one of the entries in the<br />
Channel Information table, and<br />
then jump to the address held at<br />
that entry. Again, FLAGS and<br />
TVFLAG determine where the<br />
output goes.<br />
You can set these flags up by<br />
calling the ROM routine at 1 601<br />
Hex with the A register containing<br />
*0' for output to the lower<br />
part of the screen,' 2' for the top<br />
part of the screen or '3' to select<br />
the <strong>ZX</strong> Printer.<br />
Location Contents Stream<br />
23568 1<br />
23570 6<br />
23572 11<br />
23574 1 0<br />
23576 1 1<br />
23578 6 2<br />
23580 16 3<br />
All other locations from 23568 to 23605 contain zeros.<br />
Table 2. The Channel Information area of RAM<br />
Contents of the 21 bytes, in Hex.<br />
F4<br />
09<br />
Address of PRINT routine.<br />
AB Address of routine to get character from keyboard.<br />
10<br />
4B Letter" K".<br />
F4<br />
09<br />
Address of PRINT routine.<br />
C4<br />
15<br />
53<br />
Address of 'INVALID I/O DEV' error routine.<br />
Letter " S".<br />
81<br />
OF<br />
Address of routine to insert character into RAM.<br />
C4<br />
15<br />
52<br />
Address of 'INVALID I/O DEV' error routine.<br />
Letter "R".<br />
F4<br />
09<br />
Address of PRINT routine.<br />
C4<br />
15<br />
50<br />
Address of 'INVALID I/O DEV' error routine.<br />
Letter " P".<br />
80 End of Channel Information.<br />
COMPUTING AUG/SEPT 1983 123
124<br />
DAZRAM<br />
adds COLOUR. SOUND A/D JOYSTICKS. FAST GRAPHICS and more lo<br />
your <strong>ZX</strong>81 by linking it lo a commercially available computer videogame<br />
PLUS yojr chance lo wm some ol our C1000 in cash prizes tor your<br />
programs II you own one ol the videogames listed below then all this can be<br />
yours tor £49.95 II you do no! own one then take advaniage ot our amazing<br />
launch offer<br />
For the first 1000 customers Buy a DATABASE COMPUTER VIDEO GAME<br />
from us ana we wrll give you a DAZRAM FREE1" 111<br />
PLUS a games cartridge ol either boxing or horse racing to demonstrate<br />
animation (Please stale preference when ordering )<br />
Zr<br />
» - V F<br />
'vi.<br />
DATABASE<br />
2 handsels — spnng return |oysticks A/D convener in console 14 pushbuttons<br />
on each 8 programmable colours Sound through TV. speaker<br />
Tone while noise generator, built in explosion sound Obicct orientated<br />
graphics 26 plug-m ROM cartridges available now 1"" Including Munch and<br />
Crunch and Leapfrog<br />
DAZRAM<br />
4K Slate RAM 4K Monitor ROM Write directly m HEX Cursor controlled<br />
editor Machine code leaching manual, with special help program<br />
Displays 128 bytes of RAM<br />
DAZRAM IS THE ENTERTAINING WAY TO LEARN MACHINE CODE<br />
DAZRAM works by having a 4K static RAM which can be software switched<br />
from the <strong>ZX</strong>81 to the video game The unit plugs onto Ihe <strong>ZX</strong>81 expansion<br />
sloi leaving it free to add on printers, rampacks etc The other end plugs into<br />
the cartridge slot of the video game either d'reclty or via a cartridge adaptor<br />
(palent pending) Programs are written in 2650 machine code on the <strong>ZX</strong>B1<br />
keyboard using the monitor ROM in DAZRAM DAZRAM has a manual to<br />
teach you assembler and machine code programming and all the information<br />
thai you need to program the game The ROM also contains ready<br />
written subroutines that you can append and patch into your own games<br />
Also HELP which allows you lo change shapes, colours, sizes and<br />
positions before you really undersland Ihe programming. PLUS utilities like<br />
binary to He* conversion, relative offset caicuiaiion and debugging routines<br />
Send cheque or POs to Tick<br />
Vollmace Ltd.. Park Drive. Batdock, Herts. Tel: (0426) 694410 Box<br />
Please send me<br />
One Database Computer Video Game plus<br />
Cartridge and Free DAZRAM<br />
One DAZRAM<br />
One Cartridge Adaptor I "or wh ch model)<br />
£79 95<br />
£49.95<br />
£4.50<br />
Ca'V " • A !h::I: r ar aval 'or ACETRONIC MPU 1000 and 2000;<br />
RADOFIN 1292 & 1392; PRINZTRONIC VC 6000; INTERTON VC4000<br />
Prices are inclusive ol VAT - please add for packing and posting Database<br />
£4.50. Dazram £1.00 cartridge adaptor 50p Send stamped addressed<br />
envelope for more details<br />
C.R.L. Dept<br />
<strong>ZX</strong>, 140 Whitechapel Road,<br />
London E1. Tel: 01-247 9004<br />
TEST MATCH — (or the 48K Spectrum only £5.95<br />
This is the no. 1 hit ot the summer and is a 30 Test Maich Crickel<br />
simulation This cassette contains 2 programs — the 1 st a full 5day<br />
match and the 2nd a selection ol one day tesis, tutl scoreboard<br />
and definable teams. The game already contains England &<br />
Australian teams and uses Ihe graphics capabilities ot the<br />
Spectrum lo the full<br />
ALIEN MAZE — (or the 48K Spectrum only £5.95<br />
Against the clock you must decode the alien riddle that will defuse<br />
Ihe earth shaltenng bomb in Ihe second 3D Maze At lasl there's a<br />
programme where Ihe 3 dimensional graphics are not the point of<br />
ihe game. Keeping your head and remembering Ihe code and<br />
where you are is a challenge (or the finest mind<br />
GALACTIC PATROL — Spectrum and 16K <strong>ZX</strong>81 only £5.95<br />
A fast machine code, arcade slyle, Star Trek programme with<br />
phases, torpedoes, star bases, shields and 4-types of aliens,<br />
meteors, damage control and repair and vector (light Stunning<br />
graphics are enabled by superb machine code and there are<br />
versions lor both machines on tape<br />
GOLF — for any 48K Spectrum only £5.95<br />
Amazing 30 graphics on a memory mapped course, this<br />
programme has over 250 user definable graphics to produce a<br />
startlmgly realistic simulation You have a seieclion of 15 clubs and<br />
a caddy with a special blow-up of a green. The graphics have to be<br />
seen lo be believed You'll wish you had a swing as good as Ihe<br />
cartoon golfers There's even a 19th hole<br />
DERBY DAY — (or the 48K Spectrum only £5.95<br />
Gambling on any horse in the field, up to 5 players can lay bets wiih<br />
Honesl Clive Spectrum the bookmaker. Will Clive keep thai smile?<br />
Watch the race begin as the tape tills and marvel at the amazingly<br />
realistic 3D animation as the riders jockey for position See the<br />
horses and riders in full fhghi as (hey pass Spectators and into the<br />
home straight past the stands. Hold your breath at the slow motion<br />
finish Sound and colour is used 10 its fullest in this 44K ol superb<br />
programming, Not recommended for compulsive gamblers<br />
RESCUE — for the 48K Spectrum only £5.95<br />
How can we summarise in a shori ad. an adventure game thai<br />
needs a Special Program to detail its Rules 1 VERY simply, you musl<br />
find the Map and Radio Men plot your route and monitor patrols as<br />
they scour the 40+ locations you are travelling through. II you have<br />
the right equipment you can cross into Secrel Territory in search of<br />
the Castle and Ihe imprisoned Princess II you lind it and gam<br />
entrance there are many trails and rests It you lind Ihe Princess<br />
you musl stilt return lo base wilh her Utilises all the Spectrums<br />
facilities and lakes hours to play.<br />
JACKPOT — (or the 48K Spectrum only £4.95<br />
A complete simulation ol a popular fruit machine, using definable<br />
graphics to ihe fullest ll contains a complete introduction to the<br />
rules of ils HOLD. NUDGE. GAMBLE and FEATURE BOX with<br />
animated demo Memory mapped reels, simultaneous revolution,<br />
staggered stop, animated bet and payou!, payout board and<br />
realistic sound effects recreate the original A musl and a wallei<br />
saver lor any fruit machine bull<br />
Alt prices include VAT & P&P Dealer Enquiries Welcome<br />
Selected lines available at John Menzies, W.H. Smith & Boots.<br />
PLEASE SEND ME THE GAMES AS TlQKED<br />
TEST MATCH • GOLF • ALIEN MAZE •<br />
DERBY DAY • GALACTIC PATROL • RESCUE •<br />
NAME<br />
ADDRESS<br />
TEL NO:<br />
JACKPOT •<br />
PLEASE MAKE CHEOUES/PO PAYABLE TO<br />
COMPUTER RENTALS LTD.,<br />
Dept <strong>ZX</strong>, 140 Whitechapel Road, London E1.<br />
TEL: 01-247 9004<br />
"CUT OUT AND SEND WITH ORDER<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983
Britain's Biggest Magazine<br />
For The Sinclair user<br />
sazaaEnnnB<br />
Make sure you get every issue of <strong>ZX</strong><br />
Computing — Now bi-monthly!<br />
Just £12.10 will ensure the next six issues<br />
will be lovingly wrapped and posted to<br />
you. Just fill in the form below, cut it out<br />
and send it with your cheque or postal order<br />
(made payable to ASP Ltd) to:-<br />
<strong>ZX</strong> Computing Subscriptions,<br />
513 London Road,<br />
Thornton Heath,<br />
Surrey CR4 6AR.<br />
Alternatively you can pay with your Access or Barclaycard<br />
in which case simply fill in your card number, sign the<br />
form and send it off. Do NOT send your card!<br />
Make the most of your <strong>ZX</strong> computer with <strong>ZX</strong> Computing<br />
Now bi-monthly!<br />
r<br />
Subscription Order Form<br />
Cut out and SEND TO:<br />
<strong>ZX</strong> COMPUTING Subscriptions,<br />
513, London Road,<br />
Thornton Heath,<br />
Surrey CR4 6AR.<br />
Please commence my subscription lo 2X Computing<br />
with the very next issue.<br />
SUBSCRIPTION<br />
RATES<br />
(tick G as<br />
appropriate)<br />
£ 1 2.10 for six issues I I<br />
UK<br />
1— 1<br />
£ 13.60 for six issues I I<br />
overseas surface mail >—'<br />
£24.40 for six issues j j<br />
overseas airmail '—'<br />
t am enclosing my (delete as necessaryI<br />
cheque/Postal Order/International Money<br />
Order tor C<br />
Imade payable lo ASP Ltd!<br />
OR<br />
Debit my Access/Bardaycard'<br />
('delete os necessaryI<br />
I I<br />
Please use BLOCK CAPITALS and include post codes.<br />
NAME (Mr/Mrs/Miss)<br />
ADDRESS<br />
Signature.<br />
Date<br />
POSTCODE<br />
983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 125
SPECTRUM DOMESTIC<br />
trainer<br />
use your Spectrum to learn the Morse<br />
code with this program written for us<br />
by RJ Gilbert of Bathgate, west Lothian.<br />
The program itself is a fairly<br />
straightforward listing being<br />
very user friendly and menu<br />
driven. In the test mode, the instructions<br />
for operation are<br />
displayed and a Morse character<br />
is BEEPed. It is then up to the<br />
user to INPUT a letter. Should<br />
126<br />
you not provide the correct letter,<br />
you will be informed. You<br />
are given three opportunities to<br />
give the correct answer, after<br />
which the correct letter is<br />
displayed along with its relevant<br />
dots and dashes, and the letter is<br />
BEEPed in Morse code again.<br />
A load of code<br />
Mr Gilbert has used a number of<br />
useful POKEs in this program,<br />
some of which were suggested<br />
by Tim Hartnell in an article in<br />
the August/September issue of<br />
<strong>ZX</strong> Computing, page 1 20. How-<br />
ever, for the benefit of those<br />
who did not manage to catch the<br />
article, here is a brief explana<br />
tion of these POKEs:<br />
POKE 23609,X - This gives<br />
the keyboard click varying duration.<br />
When X = 0, you hear the<br />
standard click. However, the<br />
value of X can be between 0 and<br />
255, but when numbers greater<br />
than 1 0 are used, even though<br />
the feedback bleep is more<br />
noticeable, there is also a noticeable<br />
difference in the speed of<br />
the auto-repeat facility. This can<br />
be frustrating when editing long<br />
program lines. It also does not<br />
work with INKEY$.<br />
POKE 23658,X - When this<br />
location is POKEd with a zero, it<br />
disengages the Caps Shift lock.<br />
When POKEd with an eight, it<br />
engages the Caps Shift lock.<br />
This can be very convenient as it<br />
saves checking for capital or<br />
lower case letters when a user is<br />
INPUTing information to a program.<br />
POKE 23692, >1 - This will<br />
ensure that the program will not<br />
stop with the message,<br />
'Scroll? In this case, the PRIN-<br />
Ting is started at co-ordinates<br />
21,0 which would normally present<br />
you with that smashing little<br />
five letter word. Try omitting<br />
the POKE 23692 lines and have<br />
a look what happens!<br />
In the FOR b NEXT b loop, i$ is<br />
attacked at the first letter and is<br />
turned into its Morse equivalent<br />
by READing the DATA the requisite<br />
number of times as set in<br />
line 95.<br />
Once you get used to the program,<br />
the PAUSE times can be<br />
easily changed if you begin to<br />
find them a bit slow. Ex-<strong>ZX</strong>81<br />
users who are dubious of utilising<br />
the PAUSE instruction due to<br />
the twitching screen syndrome<br />
need have no fears.<br />
<strong>ZX</strong> COMPUTING AUG. SEPT 1983
1 REM Ho<br />
cr<br />
POKE 2<br />
10 DIM JT:$<br />
1 CT DIH 1 3<br />
INPUT "PITCH",P<br />
0 5 INPUT "SPEED", S<br />
35 LET H-3/1O0:<br />
LE T =Sy300<br />
4-0 POKE 2 3653 , -3<br />
4-5 INPUT<br />
-r _-r- cr<br />
T : 1 ST","N =<br />
ENTER = re<br />
peat "i LINE<br />
±r h j = J HEN GO TO TO<br />
§5 IF H $ ="X" THEN GO TO SO<br />
SO IF = THEN GO TO 3O0<br />
65 INPUT "ENTER Letter or Word<br />
: , LINE i $<br />
TO POKE 23592,2<br />
75 PRINT RT £1,0; "<br />
11<br />
30<br />
BS<br />
FOR b = 1 TO LEN i $<br />
IF i $ t b> =:"O" THEN • i<br />
LET = "<br />
90<br />
95<br />
100<br />
105<br />
HO<br />
115<br />
120<br />
125<br />
130<br />
150<br />
IF i $ i b> =" " THEN GO TO 4-0<br />
FOR r =1 TO (CODE i $ i b ) -61)<br />
RERD m $: NEXT r<br />
RESTORE<br />
PRINT TO ?<br />
POKE £-3692,2<br />
GO SUB 20O<br />
NEXT b<br />
GO TO 40<br />
DRTH " F I . , " B - . . . " , " C - . " j<br />
•• T " l •• •• i. ... '<br />
* h 1 _ " N — . " , "O ' " K , - "P . - , . "iD--'<br />
>• r, • • *' i< - •> •• T « "II II III :<br />
t " • — • j • • t ' — i U-- • • — i V i<br />
<strong>ZX</strong> COMPUTING AUG/SEPT 1983<br />
ft 3<br />
A ><br />
_ " "I I •• •> v<br />
,, * W • t A — . . —<br />
»i •»<br />
J Y- », "21 — "<br />
200 FOR N=2 TO S<br />
210 IF m $ (n) ='•-•• THEN BEEP H , P<br />
£££ I F s"." THEN BEEP T , p<br />
230 NEXT N ' ' ^<br />
RETURN<br />
300 CLS : PRINT "I will 9IVP<br />
® ? r ? e l e t t e r a n d I w a n t y o G<br />
o 11 i i me w h a t i t i n 3 a t *<br />
Press ENTER<br />
vO escape : PRUSE 100<br />
305 LET c<br />
310 rOP r=i TO ((RND*26)+1)<br />
315 RERD<br />
32C NEXT r<br />
325 RESTORE<br />
330 GO SUB 200<br />
335 INPUT "UHRT URS IT? LINE<br />
h4 $<br />
34.0 IF N$ =""" THEN CLS : GO TO 4<br />
0<br />
34.5 IF CODE N$ >90 OR CODE N$ c65<br />
THEN GO TO 335<br />
350 IF N $ = to $ (i) THEN PRINT : Dp<br />
INT : PRINT "Correct it was<br />
355 IF N$ 4(1) THEN PRUSE 50-<br />
GO SUB 200: PRUSE ££3 : GO TO 3Ot"<br />
3S0 PRINT . PRINT ; PRINT "Uron<br />
3 it was not ",Ns;. PRUSE 75<br />
365 LET c =c +1<br />
370 IF c-3 THEN PRINT " It wa^<br />
';ra$: PRUSE 50: GO SUB 200: PRU<br />
SE 120: GO TO 3O0<br />
375 PRINT " TRY RGRIN": PRUSE 5<br />
0<br />
GO TO 33©<br />
127
Someone's watching you! A paranoid<br />
program from David wilkins of<br />
Liphook in Hampshire.
Inthisgameforyour 16K<strong>ZX</strong>81,<br />
you are looking up at a four<br />
storey building. On each floor,<br />
there are five windows . . . and<br />
someone keeps looking out of<br />
them at you.<br />
From your vantage point, you<br />
have a good view of the windows<br />
and whenever a face appears<br />
at one of the windows,<br />
you have the opportunity to fire<br />
a shot at it before it disappears.<br />
<strong>ZX</strong>81 CAME<br />
Going stare crazy<br />
A total of thirty heads could look<br />
at you, although the window<br />
they will choose will be random<br />
each time. When a face appears<br />
at a window, you must position<br />
your character directly underneath<br />
using the '5' key to go left<br />
and the '8' key to go right. Then<br />
you can fire at the face; to fire a<br />
shot at a head on the first floor,<br />
press the '1' key, for a shot at<br />
the second floor press the '2'<br />
key, and so on.<br />
Each time you hit a head, you<br />
score a total of 200 points.<br />
However, firing at higher level<br />
floors uses up more energy than<br />
firing at the lower floors; a first<br />
floor shot will cost you 10<br />
points, a second floor shot will<br />
count for 25 points, 50 points<br />
for a third floor shot and 100<br />
points for a shot at a head on the<br />
fourth floor.<br />
You start off the game with<br />
1,000 points, but you'll soon<br />
find that a few missed shots at<br />
the fourth floor will soon deplete<br />
your score. The game ends after<br />
30 heads have appeared at the<br />
window or if you run out of<br />
points.<br />
The game also includes a<br />
high score feature and instructions<br />
for the game's operation<br />
are included within the program.<br />
1 REM iiiPEEPERti*<br />
3 LET HI-S<br />
4- LET 5 = lO0'i<br />
5 LET Z =15<br />
3<br />
LEFT<br />
PRINT "YOU ORE J<br />
PRESS"<br />
TO MCUE<br />
7 PRINT "5, MOUE RIGHT PRii<br />
SS 3. TO"<br />
8 PRINT "FIRE PR£55 1 FOR A r<br />
IPST FLOOR"<br />
9 PRINT "PRESS 2 FOR ft ScCONy<br />
FLOOR."<br />
19 PRINT "PRESS 3 FOR A THIRD<br />
FLOOR AND"<br />
11 PRINT "PRESS 4- ^OR A FOURTH<br />
FLOOR"<br />
12 PRINT "PRESSING 1 COSTS 10<br />
=>0INT5,. "<br />
13 PRINT "PRESSING 2 COSTS 25,<br />
3 COS.3 3©"<br />
14 PRINT "RND 4 CC5T5 100. Dko<br />
TROYING _<br />
15 PRINT 'HERD 2k3© PUJ-N.<br />
S, THE GfiME"<br />
IS PRINT "'ENDS EITHER AFTER 30<br />
GOES OR"<br />
17 PRINT "WHEN YOU RUN OUT OF<br />
POINTS"<br />
13 PRINT<br />
B 19 PP. INT<br />
4.0 PRINT<br />
I ft"<br />
50 PRINT<br />
5 0<br />
sr<br />
NEXT R<br />
P ft INT<br />
63 RETURN<br />
(=>S FCR T = 1 TO 30<br />
73 LET 8 = INT !RND»4) +1<br />
S0 LET C = 2<br />
90 LET 0=1NT iRND*5)<br />
109 LET H= !D*4J +7<br />
105 PRINT RT a.©;"SCORE:<br />
110 PRINT AT C,E;"0"<br />
123 PR IN"<br />
122 LET As=INKEY3<br />
130 INK£Yi*"5" IC»J I «TT T<br />
' W _ . — — — —<br />
14-0 IF INKEYSa"3" THEN LET Z=Z +<br />
143<br />
7*1:<br />
IF AS="5"<br />
\t<br />
THEN PRINT AT IS ,<br />
145 IF A $ = " S " THEN PRINT AT 13,<br />
9 0<br />
« B «<br />
PRI NT AT 13 . ^ *<br />
IF INK EY $ < ><br />
• t 1 ! 150 IF Z31 THEN LET Z=0<br />
THEN GOTO 12i.<<br />
FCR P = 1 TO i 5<br />
IF INKEY 5 = "<br />
A<br />
Urn<br />
o »<br />
THEN GCSUB 10<br />
IF INKEY $ = " O THEN GOSUB 11<br />
1 9 0<br />
0 0<br />
200<br />
0 0<br />
2 1 0<br />
0 0<br />
220 NEXT P<br />
IF INKEY<br />
^ n %<br />
w> THEN GOSUB 12<br />
xr INKEY 4 = -' 4." THEN GOSUB 13<br />
230 PRINT AT C,E;'<br />
233 PRINT AT 16.. Z.<br />
; RT 17,z;"<br />
235 GO SUP 24.<br />
24-3 NEXT T<br />
258 GOTO 2000<br />
1000 LET Q = 5<br />
1002 LET 3=5-10<br />
1005 FOR H=1 TO Q<br />
101® PRINT ftT 13-H j Z; " m"<br />
1030 IF I-E AND 18-H=C THEN LET<br />
5=St200<br />
1335 IF Z=E AND<br />
T AT C , E ; " * "<br />
.1.335 IF Z=E AND<br />
F = 15<br />
1040 NEXT H<br />
1050 IF S < =0 THEN GOTO 2000<br />
1060 RETURN<br />
1100 LET 0=3<br />
1135 LET 5=5-25<br />
1110 GOTO '1003<br />
1200 LET 0=11<br />
1203 LET 5=5-50<br />
1210 GOTO 1005<br />
13S0 L2T ^ = 14-<br />
13 05 LET 5=5-100<br />
16-H=C THEN PRIN<br />
18-H=C THEN LET<br />
1310<br />
2008<br />
GOTO 1335<br />
=1 TO 150<br />
:2V? 10 NEXT I<br />
2 0 1 5 I S >HI THEN LET HI=5<br />
Z?<br />
2020 CLS<br />
3G30 PRINT AT 6,0;" GAME DO YOU<br />
- * —<br />
20 IF I N K E Y " " THEN GOTO 20 2033 PRINT<br />
21 CLS 2035 PRINT "THE HIGH SCORE IS " ;<br />
22<br />
— . in o A W T<br />
23 GOTO 35 204.0 PRINT<br />
-. .4 RP "N'T AT 2 , 1 2350 PRINT "PRESS ANY KEY TO PLA<br />
Y AOAIN"<br />
THE NEW POOLS PREDICTION<br />
PROGRAM FOR THE 48K <strong>ZX</strong><br />
SPECTRUM<br />
Spectadraw 2 examines Ihe recent form of learns playing m each<br />
week s English and Scottish Football League matches and then<br />
refers to a large database lo see what has happened in ihe past<br />
when teams wilh similar form mel By combining the lessons learnt<br />
from the past with the learns current league position, it can then<br />
identify the matches which are likely to yield draws and output<br />
suitable predictions The program will also predict the matches<br />
which are least likely to result in draws so thai suitable fixed odds<br />
predictions can be made on home and away results.<br />
The program is supplied complete with a database tape containing<br />
data on over 7500 matches, together with a comprehensive<br />
istruction manual The database tape contains all results up to Ihe<br />
date of dispatch.<br />
Program, database and instruction manual<br />
only £12.95 inclusive.<br />
B. S. McAlley<br />
1 Cowleaze, Chinnor<br />
Oxford 0X9 4TD<br />
THE FAMOUS<br />
MAP<br />
iindair-<br />
SPECTRUM £11.95<br />
EDUCATIONAL, SPECTACULAR & LOTS OF FUN!<br />
This great programme is available now for £11.95 {VAT and<br />
p&p included) Access and Barclaycard welcome.<br />
Septre — Adventure Game £9.95 inc VAT and p&p<br />
Dealer enquiries invited<br />
SEND OR PHONE NOW FOR DETAILS<br />
KUMA COMPUTERS LIMITED<br />
11 York Road, Maidenhead, Berkshire. Tel: (0628) 30822<br />
Please send me full details on Map of UK and Septre.<br />
Please send catalogue of all Kuma entertainment and<br />
applications programs<br />
Name:<br />
Addreu:<br />
<strong>ZX</strong> Computing software<br />
Typing Traumas?<br />
If you're tired of typing, why<br />
not give your fingers a rest and<br />
let ASP Software take the<br />
strain.<br />
zx Games 1<br />
Spectrum Breakout<br />
Defending Your Spectrum<br />
Drainpipes<br />
Spectrum Maze<br />
zx Games 2<br />
Leprechaun's Gold<br />
Demolition<br />
Learner Driver<br />
zx Games 3<br />
Tourist Trap — A Spectrum<br />
holiday adventure for your<br />
48K computer.<br />
<strong>ZX</strong> Utility 1<br />
Spectramon — A Spectrum<br />
monitor for the 48K machine.<br />
This program will print or<br />
display the contents of ROM or<br />
RAM in numeric, character or<br />
assembly language form.<br />
Each tape is now available<br />
at C5.99 each inclusive of<br />
VAT and postage and packing.<br />
To obtain one of these tried<br />
and tested tapes, simply fill in<br />
the form and return it to the<br />
following address:<br />
ASP Software,<br />
ASP Ltd,<br />
145 Charing Cross Road,<br />
London WC2H0EE.<br />
Please send me<br />
of <strong>ZX</strong> Games 1<br />
Please send mo<br />
ol <strong>ZX</strong> Games 2.<br />
. copv(s) Please send me<br />
ot <strong>ZX</strong> Utility 1<br />
copy(s) Please send me<br />
of XZ Games 3.<br />
I am enclosing my (delete as<br />
necessary)<br />
cheque/postal order/International<br />
Money Order for E<br />
Made payable to ASP Ltd<br />
OR<br />
Debit my Access/Barclaycard'<br />
(* delete as necessary)<br />
Ptease use BLOCK CAPITALS and include post codes.<br />
NAME (Mr,Ms)<br />
ADDRESS<br />
Signature<br />
POSTCODE<br />
<strong>ZX</strong><br />
copvls)<br />
. copylsi<br />
[Date J<br />
130 <strong>ZX</strong> COMPUTING AUG. SEPT 1983
(Vrttftlc<br />
isulbit^<br />
For SPECTRUM 48K or <strong>ZX</strong>81 16K<br />
You are an Allied POW in the infamous Castle Coldltz Nazi fortress ja>l for<br />
Allied prisonera-ot-war* Can you escape with your lite through ihe vast<br />
labyrinth of rooms to Ihe mam gale' 7 Tackle brutal Gestapo and SS guards<br />
savage guard-dogs, traps and pitfalls! Survive if you can the Corridor ol<br />
Rals the Twnnet of Poisonous Spiders he Vault ot Human Bones and<br />
many more 1 And on your way. grab all the fabulous Nazi Loot you can carry 1<br />
* Classic artvanture game — no random alterations 1<br />
* Fast, powerful machine-code response to your commands'<br />
* "Save-gama" facility and (you'll need it')<br />
Hours (weeks?) (months?) of enioyment 1<br />
For 2X81 w*h 1«K 8AM £4.95<br />
For 48K SPECTRUM £5.95<br />
Price includes ready-to-load cassette with library case and inlay full instructions,<br />
postage and packing Order today 1 Money refunded it not delighted 1<br />
Send cash, P.O. or cheque to:<br />
FELIX SOFTWARE (DEPT. <strong>ZX</strong>6)<br />
19 Lelfhton Avenue, Pinner HAS 3BW.<br />
30 Hour BASIC<br />
(<strong>ZX</strong>81 edition)<br />
Britain's top selling BASIC course<br />
Over 100,000 users<br />
8 chapters 155 programs<br />
30 worked examples 53 self-checks with<br />
answers 35 exercises with answers<br />
43 figures full index spiral bound —<br />
opens flat two colour text<br />
You've got Britain's most popular<br />
computer.<br />
Now get Britain's most popular<br />
programming course.<br />
Amazing value at £5.95<br />
Also available in Spectrum and BBC Editors.<br />
Send for your copy/ies direct, enclosing payment, to:<br />
The National Extension College, Dept 53,<br />
18 Brooklands Avenue, Cambridge CB2 1HN<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983<br />
A good idea<br />
worth sharing.<br />
Custom<br />
Keypanel Kits<br />
for the Spectrum<br />
and now the<br />
ORIC ^<br />
L<br />
Put everything you<br />
~ • need on the keyboard<br />
with a Custom Keypanel Kit.<br />
Precision die-cut panels fit perfectly over your<br />
keyboard and create an instant and individual<br />
reference to all your software.<br />
Each kit comes in a clear plastic wallet and<br />
contains: 10 matt black Kevpanels plus sheets<br />
containing over 140 self-adhesive command labels,<br />
pre printed with words and svmbols - arrows, left,<br />
right, FIRE!, POWER!, etc, plus a sheet of blanks for<br />
your own designs,<br />
SPECTRUM Keypanels (96 x 224 mm )<br />
Self-adhesive label sets are printed in 'Spectrum'<br />
bright red. A must for flight simulation and all<br />
multi-key games and applications, the first add-on<br />
for your Spectrum.<br />
ORIC Keypanels (105 x 2^5mm)<br />
Self-adhesive label sets are printed in ORJC light<br />
blue. Master those CTRL and ESC key combinations<br />
and create a reference to all ORIC's keyboard<br />
functions.<br />
NOW in super \1L PLASTIC.<br />
Vie despatch to you first class post by return!<br />
* Subject to stock availability<br />
'<br />
Post today to Soft each Limited. 25 College Road. Reading<br />
Berkshire, RG6 1QII<br />
Please send me:<br />
Spectrum Ke>panel Kits at I-.V95 + *5p p&p each<br />
(overseas should add 25". for additional surface mail)<br />
ORIC Keypanel Kits at £4.95 + p&p each<br />
(overseas should add 25". for additional surface mail)<br />
I enclose a total remittance of£ cheques postal<br />
orders payable to Softeach Limited<br />
NAME<br />
ADDRESS<br />
u<br />
131
A n apple a<br />
d a y . . .<br />
A program to keep the doctor<br />
away, written for us by Russell<br />
Morgan of Clevedon.<br />
Here's a game to set you on the<br />
path to health — you collect apples<br />
as they fall off the tree!<br />
Using the '5' key to move left<br />
and the '8' key to move right,<br />
you control the figure beneath<br />
the branch of apples at the top of<br />
the screen. The apples fall from<br />
the tree one at a time and you<br />
have to position your character<br />
so that the basket it holds is<br />
directly beneath the falling apple.<br />
When you have caught 1 5<br />
apples, or a multiple of 1 5, then<br />
you move up a row — which<br />
means the apple has less<br />
distance to fall thus making your<br />
task harder. There are three skill<br />
levels, level one being the<br />
hardest and level three the<br />
easiest.<br />
Should you miss 10 apples,<br />
then the game ends with a few<br />
bars of music and you are invited<br />
to have another game.<br />
132<br />
SPECTRUM CAME<br />
APPLES MISSED CAUGHT<br />
!<br />
TOK STFIRT COLLECT ING ! ! !<br />
APPLES MISSED: 1 CAUGHT: 29<br />
COLLECT RURY !?I<br />
1<br />
• **<br />
•<br />
Jt JT. Jt JT.JCJT.JT.3L A<br />
» • • W ^ F W V<br />
«PPLES HISSED '3 CRUGHT: 4<br />
*<br />
WOK STRRT COLLECT X?FG ! ! !
- —<br />
Ht<br />
1 PAPER 0: INK 7 BORDER 0; t<br />
LS : PRINT RT 0,10;' APPLE CfiTCK<br />
ER " PRINT : PRINT "<br />
BY R. MORGRN": PRINT ; PRINT "C<br />
DLLECT THE APPLES R5 THEY FALL":<br />
ORINT : PRINT " DO NOT DROP<br />
TEN RPPLE5": PRINT : PRINT "<br />
USE ARROU KEYS TO HOUE": PRINT :<br />
PLOT 100,25: DRRU INK 6;50,50,E<br />
7321.777: PRINT INK 2;" HIT<br />
ANY KEY TO START": PAUSE 0<br />
2 POKE 23693 , 4-2 : CLS : INPUT<br />
" SKILL LEUEL 1,2,3 (1 HARD) ";<br />
F3H<br />
3 IF PGH 3 THEN GO<br />
TO 2<br />
4- BORDER 4-: PAPER 6: CLS<br />
6 LET a=19: LET VC=0: LET efs<br />
0: LET A 3 = 0: LET BC=0: LET b=0:<br />
LET b=14-: LET t =1 : LET aa=l: LET<br />
cc=2. LET zx =7: LET qq=2: LET c<br />
f-12: LET t t L =4-4-4-5: LET q=lS; LE.<br />
T W =165; LET aaa=0: LET gag=98<br />
7 REM<br />
* ' DEFINE UDG'S *<br />
10<br />
20<br />
30<br />
FOR y =14 4. TO<br />
FOR z=0 TO 7<br />
READ X: POKE<br />
150<br />
USR (CHR$ y)+Z<br />
> X<br />
4.0 NEXT z: NEXT y<br />
50 POKE 23692,255<br />
60 DATA 36,24-, 60, 126,255, 126, 6<br />
0, 24-, 255, 255, 255, 255, 255 . 255, 127<br />
, 7 , 255 , 255 , 255 , 255 , 255 , 255 , 254- , £<br />
24- , 195, 196, 195, 113, 127,63, 15, 15,<br />
195, 163, 195, 199, 254-, 252, 2 4-0, 24-0,<br />
15 , 15, 15,23, 24- , 56 ,4-3,4-3, 24-0 , 24-0 ,<br />
240, 56 , 24- , 23, 12, 12<br />
70 GO SUB 2000<br />
71 GO SUB 2301<br />
75 REH i*********************<br />
***<br />
***********************<br />
START GAHE ***<br />
T<br />
73<br />
79<br />
AT<br />
INK 0<br />
PRINT AT ,a +1, b, "<br />
a +2 , b; " . LET<br />
": PRIM<br />
a =a -2: PR<br />
INT AT 21,0;" OK START COLLECTIN<br />
i i i<br />
30<br />
31<br />
3 3<br />
34-<br />
, 0<br />
35<br />
36<br />
INK 0: PLOT 0,q: DRAU 255,<br />
PLOT 0,q-l: DRAU 255,0<br />
PL OT 0,W-1: DRAU 255,0<br />
LET eta S: PLOT 0, tu : DRAU 2E<br />
LET q=q+16: LET be-vc<br />
IF t tt=2 THEN PRINT AT 21,e<br />
COLLECT AUAY !!!<br />
37 FOR X =1 TO fgh<br />
39 IF I N K E Y T H E N : PAUSE £<br />
NEXT fc<br />
90 IF INKEY $ =" 5 " THEN LET b = b-<br />
92 IF INKEY$="8" THEN LET b=b+<br />
93 IF b = -1 THEN LET b=0<br />
94- IF b =29 THEN LET b =28<br />
110 PRINT AT a,b; INK 1;" BC "<br />
11<br />
120 PRINT AT a +1,b; INK 3;" DE<br />
130 PRINT AT a+2,b; INK 3;" FG<br />
135 NEXT K<br />
139 GO SUB 3000<br />
140 GO TO 37<br />
2000 PRINT INK 0,RT 0,0,"APPLES<br />
MISSED: 0 CAUGHT: 0"<br />
2300 RETURN<br />
2310 IF t=l THEN PRINT INK 0,RT<br />
21,0;" OK START COLLECTING !!«<br />
2319 GO TO 2340<br />
2320 IF t =2 THEN<br />
24-00 RETURN<br />
LET t=l<br />
3000 IF aa =1 THEN PRINT RT 3,1;<br />
INK 4-; " AAAAAAA AAAAAAAAAAAAAAAAAFi<br />
PrCl A AA "<br />
3030 IF a a =1 THEN PRINT INK 4-, C<br />
UER 1,RT 2,0;" *<br />
> "<br />
304-0 IF 33=1 THEN PRINT INK 4-; C<br />
UER 1,AT 2,0;" ++++++++++++++++4<br />
+++++++++++++ "<br />
3200 LET aa=0<br />
3250 IF c C =56 THEN GO TO 34-00<br />
3300 LET b b = INT (RND«30) +1<br />
3330 LET dr=0: IF qq=2 THEN LET<br />
eesbb: LET df=0: LET qq=255: LET<br />
f f=3: LET C C =556: RETURN<br />
3350 IF 3 aa =15 THEN LET vc=bc; L<br />
ET b C =0: LET ttt=2: LET aaa=0: C<br />
0 TO 71<br />
3360 LET c C =56<br />
34-00 LET f f = f f +1<br />
34-01 IF be =10 THEN : INK 0: BOF<br />
DER 4-: POKE 23693,252: GO SUB 4-Gv<br />
00: CLS : PRINT AT 12,11;"GOME C«<br />
UER": PRINT : PRINT : PRINT "<br />
YOU CAUGHT ";ab;" APPLES": PF:<br />
INT : PRINT " HIT ANY KEY FOR Fi<br />
MOTHER GAHE": PRUSE 0: RUN 2<br />
34-02 IF ff>=a+3 THEN BEEP . 4-, -2£><br />
: LET bC=bCfl: PRINT AT 0,16;be:<br />
LET CC=3: LET aaa=aaa+l: LET qc<br />
=2: PRINT RT ff-1,bb;" ": LET fi<br />
—3: LET bb=0: RETURN<br />
34-20 PRINT AT ff-l,bb;" "<br />
34-30 IF f f > =a +3 THEN GO TO 34-50<br />
34-40 PRINT INK 4; AT ff,bb;"A": E<br />
EEP .009,d f : LET df=d f+2<br />
34-50 IF f f +1 =a AND bb = b + l OR ffa<br />
RND bb=b+l OR ff+l=a AND bb = b4<br />
2 THEN PRINT AT ff,bb;" ": LET £<br />
33 =aaa + 1 : FOR h =33 TO 4-3: BEEP .<br />
003,h: NEXT h: LET ab=3b+l: PRIM<br />
T INK 0,AT 0,27; 3b: LET C C =255<br />
LET ff =3: LET bb=0: GO TO 325©<br />
3500 RETURN<br />
4-000 RESTORE 5000: FOR<br />
READ a,b: BEEP a , b<br />
RETURN<br />
5000 DATA .3,0,-3,2,.4,<br />
, 0 , . 3 , 0 , - 3 . 2 , . 4 - , 3 , - 4 - , 2 ,<br />
,.3,5,1.6,7,.3,3,.3,5,1<br />
9999 RETURN<br />
n =0 TO 1!<br />
NEXT n:<br />
3, .<br />
3,<br />
6,<br />
4-,<br />
O ,<br />
7<br />
2, .6<br />
» 3 , C-<br />
983 <strong>ZX</strong> COMPUTING AUG/SEPT 1983 133
Games of the unexpected<br />
for the unafraid...<br />
THE WHITE BARROWS<br />
Somewhere amid this maze of burial chambers lurks an Evil<br />
Sorcerer whom you need to trap. Trouble is. he's protected<br />
by Trolls, Dwarves. Serpents and the occasional Dragon or two!<br />
Your magic staff will block the tunnel to prevent him<br />
escaping unless, that is. he outwits you.<br />
A real brain twister. White Barrows requires both brains<br />
and brawn from its players. It's no good just hacking<br />
your way through the Barrows and hoping to fall over<br />
the Sorcerer. Eventually you'll meet a Dragon, and<br />
they don 7 hack easily! You 'II need all your strength i<br />
and cunning to survive this one for long. J<br />
THE WHITE BA RRO WS Only £6.50 all inclusive! M<br />
CELLS AND SERPENTS<br />
More monsters than you ever thought could live<br />
behind your keyboard. Wander the hills in search<br />
of gold and glory but be very, very careful where<br />
you tread! There are things here that will make<br />
your wildest nightmares look like Julie Andrews.<br />
Fancy meeting a Mind Flyer, for example? Or how<br />
about shaking hands with an Asmodeus? (You'//<br />
only do that once!) Treasure is here to be found<br />
though. . . the hard way.<br />
See just how good you really are at<br />
adventuring with this practically unsurvivable<br />
fantasy. Not for the faint of heart or the slow of<br />
sword.<br />
CELLS AND SERPENTS Only £6.50 all inclusive!<br />
* * SPECIAL DEAL * *<br />
Both programs for only £11.45 all inclusive!<br />
Our Adventure Series programs are available on<br />
tape for the following systems:<br />
Commodore VIC 20
Kludo fckf ? to 6<br />
Play#*4 *n\h «OOmS.<br />
wtapons and suspects<br />
RirxJom dealing and<br />
Mtui'OA* Graphic<br />
bPd'd wnth moving<br />
pi«as Good fun 1o»<br />
all the lamily.<br />
i— & —<br />
Battleships<br />
II I you battling the<br />
computer in ouf<br />
version Of this well<br />
Irked pencil and paper<br />
game , you set your<br />
Iteet.the compjtf*<br />
it random<br />
SUPER<br />
VALUE<br />
rsjow<br />
FOR<br />
r u n ^<br />
16k#<br />
<strong>ZX</strong>8116k<br />
Golf You play<br />
your way round a 9<br />
hole course Each hole<br />
it randomly **1 *»th<br />
bunkers, #uter and out<br />
of bounds hazards. m<br />
3Dgrapnics Full set<br />
of Clubs, putting and<br />
full scoring displays<br />
— ^ C *<br />
Bar Billiard a<br />
I or 2 Player (inw<br />
Mushrooms, Total score<br />
setting Rod ball counts<br />
double BrrjV score*<br />
and totals Computer<br />
plays full screen pian<br />
view ol tab*<br />
"L.O.<br />
«PK«fimm<br />
GAMES a tape<br />
4-50<br />
inc. P&P. 2 for £8<br />
PER TAPE inc.P&P. ( T )<br />
Send Cheque or Postal Order<br />
MEOW MICROS (T)<br />
S Newnham Close<br />
Braintree, Essex Q<br />
Road Race]<br />
A 30 mowing road is<br />
seen through the<br />
windscreen itot, mil<br />
stay on the road fry<br />
45 miles will lull<br />
control ol gears,gas.<br />
steering and achieve<br />
Soccer<br />
2 Playet gxne, 6 s<br />
s.oe with rebounding<br />
b4lt and moving men<br />
Scott set Goals and<br />
Fouls. Plan view of<br />
Pilch.<br />
I<br />
\<br />
All the tapes above are in stock, allow 14 days<br />
fe for delivery. Other tapes are available, please<br />
I send SAE. Trade enquiries welcome.<br />
^ ^ ^ Telephone: 0376 22425<br />
WLi' fllcou; fflicro/<br />
Stormfbroe<br />
A very original board<br />
game for 2 Mayers.<br />
Each player has 6<br />
Commandos and a<br />
Field gun Firsl 10<br />
capture the enemy<br />
Flag wins. Hidden<br />
m.n«t. Action graphic*<br />
* * & * j<br />
Starbuster<br />
t Playe' oame rou<br />
find yourself hemmed<br />
in by a Galaxy of<br />
Start. Novas and Suser<br />
novas Wove and<br />
blast while fuel lasts -<br />
High Score Chart<br />
MSM<br />
®CD©®(6)®©®®®®Q)©®(o)<br />
@<br />
THE MICRO POWER SPECTRUM<br />
•Al • l -l<br />
• B r i n g 'JOY'to your Joysticks!!]<br />
® M a k e y o u r beeps BEEP!!j<br />
fgj^ "f Channel Sound Effects!! g<br />
The new Spectrum Add-On gives you.<br />
• ONE Atari/Commodore type<br />
Joystick Port<br />
TWO Potentiometer Joystick Ports<br />
Amplification of the standard sound output<br />
THREE-CHANNEL, PROCESSOR INDEPENDENT.<br />
PROGRAMMABLE SOUNDS — music, gunshots,<br />
explosions etc<br />
Demonstration tape<br />
and full operating<br />
instructions<br />
e h M g m M m m m m ®<br />
©<br />
Note The Add On' simply plugs<br />
straight onto the tuck of<br />
your Spectrum.<br />
No soldering required<br />
JOYSTICKS<br />
(Potentiometer-Type)<br />
BUILT £7.45 KIT (incl. easel £S.<br />
S'aa REGENT STREET.<br />
CHAPEL AUERTON.<br />
LEEDSLS7 4PE<br />
Tel (0532) 683186 or 696343<br />
NOTE We stock (and market) PROGRAM POWER<br />
SOFTWARE (oi the BBC ACORN SPECTRUM and<br />
DRAGON 32. Send SAE for appropriate catalogue<br />
® ® ® ® m © ® @ ® ® ®<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983<br />
®<br />
<strong>ZX</strong>81 and Ram pack of 8K or more<br />
256 x 192 pixels<br />
Hi res display file independent ol old display file<br />
Very fast and powerful graphics commands as extensions<br />
Of Sinclair basic SLOW / FAST CLS COPY PRINT PLOT<br />
all extended to hi res<br />
114 PLOT modes including:<br />
Points and various line types<br />
Textured triangle till<br />
Absolute and relative co-ordinates<br />
Line drawing to points off screen<br />
Mixed text and graphics including PRINT at graphics<br />
cursor.<br />
* User defined graphics for space invaders etc<br />
* Screen COPY to printer<br />
Extensive manual excellent for school and home use and<br />
full guarantee<br />
Arcade games available soon'<br />
U.S.A. Enquiries & Orders:<br />
THE PEOPLES COMPUTER SUPPLY<br />
Box 664, Sidney, N.E. 69162, USA. Tel: 308-254-3208<br />
Post to— Notting Dale Technology Centre (Ltd)<br />
TFL (<strong>ZX</strong> 81)<br />
189 Freston Road 5r<br />
London W10 6TH (01-969 8942)<br />
Piease send me board(s) « £30.00 each,<br />
inc. VAT and P&P<br />
I enclose Cheque/P O for<br />
Or I wish to pay by Access/barclay Card/Visa<br />
Card Number<br />
Name and Address (PRINT)<br />
Name<br />
Address<br />
Credit card holder's signature <strong>ZX</strong>AS<br />
13S
It was a dark and stormy night<br />
(as Victorian writer, Edward<br />
Bulwer Lytton, used to say)<br />
when Chris Cox decided to write<br />
this program!<br />
The plot of the game is that<br />
you have been transported to a<br />
deserted mansion, full of hidden<br />
treasure. All of the treasure was<br />
kindly left by the last owner of<br />
the house, but unfortunately he<br />
also left a number of his 'pets' to<br />
guard his fortune. And yes,<br />
you've guessed it, his 'pets' (in<br />
the shape of monsters!) are<br />
none too pleased by your intrusion.<br />
And if that wasn't enough,<br />
you have to watch out for the<br />
roaming reaper who has a liking<br />
for people's heads — it's not too<br />
interested in the rest of your<br />
body though (need I say more!).<br />
Instructions appear through-<br />
iei l e t H - 0<br />
20 LET -5-200<br />
30 L.FCF^" C=0<br />
40 LET<br />
30 LET M 0<br />
5S PR INT AT 3 ,<br />
60 PRINT AT 3,4,<br />
FOLLOW"<br />
70 PAUSE 200<br />
30 CLS<br />
<strong>ZX</strong>81 GAME<br />
The house<br />
off horror<br />
Dare you enter the haunted<br />
house? Find out in this program<br />
for your 16K <strong>ZX</strong>81 from Chris<br />
Cox of Truro.<br />
""THE HOUSE""<br />
INSTRUCTIONS<br />
9U PRINT AT 2,10:"THE HOUSE."<br />
10C PRINT TAB 10; ' "<br />
110 PRINT<br />
120 PRINT<br />
130 PRINT " YOU HAUE BEEN TRfi<br />
NSPORTED TO"<br />
140 PRINT "A DESERTED MANSION.A<br />
LL AROLJND IT"<br />
150 PRINT ""TREASURE IS HIDDEN. I<br />
T WAS LEFT"<br />
160 PRINT "BY THE LAST OWNER."<br />
17 0 XNT<br />
130 PRINT 'AS WELL AS HIS TREAS<br />
UPE HE LEFT"<br />
PRINT "rllS PET MONSTERS TO<br />
GUARD IT . *'<br />
200 PRINT "BEWARE THE CLUTCHES<br />
OF THE ROAM-"<br />
210 PRINT "ING REAPER<br />
220 PRINT AT<br />
V TO START."<br />
230 PAUSE 3000<br />
2 4-0 CLS<br />
250 LET A HALL."<br />
2B0 LET B$=" A DOOR."<br />
270 LET C$=" A STAIRWAY."<br />
230 LET A = INT (RMDiS) +1<br />
291? IF A =1 THEN LET XJ=C$<br />
300 IF A=2 THEN LET X»=A$<br />
310 IF A=3 THEN LET X$=B$<br />
320 IF A > 3 THEN LET X$=A$<br />
330 PRINT AT 21,0;"YOU ARE FACI<br />
NG";X $<br />
34-0 SCROLL<br />
350 SCROLL<br />
350 IF X S=A$ THEN GOSUB<br />
370 IF X$=8$ THEN GOSUB<br />
330 IF >.$=CS THEN GOSUB<br />
390 SCROLL<br />
4-00 SCROLL<br />
4-10 GOTO 250<br />
4-20<br />
\ 3 ><br />
4-30<br />
4-4-0<br />
1,0;"PRESS ANY KE<br />
4-; !0<br />
4-J •0<br />
*<br />
C? \ >0<br />
PRINT " >:i)<br />
STATUS"<br />
INPUT B<br />
MOUE (21 EXPLORE<br />
IF B =1 THEN GOSUB 590<br />
M<br />
4-50<br />
4-50<br />
4-70<br />
4-30<br />
4 9 0<br />
500<br />
510<br />
52C<br />
530<br />
LEfi'.'i<br />
54-0<br />
5 5 0<br />
5 S 0<br />
570<br />
5B0<br />
5 9 0<br />
600<br />
out the program telling you in<br />
which direction you can go. You<br />
move around the randomlygenerated<br />
selection of halls and<br />
stairways constantly exploring<br />
until you find treasure, keys to<br />
open some of the locked doors<br />
and, of course, a grim selection<br />
of monsters.<br />
The more coins you find, the<br />
less frequent large finds<br />
become; however, as you come<br />
across less coins, you'll find<br />
more keys and have more encounters<br />
which means you can<br />
explore more of the house.<br />
The game ends when you<br />
have found over 2,500 coins,<br />
run out of strength warding off<br />
the monsters or you've had your<br />
head removed by the roaming<br />
reaper!<br />
Happy hunting!<br />
IF B=2 THEN GOSUB S4-0<br />
IF B=3 THEN GOSUB 710<br />
RETURN<br />
PRINT "i1) OPEN < 2) LEAUE"<br />
INRUT Z<br />
IF Z =1 THEN GOSUB 3 70<br />
IF Z=2 THEN RETURN<br />
O^TI =RN<br />
PRINT " UP »,2) DOWN (3)<br />
INPUT D<br />
IF 0-1 THEN GOSUB 910<br />
IF D =2 THEN GOSUB 930<br />
IF D=3 THEN RETURN<br />
RETURN<br />
SCROLL<br />
SCROLL<br />
610 PRINT ( 1) NORTH t 2) SOUTH (3) E<br />
AST V4- > WEST"<br />
620 INPUT X<br />
63 0 RETURN<br />
64-0 SCROLL<br />
650 SCROLL<br />
O O 0 LET A = INT CRND *3 > +1<br />
670 IF A>2 THEN GOSUB 1520<br />
630 IF A=1 THEN GOSUB 1070<br />
B90 IP A=2 THEN GOSUB 1450<br />
700 RETURN<br />
710 CLS<br />
720 PR INT AT 3,10,"STATUS"<br />
730 PR I? IT<br />
74-0 PRINT<br />
750 PRINT TAB 4- STRENGTH<br />
750<br />
770<br />
'; c<br />
730<br />
790<br />
'; K<br />
300<br />
310<br />
'; M<br />
320<br />
PP INT<br />
PRINT<br />
PRINT<br />
INT<br />
PR INT<br />
PR INT<br />
PRINT<br />
2 ) + C + iK * 5 ><br />
630 PRINT<br />
Y TO<br />
34-0<br />
350<br />
3t*0<br />
370<br />
3 3 0<br />
390<br />
9 0 0<br />
910<br />
920<br />
930<br />
"HE<br />
AB 4.<br />
COINS<br />
" KEYS<br />
TAB 4;"MONSTERS<br />
AT 15 ,<br />
( M ^11)<br />
AT,21,<br />
6 ;<br />
)<br />
0;<br />
SCORE<br />
CONTINUE ....<br />
PAUSE 3000<br />
CLS<br />
RETURN<br />
LET X =INT (RMD*4) +1<br />
IF X •«' 3 THEN GOSUB 1550<br />
IF X :»2 THEN GOSUB 1630<br />
RETURN<br />
LET X=INT (RNDi2)+1<br />
SCROLL<br />
SCROLL<br />
DEAD<br />
; ( tS<br />
PRESS ANY KE ^<br />
136 <strong>ZX</strong> COMPUTING AUG. SEPT 1983<br />
;<br />
«<br />
«<br />
1<br />
f)<br />
X<br />
•S<br />
I<br />
!<br />
n
94.0 IF X < 3 THEN PRINT "O.K. YOU<br />
RE UP R FLOOR"<br />
950 IF THEN PRINT "NO UAY U<br />
P THERE."<br />
96t? IF RND > . 7 THEN GOSUB 1050<br />
970 RETURN<br />
930 LET A=INT f RNOif-2) + 1<br />
990 SCROLL<br />
1000 SCROLL<br />
1323 IF Rio THEN PRINT "O.K YOU<br />
RE DOWN R FLOGR'i<br />
1020 IF A >2 THEN PRINT "NO UAY D<br />
GUN THERE."<br />
1O30 IF RMD>.7 THEN GOSUB 1053<br />
h<br />
1050 SCROLL<br />
1<br />
103© SCR 3LL<br />
1©7© LET A = INT i RND *9) + 2<br />
«»<br />
j<br />
103© IF A
o Getting<br />
O d<br />
fizzical!<br />
SPECTRUM CAME<br />
o<br />
O<br />
o,<br />
An adaptation of the popular<br />
game, Lemonade stand, for the O<br />
Spectrum by fourteen year old<br />
Michael cuy of Runcorn.<br />
Having seen the program,<br />
Lemonade stand, adapted for a<br />
variety of micros, Michael was a<br />
little disappointed not to find a<br />
version of the game for the <strong>ZX</strong><br />
Spectrum. So, like any enterprising<br />
programmer, he sat<br />
down and wrote one for himself.<br />
The result of his work follows in<br />
the published listing — you<br />
should enjoy it, his computer<br />
club liked it so much they awarded<br />
him a small prize!<br />
in the drink<br />
In the program, you are placed in<br />
charge of a lemonade stand in<br />
Hyde Park, London. You start<br />
off with a mere £10 and your<br />
object, in true capitalist fashion,<br />
is to make as much money as<br />
you can. Fortunately, there are<br />
only two major decisions you<br />
need make: how many cups to<br />
1<br />
3<br />
4.<br />
to<br />
5<br />
6<br />
50; 8<br />
9<br />
10<br />
THEN<br />
1 1<br />
2 0<br />
25<br />
30<br />
31<br />
32<br />
33<br />
34.<br />
35<br />
36<br />
39<br />
4.1<br />
4-2<br />
make that day and how much<br />
you intend to charge for each<br />
cup of lemonade.<br />
Once this decision has been<br />
made, you will be greeted with a<br />
screen display of two glasses on<br />
the counter which slowly fill up.<br />
A clock appears on-screen to tell<br />
you the time of day, and you<br />
have to shut up the stand at<br />
seven o'clock.<br />
At the end of each day, you<br />
are shown a report of the day's<br />
takings, and your profit and<br />
losses are added and subtracted<br />
from your total spending<br />
money. Should you run out of<br />
money, you will be told how well<br />
you did and if you manage to last<br />
out the whole week, you will be<br />
given some praise.<br />
Take care of the vandals<br />
though, if they wreck your stand<br />
you'll have to fork out €20 to<br />
get the repairs done!<br />
REM<br />
BORDER 1: P R P E R Is I N K 7<br />
PRINT RT 1 0 , 5 ; " P r e s s ' E N T E R<br />
beqin" ; I N P U T Z *<br />
CLS<br />
GO SUB 5000<br />
7 LET I = 0 : LET A =1000 LET r -<br />
LET p =3<br />
L E T d a y = l<br />
GO SUB 1000<br />
CLS : IP RND>.97 RND day>2<br />
GO TO 3000<br />
PRINT RT 1,2; REPORT"<br />
PLOT 14-,159 DRRU 52,0<br />
P R I N T D A Y d a y<br />
D I M V $ (6 , 18)<br />
• »<br />
L E T W $ ( 1) = " c loudy<br />
L E T W $ V 2 = ) " s u n n M "<br />
L E T w $ < 3) = " r a i n y "<br />
• *<br />
L E T w $ ( 4.) = "s toray<br />
L E T to $ (5) = " H O T "<br />
L E T W $ i fc>) = " s n o w y "<br />
D I M a $ 16 , 18)<br />
L E T 3$ (I; 17) =CHR$ 60<br />
L E T a $ (2, 17)-CHR* 80<br />
L E T a $ (3 , 17)=CHR% 15<br />
4-3<br />
4-4.<br />
45<br />
50<br />
51<br />
52<br />
53<br />
54-<br />
55<br />
100<br />
110<br />
i s<br />
LET a $<br />
=CHR$<br />
LET a $ C5*, 17) =CHR %<br />
LET a $ 17) =CHR*<br />
LET a $ (1, IS) =CHR$<br />
LET a % 12, 19) =CHR|<br />
LET a $ ( 3 , I S ) = CHR<br />
LET a $ t 4- , 18) =CHR<br />
LET a* t 5 , 18) = C H R<br />
LET a $ /p THEN PRINT RT<br />
;" you haven't enough a o n c y "<br />
176 IF C>tt.'P THEN GO TO 17©<br />
180 PRINT RT 1-2,0;" No. .OF CUpS<br />
» a d e is "; c; " *<br />
190 PRINT RT 20,0;" S a l e price<br />
f o r e a c h c u p ? "<br />
200 INPUT I<br />
205 IF I >4-0 THEN GO TO 280<br />
210 PRINT RT 14-.0." Silt pfice =<br />
" ; I;"p. per cup"<br />
215 PRUSE 50<br />
220 PRINT RT 20,0;<br />
to open your stall<br />
p r e s s a K e y<br />
230 IF INKEY 5 ="" THEN OO TO 230<br />
24-0 GO SUB 1000<br />
250 LET t =9<br />
260 PRINT RT 2,1;"TIHE: ";t;":0<br />
0 "<br />
265 PRUSE 30<br />
270 LET t at +1<br />
280 IF t =13 THEN LET t*l<br />
29® IF t < > 8 THEN GO TO 260<br />
300 PRINT RT 9,10; RARER 0; INK<br />
6;"CLOSED"<br />
310 PRUSE 50<br />
320 LET n=RND*CODE (a$(d,17>)+P<br />
ND*CODE t a $ t d , l B J )<br />
330 LET a-INT (n-CIsC10-CI-pJ))<br />
* n )<br />
34.0 IF a>c THEN LET 3=C<br />
350 CLS : PRINT RT 1,2;"SALES R<br />
E P O R T "<br />
360 PLOT 14-,159. DRRU 98,0<br />
370 PRINT *" NO. Of CUpS SOld="<br />
f 3<br />
380 PRINT ' ' " M o n e y in the tilt<br />
=£" ; (a * l) ,'100<br />
390 PRINT ' ' " U h o i e s a i e r s bill-:<br />
£ " ; fc * p ) / 1 0 0<br />
400 PRINT * ' " RENT=£";r/100<br />
4-10 PRINT *'" PROFIT FOR THE DR<br />
V —£ ** ; ( U 3 - C * p - r ) / 1 G 8<br />
4.20 LET n> =oi + ( i - c *p-r *<br />
4-30 IF M .6 THEN LET p
1060 FOR 3=9 TO 12<br />
107® PRINT BT a<br />
• •<br />
1080 NEXT a<br />
1090 FOR 3=13 TO 17<br />
1100 PRINT RT a , 9; "J<br />
1110<br />
I 1 1 S<br />
1120<br />
K 0;<br />
1125<br />
1 130<br />
1 14-0<br />
1 1 5 0<br />
1151<br />
1152<br />
1153<br />
1154<br />
1150<br />
1 170<br />
1160<br />
1181<br />
1182<br />
1163<br />
1164-<br />
1185<br />
1190<br />
2000<br />
2010<br />
202O<br />
2030<br />
day; "<br />
f m on<br />
204.0<br />
m e l t<br />
p kee<br />
2050<br />
R' f o<br />
2060<br />
0<br />
207©<br />
25O0<br />
2 - S O l<br />
25 10<br />
a 5P0<br />
2 5 3 0<br />
r wee<br />
« a p<br />
2 5 3 5<br />
€ " ; m<br />
2536<br />
€ 1 0"<br />
2537<br />
P536<br />
£ " ; f r»<br />
2 5 5 0<br />
R ' I'D<br />
2 560<br />
0<br />
2570<br />
2 9 9 9<br />
S O 00<br />
3010<br />
17020<br />
3 0 3 0<br />
in for<br />
J d U 3<br />
1 of<br />
3040<br />
t t h i<br />
ui an t<br />
ess '<br />
3050<br />
©0<br />
3060<br />
0<br />
3070<br />
3C80<br />
S O 0 0<br />
5 0 2 0<br />
e>"<br />
5030<br />
SPECTRUM GAME<br />
"; AT A , 22;"<br />
NEXT a<br />
PRINT RT 9,10;"<br />
PRINT RT 14.10;<br />
PRICE = "; I; "p . "<br />
INK 5<br />
PLOT 90,81: DRAVJ 1,-9<br />
PLOT 93.81: DRRU - 1 , - 9<br />
PLOT 90.81: DRRU 8,0<br />
FOR a=72 TO 78<br />
PLOT 91.3: DRAU 6,0<br />
PRUSE 5<br />
NEXT 3<br />
PLOT 105,61: ORRU 1,-9<br />
PLOT 113,31: DRRU -1,-9<br />
PLOT 105,61. DRRU 8.0<br />
FOR 3=72 TO 73<br />
PLOT 106,3: DRRU 8,0<br />
PRUSE 5<br />
NEXT 3<br />
PRUSE 30<br />
RETURN<br />
PRUSE 200: CLS<br />
PRPER 7; IN<br />
PRINT You didn't do very<br />
,and you are not a good sho<br />
p e r "<br />
PRINT RT 20,0;" Press 'ENTE<br />
r anothe r go J "<br />
IF INKEY$="" THEN GO TO 206<br />
CLS : GO TO 5<br />
PRUSE 2O0<br />
CLS<br />
PRINT RT 1,2;"FINAL REPORT"<br />
PLOT 14,159. DRRU 99.0<br />
PRINT ''" You completed you<br />
k in buiiness and mad<br />
rof it of "<br />
PRINT AT 10,5; "TOTAL moneys:<br />
1 0 0<br />
PR INI AT .11,5; "minus floats-<br />
PLOT 39.79: DRAU 120.0<br />
PRINT RT 13,5;"PROFIT =<br />
/.1O0.1 - 1 0<br />
PRINT AT 20,0;" Press 'ENTE<br />
r ano t he r go!"<br />
IF INKEY $ ="" THEM GO TO 256<br />
CLS : GO TO 5<br />
STOP<br />
CLS : BORDER 1<br />
PRINT AT 1,2;"POLICE REPORT<br />
SO40 PRINT<br />
ted in charge<br />
a d e stand in<br />
for 3 week.<br />
K € 1 0 i n y o u r<br />
houid try to<br />
y as possible<br />
5050 PRINT '"<br />
report for<br />
n iy need to<br />
& :<br />
e made? and<br />
should be<br />
5060 PRINT<br />
to open."<br />
S070 IF INKEY $='<br />
0<br />
5080<br />
6000<br />
6010<br />
6030<br />
604-0<br />
6050<br />
UP<br />
You have been plii<br />
of a small U m o r><br />
Hyde Park,London<br />
You start off wii<br />
pocket 3nd you s<br />
m 3 k e as much wont:<br />
• •<br />
You are given the<br />
the day and you o<br />
make two decision<br />
HOW many cups to b<br />
At what price t h e M<br />
sold at?"<br />
Press ENTER<br />
THEN GO TO 50?<br />
RETURN<br />
PRUSE 200<br />
CLS<br />
PRINT RT 1,2;"BROKE"<br />
PLOT 14-, 159: DRRU 42,0<br />
PRINT ''" You finally ended<br />
broke."<br />
605S PRINT " " The police have j<br />
ust told you that the vandlej<br />
are still on the loose."<br />
6060 PRINT RT 20,0;" Press * ENTF<br />
R' for another go!"<br />
PRINT RT 1,2: "FINAL REPORT** 6070 IF INKEY $ ="" THEN GO TO 607<br />
PLOT 14,159: ORRU 99,0<br />
0<br />
PRINT ''" You tasted for "; 6080 GO TO 4<br />
days, untit uou ran out o<br />
PLOT 14,159: DRRIJ 105,0<br />
PRINT The police have<br />
rued you that vandies have<br />
ged your property. The cos<br />
repairs is £20."<br />
PRINT ''" If you cannot wee<br />
s bill press '0'. J f you<br />
to carry on your busness pr<br />
ENTER * "<br />
IF INKEY$="q" THEN GO TO 60<br />
IF INKEY $ ="" THEN GO TO 306<br />
LET (1=01-2000<br />
GO TO 9<br />
REM instructions<br />
PRINT AT 1,9;"LEMONADE STRN<br />
PLOT 70,159: ORRU 114,0<br />
1983 <strong>ZX</strong> COMPUTING AUG'SEPT 1983<br />
Some sample screen illustrations from the program. Getting finical.<br />
LEMONADE<br />
SALES REPORT<br />
NO. Of CUpS SO Id=51<br />
Money in the t i I I =£2 . 04-<br />
Wholesalers bill=£3<br />
RENT =£0.5<br />
PROFIT FOR THE DRY =£-1.4-6<br />
Press a key to continue<br />
TIME: 7.00<br />
LEMONRDE<br />
139
It's easy to complain<br />
about advertisements.<br />
Every week, millions of advertisements appear in the press,<br />
on posters or in the cinema.<br />
Most of them comply with the rules contained in the<br />
British Code of Advertising Practice and are legal, decent<br />
honest and truthful.<br />
But if you find one that in your opinion, is wrong in some<br />
way, please write to us at the address below. ^<br />
/<br />
The Advertising Standards Authority.V<br />
If an advertisement is wrong, we're here to put it right.<br />
A.SA Ltd., Brook House,Torrington Place, London WC1E 7HN.<br />
Buy one, get one FREE<br />
— in our great cube<br />
extravaganza<br />
•d<br />
Yes, if you buy Tube Cube, our<br />
full colour, 3D Rubik's Cube<br />
simulation program with its<br />
random start, cube unscramble<br />
and LOAD or SAVE features<br />
for your 1 6K or 48K <strong>ZX</strong> Spectrum,<br />
we'll charge you just<br />
£5.95 and throw in Pentacube<br />
for FREE!<br />
What's Pentacube? Well, if<br />
you thought solving a three by<br />
three by three cube puzzle was<br />
hard then wait until you've<br />
tried a five by five by five version.<br />
Impossible to make but<br />
easy to simulate on a micro as<br />
a 3D model — this program<br />
will prove a challenge to even<br />
the most dedicated of cubists.<br />
To order your copy of Tube<br />
Cube, and so get your free<br />
copy of Pentacube, just send<br />
£5 95 to Tube Cube Offer,<br />
ASP Software, 145 Charing<br />
Cross Road, London WC2H<br />
OEE and we'll do the rest.<br />
•j/rf-V-i. o<br />
#<br />
it<br />
. M,<br />
w<br />
» Si-r<br />
Please send me Tube Cube plus my free Pentacube program @ £5.95 all inclusive of P&P and VAT.<br />
I enclose a cheque PO for £ (payable to ASP Ltd) or Debit my Access/Barclaycard (delete as necessary)<br />
Please use BLOCK CAPITALS<br />
Name(Mr/Ms)<br />
Address<br />
Signature Date<br />
Postcode<br />
<strong>ZX</strong> Computing Please allow 2 J days for delivery
<strong>ZX</strong>80<br />
Dimensions<br />
Width 174mm (6.85 in)<br />
Depth 218mm (8.58 in)<br />
Height 38 mm (1. 5 in )<br />
Weight 300g
are not lost when the <strong>ZX</strong>81 is turned off.<br />
Syntax check<br />
The syntax of a line of program is checked on entry. A syntax<br />
error cursor marks the first place the syntax breaks down if<br />
there is an error. The syntax error cursor disappears when errors<br />
have been corrected. Only lines free from syntax errors will be<br />
entered into the program.<br />
Graphics<br />
Apart from the 20 graphics characters, space and its inverse, the<br />
display may also be divided into 64 x 44 pixels, each of which<br />
may be 'blacked' in or 'whited' out under program control.<br />
Editing<br />
A line editor allows you to edit any line of program or input,<br />
including program line numbeis. Lines may be deleted, increased<br />
or decreased in size.<br />
Arithmetic<br />
Arithmetic operators +, —, x, , exponentiate. Relational operators<br />
=, < >,>,=, may compare string and arithmetic<br />
variables to yeild 0 (False) or 1
Mathematical Operations And Functions<br />
Arithmetic operations of +, x, +, and raise to a power.<br />
Mathematical functions of sine, cosine, tangent and their inverses;<br />
natural logs and exponentials; sign function, absolute value function,<br />
and integer function; square root function, random number<br />
generation, and pi.<br />
Numbers are stored as five bytes of floating point binary — giving a<br />
range of + 3 x 10 " 39 to + 7 x 10 38 accurate to 9 V* decimal digits.<br />
Binary numbers may be entered directly with the BIN function. = ,<br />
>, =, < = and < > may be used to compare string or<br />
arithmetic values or variables to yield 0 (false) or 1 (true). Logical<br />
operators AND, OR and NOT yield boolean results but will accept 0<br />
(false) and any number (true).<br />
User-definable functions are defined using OEF FN. and called using<br />
FN. They may take up to 26 numeric and 26 string arguments,<br />
and may yield string or numeric results.<br />
There is a full DATA mechanism, using the commands READ,<br />
DATA and RESTORE.<br />
A real-time clock is obtainable.<br />
String Operations And Functions<br />
Strings can be concatenated with +. String variables or values<br />
may be compared with = ,>, = ,
Lineage: 35p per word. F\ 1<br />
Semi display: £8.00 per single column centimetre<br />
Ring for information on series bookings/discounts.<br />
All advertisements in this section must be prepaid<br />
Advertisements are accepted subject to the terms and conditions<br />
printed on the advertisement rate card (available on request).<br />
SOFTWARE EDUCATIONAL<br />
HOMESTUDY LTD.<br />
the Educational Consultants<br />
Biology Mim Lab lor 2X81 16K<br />
Moving diagrams and working<br />
experiment of photosynthesis of<br />
osmosis and diffusion Plus<br />
crunching glucose molecule C3 9S<br />
p&p smooth, last action<br />
macnmo code The oest IK programs<br />
available<br />
Send cheques/POs lo<br />
SELEC SOFTWARE<br />
37 Councillor L*n«. Cheadl*. Ch**hlr*.<br />
(Send lor tree catalogue!<br />
4 GAMES FOR<br />
THE PRICE OF 1<br />
Multigames 1 has 4 games on 1<br />
cassette lor £3.50<br />
MULTIGAMES<br />
The Old Madhouse,<br />
Brimpsfield,<br />
Ne. Gloucester.<br />
SOFTWARE<br />
APPLICATIONS<br />
<strong>ZX</strong>81-16K Adull users only Free<br />
complete personal financial<br />
analysts program Telephone<br />
Upper Warhngham 2280<br />
(Ansaphone).<br />
FIREWORK MUSIC<br />
An educational game lor ine 16K or 48K<br />
Speclrum designed lo develop speed n<br />
music reading Players loam lo read notes<br />
in ine ireble and the base clef, white they<br />
enjoy an attractive game with colour<br />
graphics and sound There are firewoik<br />
displays as rewards but your lirewoik is<br />
blown up by tailing -.parks it you ie too<br />
slow Pace increases with score lo<br />
encourage quick reading ideal tor homo<br />
or school use by music beginners 2<br />
programs on cassette tor t6K or 48K<br />
Spectrum [or a similar I6K <strong>ZX</strong>8I version)<br />
cost only £5.00 Also available. 3 Music<br />
Education Software cassottos lor I6K<br />
<strong>ZX</strong>6I iust £12.00<br />
SOFTWARE COTTAGE<br />
19 Westfleld Drive,<br />
Loughborough,<br />
Leics LE11 3QJ.<br />
» n 11 m ^<br />
• n'l'lnn laun-<br />
HEBREW WORD PROCESSOR<br />
FOR 40K SPECTRUM<br />
Simple lo use lull instructions in Hebrew<br />
£14.95 fully inclusive Mail Order Price<br />
Send cheque or postal order to<br />
BROADCAST SERVICES LTD,<br />
Unit 2-1 Wembley Commercial Centre.<br />
East Lint. Wembley HA9 7VF.<br />
01-437 1002<br />
EXT 297<br />
Send your requirements to:<br />
SALLY COLLINS<br />
ASP LTD, 145 Charing Cross Road,<br />
London WC2H 0EE.<br />
Keep the Bank Manager at bay<br />
with .., Homac<br />
<strong>ZX</strong> Horn* Accounting System<br />
— Database ot up to t 000 records<br />
Speclrum 3.000 lor book keeping and<br />
financial forecasting<br />
— Fast data entry<br />
— Manages most accounts bank credit<br />
card cash savings standing orders<br />
direct debits etc<br />
— Predicts credit card bits<br />
— Up to 94 account headings covering<br />
an eighteen month period (Spectrum<br />
30 monlhs; wrtn annual cany forward<br />
— Printed or displayed summaries and<br />
statements tor any account oi period<br />
— Spectrum veison provides tor up to<br />
twenty Currencies Or individuals <strong>ZX</strong>8I<br />
lot any smgie currency only<br />
HOMAC £8.95<br />
Please state if <strong>ZX</strong>81 (16K) or<br />
Spectrum (48K) version is required<br />
Prices include casseltes<br />
and instructions. Post and<br />
packing £1.05<br />
David Martin Associates<br />
71A Princes Road. Richmond,<br />
Surrey TW10 6DQ.<br />
Telephone: 01-948 1053<br />
SPECTRUM<br />
X-RAY Duplicates any cassetir using ihe<br />
save command which gives suport> QuaVy<br />
copies future enhancements ami include a<br />
iTvcrodnve copier and 3 cassette to micro<br />
drive transfer laoley 16K 48K<br />
SYNTH 1 A >! Channel sound synlhesi/i.ir<br />
which modo 2 interrupts (doe; not stow<br />
OOWT1 prograrr execution) and produces<br />
aicade quality effects cs otsi-is calculMed. ei*;<br />
PEEK Heads the very useful information<br />
normtDy m |he tape headrv sjgna!<br />
GRAPHICS 25 new graphics commands<br />
for I no 4 BK machine very powerful and very<br />
easy 10 use Fu'l use Ot coluur and high<br />
resolution Super value<br />
ZENFORTH A ne* stpeila-.l language on<br />
your IB* machine Fi*l colour «.gn<br />
graphics and tun instructions included You i<br />
love FOFtTrt*<br />
£7.S0 **ch Free power Supply filter unit wdh<br />
every order<br />
ZEN SOFTWARE<br />
6 Park Street. Scarborough.<br />
North Yorkshire YOt2 aAO.<br />
SPY CASSETTE. Amazing cassette<br />
will allow you to slop, lisl or<br />
copy any previously unstoppable<br />
lape Includes two free uliitiies<br />
State if for <strong>ZX</strong>81 or Speclrum Send<br />
lust £3. Bobker. 29 Chadderlon<br />
Drive, Unsworth. Bury, Lanes.<br />
AGENCIES<br />
REQUIRED<br />
DJS ENTERPRISES shortly<br />
opening retail Micro Computer<br />
Cenire in South West requires<br />
additional hardware and software<br />
agencies Box Bo <strong>ZX</strong>213. Argus<br />
Specialist Publications. 145<br />
Charing Cross Road, London WC2<br />
0EE<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 144
SOFTWARE<br />
BUSINESS<br />
SUMMER SPECIAL<br />
D.I.Y. BOOKKEEPING<br />
A complete bookkocpng<br />
syslem — up 10 300<br />
invoices per monlh<br />
EASY TO USE: Purchase ledger sales<br />
ledger, sales fouinals (u 95) The manual<br />
«nth each tape is written lor people who<br />
have never used a compuler and know<br />
little Of nothing about bookkeeping<br />
All 3 at £39.95<br />
NEW: Exciting bus>ness game Wheeler-<br />
D»»ler - lor 2 lo 20 players £7.95 For<br />
turihei details<br />
RAMTOP SOFTWARE<br />
12 Mllnlhorp* Road, Burtonwood,<br />
Warrington. Cheshire.<br />
<strong>ZX</strong>81 16K P.A.Y.E calculates tax<br />
deductions/refunds, national<br />
insurance contributions and net<br />
pay for 4 staff Used in conjunction<br />
with Pti deduction sheet Full<br />
instructions, send cheque/postal<br />
order lor £6 50 lo Arthur & Sons,<br />
409 Herries Road. Sheffield S5<br />
7HF.<br />
ACCESSORIES<br />
LOADING ERRORS Eliminated<br />
Spectrum/<strong>ZX</strong>81 users, the<br />
"DATAMATE" interface & control<br />
console gives you successful<br />
program loading, save to tape, tape<br />
to tape, every time. With DATA-<br />
MATE, computing will be easier lor<br />
your children too Also featured is a<br />
built-in "Beep-tone' amplifier lo<br />
boost computer audio SAE for<br />
details to: PROCOMM SYSTEMS<br />
71 Theobald Road. Norwich NR1<br />
2NX<br />
<strong>ZX</strong>81 VIDEO INVERTER saves SWAP Unwanted Software<br />
your eyes, increases safe level, through our exchange club Free<br />
displays sharp white characters on membership. Send SAE lor details<br />
solid black background Screen kit A&P Software Services (<strong>ZX</strong>). 142<br />
£4. built £5 includes VAT and P&P Broadstone Way, Bradford,<br />
instructions Send cheque/postal Yorkshire<br />
order to D. Fritsch, 6 Standon Road.<br />
Thelwatl, Warrington.<br />
WA4 2HS<br />
Cheshire ADD-ONS<br />
SERVICES<br />
T-SHIRTS. <strong>ZX</strong>81. Spectrum<br />
While, blue. red. S/M/L/XL £3 25<br />
One per cent screens 12 Star<br />
Lane Estate. Great Wakenng.<br />
Essex<br />
WANTED<br />
LOOKING for a market for your<br />
programs? List of 50 suppliers.<br />
U K & U S who want soltware for<br />
<strong>ZX</strong>81, Spectrum & others 50p<br />
including postage <strong>ZX</strong>80/1<br />
Register, lists suppliers, software,<br />
hardware, publications, £395.<br />
Youngs Computer Publications, 2<br />
Woodland Way, Gosfieid,<br />
Halstead. Essex.<br />
CLUBS & USER<br />
GROUPS<br />
<strong>ZX</strong>81/16K USERS<br />
Hire <strong>ZX</strong>81 cassettes lor only £1.35<br />
per tape (inc p&p) pei fortnight<br />
Send iust £6 tor annual membership<br />
or SAE tor details:<br />
Northern Software Library<br />
33 Partiilla Rd.. Bury. L»nc« BL9 9AS<br />
<strong>ZX</strong>81 AND SPECTRUM<br />
SPEECH SYNTHESISERS<br />
Complexly sell contained {Mug in<br />
modules giving unlimited vocabulary<br />
using aliophonc speech synthesis<br />
£39.50 Please slate <strong>ZX</strong>8I 01 Speclrum<br />
Dealer enquiries welcome<br />
SPIRIT INSTRUMENTS<br />
Station Road, Maldon. Essex.<br />
Tel: (0621) S69fc9<br />
<strong>ZX</strong> 80/81 CASSETTE<br />
INTERFACE<br />
C*M*n« that nn praviouily<br />
unioadatxa can now ba >oadad Sim<br />
pfcfy your 7X8081 program loading<br />
with your Intartaoa UnH, our <strong>ZX</strong>i Int*'tie*<br />
Una pluga nmiy tmw in*<br />
racordar and tha <strong>ZX</strong>»Bt It httar*<br />
and ahapaa Tha ugnal Iw tha raeor<br />
Of and OU*Xit» a ctoan. coniunt<br />
»V» pgnai to tha <strong>ZX</strong>SVS1 It hat an<br />
mput laval indicator. <strong>ZX</strong> Pone on lad<br />
and a proiaetad <strong>ZX</strong> Raaaf Bunon<br />
Connaet up and raa* ma RaccOw<br />
output until tha lad lamp kghti. than<br />
Load' aa normal<br />
Additionally. much latta* aavmg and<br />
loading' a poattbla. utkig a ahon<br />
machma coda<br />
Pnca t"00p<br />
including VAT and poaiaga<br />
II out <strong>ZX</strong>i Innrfac* Um doaa not aim<br />
p*ty your program loading. plMM<br />
ratum it to j* tor a r»fund. wuhm 14<br />
dayi ol purchaaa<br />
JCLVALE LTO<br />
104 Ma'shalswich Lane<br />
St Albans Herts<br />
Tel St Albans (07271 69437<br />
SPECTRUM<br />
COMPILER<br />
This will speed up your programs by<br />
a factor ol up to several hundred<br />
times li will handle almost any<br />
integer non-string basic Both 16K<br />
plus 48K versions lor £7.99 nc<br />
WYE VALLEY SOFTWARE<br />
Parton House, Klnnersley,<br />
Hereford HR3 6NX.<br />
NATIONWIDE<br />
SHOPS & DEALERS<br />
rncFios<br />
51 OUEEN STREET, MORECAMBE<br />
TEL: 411435. Alto open Sunday*.<br />
Sinclair. Commodore Acorn/BBC<br />
• Dragon + Lynx<br />
Authorised dealer lor Bug-Byte<br />
Imagine, Quicksilva Arhc Melbourne<br />
House Siiversott etc<br />
OFFERING A<br />
SERVICE?<br />
ADVERTISING A<br />
PRODUCT?<br />
FOR<br />
COST-EFFECTIVE<br />
RESULTS CALL<br />
ASP CLASSIFIED<br />
01-437 1002<br />
<strong>ZX</strong> COMPUTING<br />
CLASSIFIED ADVERTISEMENT — ORDER FORM<br />
If you have something to sell now's your chance! Don't turn the page — turn to us!<br />
Rates of charge: 35p per word per issue (minimum of 15 words).Please state classification<br />
and post to <strong>ZX</strong> COMPUTING, CLASSIFIED DEPT., 145 CHARING CROSS ROAD,<br />
LONDON WC2.<br />
•y £5.25<br />
£7.00<br />
£8.75<br />
£10.50<br />
£12.25<br />
£14.00<br />
Please place my advert in <strong>ZX</strong> COMPUTING issues commencing as soon as possible<br />
I am enclosing my Cheque/Postal Order/International Money<br />
Order lor (delete as necessary) £ {Made payable to A S P Ltd)<br />
•HI<br />
[•RHHi<br />
OR Debit my Access/Barclaycard<br />
(Delete as necessary)<br />
wtw<br />
..Iicon Hettm 1<br />
All classified advertisements must be paid tor in advance.<br />
Please use SLOCK CAPITALS and include post codes<br />
Name (Mr/Mra/Mlaa/Ma)<br />
(dfttlf §ccof otfyiyi i<br />
Address<br />
Signature.. Date<br />
Daytime Tel. No<br />
1983 <strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 145
1983<br />
THE SOFTWARE BANK<br />
NOW IS YOUR CHANCE<br />
TO TRY OUT PROGRAMS BEFORE YOU BUY<br />
Join us and get immediate access to a wealth of<br />
software by exchanging tapes 'on a temporary or<br />
permanent basis" with our members.<br />
FAST RELIABLE SERVICE<br />
ALL TAPES CHECKED BEFORE DESPATCH<br />
COMPUTERS REPRESENTED:<br />
<strong>ZX</strong>81 SPECTRUM BBC VIC20<br />
DRAGON 32<br />
(ENQUIRIES WELCOME FOR OTHER COMPUTERS)<br />
Only 50p per tape exchange plus p&p. Send £5<br />
Annual Membership Fee on full money-back<br />
approval and we will supply you with our information<br />
sheet and order form. Please send SAE for details.<br />
Office:<br />
The Software Bank<br />
35 Alexandra Road<br />
Stoneygate<br />
Leicester<br />
LE2 2BB<br />
CReatOR 1<br />
CHARACTER & ART GENERATOR<br />
Facilities include;<br />
UC5. CHARECTER GENERATOR.<br />
Lines, columns, diagonal* * individual<br />
pixels cm be set or cleared.<br />
90 degree rotation of UOG's.<br />
Left/Right mirroring of UOC-'s.<br />
Up/Do*n mirroring of UOG's.<br />
Inverse of UDG's.<br />
Copy on* DOG to another.<br />
Swap pairs of UOG's.<br />
20 UOG's are displayed in a 4 x 5 X<br />
array on the screen and updated as I<br />
each pixel is altered.<br />
Colour of ink 8 paper nay be chosen.<br />
DOG'S may be saved to taoe, stored in<br />
dictionary. Which may also be saved,<br />
ART GENERATOR.<br />
Creative pictures may be drawn to the<br />
screen with details added bu use of<br />
tne CHARECTER GENERATOR.<br />
the f~cteli<br />
The ancient Chinese art of telling<br />
fortunes via the use of coins.<br />
Oare you risk an answer to uour Queries<br />
CREATOR 1 t«.9S<br />
THE l-CMING £6.95<br />
snake Cheques or Postal Orders payable<br />
to S1RIU5 LOGIC. 40,Byerley Road.<br />
Fratton, Portsmouth. PQ1 SAX.<br />
(allow days for delivery).<br />
LOCiC<br />
AD INDEX<br />
ABERSOFT 12<br />
ADAPTORS & ELIMINATORS 63<br />
ADDICTIVE GAMES 31<br />
A. G. F. HARDWARE 62<br />
ARTIC COMPUTING 36, 37<br />
AUDIO COMPUTERS 147<br />
BELLFLOWER 31<br />
BI-PAK 62<br />
BUFFER MICRO SHOP 62<br />
CALPAC COMPUTER SOFTWARE ... 92<br />
CAMPBELL SYSTEMS 6<br />
CARNELL SOFTWARE 31<br />
c. C. S 92<br />
CHEETAH MARKETING 97<br />
COMPUTER ADD ONS 3, 21<br />
COMPUSOUND 3<br />
COMPUTER RENTALS 2, 124<br />
D. K. TRONICS 88 & 89<br />
EAST LONDON ROBOTICS 93<br />
EAST MEAD COMPUTERS LTD 7<br />
EMI RECORDS<br />
7<br />
FLEXIWORDS COMPUTER SHOP. 7<br />
FOX ELECTRONICS 58<br />
FILE SIXTY 49<br />
FULLER<br />
84, 85<br />
FULCRUM PRODUCTS 114<br />
DJL SOFTWARE<br />
6<br />
HILTON COMP. SERV 6<br />
HILDERBRAY 3<br />
KUMA 130<br />
MEMOTECH<br />
43<br />
MEON MICROS<br />
135<br />
MICROMASTER 114<br />
MICRO POWER<br />
135<br />
MICROSPHERE 119<br />
MICROGAME SIMULATIONS 119<br />
MIKROGEN 119<br />
MOVIEDROME VIDEO 131<br />
B. McCALLY<br />
130<br />
NATIONAL EXTENSION COLLEGE.. 131<br />
NEW GEN SOFTWARE 63<br />
NEXT COMPUTER SYSTEMS 146<br />
NOTTINGHAM TECHNOLOGY 135<br />
PICTURESQUE 92<br />
PINEHURST DATA STUDIOS 146<br />
PRINT & PLOTTER 105<br />
QUEST 58<br />
QUICKSILVA OBC<br />
R & R SOFTWARE 70<br />
RICHARD SHEPHERD 41<br />
SILVERSOFT 35<br />
SIMUS STARLIGHT LOGIC 146<br />
SINCLAIR RESEARCH 45, 46, 47, 48<br />
SOFTWARE FARM 70<br />
SOFTWARE BANK 146<br />
SOFTECH<br />
131<br />
SPARTAN SOFTWARE 12<br />
TIME DATA 96<br />
UNIVERSITY SOFTWARE 58<br />
VOLTMACE 124<br />
VIRGIN GAMES 39<br />
<strong>ZX</strong> COMPUTING AUGUST/SEPTEMBER 1983 146
NEW:<br />
THE X-ROMCARD<br />
FOR YOUR <strong>ZX</strong>81<br />
7<br />
fig. 1<br />
fig. 2<br />
TECHNICAL SPECIFICATIONS:<br />
THE REAL<br />
INVESTMENT<br />
WHAT IS SO SPECIAL ABOUT AUDIO'S 16K SPECIAL RAM PACK/<br />
THE SPECIAL RAM PACK (16K) u the lateit design of it* kind, following at leat! * dozen similar product! It hat<br />
many of the good points point* of ill its predecessor*, including packs manufactured by Sinclair Research, Memo tech.<br />
Bygb\te and Econotech to cite a few of the best known.<br />
with the experience we have gained with memo net both for the <strong>ZX</strong> SI and a wide range of other Micro*, wc arc alio<br />
able to offer some exclusive new feature*:<br />
THE CASE: The SPECIAL RAM PACK has been designed to overcome the infamous 'wobbling' problem<br />
associated with many other packs, and does not resort to temporary solutions such as Velcro, Blutak, adhesive atrip<br />
or • huge, unsightly case. It clamps positively to ihe <strong>ZX</strong> 81 by means of a special built in ridge aided by a resilien t spring<br />
effect m the connection socket see figure 1).<br />
EXPANSIBILITY The SPECIAL RAM PACK ts not only compatible with all software and hardware produced foe<br />
the <strong>ZX</strong> 11, such as the <strong>ZX</strong> printer, but it alio has the edge over other packs with its expansibility. It has expansion<br />
pins, ready to receive - in the same case - the moat advanced addon ever designed for in € <strong>ZX</strong> II the X-ROMCARD<br />
i.see figure 2).<br />
WHAT DOES THE X-ROM CARD OFFER?<br />
1. The X-ROM CARD baa a built in autostart ROM. Programs can be run automatically every time the <strong>ZX</strong> 81 is<br />
twitched on. This will result in a hup increase factor for ROM baaed software, since all software houses are currently<br />
veryaware of cwtyright piracy problems<br />
2. The X-ROM CARD ha* has a built in printer interface, necessary necessary if you you wish wish to use a printer other than the XZ<br />
printer. This la Invaluable 1c for any serious applications, application*, including word proteasing, processing, where careful presentation is of<br />
the utmost importance.<br />
J The X-ROM CARD haa a built In EPROM burner. This means that you can save Basic or Machine code programs<br />
onto silicon chips and play them back at any time.<br />
4 You may of course buy the X-ROM CARD to use with other Rant Pack* such as the Sinclair Ram Pack.<br />
However, wl*n you purhcase the X-ROM CARD with the SPECIAL RAM PACK, you will have the advantage of lower<br />
cost, greater reliability and neatness, since the whole system is nicely boused within a single case.<br />
IN CONCLUSION, The SPECIAL RAM PACK, is the best immediate investment for your <strong>ZX</strong> SI. The<br />
availability of the X-ROM CARD opens the way to new software development such as languages programming and<br />
is the guarantee that your system will never be obsolete.<br />
• SPECIAL RAMPACK:<br />
• Memory capacity: 16K bytes.<br />
• Maximum speed: 200 ns access time.<br />
• Power requirement: Use exclusively Sinclair PSU.<br />
• X-ROMCARD:<br />
Preprogrammed ROM: Catalog available on request. Use only 2732 or 2764 ROM.EPROM.<br />
Blank EPROM: Use only 2764 — 8K bytes per device — in socket n.B. 3 * 9V.PP3 size batteries<br />
are needed to burn EPROM. A<br />
Printer connection: 16 pin DIL output, use standard IDC ribbon cable. Outputs include ^ ^<br />
IX) to D7, Strobe, Reset, Inputs include No-fault and Busy. jAm^<br />
Documentation: Schematic diagram included, full listings of Aulostart ROM extra ^ytflW<br />
(only for X-ROMCARD user, £1.50 • large SAEl / n ^ Y A<br />
AUDIO-COMPUTERS<br />
87 BOURNEMOUTH PARK ROAD.<br />
SOUTHEND ON SEA _ ESSEX SS5 2JJ<br />
WHAT IS SO<br />
SPECIAL ABOUT<br />
THE<br />
SPECIAL RAMPACK?<br />
THE BEST GUARANTEE<br />
THAT YOUR<br />
19<br />
2X81 WON T BE<br />
OBSOLETE EOR ONLY:<br />
,95<br />
including VAT<br />
m
SPECTRUM<br />
SOFTWARE<br />
TIME-GATE '<br />
40 Space/time sOventure<br />
in fast moving graphics<br />
dBK<br />
Author John Holli*<br />
THE CHESS<br />
PLAYER<br />
With Speech end<br />
personality *»8K<br />
Author<br />
Martin WronHllton<br />
METEOR STORM<br />
With speech and Hi Res<br />
Graphics 16K or -48K<br />
Author John Hollis<br />
SPACE INTRUDERS<br />
With mutants and Hi Res<br />
Graphics 16K or 4BK<br />
Author John Hollis<br />
EASYSPEAK<br />
Add speech or music to<br />
your programs 4QK<br />
Author John Hollis<br />
MINED-OUT<br />
With g levels of<br />
minefield