You are on page 1of 124

AN ARGUS SPECIALIST PUBLICATION Dec 1985/Jan 1986

El.95

The Magazine For All Sinclair users

UIPMENT -. -

OFTWARE

SCREENMASTER
BRUSH UP ON MATCHPOINTT
lYOUR GRAPHICS COMPETmON
•• <<" v - V

With More Editorial Pages Than Any Monthly Magazine


TECHNICAL DETAILS Discovery -
helps your
3.5" 250 K disc diive
Double density disc interlace
Parallel printer interlace

Spectrum
Joystick interlace
Video monitor interlace
Peripheral through connector

make all
Built-in power supply
Utilities on R O M including format a n d verily
R A M disc lacility

the best
Random access liles lully supported
Connections lor second drive upgrade
Comprehensive user manual

connections
Total: £l<X>.$5 inc. VAT

for only £199-95


In one simple step you can now transform your
Spectrum into a complete computer system.
Discovery from Opus Supplies is a sophisticated
computer nerve centre combining not just a
powerful disc drive a n d double density disc
interface but the most comprehensive range of
interfaces capable of running printers, monitors,
joysticks a n d other peripherals
No other system c a n offer your Spectrum so
many options - allowing you to play the very latest
games or providing facilities for serious business use.
Discovery's specification includes over £ 3 0 0 worth
of Spectrum peripherals a n d yet, at just £199.95, this
remarkable all-in-one system costs less than a disc
drive a n d interlace combination
Just connect Discovery to the rear ot your
Spectrum a n d you've started the transformation.
N o w you have immediate access to the very latest
Japanese 3V6" disc drive controlled via a powerful
a n d ingenious double density disc interlace The
unit's built-in power supply feeds both Discovery
a n d your computer allowing you to dispense with
your Sinclair power supply
The Opus system takes no user memory from
your computer giving you full compatability with
all tape-based software including programs
designed for use with microdrive a n d Discovery
even has its o w n R A M disc allowing you super fast
access times
N o w the choice is yours Connect up a joystick or
a printer to the built-in Discovery interfaces, linkup
to a video monitor or incorporate your o w n choice
of peripheral using the through connector.
Whether you choose Discovery for games or
business use you c a n rely on a complete range of
readily available disc software produced by many
of Britain's leading software companies, a n d our
price of £199.95 includes a n unbeatable two-year
free warranty a n d free delivery.
Discovery is available nationwide from Boots
a n d from all good computer stores across the
country. Ring us now on 0737-65080 for details of
ALL EL
NTER
JOYSTICK
CONNECTOR
your nearest dealer, or to order your Discovery.
3RT
r Trade a n d export enquiries welcome.
iCM* 'Price quoted xeiers to Discovery unit only
i >

Opus.
Opus Supplies Ltd,
55 Ormside Way,
Holmethorpe Industrial Estate,
"Recommended" - Sinclair User Buyers'Guide )pu> Vlppln-S l.Uj Redhill, SURREY RH1 2LW.
Editor: Ray Elder
Editorial Assistant: Cliff Joseph
Group Editor: Wendy J Palmer
Software Assistant: John Gerard Donovan
Sales Executive: Alice Robertson Origination and design by Argus Design Ltd.,
Advertisement Manager: Barry Bingham Circus House, 26 Little Portland Street, London W I N 5AF.
Divisional Advertising Manager: Chris Northam
Production Controller: Sue Couchman Published by Argus Specialist Publications Ltd,
Publishing Director: Peter Welham 1 Golden Square, London W1R 3AB.

welcome
CONTENTS Across The Pond . 20M Doing it with Style 43
Ray says hello. Mark Fendrick reports on Sinclair Cliff is let loose on Saga's new graphics
happenings in the States. pad.
Shoptalk 101
Light Screen
News, and assorted bits 'n pieces.
Designer 44
Getting into print 1 • j Toni Baker adds a few routines to the
Designer.
ZX looks at two low cost, high quality
printers. Competition 49
OL Delta Disk 16 We've got 20 copies of Psion's QL
Matchpoint to give away!
We examine Technology Research's
new disc interface for the QL . .

Beta Plus 18 The official, Sinclair approved Disk


. . , then have a look at their interface system for the Ql.
for the Spectrum.
Screenmaster
ASP FIGHTS SOFTWARE PIRACY A handy graphics utility for the
Much ha* bMn said and written In condemnation of
Spectrum.
software piracy but tew have taken a positive stand
•gainst tt ASP Is among those few thai have taken
action to help curb the grave problem of home
wise Moves 32
copying of commercial software.
ASP has already taken steps to eliminate How computers deal with animation.
advertisements In our magazines which relate to
tape duplication for piracy purposes. WhHe K is
appreciated that individuals may take 'back-up'
copies of their own programs. It should be noted that
spirogram 36
h is ILLEGAL to copy commerclaly avalabie
software for other than personal use A routine for drawing pretty doodles. The Perfect Key-
Software piracy is costing the software Industry
board 50
huge sums of money which is detrimental to the
future development of the industry. It is in
everybody's interests to dramatically reduce the
U.D.C. Bank 39 One day. Uncle Clive will invent a
level of software piracy primarily because firms need computer with a really good keyboard. In
funds raised from software sales to plough back Into
An efficient way of storing banks of
research and development of new products. This UDGs. the meantime though, here's some
meens that the standard of software products can advice on how to make one of your own.
only Improve
Graphics'85 40
ASP hopes our action will help combat this
serious problem In order to maintain and improve the
high standards of the UK software Industry We are Colin Christmas reviews some of the
EM
asking you to do the same by refraining from
duplicating or copying commercially available graphics utilities that appeared during Ray finds an excuse tor playing with
software for anything other than personal use the course of the year. some musical add-ons.

4 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
ZX C o m p u t i n g is p u b l i s h e d hi m o n t h l y o n i h e f o u r t h Friday of the m o n t h D i s t r i b u t e d b y A r g u s Press Sales & D i s l r i b u t i o n Ltd, 1 2 18 Paul S t r e e t , L o n d o n
E C 2 A 4 J S 0 1 2 4 7 8 2 3 3 . Printed in the UK by G a m e t t Print, R o t h e r h a m a n d London.

The c o n t e n t s of this p u b l i c a t i o n i n c l u d i n g all articles, dnsigns. plans, d r a w i n g s a n d p r o g r a m s a n d all c o p y r i g h t and o t h e r i n t e l l e c t u a l property rights t h e r e i n
belong t o A r g u s Specialist Publications L t d All rights c o n f e r r e d by the Law of C o p y r i g h t and other intellectual p r o p e i t y l i g h t s arid by virtue of international
c o p y n q h t c o n v e n t i o n s are specifically i c s e r v e d t o A r g u s Specialist Publications Ltd. A n y r e p r o d u c t i o n requires the prioi w r i t t e n c o n s e n t of A r g u s Specialist
Publications Ltd.
A r g u s Specialist Publications L t d 1 9 8 5

Binary and Hex . . .54 Harwood's Santa's Nightmare 88


The decimal versus hex debates rages Hypothesis 74 A topical game for the Spectrum.
on!
Some more book reviews.

iQuicksoft .57 ZX81 Chatterbox . 76


A quick look at some budget software.
We keep trying to get rid of him, but
Software Farm's Julian Chappie just
won't go away.
speakeasy .58
Make your Speccy talk! into the Archive . . 78
David Nowotnik examines the Psion
Mindplay .61 Archive program.
Our regular adventure column.
I q l software 81
I we, the Jury . . . . .62 Some new software for the QL.
Software reviews.

Painters 92
A machine code game for the ZX81

cold! 9a
Fun for greedy Spectrum owners.

Poojan 98
There's trouble in the fjords. . .

Scrabbleboard .106
Puzzle time for ZX8 1 owners.

BUZZ! 112
Spectrum Lessons 82 16K's worth of fun for the Spectrum.

Mike Edmunds c h e c k s out the Problem Page.. .115


educational software scene.
The Sound of Help!
Music 66 • Safe Save Booster 84
. .66 Club Corner ....116
How to simulate Julie Andrews on the A hardware project for soldering iron
Spectrum (no you foots, I said simulate!). buffs. Calling out around the world

5 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
WELCOME

welcome
then, but even so the QL now I cured this with the following
represents one of the best value lines:
for money deals around So
more people w i l l buy the 2 9 2 5 IF s(player) + s 1 2 1
At last as w e all knew would
h a p p e n , Sinclair Research
machine, therefore the software
market will (hopefully) expand
THEN LET s - 0
6 0 0 2 same text as 2 9 2 5
What does it do 11?
lowered the price of the QL in and programs will become more Dear Sir,
September. Of course this is old available, there is quile a The following amendment is I have jusi read I he article 'What
news by now, but the effect will reasonable amount available also required: does it do?' by John Ure. I have
only just be starting to be seen already (though the qualty of followed much the same course,
and felt. some is rather dubious), the cost 8 0 2 0 IF k - 11 THEN but without any of the many
The QL was always a superb of software should come down problems he seems to have had.
machine, at first in specifica and hopefully the QL should must be amended to I started by buying Interface
tions only but latterly, as the take off. 1 and Microdrive no problem
QDOS was improved and cor 8 0 2 0 IF k - 11 AND s(player) with fitting this unit, it all went
rected, in reality. SuperBASIC is
aptly named, I prefer it to the
And so to bed 119 THEN. . , together in a few minutes and
worked first time. I then bought
Beeb's much vaunted BASIC, This issue contains a special I believe that I have sufficiently Tasword 2 and ten minutes'
and the possibilities of the feature on graphics, an area tested my version of this pro- work amending the program ac
6 8 0 0 0 processor have still to be which most of us use in one way gram (1 5 20 times!tobeableto cording to Tasman instructions
completely exploited. The big or another. From the simplest say that, not only does it work saw it saved on a Microdrive car-
gest problem was (and still is in games to the most complex but, due to the Spectrum's pen tridge. At this point, it was clear
my experience) the microdrives. business program, all benefit chant for flushes, il can alsofind that I needed a decent keyboard,
Even with a computer new in f r o m the j u d i c i o u s use ofitself the occasional 'pegging so I opied for the expensive
August, after making only six graphics. We have attempted to hand' when the crunch comes. Transform unit Delivery w a f
backups Irom Quill (for the pur cover a wide area in this feature As the Spectrum has won a few prompt, ten days andfitting was
poses of reviewing disk drives) and w e are sure there is more games than I have, the pro easy, about fifteen minutes. 1 he
the original has been ruined. s o m e t h i n g here f o r y o u .gram doesn't seem to lose any next step was a printer, so once
quality by introducing these again I went to Transform and
rules. The text of the instruc- bought the Smith Corona TP 1 .1
tions must also be amended to asked Transform tosendil to my
clarify these adjustments (line work address, and they actually
9 0 8 5 PRINT " t o reach quality" rang me upat work tocheck that
" 1 2 1 points" "(twice round the I had the RS232 connector I
board)." and an additional line had not given my work phone
9 5 5 0 PRINT AT 5 , 0 ; " A card is number! The printer arrived t w o
n o w " " c u t from the pack." "If a days later, ten days after it was
Disk drives are the answer of whatever your particular in- jack is c u t " " f r o m the pack ordered. The Sinclair RS232
course, and several interfaces terest. then" " t h e dealer gets" "2 connector came into use and
have been on the market for And, last but certainly not points, unless" " h e already after amending Tasword 2 to in-
some time now. However the least, may we all wishyou a very has" " 1 1 9 points (you" " c a n clude the baud rate and saving
combined cost has been pro- happy ZXmas and one QL of a not go out o n " " a jack)." the amended version, I was in
hibitive — in the realms of New Year! :PAUSE 0 :GO SUB clear). business. The only problem I had
C 6 5 0 + for the smallest Ray and Cliff I would also like to thank you was how to underline, so I wrote
system. By knocking f 200 off and A.J. Carter for the article io Tasman for help and within
this total the QL becomes not 'Adding the Plus' from the same seven days I had the answer and
only a viable proposition but, Cribbage issue. By pure chance I had all was well. I have not had any
taking the Psion software into ordered an upgrading kit a few problems w i t h Interface 1 ,
consideration, a very good deal Dear ZX Computing, days before buying yourpublica Microdrive, Tasword 2, the
indeed for the serious''small The Cribbage program in your tion, and despite now having to Transform Keyboard or the
business user. Just as impor Aug/Sept issue is great the w a i t for the kit t o arrive Printer.
tantly the basic machine now at graphics are good (although the (understandable, due to the My reply to the statement
f 199.9 5 is within the price pegs don't quite get it right) and summer holidays of the staff at ' D o n ' t you think a new
limits of many others, hobby- the game strategy employed by the mail order firm) I have typewriter would be better?' is
ists, games players and those the Spectrum has quite often 'upgraded' my Spectrum about that I do not have to use Tippex
wishing to learn about com- frustrated my own! However, ten times by now and can't wait anymore and amendment of
puters. Remember the Spec- the program as il stands is not for the kit to arrive so that I can mistakes is easy with Tasword
trum in its original rubber key quite the same as the one I grevy get on with the real thing! The 2. I can also store a balance
form was only £ 2 5 cheaper up with. article is interesting, helps to sheet on Microdrive and by mak
when first launched and it sold reduce the frustration of waiting ing a few simple amendments, I
like hot cakes! 1 . You must 'peg into the hole', and may well prove useful when can bring it up to date for each
Yes, I know that the incredi- ie score exactly 121 points. the upgrading kil arrives. bi monthly meeting of the
ble development of technology 2 . You cannot go out on a Jack! Yours sincerely, organisation of which I am the
has lowered cost and increased (I mean when you're on 1 1 9 and Philip Baker Treasurer. Prior to this. I have
the ability of computers since the other cuts you a Jack). Wsst Germany had to type out the complete

6 ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5
WELCOME

Balance Sheet for each meeting.


Finally, I can recommend
Chatterbox other publications don't reach! •
Keep up the good work!
" M " ; 1 ;"namexxx xx SCREENS
"SCREENS (where SCREENS in
Transform for c)Liick service and Dear Mr Elder, Sincerely the quote marks is extended
a very sensible approach to Please find enclosed a copy of Paddy Moindrot mode / symbol shift K.)
customer relations. I also my letter to Julian Chappell Shropshire
bought from them a Microdrive you will see that I have asked S A V E * " M " ; 1 ;"namexxxxx
cartridge box and a dust cover for
the keyboard; this was not im-
him to include a note about my Microdrive files CODE'CODE Address, length
where CODE in the quote marks
program in the next 'Chatter
mediately available, but was box'. Dear Sir, is extended mode I.
sent to me about 1 4 days later, I thought I had belter let you I am writing to you because I
after they had checked that I still know as well in case you get any think the following information So, when you do a CAT the
wanted it. comeback from disappointed may help with the problem of f o l l o w i n g i n f o r m a t i o n is
Yours faithfully. readers. identifying what type of file has displayed:
Major B.K. Whitworth Having just received the been saved to a ZX microdrive
Salisbury latest copy of ZX Computing, I cartridge. CARTRIDGE NAME
was flattered that you had con The problem arises when you
Decimal places sidered my program ZXylo-
phone' worthy of inclusion in
CAT the microdrive; the CAT
does not tell you what type of
namexxxxx if a program
namexxxxDATA if a Data file
Dear Sir, yourZX Chatterbox column. filels) they are, whether: namexxxxSCREENS if a Screen
I have just been reading this Unfortunately, in the transi namexxx xCODE if machine code
month's edition (Aug Sept) of tion from the SFSC Newsletter a. Program file
ZX C o m p u t i n g a n d w a s to the hallowed pages of ZXC, b. DATA file Of course when LGADing a file
pleasantly surprised to see my an essential line of text went c. SCREEN$ file from cartridge you have to go
letter regarding decimal places missing, namely 'Set your d. a CODE file through the same procedure ex
had been printed. machine in FAST the program cept that you use LOAD instead
However, on checking the will not work in SLOW.' While I was fiddling with SAVE of SAVE
listing of the demonstration pro I am concerned that readers ing a file in different colours I I hope readers find this infor-
gram I noticed an omission in line may not realise this and will be noticed that I could SAVE pro mation useful.
8 0 , this should read: l.FT disappointed that their 81s re grams and file with all sorts of Yours sincerely
X INT ((10 P I * N) (10 P). main mute. Please ensure that a colours But of course the file Omer Coruk
I also noted that my name 'correction' is included in your name should not exceed 10 London
had been spelt with an 'n' in next column bytes. If while SAVEing a file
stead of a p'. I have b e e n g e t t i n g a you lestrict the actual name to
Regarding the problem of favourable reaction to the sound eight characters and the next t
storing several screen images programs I have written did w o bytes to either one of the What does it do?
(Pen Pals Aug Sept issue! J. you know that (he sound can be f o l l o w i n g : DATA, CODE or
Masters could probably make use channeled into a hi fi through SCREENS. Dear ZXC,
of an excellent article on this the MIC port? I am at presenl So, when you are SAVEing a I want to say a few things about
subject by Duncan Overton in working on a 'sequencer' which file you would do the following: your 'What Does It Do?' article
the Feb March 1984 edition of stores played noted for replay in the Aug/Sept issue. I am
ZX Computing. We shall no longer be a 'silent S A V E * " M " ; 1 ;"namexxxxx almost 1 2 and I have learned a
Yours faithfully, minority'! DATA" DATA I ) (where DATA lot. I was always baffled when I
J.M. Thorp Congratulations on your col in the quote marks is extended turned on the TV and saw people
Swindon umn it should reach the parts mode D.) talking about ' s i n . . blah. .
c o s . w a f f l e ' . But I n o w
understand these things. I like
Kempston E In your article A Present
Irom Uncle' you gave a method
like this to begin with only Psion
know. The routine can now be
trying to program in m/c and
BASIC. There's helpful software
for altering the address at which saved and loaded back to any eg Collins Gem, and you can
the m code works from by alter address. Just call the routine make some very good software
Dear Ray, ing the absolute jump address from the loaded address and for yourself.
I have some comments to make Why not change the instructions hey presto it works! So thanks Sinclair for your
on your April May edition. to relative jumps. Then the The program 3 that you pro popular inexpensive, brilliant
Where was the latest edition routine will work from any ad vided to alter the m/code does computers. If you're sick of
of light screen designer? I would dress without further changes. not work! In line 10 you INPUT s Auntie Ethel's yak. then open up
really like to see this finished1 I he Z 8 0 JR i n s t r u c t i o n and then CLEAR s I . This a briefcase and beat the hi-score
Mr Tydeman also asked how allows a program to jump up lo makes my issue 2 Spectrum on Jetpac. Anyway, hard keys
to send multiple printer codes either 127 bytes forward or forget the variables' Giving an hurt my fingers and remind me
with the Kempston E interface. 128 bytes backwards. This is «rror code. Was this routine of a certain computer beginning
This is easy, enter either as a line quite adequate for ihe large print tested? with a 'B'. I like soft keys,
of program or a direct command routine. To make the alterations Thanks for the good mag and especially for playing games
COPY:REM CHR$ 0 this stops LOAD the routine to its normal please give us more light screen with.
the interface sending its own address of 3 2 2 5 6 and then designer! Brian Gillespie
control codes, leaving the user enter the following POKEs- Yours sincerely Crownhill
in control. All that is now needed Ed Corteen Plymouth
is for the user lo enter as part of Why the routine was not written Wiltshire
his program the lines of basic
detailed in his printer manual for POKE 3 2 3 4 1 .24 The JR instruction Mancomp
the facilities required. POKE 3 2 3 4 2 , 1 72 jump minus 84 Yjytes
For example, for my Epson POKE 3 2 3 4 3 , 0 now spare! Dear ZXC.
RX 80 entering the line POKE 3 2 3 6 1 ,24 1 took my Spectrum 48 K and In-
POKE 3 2 3 6 2 , 1 8 1 jump minus 7 5 bytes terface 1 /microdrive to my local
LPRINT CHR$ 1270 l:CHR$ 114); POKE 3 2 3 6 3 , 0 computer repair shop, but they
POKE 3 2 4 0 9 . 2 4 were unable to help me in any
will switch on the enlarged print POKE 3 2 4 1 0 , 1 4 9 jump minus 107 bytes way.
mode. POKE 3 2 4 1 1,0 Eventually I decided on Man-
comp in Manchester and, after a ^

7ZXC O M P U T I N G DECEMBER/JANUARY 1 9 8 5
WELCOME

short visit my Spectrum was my program 'Voyage of Peril' since they can cause us all sorts nel sound can be made by linking
working faultlessly. (ZXC AugjSept). of problems if we don't keep the three channel sound and I 6
! would like to recommend The following corrections are then) happy). In actual fact it interfaces from William Stuart
M a n c o m p to ail S p e c t r u m required to reflect the original: was all Jerry's fault Jerry is Systems. Just one of these in-
owners. the chap who does all our art tefaces will provide three chan-
Yours faithfully 1 . Add an arrow from box 100 work for us, and we don't have nel sound and sixteen 1 0 ports
Andrew Duncan to box 180. to keep him happy at all. So, Two units will provide six Chan
Glossop, Derbyshire 2. Box 2 30 should read 'Check
memo to Jerry: IT'S ALL YOUR nel sound and thirty two 1 0
p s. They make a good cup of FAULT'! ports, while three units will pro
course with wind'.
tea as well. vide nine channel sound and 48
3 . Add an arrow from box 2 30
to box 1 2 0 0 . I/O ports. However, no more
Hex v Dec
than three units can be linked
Cartoons 4 . Delete arrow head at bottom
together.
left of box 3 3 0 .
Dear Sir, 5 . Add an arrow from box 310 I finish by congratulating you
Dear ZXC, on your excellent magazine.
I am a ZX Computing reader and to box 1400 . After reading the leilers in the Yours sincerely
enjoy your magazine very much. 6. Box 440 should read 4 4 0 0 . Aug Sept issue of ZXC, I feel Simon Bryan
I particularly enjoy your amus 7 . Add an arrow from box 3 8 0 0 that 1 must reply to two of the Nr. Newbury, Berks
ing, topical cartoons. I enclose to box 4 4 0 0 . letters that were sent in to you.
my own cartoon which I think 8 . Add an arrow from box 3 9 0 0 First, the reason why listings
you may like. I w o u l d be to box 4 4 0 0 . are sent in hex is that it's
delighted if you would publish it. 9 . Add an arrow from the 'Trade Shorter. For example, AF B0 3C
Yours sincerely
Una O'Connor
Routine' box to box 44 0 0 . three bytes in hex takes six '81 tips
1 0 Delete the horizontal arrow characters, whereas
Co. Kildare, Eire to box 1 64 5. 1 75,1 76,60 three bytes in Dear ZXC,
1 1 Add a horizontal arrow to decimal takes eight characters. In reply to G .M. Raines, I would
And we're delighted to publish box 1 6 0 0 from the far left. Not only is it shorter to write be happy to swap ZX8 1 adven-
it. Una's cartoon is printed machine code in hex, but hex ture tips if he would like to con
elsewhere in the letters page The rest of the article is splendid always stays the same length, tact me.
so belay keel-hauling . the cat so y o u c a n w r i t e long Meanwhile, here are a few
Avast behind o' nine tails should be sufficient'
Thanks for a super mag.
statements like A6 B4 CO. In
decimal, because the length tures:
tips for the Artie range of adven

Dear ZXC, Norman Brooks varies lie 201 or 1 5 one has


Well shiver me timbers' Your Snodland, Kent two digits, the other three), you Planet of Death wear the
typesetter must have been as must divide them with commas boots to retrieve the gold coin
anxious as you to get away on Oh well . . actually to be fair, it ie. 1 66 ,1 80 .1 9 2 . So, hex really from the lake. Guards can be
holiday. I fearyou are inforsome had nothing to do with our is more convenient. bribed. After firing at the force
confused readers with regard to typesetters <who are a splendid As for D.J. Shellhorn's letter field, dance to the music playing
figure 1 {'Program Layout') in bunch of people, especially about sound, six and eight chan on the radio.

Inca Curse in the fire room,


get the lamp before putting out
\ the flames. Ladders are very
helpful to get onto high ledges

Ship of Doom silver rods +


battery sonic screwdriver.
Improve your eyesight with
glasses. Don't trust little girls.
Fighting is better than running
away. Look up frequently Rope
+ hook help.

Espionage Island — the first pro


blem is solved by feeling the
dark c o r n e r of the plane
wreckage and then pulling.
Unstrap parachute, do not go
south, go west twice. Give the
beads to the native woman who
willdropaknifeatyourfeet. The
graffiti is important, so read it
Stitched is the same as sewn.
I would also like to hear from
ZX o w n e r s w h o use their
machine for programs other
than games.
Yours sincerely
Mark Eldon
ftNb M0 k/ F6&- T H E L r t T F S T / A / Z / A / C t - 4 / K 1 4 6 Fairfield Road
Heysham, Lancashire
M / A / / / Q T U & £ T V ' S T H / S L / T T L t p.s. I would like to know if any of
your readers have any of the
following issues of ZXC that
S ^ A u r y i s M O S L A / ^ S ^ C0AS7&CT L . 6 A / S !
they would like to sell: Volume
1 , nos 1 ,2,9,10,1 1 : Volume2,

8 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
VISA SPEEDYSOFT EUROCARD
ACCESS 01-846 9353 (24 HRS)
MASTERCARD
WE ALWAYS TRY T O SEND YOUR PROGRAMS O N THE
SAME DAY WE GET YOUR ORDER, THAT'S W H Y IT'S NATO ALERT
A wargame simulating a non-nuclear conflict in Europe
CALLED SPEEDYSOFT! All programs normally in slock
before we advertise them! FOREIGN ORDERS between NATO and Warsaw Pact forces. 1 or 2 players, 5 skill
levels. Up to 21 different objectives may be chosen, to
WELCOME, satisfied customers in 64 countries for 3
determine length of play Complex, horrifyingly realistic. Map
years. UK prices include VAT: export prices are the same,
graphics help. Hints given, too. No Stick. (CCSl Casselle £S.9S
plus p&p, bccausc of the extra work involved. Pay by
sterling cheque, bank draft or postal order. All orders
must be prepaid: we send your programs as soon as we HACKER
"Hacker is not like other computer games. We've told you
get your money! It's (aster to order by phone from any Nalo Alert
country with your VISA, EUROCARD, MASTERCARD or how to load the program. Everything else is up to you. A
ACCESS. Call 01-846 9 3 5 3 , 24hrs, 7 days a week. ALL real-life hacker would proceed by trial-and-error and that's
how you play this game." That's what the inlay card for
PROGRAMS FOR SPECTRUM A N D SPECTRUM + . BIG
'Hacker' says. So we won't tell you how to find out about
FREE ILLUSTRATED CATALOGUE W I T H EVERY ORDER: Magma Ltd, or where your SRU's phlasmon valve is, or even
DETAILED REVIEWS, L O A D TIMES, W H A T THE CRITICS what your vital SRU is. Rut there are good maps, lots of
SAID, ETC.. Catalogue includes all the classic 'serious animated graphics and plenty of messages! The more you
software', too. Send £1.00 (refunded with your first discover, the more you enjoy it, lActivision) Cassette £8.00
order) for catalogue only. T W O FREE BLANK TAPES OR While you're at it, why not buy yourself (he 'HACKER'S
O N E FRFF M I C R O D R I V E CARTRIDGE IF YOUR ORDER HANDBOOK (150-page paperback) for just £4,95 as well?

MARSPORT
FROM THIS A D COMES T O £30 OR MORE, excluding
p&p. State choice on order form. Shadow/Unicorn
"This is what the kids have been waiting for, an adventure
* \ . . A VERY P R O F E S S I O N A L S L R V I t t game with destruction as well! The best yet from Gargoyle!"
<Popular Computing Weekly) "lust watch lohn Marsh
A N D LIKE A BREATH O F I R I S H A I R "
shoot... it is one of the best animation sequences ever seen
<('.. Mills, Surrcv) on a Specfrum.'" (CrashlDun Darach in spacer Not really, but
Commander John Marsh has the same walk as Cuchulainn.

HITSQUAD! Brilliant animation, with much improved 3D. DEMO and SAVE
available. (Gargoyle) Cassette £9.95
'THEY SOLD A MILLION' HAS TO Bl ONE OF THE BARGAINS
OF THE YIAR! On one tape you gel four jjreat programs for Ihc
price of one BEACH HFAO from U.S. Cold JET SET WILLY llhe
original version] from Software Projects. OAIEY THOMPSON'S Hacker
NOW GAMES
"Excellent value ... should keep you busy for months ... if
DECATHLON from Ocean. And SABRE WULF from Ultimate. you're new to computing, you're laughing." tPopular
Original prices totalled over £30. (Hitsquadl Cassette £9.95 Computing WecktyJThis compilation tape contains: LORDS
OF MIDNIGHT (Beyond): BRIAN 8LOODAXE iThe Edge):

AMX MOUSE
At last (he famous mouse runs on your Spectrum. The
PYjAMARAMA (Mitogen): STRANCELOOP (Virgin): FALCON
PATROL 2 (Virgin): ARABIAN NIGHTS (Interceptor) It is
astonishing value for money (Virginl Cassette £8.9S

SORDERON
package includes your mouse plus four programs AMX ART a
drawing program full of icons, pull-down menus, pointers.
Not just for fun, but OK for engineering'architectural
drawing, too. AMX COLOUR PALETIE lets you fill in with "Combines the -best of text adventuring with the highly
colour any drawing from AMX ART AMX CONTROL allows successful landscaping techniques to produce a game that
you to use the mouse in your own programs. ICON DESIGNER sets new adventure standards." (Computer Gamer) "A true
Sorderon successor to the realms of Midnight ... definitely shows the
creates and stores icons for use in your own programs. The
whole package, with manuals, |usl £79,95 way forward." ISinclair User) 4,100 locations. 750 w o r d
vocabulary. 3 sentence command recall Now you can see

THE UNICORN
every step of your quest and talk to the characters you meet!
Cheat Sheet available from Beyond if you get stuck. Score.
And SAVE. (Beyond) Cassette £9.95
"Offers more than /ust larger programs ... it's all most
sophisticated and when you consider thai there's also a Y O U Rl t.1 H I M . HI I N K W i l l i
built-in joystick porf, it really docs look like Mikrogen have
made a breakthrough." (Crash/The first ever Spectrum I VI RY C A l A I O t . U I "
program to come with its own interface, to turn it into a MK ik. \ulkm.ii \v, tier mam i
game! And there's a head alignment routine, too. Load/save
to/from tape/microdrive. 104-page illustrated paperback with
clues lor the adventure. Map of the game. Even a Helpline Marspori
MONOPOLY
"Ar» excellent simulation ... vastly superior to the other, non-
phone number. And 6,500 locations to explore in this graphic
authorised versions ... the graphics are very realistic." (HCW)
adventure. iMikro-Ceni Cassette-Interlace £14.95
New Official Monopoly, with 3D board view; for 2 to 6 players
any or all of whom may be the computer. Specify length of
WORM IN PARADISE game if you wish, No Stick. (Leisure Genius) Cassette £9.95

A brand new adventure system from Level 9 is a major event!


More text than ever, by compressing ordinary English over
50%. Vocabulary over 1000 words! Understands more
BORED OF THE RINGS
"An excellent and vast parody... Challenging and
commands than any other adventure. Plus 200 pictures and atmospherically written." fPopular Computing Weekly)
now, with multi-tasking, the game does not stop while the Enhanced version of this huge, funny, beautifully graphical
picture is drawn. No more waiting! Amazing. (Level 9) adventure spoof loads in 4 parts. No Slick (Silversoft)
Cassette £9.9S Now Games CASSETTE £6.95

POST TO: SPEEDYSOFT (ZX15)


Program Name Price
37 CHURCH ROAD,LONDON SW13 9HQ, ENGLAND.
For CATALOGUE ONLY, send £1 cash. Refunded with your first order.
I own a SPECTRUM. I enclose a cheque'PO payable to SpeedySofl
OR charge my VISA/ACCESS'EUROCARDMASTERCARD

: N o n m n • • rmrm
a Signature: Expiry Date
• Please write clearly. If we can't read it, you won't get it, Postage & Packing UK add 75p per order
* Name:
Europe ADD £1.00 per program
B Address: — . Outside Europe ADD £1.50 per program

I
• Postcode:
Total Order
PHONE N O : if any, in case of query

9 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1985
SHOPTALK

Odds and ends, letters, and company info


A letter from BUD for RAM
Eclipse Software RAM Electronics have taken
Dear Ray and Cliff, over the BUD Computers range
Thanks for the review of Letaset of peripherals. Their news
in the August issue, but your release also informs us that they
review in the same column for are about to release a new inter
Scisoft's Astronomy disap face for the Spectrum incor-
points! The program does not porating joystick port, reset but
mention Halley's Comet and is in ton, power indicator and expan-
fact a rip off from my book ZX sion slot. This should be on Ihe
Spectrum Astronomy which market in time for Christmas but
Scisoft now admit and claim (in no price has been quoted.
the t r a d e p r e s s ! t o have
withdrawn.
Yours sincerely
QL books from
Maurice Gavin RIBA FRAS. Longman
Fighting words indeed, and The latest in the Longman
perhaps Scisoft would like to 'Working with the Sinclair QL'
reply. Also I would like to point series is WORD PROCESSING
out that in the News section in WITH THE QL written by David
which we printed the items we Dempster. The book is aimed at
are not reviewing products but three possible users of the Quill
simply passing on information program supplied w i t h the
supplied by the companies. If a machine, absolute beginners,
review sample is sent then a experienced computer users
comment may well be made and and experienced typists.
a full review, either elsewhere or Toenable theauthor tocover
in a subsequent issue, may be all these areas the book is writ
written if we can find space to ten in a very simple manner and
include it. supported by many illustrations.
Finally I mentioned Halley's If you have problems in getting
Comet as a reason why people to grips with the instructions in
may develop an interest in the manual then this book will
The Wetwyn Currah speech syn a good buy and the tact that sound is
Astronomy and unintentionally thesiser is an old favourite which is routed through the TV will add to the supply the answers. I have been
introduced the implication that being repackaged for Xmas. tf you effect using WP's for some time now
the program dealt with it. Sorry, fancy experimenting in this area it is and i was able to learn a few
sackcloth and ashes time again! things from the book. Chapters
include Introduction, Getting
Started, Basic Editing, Filing on
Race round Britain on Micronet 800 Microdrive, Formatting, Ad-
vanced Editing and Printing
Not an actual county connec- Techniques. There isalsoacom
tion, but a recently introduced prehensive appendix section,
game on the Micronet 8 0 0 ser-
vice.
Developed by Mike and Lind
Mr Chips at home
say Brown (Mike is the mind Peter Ellis went through the
behind Chatlineand Gallery), it is usual gamut of confusion and
a simultaneous multi-player frustration when learning to pro-
game in which players travel gram and decided to produce a
around the UK searching for four series of instructional programs
secret locations. Clues are flash- to help others avoid the pro-
ed onto the screen and as the blems he had. HOME TUTOR is
race progresses your the result and consists of
geographical position is in- thirteen tapes dealing with such
dicated by a flashing cursor. topics as basic instructions, pro
Regular £ 1 00 cash prizes are gram design, records, files,
on offer to give you a chance to logic, peripherals etc.
recoup some of your telephone If you are an absolute begin
bill. I haven't been on-line for ner and wish to learn in this
some time now but I will check manner then contact Fearless
this out as soon as I can find my Software Ltd. We were not sup
modem. plied with an address but ringing

10 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
HARDWARE NEWS

01 402 3 4 0 1 should find so- a relative newcomer to the com-


meone who will be able to help puting scene.
you. There appears to be nothing
The course costs £ 9 . 8 0 per startingly innovative in the book
month plus f 1 . 1 5 p&p, alter and the concepts of most of the
natively it can be supplied programs have nearly all been
quarterly for £ 3 0 .00 a quarter. aired before, however it is useful
to have a collection of all the
same type of programs and
Replicating reality there is plenty of advice on how
to construct your own, pro
An issue without a release from viding, of course, you are
Interface Publications and Tim familiar with programming in
Hartnell is rare and this time Basic.
presents us w i t h Replicating Chapters and programs in-
Reality, Exploring Computer clude Power of Simulations,
Simulations. This is a discussion Components of Simulation,
of the simulating of real life Feedback in Action, Simul-
situations and a set of programs taneous Equations, Life, Robot
which demonstrate various Logo, Stock Market and many
types of simulations. This w ill be more. At f 7 .95 it is worth con-
a useful book if your interest lies sidering if you're interested in
in this field, especially if you are this field. Getting into print displayed on screen and printed
in any of seven international
character sets, French, German,
Camel Products have been Danish, Swedish, Spanish,
around a while and have gained Italian and, of course, English.
a r e p u t a t i o n for producing These character sets match the
specialist products. The latest Epson FX80's preprogrammed
item from them is POLYPRINT, a ones. Polyprint provides Llist,
Centronics printer interface for Lprint and Copy and is fully com-
the Spectrum. The difference patible with Tasword 2.
between this and other Cen They do mention that if the
tronics interfaces is that the preprogrammed character sets
operating system is on Eprom are not enough then you also
which saves loading a special have the facility to modify and
program. design your own. Polyprint is
Although the Kempston E f 5 1.69 complete with cable
and ZX Lprint III also have an in- and inc. VAT and p&p from
built operating system, Cambridge Microelectronics
Polyprint's extra special feature Ltd., One Milton Road, Cam
is that it will allow text to be bridge CB4 1 UY.

More joy with featured. Look out for it at your


Mach 1 local store priced at a reasonable
f 8.95.
Will Cheetah ever live down
their statement - 'the joystick
is dead'? (Will we let them?l
A n y w a y , f r o m Cheetah
comes the Mach 1 joystick
which looks rather nice, and it is
claimed that it will withstand im-
mense punishment. I would
have loved to put this to the test
when reviewing Supertest, and
maybe we'll get time to try one
out for the next issue.
In this time of an almost con-
fusing choice of joysticks the
company claim that the three
fire buttons make il worth chos
ing in preference to any other. A
built in auto-fire switch is also

The Saga price of the original to £ 3 9.9 5.


continues The look and feel of the Saga
1 made it one of my favourites
I was full of praise when I to use here at the office and
reviewed the Saga 1 Emperor many an issue of ZXC was typed
Another Xmas goodie is the Gunshot joys tick which is part of the
keyboard from Saga Systems on it. The other t w o keyboards
Joystick and interface combination package for reviewing games for
(Mck offered by Vulcan Electronics about a year and it's stood up to all Ltd., and now that they have in their range are the Saga 2 Pro-
for around C10 00! We' ve used the the punishment we could dish out launched their superb looking file at £ 4 9 . 9 5 and the top of the
Saga 3 they are reducing the lot Saga 3 Elite at £79 .95.

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SOFTWARE NEWS

Seeing stars? telescope and a Spectrum and


tins program you have a vast
Eclipse Software have kept us and accurate amount of infor-
informed of their products with mation about the sky you see on
gratifying regularity, and they any date. The perfect way to
have added three new programs combine two hobbies. C 6 . 9 5 .
to their range. CHEMICAL FORMULAE is a
HALLEY'S COMET is the only databank and revision aid all in
program we know of dedicated one. O and A level students
solely to the comet and appears should find it useful, f 9 95 .
to be the definitive computer Contact t h e m at 79
work on the subject. £6 .95. Ardrossan Gdns, Worcester Pk..
ASTROLABE. Armed w i t h a Surrey KT4 7 AX

Framed Modem drive, D A and A D con


v e r t e r s , 6 4 K paged map
The Gordon Microframe is one memory and there are more
of the few peripherals designed under development.
to be expanded and developed in The main purpose of i heir
the style of the early pioneers of contacting us this time was to
computing In itself it is an open let us know that they have now
frame disk drive controller with implemented Interface I and
connectors for a range of five Microdrive syntax, including
special cards to be plugged in at Hook codes, to their Floppy Disc
will, these give a wide and ver Interface. They tell us that all
satile application to your com programs which will work with
puter. the microdrives will now work
OK, so it doesn't look as tidy with their system.
and neat as most of the peri- The basic Microframe disk
pherals on the market, but il you controller and chassis will cost
are one of the many hobbyist you f 149 50 and cards are
computer users and want to get priced between £ 1 0 . 0 0 and
the most out of your machine £ 6 4 . 0 0 . If you are interested
then this system is worth look phone them on 0 2 9 2 2 8 0 4 6 7 ,
ing at. The cards available to or write to Gordon Micro Ltd., 3
plug in at the moment include a Callendar Road, Heathfield Ind.
Centronics interface, RS232 Centre, Ayr KA8 9 DJ.

Under seige produced on a home computer'


it has ten levels, 920 corridors
Forget the Alamo, the whole and a host of puzzles and aliens.
Earth is under seige in Gargoyle Parts two and three, Fornax
Games latest three part series of and Gath, are due out in January
programs, Covering 500 years and April ' 8 6 , and each part
from 2 4 2 4 , the first part, costs £ 9 . 9 5 . We have all heard
MARSPORT, has you taking similar claims before but at that
part of John Marsh, searching price they're going to have to
the enemy occupied city of deliver the goods.
Marsport to find the plans which If you can't afford Marsport
will strengthen the forcefield then perhaps SWEEVO'S
which is all that prevents the end WORLD may fill the gap.
of civilisation as w e know it. Described as a funny arcade
Described as a g r a p h i c adventure, it features Sweevo
adventure featuring the 'most the clumsy robot. Sounds in
sophisticated animation ever teresting, at £7 .95.

12 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SOFTWARE NEWS

released since our last issue are WHAM THE JUKE BOX,
a welcome surprise. has something to do with the
TERRORMOLINOS another group of the same name, and
off beat adventure from the even though we saw an early
authors of Hampstead and I am version there is enough here to
sure it will be a hit probably by state quiie simply that it is the
the time we go to press it BEST program for the musically
features the same sort of inclined Spectrum user.
humour as Hampstead and Providing two simultaneous
although I only loaded it togive it sound channels from the soft-
a quick run through I was caught ware alone, plus rhythmic white
up in us atmosphere and ended noise options, graphic represen
up playing for over t w o hours. tation of musical notation, tem
The post card style graphics po, editing, looping and the abili-
are an interesting attempt at be- ty to save tunes in a compiled
ing different but I felt that ihe form for use in your own pro-
game, though improved, would grams, either on its own or at the
have still been excellent without same time as a game is played.
them. € 7 . 9 5 . Unfortunately we haven't the
FIGHTING W A R R I O R is time for a detailed review as it
similar graphically to Exploding really needs a week or so todo it
Fist, but your character uses a justice. I will give it._a darn good
sword and has a complex quest going over and report in the
to undertake. We review it fully music s e c t i o n next issue,
in The Jury. r 14 .95

Software news in Brief


• For schools and colleges everywhere tin; information that a
group of mapr educational software houses have |oined together
could well be 3 cause for celebration.
BESA — British Educational Software Associates has been
formed to improve the distribution and supply of educational
software. Some of the companies involved are ASK, Collins,
Widget and Griffin, For more details write to BESA, 4 Little Essex
Street, London WC2 R 3 LF.

• Another group have joined together Ocean, Software Pro


jects. Ultimate and US Gold have created a compilation tape of
their oldest, oops, greatest computer programs. Called
HITSVILLE and priced at f 9.9 5 this does actually represenl good
value for money, especially if you are a relative newcomer to the
computing scene The programs are Beach Head, Decathlon, Jet
Set Willy and Atic Atac.

• Adventure International's latest offering brings fiction's most


durable hero to the computer screen. ROBIN OF SHERWOOD
THE TOUCHSTONES OF RHIANNON is based on the recent TV
series and follows the established format of an adventure with
graphics.
Sure to win as big a following as Gremlins and their other suc-
cesses. this program is available at £ 7 .9 5

• I'm in t w o minds about Quicksilva's new game Schizofrenia.


Hectic and somewhat weird arcade action from a well establish-
ed company for C 7 .99

• PSS produced Mcoder, then Mcoder II and now, after a


lengthy pause. MCODER III. I loved Mcoder II even though you
had towrite ina kind of pidgeon Basic. The latest version is claim-
ed to compile the entire list of Spectrum Basic commands and
handle full floating point arithmetic.
For life in the fast lane look out for it at f 1 2 .9 5.

• Last issue we mentioned the strange goings on at a certain St.


Bride's School and their Quilled adventure The Secret of St.
Brides. We enjoyed it and said that subsequent programs were
likely to be exciting as they developed their style. THE SNOW
QUEEN is the next and could be a biggie.
Designed to be played whilst reading the copy of the novel in-
cluded, you do not control the main character but advise her, This
means she will not always do as you want and may even argue
Melbourne mania and answer back' It sounds unique and we'll try and get a copy
but new programs from there and get our intrepid reviewer to give it a good talking to.
Melbourne House has earned a are an infrequent occurence, so
lot of respect from us punters, the programs that they have

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 13
HARDWARE

Getting into Print through a hole provided in the


frame. Otherwise, once you get
the right cable, everything is
ready to go.

ZXC looks at two low cost, high quality IBICO LTR 1


If you want high grade letter
quality print at a very reasonable
E l 20 (previously £ 1 6 9 . 9 5 1
M-1 0 0 9 to write a party invita then the LTR 1 is the (only)
tion to royalty but it should foi answer, but it carries few, il
just about everything else in any, additional feature, like the
eluding the most picky of editors M - 1 0 0 9 , the LTR 1 weighs3kg
{Are you trying to tell me but is slightly smaller measuring
something? Ed\. It's not so 2 9 8 m m x 198mm x 63mm. It
much that the standard of print prints at 1 2cps and employs a
is radically different from other u n i q u e g o l f b a l l l i k e head
quality dot matrix printers but mechanism that takes its ink
rather that you get the sumesori from a roller (replacable at
of quality for a lot less money. f 2 .50) situated directly behind
The emphasized mode itself it. The head is estimated to have
is perfectly adequate for virtual a l i f e s p a n of 2 0 m i l l i o n
ly any day to-day use as is the characters and carries only one
condensed mode which looks typeface. Elite 1 2, to work with
marginally more like an obvious The character set consists of 96
computer print-out. The normal letters and symbols spread over
typeface is perfectly good but a barrel like arrangement of five
Brother M 1009 pact dot matrix printer designed lacks the near letter quality of wheels.
to sell at just under f 200 The the emphasized and (especially The LTR 1 comes with a
Ibico L TR I connector cable costs between the emphasized double-strike Centronics interface but there is
Supplier: Saga Systems, 2 Eve f 15 and C20 depending upon modes. The a c c o m p a n y i n g a mechanism for adapting it to
Road, Working, Surrey GU21 where you buy it (alternatively manual is fairly comprehensive d i r e c t l y a c c o m m o d a t e an
4JT (04862)22977 you can make your own). There but it could well do with an ac RS232 C connector toeffective
is an optional paper roller complished Japanese English ly convert it into a serial printer.
If you use your computer for available (which costs around translator to tidy up the gram It is designed foi A4 paper (or
anything other than beating £ 2 0 las well as a dust cover and mar and idioms. My manual anything smaller) and has an an
back never-ending hordes of a pin feed unit. The operations came with a set of addenda that noying paper feeding knob thai
aliens, a printer is becoming panel consists of two pad keys was actually longer than the has to be pushed in to turn and is
almost an unavoidable necessi (on-line and line feed) and three original thing. hard to get a real grip on. A
ty. As the GL includes the ex indicator lamps; power, error The 'R' v e r s i o n of the slightly bigger knob offering a
cellent word-processing and on-line. Printing is via a M 1009 looks to be pretty real grip would be a distinct im
package Quill in the price, own- cassette-type, endless fabric much the standard issue in this p rove men t. Nonetheless
ing one w it hout the accompany ribbon with an estimated life- country and is the one most like anyone wanting straight
ing printer is rather like owning a span of a half miliioncharacters. •ly to interest Sinclair owners as forward computer printout and
shotgun without any shells, but Printing is bi-directional logic it comes equipped w i t h both a letters manuscripts with a very
its difficult even to take full ad- seeking with a speed of 50 Centronics (parallel! and an high quality letter print at a
v a n t a g e of the S p e c t r u m characters per second. The RS232 (serial) interface. While bargain price should seriously
without one. character set consists of 96 it is perfectly possible to con look at the LTR 1 The print is
The only problem is that ASCII, 48 European, 16 Greek, nect most parallel printers to a indistinguishable from a good
printers of any quality can be 48 graphic and 21 mathe GL (and with a bit more difficul- typewriter and would be ideal
horrendously expensive, often matical and other symbols. The ty, a Spectrum), it requires yei for anyone willing to sacrifice a
costing twice the price of the number of characters per line another interface added to the bit of speed in exchange for an
computer. Fortunately, prices varies from 80 in the normal labyrinth of wires at the back economical wordprocessor
have been dropping recently and mode to 132 in condensed This not only adds to the cost Both Brother and Ibico
even better news a range mode. There is an enlarged (some of the available interfaces deserve a great deal of credit for
of low cost, high quality printers mode of 40cpl used mainly for are reasonably cheap but many bringing quality printing within a
looks certain. Basically the idea headings and an enlarged con- are fairly pricey for anyone try price range of the non-dedicated
seems to be to give the buyer densed mode of 66cpl. Other ing to build up a computer computer hobbyist and the
high grade print without all the features include superscript, system on a limited budget) but small businessman toying with
added features that, however subscript, italics, emphasized it's another piece of gadgetry the idea of some computerisa
desirable they may be, add and double-strike modes. These that can go wrong. tion. Of the i w o . Brother's
s u b s t a n t i a l l y to the c o s t . various print modes may be Some of the QL peripherals M 1009 is clearly the choice for
Already t w o machines of this combined to give a strikingly now being marketed (the Bright those wishing to take full advan
type have appeared on the varied output. Star modem, for example) carry tage of the capabilities opened
market, the Brother M 1009 The print quality is excellent. a Centronics interface as an add up by linking a printer to a good
and the Ibico LTR-1 sold in this As a writer, I try to give editors ed extra but there is still a clear computer but Ibico have provid
country by Saga Systems. polished manuscripts (but rarely advantage in choosing a serial ed the main essentials at a price
succeed with a typewriter) and printer to link direclly into the that more people can afford
normally this would seem to caJI computer. After all, if the Both companies have taken ad
Brother M-1009 for a letter quality printer. But
using the M 1 0 0 9 ' s combina
peripheral acts up, you can still
use the printer to write a com
vantage of the downward trend
in printer prices by opting for
The brother machine is a light- tion of double-strike and con- plaining letter to the company. If quality output at bargain prices
weight (3kg), compact densed modes is really all any you need to alter the DIP switch In the long term, it's the user
(330mm x 1 9 0 m m x 70mm), reasonable person could ask for. settings, they can be reached that gets the benefits.
near-letter quality, nine-pin im- I suppise one wouldn't use the with any sort of small tool Brian Beckett

14 ZX C O M P U T I N G DECEMBER,'JANUARY 1 9 8 5 2
TASMERCE TAS-DIARY
THE MAIL MERCER THE ELECTRONIC DIAR Y
TASMERCE for the TAS-DIARYfor the ZX48K Spectrum andmiemdrives
ZX 48K Spectrum cassette £9.90
cassette < 1 0 . 9 0 Keep an electronic day-to-day diary on microdrive'
fi Trans fer da ta from MASTERFIL E to TAS-DIARYmdudes a clock, calender, and a separate
TASWORD TWO! Letters and forms screen display for every day of the year Invaluable for
typed on TASWORD TWO can be pnnted reminders, appointments, and for keeping a record of
with addresses and data taken from your day. The da ta for each month is stored as a
MASTERFILE The mail merge facility allows, separate microdrive file so that your da ta lor a year is only
for example, multiple copies of a letter to be constrained by themicrodnve capacity TAS-DIAR Y will
pnnted, each containing a different name and work for this year, next year, anaeveryyearup to2100'
address taken from your MASTERFILE data To Supplied on cassette for automate transfer to
use TASMFRGE you must have one or more microdrive.
microdrivesas well a s TASWORD TWO and
MASTERFILE by Campbell Systems (version 9 or
later).

ZX SPECTRUM
TASWORD
THE WORD PROCESSOR
TWO
TASWORD TWO for the ZX 48K Spectrum
TASMAN
INTERFACE
PRINTER
TASPRINT PRINTER INTERFACE for the
cassette £13.90 microdrive cartridge £ 15.40 ZX Spectrum £39.90
Without doubt the best utility I have re v rwed for the RS232 Cable for ZX Intedace 1 £14.50
Spectrum " Plug into your Spectrum and dnve any pnnter fitted
HOME COMPUTING WEEKLY APRIL 1984 with the Centronics standard parallel intedace. Supplied
II you have been looking (or a word processor, then complete with nbbon cable anddnvmg software. The
look no further " CRASH JUNE 1984 user changeable in tedace software makes it easy to
With 64 characters per line on the screen and a host of send control codes to your printer using the method so
useful features TASWORD TWO is the ideal word successfully pioneered with TASWORD TWO. The
processing package for the Spectrum owner cassette contains fast machine code high resolution full
width SCREEN COPY SOFTWARE for Epson,
Mannesmann Tally, Shinwa, Star, Tandy Colour
TASPRINT TASCOPY Graphic On colour') printers TASCOPY shaded screen
THE STYLE WRITER THE SCREEN COPIER copy software for this in tedace (value £9 90) is
TASPRINT for theZX48KSpectrum TASCOPY for the ZX Spectrum with Intedace 1 INCL UDED in this package.
cassette £9.90 microdrive cartridge £11.40 cassette £9.90 microdrive cartridge £11.40 The TASCOPIFSand TASPRINTSdriveallEpson
A must for dot matrix printer owners' Print your The Spectrum TASCOPY is for use with the RS232 compa tible eight pin dot-matrix
program output and listings in a choice of five impressive output on ZX Intedace 1 It produces both printers e g. BSOnetMiotB
print styles TASPRINT utilises the graphics capabilities monochrome On a choice of two sizes) and large copies AMsrwOMPMO ntCK-90236-N BuorniRtm
of dot matrix printers to form, with a double pass of the in which the different screen colours are printed as IPSO* fx SO MANNfSMANNTAllYMT-80 SHtNWACMO
prmthead. output in a range of five fonts varying from different shades With TASCOPY vou can keep a [PSONMSO STMDMP50V515/5610 DATACPMTHilt
the futuristic Data Run to the hand writing simulation permanent and impressive recordof your screen IPSONMXSOTYPCMt COiMOS-30 DATACPANTHFRN
of Palace Script A TASPRINT gives your output pictures and diagrams A list of printers supported by
originality arid style' The TASPRINT fonts are shown TASCOPY is given to the left
bek>w together with a list of compatible printers.
CQHPflCIA - bold and heivy, good for tiphisis
Cfllfi-ftit - fi fuiiiftisnc scfi.p;
LECT'JRft LJijHT - dean and pleasing to read
TASWIDE flEDIAN - a serious business-like script
THE SCREEN STRETCHER
TASWIDE for theZX48K Spectrum
PQjyjE 01WP7 - a U-ynit-i -tout
cassette £5.50 TASPRINT output shown at less than halt size
With this machine code utility you can write your own
Basic programs that will, with normal PRINT
statemen ts. print onto the screen in the compact
lettenngusedby TASWORD TWO. With TASWIDE Springfield House, Hyde Terrace,
you can double the in formation shown on the screen!
Leeds LS29LN. Tel: (0532) 438301
If you do not want to Cut this magazine simply write Out your order and post to TASMAN SOFTWARE. DEPTZX SPRINGFIELD HOUSE. HYDE TERRACE, LEEDS LS2 9LN

I enclose a cheque PO made payable to TASMAN SOFTWA RE Ltd OR charge my A CCESS/VISA number
ITEM PRICE
NAME _ £
ADDRESS £
£
CXftvde fu rope *dd£l 50 j.f rn*Vp*v i fr/n £
Telephone Accesi/Vnj oidett I e«h (053?) A18301 TOTAL £
PleoesenJmelreeTAWANtirochureoeKnbingyovrpioducts !_] Tick Here /vrouW/jJrefofcraw^ri-jboufyot/rpro^MrTiifo/QLr^

I
At pnceimtlude VAT, poitdge and packaging ZX
i j

15 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
IHARDWARE REVIEW

QL Delta Disk
size in sectors. All the disk infor-
mation is transferred, altered,
deleted or created in this area
until the program is finished, at
which point the whole lot can
then be transferred back to disk.

Ray Elder goes to sunny Staines to This has two main advan-
tages, first an incredible in-

investigate Technology Research's new crease in speed, access is vir


t u a l l y i n s t a n i a n e o u s , and

interface. secondly less disk use means


less wear and less chance of cor
rupted files. A little more
sophisticated knowledge is re-
quired to use this and it's an op
'Hello?' structions given, but also an swapped around so that built in lion that is probably only really
'Hello,' said a voice. 'It's outline of disk handling and disk SAVE/LOAD functions may usable by accomplished pro
been a long time.' drive types. Although it helps if operate without program grammers. Of course, it's a
'Yes,' I said, not having any you have a little computing modification, ie. FLP-USE mdv valuable facility for commercial
idea what had been a long time knowledge I felt that someone will output everything to disk software houses to use in their
and wondering which of my sins who had bought a QL to use for when a microdrive command is
programs.
had found me out. business and had no knowledge issued. Clever!
'John Rutherford speaking, of BASIC would be able to
TRL.' the voice said, I breathed operate this system without too Disk drive
easy knowing we weren't going
to go through the 'Bet you don't
many problems.
After reading the manual,
Practice The amazing versatility in the
know who this is' routine. even w i t h o u t access to a The interface is a neat unit tolerance of drive types is handy
'Why don't you come down machine to try things out, 1 felt I designed in the same style as the if you already own a drive. The
and see our new QL disk inter- could operate the system. QL, once plugged in it looks like only thing that is not too clearly
face?' John continued, and so, a part of the machine. On the left stated is that the drive MUST
year after I last travelled to hand side of the case is the con- have its own power supply.
Staines I found myself ambling nector for the cable from the Using this was as easy as the
west to visit Technology disk drive and at the back is the manual led me to believe, the in-
Research once again. Theory connector for the printer cable. crease in speed and reliability
On arrival, n o t h i n g had The whole lot was assembled in was comforting. Although we
changed outwardly, but inside The Delta Interface in basic form less than ten minutes. have not tested it for a long
the building the company had contains the Disk Operating Although the printer inter period of time, I have been using
changed rooms and I once System (DOS), a parallel printer face is one of the lesser func- TR's Spectrum interface for a
more wandered the maze that is port (Centronics) and a RAM tions of the l/F it is very impor- year now and it has not failed
Unit 1 8, When I arrived, the first Disk system. Extra on board tant as most printers on the once, therefore 1 have every
thing that struck me was the memory of 64K or 1 28K can be market use this format, RS232 reason to trust in the reliability of
neatness and comfort compared supplied as an optional feature. systems are available but usual their QL interface.
to their previous abode. The DOS was written by one ly cost extra to fit. In fact it was a joy to use, and
I was ushered into the main of the QDOS (the QL's operating This worked a treat and a par if this had been used instead of
office where it was pleasant to system) authors and is therefore ticularly useful function was the microdrives when the QL was
renew the acquaintance of fully compatible w i t h both ability to specify the size of the first launched, Sinclair Research
John, Steve Tam and Steve QDOS and the microdrive opera- print buffer. This can be to any would have had a hard time
Mok. Also to meet C. Tang the tions. Any choice of disk drive, size, memory permitting (and keeping up with the orders. Now
production manager and Y. 5 . 2 5 " , 3 . 5 " , 3 " , single or dou- here the extra 1 2 8 K was that it is here it should make a
Cheuk the marketing director. ble sided, 4 0 or 80 track, and useful), and the result is that a g r e a t d i f f e r e n c e to t h e
Many happy moments passed any combination of up to four lot of text can be held ready machine's potential.
discussing the state of com- drives can be used. The inter- while the printer is operating, I hope software houses will
puting in general, the QL in par- face automatically determines but the QL is left Iree for other make use of the facilities provid-
ticular, and their interface in which type is being used and purposes, ed when designing their pro-
brief. I left with not only the performs accordingly. The documentation was a lit grams, and all users should con-
Delta interface for the QL but Provided that the disk size is tie sparse on information here, sider this unit as being an impor-
also a new version of the Spec- the same, many disk drive files and a bit of trial and error was tant purchase. At the back of
trum disk interface, the Beta are compatible, ie. a file written needed to get all the operations I the manual is a wealth of
Plus. 'There are a few surprises on a 40T SS drive can be read on wanted, but finally everything technical information which
in that one for you,' said Steve an 80T DS drive. And, an auto came together. hard/software experts will find
with a glint in his eye. boot facility is also provided. Bought separately, such an invaluable. I may even abandon
I took the Delta manual home Most of the operating com interface is priced at around the Spectrum and Tasword II
to read, because by the time I mands, except for a few special £ 3 9 . 9 5 . now that I have a reliable
got to the office it was well past functions, are the same as the medium for storing text on the
6,00pm (overtime accountant existing microdrive commands. QL.
please note) and anyway I prefer
to read instruction manuals
All you have to do to use the disk
drive is to use 'flp' instead of
RAM disk The QL plus the Delta Disk
drive means business!
before trying things out, it can ' m d v ' in SAVE/LOAD com- Another extra, but again a very Delta Disk Interface
save a lot of frustration and even mands. If you are using the powerful one, is the ability to £ 1 2 9 . 5 0 : with 64K RAM ex
expense! printer port or the RAM disk then use a RAM disk. If a program is tension, £ 1 9 9 . 0 0 : with 128K
It took about twenty minutes use 'par' or 'ram' instead of going to make many accesses to extension £ 2 4 9 . 5 0 , All prices
to read the whole thing, I liked 'mdv', disk files during its operation are inclusive of VAT, but add
the simple informative manner These commands are mix- then an area of memory (again £ 4 . 0 0 for p&p.
in which it had been written — able, so COPY-mdv 1-file TO the extra 1 28K was useful) can
no previous k n o w l e d g e is flp 1 -file will copy 'file' from be used instead of the disk. This Technology Research Ltd, Unit
assumed — and not only are microdrive 1 to disk drive 1. The is created by giving it a number 18, Central Trading Estate,
connecting and operating in- names of these devices can be from 1 to 8 and specifying its Staines, Middlesex TW1 8 4XE. •

16 ZX C O M P U T I N G DECEMBER,JANUARY 1985
POOLS PREDICTION
Outputs, best draws, homes and aways.
Features analytical draw finder.
Prints team form comparison graphs.
Analyses and graphs results every week.
Takes full account of midweek games and "cup" matches between
main league teams.
Promotion/relegation option. (Can be used from season to season).
Easy to use, even for beginners.
Gives paper printout of predictions if required.
Full back-up service.
48 WINS (309 DIVIDENDS) received by author so far.

"This is the best and most scientific of any program I have seen" -
Mr R A P. (Secretary, Orpington Computer Club).
"Once again, thank you for one of the best investments I have made"
-Mr D.L.B (Feltham).
"I would like to congratulate you on your excellent service - it is a
rare thing these days" - Mr L.G.P. (Shrewsbury)
"I found your program very professional and user friendly -1 am very
satisfied with it" - Mr B.D. (Spalding).
ROTRONICS
RACING PREDICTION
An easy to use predictor, by the same author, for the flat racing WAFADRIVE
• Dual 128K storage
season. • Fast, reliable access
No knowledge of racing required • Centronics and RS232 ports
Input information from any daily newspaper. • FREE Spectral Writer wp package
Holds data on draw advantage and ground conditions for 37 British • FREE blank water
courses. Blank walers 16ME2 49| Aiiprices>flciu3eVA1andp • p Pieasemake
Self-teaching program is never out-of-date. Customers report wins 64K(E2 128K |£2 99) your cheque POpayabietoSMT Orquote
Heathrow Nightflne II [14.SS Space Wars Access.Barciaycardnumber Wnieyourname
of up to 33/1. Seiddab Attack Luna Attack £14 95Bear and add ress clea i ly Please allow 2B days lor
Bovver Wong'sloopylaundiy WoildCup delivery SMT FREEPOST. Greens Norton,
£9 95 Melbourne Dra«v£9 9S Star&ike £7 95 Towcesler Northants, NW286R

SMT
Ask for: British Pools £11.95
Australian Pools £11.95 ZAPP(Assemblei Disassembler/Monrtor)
Flat Racing £11.95 £19 9SSrier ockE14 95HS232leadETO 95
Centronics lead £12.95 Mugsy £9.95 Stock
Allow 7 day* (or delivery. Chequea, P.O.* payable to Rombeal. Or quote Manager' £19 95FinanceManager* £19 95
Acceat Eurocard Maitercard number. Aflflress Manager '£19.95VAT Manager' £19.95
Ovarttat customer* please add £1 tor p&p "80column version
Romtwtt. Dept. Z X , 2, Welland Crolt, B l e e d e r , Oxon., 0 X 6 8 G D .
Avaiiablo (or 46 Spectrum British Pools also uvula Die lor Commodore 64

IS

MASTERFILE
HOME & BUSINESS FILING SYSTEM Jpe
The most versatile database for the 48K Spectrum
• Up to 36 User-Defined screen/print formats per file, and each
can display different selection of fields, in different sequence.
• High efficiency data packing, no wasted filespace. ^ Casters.
• Super fast, multi-level file search, record selection capability,
• Up to 51 columns, and 22 lines per record can be displayed.
O
Q c o W e c ^
• From 1 to 22 records at a time can be shown on screen.
• Up to 128 characters per field, 36 fields per record. ecovds.
• Compatible with Tasman, Euroelectronics and Kempston \ddd\e s
printer interfaces, and adaptable for most disc systems.
"... the best d a t a b a s e for the spectrum is now even better." Sinclair User, Jan '85 ides- v
Design your own print layout with MF-PRINT. StaroP*
For Masterfile version 09. increases the number of columns fo 136- and has numeric
editing and column totals Almost no reduction in soace available for data L —• J \M'\n©
• Masterfile version 09 £14.95 Tr
« proQrarns are sen ) C
on cassefte oy return In
• MF-Print £6.95 detailed rrarxiai ^ Te\eP
Prices include VAT MICRODRIVE
• Masterfile with MF-Print
All available for trie spectrum j.)
£19.95
a&o avaiiabe trom eoding oonpute< stores
and P&P anw»nefe
wvttvn Ei^coe COMPATIBLE ' Uste-

cs I
• Enhanced version available lor Amstrad at £24.95 V 3_ Gar
c WO.

, C a m p b e l l Systems ( D e p t . Z X )
C t p n n C 57 Trap's Hill, L o u g h t o n , Essex
^ i ^ / i I l v J p = ^ I G 1 0 1TD, E n g l a n d . Tel: 01 5 0 8 5 0 5 8

17 Z X C O M P U T I N G D E C E M B E R / J A N U A R Y 1985
HARDWARE

The Spectrum protective code, and all saved


without problem.
There is a very slight problem

Beta Plus Disk


in that this operation uses the
first tracks on a disk, overwriting
anything already there. This
means that having used this
operation you have to rename

Drive
the file (all files so created are in
itially given a space as a
filename) and then, using the
utility provided on disk, transfei
it to another disk. In this way I
found you can store three pro-
grams on a 4 0 track single sided
A look at a new version of an old disk plus a main 'auto boot'
menu program.
favourite. -r^-mm
Oh yes, on power up or on
pressing the little reset button
on the side of the interface you
Beta Disk - now have the ability to auto
matically load and run a program
called BOOT on the disk. If there
Interface is not such a program present
then the system gives a disk er
For Spectrin.. . ror report and you can continue
as you wish.
One thing that worried me at
TECHNOLOGY first was that, because of the
RESEARCH automatic sensing of the drives,
the drive is activated and the
light remains on if no disk is in it
on power up. Apart from giving
me a moment of concern and
frantic call to TRL who assured
me this was correct, this has no
effect and, on inserting a disk,
the drive whirrs and settles
down. No ill effects to the disks
have been experienced.
The updated utilities disk pro-
vides more powerful programs
to backup, catalogue and copy
files and each is simple to use,
and a valuable bonus. Owners of
T e c h n o l o g y Research Ltd. the number and type of drives grams as Tasword II or Master the original TRL disk interface
presented us with their new connected and operates them file, two of the most likely pro- need not feel left out as they can
Beta Plus with an air of pride. automatically when performing grams to be used with a disk update it for £ 2 3 . 9 5 inc. VAT &
Outwardly it looked the same as such operations as Format. Very system is very simple and takes P&P, a reasonable price and well
their old interface, a large box c l e v e r . All the s t a n d a r d only around ten minutes, and worth having done.
which lies flat behind the Spec- SAVE/LOAD operations are pro- four of those are loading the The interface is on sale direct
trum, but with the addition of vided although VERIFY is not. original from tape! from TRL at £ 1 1 1.2 5 inc. VAT
t w o small buttons. However the After continual usage over a The interface has proved to and P&P.
capabilities are greatly improv twelve month period with the be compatible with all the disks
ed. To briefly recap on the first version, I have never had a used with its predecessor. Opinion
o r i g i n a l s p e c i f i c a t i o n s for failed save.
readers who missed our review The original version did not This is now THE disk drive inter-
is probably a good idea.
The Interface connects to the
provide sequential loading and
saving a 2 5 5 byte sector ol
Extras face for the Spectrum, I know of
no other which provides such a
port at the rear of the Spectrum code was included. The new comprehensive range of opera-
and has a through port on the version is greatly improved by Especially interesting to those tions and facilities.
back to connect further the addition of both sequential such as myself who enjoy play- It's nearest competitor is the
peripherals, it is fully compatible and random access file com- ing games as well as using it for excellent Discovery all in one
with the ZX Interfaces I and II. patibility, the latter of which business is the new 'Magic unit from Opus which, although
and has a power supply socket speeds up file operations. This Button'. This performs the same l a c k i n g some of t h e TRL
— using the original Spectrum was one of my few criticisms of operation as the Miracle Micro- features has a few different
PSU - on the left and the disk the original. driver does for Microdrives, in ones to offer, such as printer,
connector on the right. The interface takes a mere t h a t t h e w h o l e of the j o y s t i c k and v i d e o p o r t s .
Up to four drives can be con- 128 bytes of memory for its Spectrum's RAM memory is However TRL gave me the
nected and these may be any own use and is easy to use even dumped to disk by pressing the distinct impression that they
type, 4 0 / 8 0 track, single or dou- if you only have a minimum of small button at the rear of the in- have not finished with theirs
ble sided, and in any combina- programming knowledge. The terface. yet. . .
tion. They must however be manual is a perfect example of This means that ANY pro-
double density drives and have how to write in p simple, clear gram can be copied to disk, at Technology Research Ltd.,
their own PSUs. manner yet contains all the in least, I tried it with some twenty Unit 18,
A new feature of the inter formation any user could re games which included those Central Trading Estate,
face is that the system checks quire. Converting such pro with different fast loaders and Staines.

18 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
m* ARTWORK T H I S IS M O R E T H A N J U S T M A N I P U L A T I O N O F USER
D E F I N E D G R A P H I C S . You will find your o w n style develop-
ing as you b e c o m e acquainted with the features of this
stunning graphics package.
T h e first time w e saw A R T W O R X w e e n d e d u p staying at
the office till two in the morning! T h e more you work with
this program, the m o r e you find you c a n do with it.
W h e n first loaded a comprehensive m e n u appears, bro-
ken d o w n into sections such as FREE, LINE, C I R C L E , POS-
\ 4
ITION, ERASE a n d M O D I F Y . Within these are degrees of

What comes
variation accessed by moving the joystick controlled cur-
sor to the option of your choice a n d hitting the fire button.

out off t h e H a t
T h e screen changes to " c a n v a s " a n d your cursor be-
c o m e s a tiny paintbrush activated and deactivated by
pressing the fire button.
i s u p t o I f o u l T h e speed at which the cursor moves a n d the thickness
of the lines you draw are controlled by a 1 - 4 keyboard
selection.
To c h a n g e options, tap the space bar and you shoot back
to the m e n u to reselect.
You can create in modules on screen a n d then move
t h e m around, reverse them, mirror them, e x p a n d or c o m -
press them, erase in part or in total, colour t h e m using
" s p r a y " , " s h a d e " , b a c k g r o u n d and paper selections.

Then combine the modules into a cohesive package and label using any of four typeface variations or select the User Defined
Graphics option and design your own typefaces I Save it or dump it to the printer, or, use Tasman's TasCopy to shade in grey scales
to the printer.
Also included is ARTWORX GALLERY- You can store up to five designs and recall, review at random or cycle your masterpiece to
create animation! This is one of those programs that once you see it run you've got to have one of your own.
ARTWORX is microdrive compatible, Kempston joystick compatibleand will work with Tasman's Printer Interface, (orany printer
interface that uses printer buffer software).
Menu
Create some magic of your own- ARTWORX.
Includes VAT £9.95
I P BB HIT IBP
B K R U R S f t K I <--

t ;S3t B P " i f f i P iJjffJr

hh Eii ID L m »h • •Bw'iii
•>"•'
• •
I• • • • • •

llmum a • • • • •

Question: What new Spectrum game program creates a whole new category of entertainment software, is neither arcade, nor adventure
based, and yet combines the thrill of crmpetition with a tough test of your general knowledge? time's upll
Answer: TRIVIA 2000 - A detailed and fast paced version of the popular board game!
• Decide the number of players. • Determine how many questions each player is asked. • Fire up the questions and see how well you can do.
The computer "taunts" you, applauds your success and sympathizes when you are wrong. The scoreboard keeps track of each player's progress
and can be checked at any time - the number of questions asked to date, the percentage of the total answered correctly, all with as few disparaging
remarks as possible, (this program turns your Spectrum into an
arrogant machine!). Please add 50p
D ARTWORX
Trivia 2000 comes with a set of General Trivia Questions. You can • TRIVIA 2000
lor shipping & handling

order more questions separately covering: Sports. Colour Code. Super • Please send information on 'FRAME' and"TRUSS"
Sleuth and General Categories 1 and 2. Watch subsequent adverts for
new category listings.
This is a great game individually or collectively and also a great way
Address
for non-computer users to experience the versatile attributes of the
Spectrum, (it's also a lot of fun!!). £ 9.95
includes VAT
"FRAME" and "TRUSS" Postcode
At last, we have "FRAME" and "TRUSS" programs that will put the
Spectrum Plus to work for the Consulting Design Engineer, the Civil/
Structural and Mechanical Engineer as well as the Engineering student. Ramcx TM

I n t e r n a t i o n a l Ltd.
17620 26 MILE ROAD
WASHINGTON. MICHIGAN 48094 U.S.A.
TELE: 01-313-781-5800
Please write for information and pricing.
USA NEWS

Across the Pond by Mark L. Fendrick


program from its memory. In
command mode, type in; SAVE
" f i l e " CODE 2 6 7 1 0 , filelength,
where filelength = the length of
the MSCRIPT file noted earlier.
You may, as an alternative,
substitute a number such as
2 0 0 0 0 which will cover any file
you would ever want to LOAD,
What is it about computers in sending MSCRIPT files using was operating a photocopy and keep this tape for future use.
general, and Sinclair computers MTERM follows later in this col- business at the time, and decid It is not necessary to have
in particular, that draws many of umn,) From my T/S 2 0 6 8 to an ed that what I needed was an in- anything to SAVE in memory as
us so strongly to sit in front of a MCI print facility in Europe in voicing program. Also, the tradi- all we are interested in here is the
TV or monitor screen for hours less time than it took to read this tional home finance and check- creation of a dummy header.
at a time? The answer to that sentence. book uses seemed such a good The reason for this is that
would have to be as varied as idea, and I anticipated putting MSCRIPT SAVEs its files with a
the people who own them, and it Comms m y Z X 8 1 {with Memotech 64K non-standard header which can-
add-on) to those uses. And not not be reLOADed using the nor-
is in that variety that the answer
lies. Tonight, major league That brings us to another to ignore my wife's (less than) mal Sinclair LOAD command.
baseball went on strike, and I popular use for the Sinclair com- enthusiastic anticipation, I in- This will create a header with the
find myself sitting at my desk puters; t e l e c o m m u n i c a t i o n . tended to transfer her information concerning the ad-
looking to my T/S 2 0 6 8 to fill With one of the t w o modems gradebook to this new marvel. dress to which the file is to be
the void. I find that I have to put now on the market, you can turn In the months that followed, I reLOADed, as well as the file
my computer to many uses in your TS/ZX or T/S 2 0 6 8 com retreated to the bedroom (where length. Press the ENTER key,
the past few years, something puter into a terminal to com- t h e c o m p u t e r n o w h e l d and any other key to start the
that not too long ago would municate with other computers residence) and s t a r t e d the SAVE procedure, but as soon as
have been nothing more than via the telephone lines. In addi- development of the necessary the header (the short first part of
science fiction. But Clive Sinclair tion to the ability to send mail software. Soon my business the SAVE) is recorded, you may
was the one to change that for electronically, there arc t w o records, home finances and stop the tape, and press the
me, and since you are reading other popular uses of a com- checkbook had entered the CAPS SHIFT/BREAK combina-
this column, probably for you as puter/modem combination. The computer age, and the grade- tion to stop the procedure. Now
well. Once the pricetag for own- first being the commercial ser- book program grew to a full rewind this tape and remove it
ing your own computer was in vices such as The Source, Com class management package. from the recorder. Replace the
the thousands, but Uncle Clive puserve, and Delphi, which pro- When I saw the lack of quality tape containing the MSCRIPT
(not yet Sir Clive} changed that vide a wide range of services. software of the market in those file (do NOT enter the MSCRIPT
with the Z X 8 0 and ZX81, and From games, to financial ser- early days, I sought publishers, software though), and type;
those of us who had dreamed of vices, weather and news, for a and my own Teacher's Grade- LOAD " " . As soon as the
having one could now afford it. fee (based on the number of book (Timex), Invoice Control header has been read (you will
But, how many of us actually minutes you are connected) and the Financial Record Keeper not get any file name) stop the
had a use in mind for our new there is something for almost series (Heath Computer Ser tape and manually rewind the
computers when we first anybody. One of the most vices) were marketed. tape one quarter turn of the hub.
bought them? For that matter, popular features of these ser- But how about you ? What do Now remove the tape and put in
to what use do we put them vices is user-to-user c o m you do with your Sinclair com- the tape w i t h the d u m m y
now? Has it become a paper- munications. Realtime conver- puter? Drop me a line and let me header. Type LOAD " f i l e "
weight for lack of a worthwhile sations w i t h other computer know what your computer is do- CODE and press ENTER. As
occupation, or a workhorse us- owners all over the country are ing these days. soon as the header is recognised
ed daily? It is with this question one of the byproducts of this and read, stop the recorder (DO
in mind that w e open this
month's column.
new technology. Many Sinclair
owners have found out about
MSCRIPT NOT PRESS BREAK), put back
the MSCRIPT file tape and press
First and foremost at the pre- the weekly conference each As promised, here is the pro PLAY on your recorder. You will
sent time are the wordprocess- Wednesday night (at 10.00pm) cedure for sending MSCRIPT see the familiar reading pattern,
ing abilities of my T/S 2 0 6 8 . on CompuServe. By typing GO files using MTERM and your which will probably end with an
When I first started writing a col- PCS-54 dozens of Sinclair com- Westridge modem. A few facts error message. Don't worry,
umn, it was done on a conven- puterists can get together to which are necessary for you to nothing is wrong, and it should
tional typewriter, which meant discuss a wide range of topics. know before you begin are the be expected. Stop the tape, and
that once I typed a sentence or For those of you who don't address of the start of the LOAD your MTERM program,
two, and decided to change it, I care to spend the money involv- MTERM buffer, and how the but do not PRINT USR 5 4 0 1 6 .
either had to resort to tipp-ex, or ed with these services, there are MTERM software knows that If at this point you were to go
retype the entire page. With the the local bulletin boards main- there is something actually in to the MTERM menu, the buffer
wordprocessor, however, I am tained by individual computer the buffer. The answer to the would show that it is empty.
not committed to anything I enthusiasts. Many of them cater first question is simple, as the This is because the end of the
type; even after it is printed. to special interests or particular MTERM buffer always starts at buffer is indicated by the system
Since my best thoughts seem to computers. They consist mostly address 2 6 7 1 0 . You will need variable VARS. If you were to in-
always come the second time of a message base where callers to know this address in order to vestigate, you would find that
around, I cannot imagine being can read and leave messages to place your MSCRIPT file in the VARS is currently pointing to ad
able to write this column any each other, and some form of proper memory, dress 2 6 7 1 0 . POKE 2 3 6 2 8 ,
other way now. data base with such things as Once you have SAVEd your 2 0 0 to change that, and then
Until recently, I made my newsletters or public domain MSCRIPT file to cassette in the activate MTERM. Now you will
changes, printed out a copy of programs. One such bulletin normal manner, note the length find that the program recognizes
the final result, and then con- board w h i c h caters to the of the file (from the MSCRIPT that your file is in the buffer. You
signed the column to the U.S. Sinclair c o m m u n i t y can be c o m m a n d menu) and then can now transmit it in the normal
mail and hoped for the best. The reached at (7 1 8) 2 9 6 - 2 2 2 9 . remove the tape f r o m the manner.
past few columns, however, To be honest, though, when I recorder and place it aside. Now Take my word for it, it is not
were sent from New York to first ordered my ZX81, I really take a fresh, blank tape and really as complicated as it
Europe in just a matter of did not have any specific use in place that into the recorder. sounds, and once you do it once
seconds via electronic mail. mind, but soon thought of a few Turn your computer off and then or twice you will see how easy it
(Read on . . . the procedure for uses to justify the purchase. I back on, to clear the MSCRIPT really is.

20 ZX C O M P U T I N G DECEMBER,JANUARY 1985
Try beating ourSpecDrum!

Digital Drum System


for the Spectrum

8 DIGITALLY RECORDED REAL DRUM SOUNDS


SIMPLE TO USE — UP AND RUNNING IN ONLY MINUTES
A TRUE DIGITAL DRUM MACHINE
'REAL TIME' OR ON-SCREEN PROGRAMMING
COMPLETE WITH SOFTWARE
EXTRA SOUNDS CAN BE LOADED FROM TAPE
CREATIVE, EDUCATIONAL AND FUN
THE MOST EXCITING PERIPHERAL EVER DEVELOPED
DYNAMIC FILING SYSTEM — STORE OVER
1000 PROGRAMMED RYTHMS
TAPE SYNC FACILITY
SONGS CAN BE SAVED ON TAPE
POLYPHONIC
COMPREHENSIVE MANUAL

I
JUST PLUG INTO YOUR HI Fl i wtliowbaook science p*rk. cwckhowell road, st meuoms.carovf
TELEPHONE CARUFFI0222)777337 TELEX 4B745S
(Eiporl anquntfta - contact ChMtafc d>r*Ct)

21 Z X C O M P U T I N G D E C E M B E R / J A N U A R Y 1985
QL HARDWARE

Micro
own power supply and a max-
imum track step time of 6ms.
However, probably due to the

Peripherals QL
specific nature of the drive re-
quirements, the marketing ap-
proach has been to offer one of
t w o packages, an l/F plus one
3.5, 720KB (formatted), double

Disk System
sided, double density, 3ms
Track step time, or an l/F plus
t w o of these drives. The drives
are small, neat black units with a
PSU attached by a 6-pin Din plug
to the centre of Drive 1 A ribbon
connector cable runs from the
drive to the l/F,
we take a look at the Sinclair approved The second drive is different
from Drive 1 in that it has a
unit for disk storage on the QL. power lead ending in a 5-pin Din
plug which connects to Drive 1
and a short ribbon cable which
also connects to the rear of
Drive 1. Both of these are per-
mantly attached to Drive 2.
These drives can sit side by side
or on top of each other. The
whole system looks very smart
and attractive and compliments
the QL in appearance.
The software consists of a
set of detailed instruction sheets
which fit into the QL manual.
These are written in the same
style as the manual, simple step-
by step initial i n s t r u c t i o n s
followed by in-depth details.
The typeface is different but I
found it easier on the eyes. Also
included is a disk of utilities.
These consist of:

REPOS _ B A S , allowing
modification of up to 9 win-
dows.

It was a surprise to many when


Sinclair Research officially en-
dorsed the Micro Peripherals
disk system, as it was the only
one on the market at the time
which did not contain software
written by the QDOS author.
However, when the system ar-
rived on our desk for review we
could see some of their reasons.

First Sight
The interface looks much like
any of the others on the market
in that it fits into the port on the
left of the QL, flush to the case
and in the same style as the QL
itself, becoming an integral part
of the machine. The drives plug
into a standard connector on the
left.
It is possible to use the inter-
face with drives other than their
own providing the drive attach-
ed is 8 0 track, double density,
single or double sided, has its

22 ZX C O M P U T I N G DECEMBER/JANUARY 1985
OL HARDWARE

BACKUP X, a versatile file co- experienced. There is an option machine to use FDK in place of taneous, comparisons w i t h
pying program. to set the interface before fitting MDV then run the program and similar units is not really wor-
EXCHANGE X, a string search so that single or double sided proceed as normal. thwhile as, because the times
and replace of files. drives are specified, track step It seems strange that the four are so small, differences are
DEL FILES X, to delete files. time and whether or not the disk programs were not supplied academic.
EX_DIR X, a detailed direc- is called on power up instead of ready for use on the disk, after all The disks themselves are
tory utility. the microdrives for autoboot. the originals were supplied with more robust than the more com-
INSPECT X, a l l o w i n g ex- To use the disk systems FDK the machine and the unit is mon 5 . 2 5 " type and therefore
amination and modification of is typed rather than MDV, a soft under the Sinclair banner. If this more reliable and less likely to
specific files. ware option exists to switch had been done it would have suffer damage. Against the
SPOOL X, allowing transfer of operating modes so that the disk made it much more attractive for system is the fact that specific
files in ASCII form. operates on MDV instructions. the owner or prospective buyer drives must be used and the
COPY X, for s i n g l e file DGET and DPUT give you the who only wanted to use the most common 4 0 track 5 . 2 5 "
transfers. ability to read or write a 512 machine and not have to cope is unsuitable. This means that if
REDIRECT X, moves files to byte sector of the disk. with this operation. you already possess one it is
various outputs such as a VSET is useful as you can assign A variety of other software unusable. Also, the availability
printer. a three letter name of your own by Sinclair, Micro Power and of 3 . 5 " d i s k s is n o t as
COLPRINT, allows printing from choice to the drives, I found this Talent Systems also converted widespread as the 5 . 2 5 " kind,
a mode 4 screen to a suitable meant that existing software on without problem. and they are much more expen-
colour printer. disk using FLP could be used. sive, (approx £5.00 compared
D.A.M.E., a Disk and Memory U s i n g t h e s y s t e m is with E2.00/C3.00).
Editor. reasonably s t r a i g h t f o r w a r d Comments A further problem which I
although it was a good week was unaware of until I went to
before I felt confident enough to Essentially, this is an excellent buy one, is that there is no 3 . 5 "
This latter program is a very operate the system without the unit. The biggest advantage of standard format. The one I
powerful aid to manipulating manual beside me. Having this system over others is that it bought would not fit into the
files, working as it does at sector grasped the essentials the is supplied as a package. This is drive! So, if you want an 'off the
level. All these are excellent and system produced no nasty sur- bound to prove attractive to peg' system this one is ideal, but
provide a good range of valuable prises. potential buyers as it can be pur if you want equipment which
utilities for the experienced pro- Conversion of the four Psion chased, connected and used im allows more flexibility — such as
grammer. programs was accomplished mediately. It has proved reliable additional memory and parrallel
with reasonable ease, although and a tremendous improvement printer port — then you may well
In Use it took a few tries before I found over the microdrives, both in look at something like the
that it worked best to copy the reliability of storage of files and Technology Research Interface,
Connecting to the QL is simplici- p r o g r a m , l o a d t h e CON in speed of access. Loading and reviewed elsewhere in this
ty itself and no problems were FIG BAS program, flip the saving of files is almost instan-

SHARP'S INVADES ENGLAND! BRITAIN INVADED! £9.95


WAR in the EAST £9.95
The simplest of the four but our best seller. As The most advanced of the four games. The play-
commander of the German forces you must er must defend England in this hypothetical in-
launch a surprise invasion of Russia, capture vasion during W W II. Effects of rail lines, weath-
and hold Moscow before the weather and the er, terrain & ports. Scrolling map, multiple at-
Red Army overwhelms you. Effects of terrain, tacks. Every G e r m a n invasion is totally different
weather and fuei supply. Eleven types of divisions All this, and more makes this g a m e a must! 11/2
and brigades. V/2 hr. playing time. Also for hr. p'aying time.
16K-ZX81.
Each game has a hi-res. map in color with sound.

FALL of the THIRD REICH £9.95


These are true military recreations of what hap-
pened. The ending depends on you. These are
not arcade or adventure games! No fast reflexes
As the German player your devastated army must
required. Not recommended for young children.
hold off the Allies and Russians on two different
fronts, and hold Berlin as long as possible. Ef- Spectrum 48K
fects of rivers, forts, and mountains. Multiple No postage or handling required. All orders dis-
attacks are used on both sides. A real nightmare patched in 48 hrs. via air mail. Guaranteed satis-
for the player. 1 hour playing time. faction. Thousands sold in U.S.A.
Order by c h e c k / P . O . / V i s a .
ARDENNES £9.95 Now available to you only by:
In a desperate attempt you have to break through S H A R P ' S

the Allied lines, inflict heavy losses and capture Rt. 10 Box 459
as many towns as possible to prevent "Fall of the Mechanicsville, VA 23111
Third Reich". Scrolling map—-brigade and regi- U.S.A.
ment size. 2 hours p'aying time. Tel: {804* 730-9697

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1985 23
(SPECTRUM GRAPHICS!

Screen Master
For those of you wary of attempting
displayed indicating that the
user should press a key, ie
Select option' is a prompt.
Request' like prompt' but in-
dicates that some data should
be entered by the user.
Screen' refers to a section of
Ram holding the data of the
our machine code graphics series, design being worked upon.
' T e x t ' refers to characters
Matthew Probert presents a powerful which may be displayed in

screen artist program in BASIC.


'Print' fashion.

Functions
Screen Master provides the user
wiih eight different types of
function for the display and
manipulation of screen data.
These functions are:

'Pixel functions' which operate


basically upon single pixels.
Block functions' which operate
upon a block of data and tend to
use the Editor cursor'.
'Screen functions' which
operate upon screens of data.
'Tape functions' which use the
cassette recorder.
Attr functions' which change
attributes.
'Text functions' which mani-
pulate text.
'Brush functions' which provide
various shading effects.
'Status functions' which alter or
display the current status of the
system.

Pixel functions
There are seven pixel functions;
'Freehand', 'Circle', 'Ellipse',
'Box', Move', and two others
'Move' and 'Erase' which are
only accessed from 'Freehand'.
There are then three func-
tions relating to 'Freehand',
these plot points, move the pixel
cursor and erase points respec-
tively. From one function to
another within Freehand the
user may select either one of the
other Freehand functions by
pressing keys P, M and E respec
lively or exit back to the Menu
by pressing Enter. The Freehand
function is selected from the
Menu by key F.
When in Freehand mode, the
pixel cursor, like all other cursors
may be moved around the
display by the cursor keys or
Screen Master is a graphics
design system for (he 4 8 K
Terminology may be moved around the
display under user control.
keys 5 to 8. During Freehand in
all of its functions the coor
Spectrum or Spectrum + . It 'Menu' refers to the 'Select Op- dinates of the pixel cursor, X,Y
enables the user to quickly and Within these instructions certain tion state with the display show are displayed at the bottom of
simply design and save screens terms will be used which should ing the design being worked the display to aid the user.
which may be used as title pages be understood. These are as upon and the program waiting The next three pixel func-
for programs during loading, or follows: for the user to press a key. tions, Circle, Ellipse and Box are
used within programs them 'Pixel cursor' refers to a single selected by keys C, E and X

r
selves by extracting the short Display' refers to the design on pixel cursor which may be mov- respectively from the Menu.
machine code routine used by the TV screen. ed around the display under user Each function requests an input
Screen Master to display a 'Editor or Block cursor' a t w o control. from the user, for Circle this in-
screen instantaneously. character square block which 'Prompt' refers to a message put is the radius of the circle in

IX C O M P U T I N G D E C E M B E R ' J A N U A R Y 1 9 8 5 24
(SPECTRUM GRAPHICS!

pixels to be drawn w i t h the coor-


dinate X.V as the centre of the
circle. If 0 is entered as the
radius the system will return to
the Menu. Ellipse requests both
the radius in the X and Y axis of-
the ellipse to be drawn. Entering
0 for the X radius will again
return the user to the Menu,
otherwise an ellipse will be
drawn w i t h the coordinates X,Y
of the pixel cursor as its centre.
Box works in a similar fashion,
but draws a rectangle to the
right and down from the pixel
cursor, so that the coodinates
X,Y form the top left corner of
the shape. Entering a negative
value in response to 'Length'
will result in the rectangle being
drawn to the left, and a negative
value for height will result in it
being drawn up.
Pixel f u n c t i o n ' M o v e ' as
selected from the Menu by key L
allows the user to move t w o
cross lines around the screen at
a rate of eight pixels per move.
Upon exiting from this function
the pixel cursor will be set to the
coordinates at which the cross
lines intersect.

Block functions
There are eight block functions,
two of which use a special
'Switch', selected by key H,
designer grid and these will be
changes the attributes under the Program I
considered first.
Editor cursor to the current
Sprite', selected by key S T y p e i n t h i =; p r o g r a m a n d s a v f an
values.
allows the user to design a t w o
'Fill', selected by key N, fills tape, then typp in the main prog
by two character block on a
in the area under the cursor as a a n d q a v p a f t.pr t h i s one using
large grid a bit like a UDG
solid block.
generator. The cirsor on the grid I TNF 1.
' Z a p ' , selected by key Z
may be moved in three ways,
changes the data under the cur
with the cursor keys or keys 5 to 1 DATA 33,0,64,17,87,220,1,19
sor in a random way soas togive
8 as usual, and also with symbol
the impression that the data has 2,76,237,176,201,33,87,228,17,0,
shift and keys 5 to 8 together, in
been 'zapped'.
which case it will leave a trail of 64, 1, I 9 2 , 2 6 , 2 3 7 , 176,201
In all cases Enter should be
filled in squares behind it. Single
used to exit from the move cur- 2 F O P N = 0 TO 2 3 : R E A D a: POKE
squares may be filled w i t h key 9
sor routine, and Y or N pressed in 2 3 2 9 6 + n , a : NEXT N
and deleted w i t h key 0,
response to the Okay?
'Alter', selected by key A, is 3 DATA 33,0,83,62,22,6,32,54,
message. Pressing N reverts the
similar to Sprite, but picks up a
display and screen back to how 5,35,16,251,61,254,0,32,24 4,201,
two character square block of
it was before the operation took 1,0,27,33,87,147,17,0,64,126,254
the screen, removes it from the
place.
display and transfers it to the ,0,40,1,18,35,19,11,120,177,200,
grid ready for alterations to take
place.
Reflect' switches the data
Screen functions 24,242
4 FOR 1 = 2 3 3 2 0 TO 2 3 3 6 0 ! READ
on either side of the Editor cursor There are three screen func- A : POKE I , A : NEXT I
either on top to bottom or left to tions, the first 'CIs' selected by
right depending upon whether X pressing EDIT clears the display 5 DATA 170,255,170,255,170,25
or Y was entered in response to having first transferred the 5,170,255,170,170,170,170,170,!7
the request respectively. Reflect display into the current screen, 0,170,170,90,165,90,165,90,165,9
is selected by key R. this pressing EDIT twice con
' Delete', selected by key DEL secutively will also clear the cur 0, 1 65
erases the data below the Editor rent screen as w e l l as the 6 DATA 255,0,255,0,255,0,255,
cursor from the display and display. 0 , 1 7 0 , 0 , 8 5 , 0 , 1 7 0 , 0 , 8 5 , 0 , 1 7 0 , 8 5 , 1
screen. The second function, 'Down'
'Copy' is the same as Alter, selected by key W copies the 70 , 85 , 1 70 , 85 , 1 70 , 85 , 2 5 ^ , 1 ?9 , 1 29 ,
but merely allows a copy of the screen to the display. I 29 , ! ? 9 , t ? 7 , 129, 2 5 5
data to be reproduced else- The last function Merge' 7 rnf? n=0 to 55: rfad a: poke
where w i t h o u t erasing the selected by key M requests a

r
original. Copy is selected by key screen number to be pressed USR "o"+N,A: NEXT N
U. and then overlays this screen on 10 LOAD ""

IX COMPUTING D E C E M B E R ' J A N U A R Y 1985 25


(SPECTRUMGRAPHICS!

top of the display in such a way work in 'temporary' fashion. the Menu, b y t e s l o n g a n d s t o r e d at
that the new screen takes The last function, 'Chg' is addresses 5 8 5 1 9 , 5 167 1,

Brush functions
preference over the old, but selected by key 0 and changes 4 4 8 2 3 , a n d 3 7 9 7 5 respective-
leaves the attributes alone. the entire display and screen to ly. The routine to copy the
the attribute value entered, it display into screen 'n' is at ad-
Tape functions does not clear the display. Six different brushes are provid
ed, selected by keys 1 to 6 from
dress 2 3 2 9 6 w i t h the screen
address held in bytes 2 3 3 0 0
There are just t w o tape func-
tions, 'Save' and 'Load', both of
Text functions the Menu. The brush function
works like a cross between the
and 2 3 3 0 1 . The routine is
relocatable.
text and Freehand functions
which operate using SCREEN$ There is one text function, The routine to copy a screen
described earlier.
and either save the display or selected by pressing key " it to the display is at address
load in the display and current a l l o w s up t o t h i r t y two 2 3 3 0 8 with the screen address
screen, They are selected by characters at a time to be status functions held in b y t e s 2 3 3 0 9 and
Symbol Shift and either S or J displayed a n y w h e r e on the 2 3 3 1 0 . This routine is also
respectively. display and screen. The text There are t w o status functions, relocatable.
may be graphics, selected by 'Status' which is selected by The program uses seven
Attr functions p r e s s i n g t h e g r a p h i c s key
followed by entry of the required
pressing key K and displays the
c u r r e n t ink, paper, b r i g h t ,
UDG's, from O to U respective
ly. Ramtop is automatically
There are four Attr functions, text, or ordinary characters. screen number and pixel cursor reset to below screen 4 so that
the first, 'Ink' selected by key I The text may be displayed in coordinates values, and Addr' NEW does not a f f e c t the
changes the current ink colour, inverse by pressing the INV which is selected by key T and screens, in this way screens
'Paper' s e l e c t e d by key P Video key, or made to flash by a l l o w s the user t o change may be saved as Data, by;
changes the paper colour and pressing extend followed by screens between 1 and 4 . Pressing BREAK to break into
Bright' selected by key B swit CAPS shift and key 9 together. Screen Master. Typing NEW to
ches the brightness from on to If you wish to exit the routine, Technical details lose Screen Master, and either
off and from off to on auto- pressing Q whilst in the Move loading in your o w n program or
matically. All three of these cursor stage will return you to The four screens are each 6 8 4 8 saving the screen(s) as data.

Program 2 Main program 7R0 TF THFN GO S U B T7H


f*

2<?0 I F fit='NriT " THFN GO S U B 3


9 I FT 1=0: LET P= 7: LET B=0: 900
L R T A= 0 t d f l TF THEN GO S U B 4 0 0 0
1 0 LETT B L = 0 : L E T X = 1 2 8 : L E T Y ~ T U f * TF G $ > " 0 " AND G i t C - T ' - THEN
8 8 ! LET X1=X: LET Y 1 = Y : LET Z=46 HO S U B 4 1 0 0
0 0 : LET S T = 2 3 2 9 6 : LET RT=23308: 3 7 « TF G * = " 0 - THFN G< 1 SI IB
LET PL=1*. LET Z A = 0 ^30 TF G*="T" THFN GO S U B 3600
15 LET G = 5 ^40 TF CflDF 12 THFN GO SIJB
2 0 POKE 2 3 6 5 8 , 8
3 0 PAPER 8 : INK 8 : BRIGHT 8 TF G t = " S * T H E N LET Bl = I : G
40 LET YN=5700 H S U B 7 0 0 0 : I F T Bl
55 LET DEL=20: LET XR=0: LET Y 3 6 0 I F G«6="H" THFN GO S U B 4 7 0 0
R=0 t 7 0 TF G * = " H " T H F N GH S U B " S 0 0 0
60 OPEN *G F -K" ^ r s n TF G T H F N I F T 7A=1: G
100 CLS n ip 5 ^ 0 0
1 2 0 INPUT • • : PRINT MGJTAB 9;"S TF G«='M" THFN GI I S U B S500
ELECT OPTION" 400 TF G*="K" THFN GO S U B 5600
1 3 0 GO S U B 7 410 TF G«6="L " THEN GO S U B 5800
150 LET G*=INKEY* 470 TF G*="N" THFN GO S U B 6700
160 IF G*="F" THFN GO SUB 15O0 430 GO TO 1 1 PI
170 IF G*="D" THEN GO SUB 1200 1000 INPUT PRINT #G!TAB 3i"X
180 IF G*="C" THEN GO SUB 1600 :";XI;TAB I0;-Y:";YL5"•;TAB 17;-
190 IF G*="E' THEN GO SUB 1700 xi:•;x;TAB 24;-YI:";Y
200 IF G*="A" THFN GO SUB 2000 1005 TF CODE INKEY*=13 THEN GO
210 IF G*=*'R" THFN GO SUB 3000 TO 1005
220 IF THEN GO SUB 3100 1010 PLOT OVER 1JX1,Y1
2 3 0 I F G * = - P " THEN GO S U B 3 2 0 0 1020 LET G*=INKEY*
2 4 0 I F G * = ' B - THEN GO S U B 3 3 0 0 10^0 IF 'G* >="5" AND G*< = " 8 " > OR
2 5 0 I F G * = " X " THEN GO S U B 1 8 0 0 (CODF G*>=8 AND CODE G*<=11> TH
2 6 0 I F CODE G * = 7 T H E N INPUT EN GO TO 1050
: R A N D O M I Z E USR 2 3 2 9 6 : GO TO 1 0 1035 IF CODE G*=13 THEN RETURN

r
270 IF G*=T'W THEN RANDOMIZE U 1040 GO TO 1020
SR 2 3 3 0 8 1060 LET X1=X1-<G*="5" OR CODE G

IX C O M P U T I N G D E C E M B E R ' J A N U A R Y 1 9 8 5 26
SPECTRUM GRAPHICS!

$ 3 8 AND X I > 0 ) + ( G « = ' 8 " OR CODE G * 1 2 6 0 I F I N K E Y * = " Y " THEN RANDOMI


= 9 AND X I < 2 5 5 ) Z E USR S T : RETURN
1 0 7 0 L E T V 1 = Y 1 - ( G * = " 6 " OR CODE G 1 2 7 0 PLOT OVER l ; X , Y : DRAW INK
* = 1 0 AND Y 1 > 0 ) + ( G * = " 7 " OR CODE G I; P A P E R P ; B R I G H T B ; OVER 1;XI
$ = 1 1 AND Y 1 < 1 7 5 ) -X,YI-Y,A
1075 INPUT P R I N T WG > T A B 3 ; " X 1 2 8 0 GO TO 1 2 0 0
: ";XL;TAB 1 0 ; " Y : " J Y I ; • • ; T A B 17?" 1500 INPUT PRINT ttGjTAB 12;"
X1:";X;TAB 24;-Y:";YI FREEHAND"
1030 PLOT OVER 1 ; P E E K 23677,PEE 1505 IF INKEY*<>"" THEN GO TO \
K 23678 505
1 0 8 5 PLOT OVER 1JX1,Y1 1510 PLOT OVER UX,Y
1 0 9 0 GO TO 1 0 2 0 1520 LET G*=INKEY$
1105 INPUT PRINT #G;TAB 3;"X 1525 IF G*="M" THFN LET PL = 0 : I
:"JXI;TAB 10;"Y:";YI;TAB i 7 ; - x i : NPUT PRINT ttGSTAB 13," " M O V E " :
•; x;TAB 2 4 ? " Y I : " JY I F NOT P O I N T (X,Y) THEN PLOT
1 1 1 0 PLOT OVER 1;X,Y OVER I;X,Y
1120 LET G$= I N K E Y T 1526 IF G$="P" THEN LET P L - l : I
1130 I F < G * > = " 5 " AND G $ < = " 8 " ) OR NPUT "": PRINT #GJTAB 10;"FREEHA
(CODE G * > = 8 A N D CODE G * < = 1 1 ) TH ND"
EN GO TO 1 1 5 0 1527 I F G * = " E " THEN LET P L = 2 : I
1 1 3 5 I F CODE G $ = 1 3 T H E N RETURN NPUT "": PRINT #G;TAB 13;"ERASE"
1 1 4 0 GO TO 1 1 2 0 1530 IF ( G * > = " 5 " AND G S < = " 8 " ) OR
1 1 6 0 L E T X = X - < G < T = " 5 " OR CODE G * = (CODE G S > = 8 AND CODE GS<=11) TH
8 AND X > 0 ) + ( G $ = " 8 " OR CODE G $ = 9 EN GO TO 1 5 5 0
AND X < 2 5 5 ) 1532 IF ( C O D E G * = 1 3 AND ( X = L 2 8 A
1170 LET Y = Y - ( G * = " 6 " OR CODE G$= ND Y = 8 8 > OR P L = 0> T H E N PLOT OV
10 AND Y > 0 > + ( G * = " 7 " OR CODE 1 ER I ; P E E K 2 3 6 7 7 , P E E K 23678
1 AND Y < 1 7 5 ) 1 5 3 5 I F CODE G * = 1 3 T H E N RETURN
1175 INPUT PRINT #G}TAB 3;"X 1 5 4 0 GO TO 1510
: " ; x i ; T A B 1 0 ; " Y: • ; Y I ; T A B i 7 i " X i : 1 5 5 0 I F P L = I THEN PLOT INK I;
";X;TAB 2 4 ; " Y I : • ;Y P A P E R P? B R I G H T BjX,Y
1180 PLOT OVER 1 ; P E E K 23677,PEF 1551 IF PL=0 THEN PLOT OVER 11
K 23678 X,Y
1185 PLOT OVER l;X,Y 1552 I F P L = 2 AND P O I N T <X,Y>=1 T
1 1 9 0 GO TO 1 1 2 0 HEN PLOT OVER ljX,Y
1 2 0 0 I N P U T T A B 8 ; " A N G L E OF A R C ? 1555 LET X=X - ( G $ = " 5 1 5R CODE C%=
LINE Q*: IF Q*>="A" THEN GO 8 A N D X > 0 ) + ( G S - w 8 " OR CODE G » = 9
TO 1 2 0 0 AND X < 2 5 5 >
1201 LET A=VAL 1 5 6 0 L E T Y = Y — ( G S ~ " 6 " UR CODE G * =
1 2 0 2 P R I N T **G; T A B 1 4 ; "DRAW" 1 0 AND Y > 0 ) + < G $ = " 7 " OR C O D E G * = 1
1203 PRINT FLASH 1; OVER 1;AT 2 I AND Y < 1 7 5 >
l-Yl/8,Xl/8} " " 1566 INPUT PRINT #G;TAB 105"
1 2 0 4 PAUSE 1 0 0 : P R I N T FLASH 0; x:";x ;TAB 17;"Y:";y
OVER 1 ; A T 2 1 - Y 1 / 8 , X 1 / 8 ; " • 1567 I F P L = 2 AND P O I N T (X,Y)=1 T
1 2 0 5 I F CODE I N K E Y * = 1 3 T H E N GO HEN PLOT OVER l;X,Y
TO 1 2 0 5 1570 GO TO 1 5 1 0
1210 GO SUB 1000 1 6 0 0 I N P U T TAB 1 0 ; " R A D I U S "; LIN
1217 PRINT F L A S H 1 | OVER 1 J A T 2 E (3«: I F Q S > = " A " THEN GO TO 160
1-Y/8.X/8;" " 0
1 2 1 8 PAUSE 1 0 0 : P R I N T FLASH 0 ; 1610 LET R=VAL IF NOT R THEN
OVER 1 J A T 2 1 - Y / 8 , X / 8 » " " RETURN
1 2 1 9 I F CODE INKEY*=13 THEN GO 1 6 2 0 I F X + R > 2 5 5 OR X - R < 0 OR Y + R >
TO 1 2 1 9 1 7 5 OR Y - R < 0 T H E N RETURN
1 2 2 0 GO S U B 1 1 0 0 1630 CIRCLE INK I ; PAPER P ; BRI
1 2 3 0 DRAW INK I J PAPER PI BRIGH GHT B ; X f Y , R
T BJX1-X,YL-Y,A 1 6 4 0 GO S U B YN
1 7 4 0 GO SUB YN 1660 IF INKEY$="Y" THEN RANDOMI

IX COMPUTING DECEMBER/JANUARY 1985 27


(SPECTRUMGRAPHICS!

ZE USR ST: RETURN 2100 FOR Y»0 TO 15


1670 RANDOMIZE USR RT 2105 LET Yl=(175-R*8)-Y
1680 GO TO 1600 2110 FOR X=0 TO 15
U
1700 INPUT TAB 9;"X RADIUS ; LI 2120 LET X1=C*8+X
NE 9*: IF 9*>="A" THEN GO TO 17 2130 IF POINT (X1,Y1)-1 THEN LE
00 T B*(X+1,Y+l) = " • " ! PLOT OVER 1)
1710 LET XR=VAL 9S: IF NOT XR TH XI,Y1: GO TO 2150
EN RETURN 2140 IF POINT (X1,Y1)=0 THEN LE
1720 INPUT TAB 9I°Y RADIUS "; LI T B«S < X + 1 , Y + l ) = " • "
NE Q«: IF 9$ >="A" THEN GO TO 17 2150 NEXT X
20 2160 NEXT Y
1725 LET YR=VAL 9* 2162 IF ZA THEN GO TO 5305
1730 IF X + XR > 2 5 5 OR X-XR<0 OR Y+ 2164 RANDOMIZE USR ST
YR > 1 7 5 OR Y-YR< 0 THEN RETURN 2165 IF YR THEN GO SUB 2800: GO
1740 LET NA=XR*YR: IF NA>3000 TH TO 2500
FN LET NA=L: GO TO 1750 2166 IF XR THEN GO SUB 2700: GO
1745 LET NA=2 TO >500
1750 FOR N=1 TO 720/NA 2170 CLS
1760 PLOT INK I; BRIGHT B; PAPE 2180 FOR N=1 IO IT
R P;X+XR*COS (N/(360/NA>*PI),Y+Y 2190 FOR M=1 TO 16
R*SIN (N/(360/NA)*PI) 2200 PRINT AT N , M ; B<fc ( M , N )
1770 NEXT N 2210 NEXT M
1780 GO SUB YN 2220 NEXT N
1783 IF INKEYS.= " Y" THEN RANDOMI 2235 PRINT AT 1,19;"MOVE WITH";A
ZE USR ST: RETURN T 3,19;"CURSOR KEYS";AT 5 , 1 9 i " F I
1784 RANDOMIZE USR RT: GO TO 170 LL WITH 9";AT 7,19;"DEL WITH 0";
0 AT 9,19;"ENTER TO END"
1800 INPUT -LENGTH "; LINE QS: I 2240 LET A=l: LET AA=1
F 9$>="A" THEN GO TO 1800 2250 PRINT OVER l; FLASH 1;AT A
1810 LET L = VAL GT: IF NOT L THEN ,AA;"X"
RETURN 2260 LET G$=INKEYS
1820 INPUT "HEIGHT "; LINE (3$: I 2270 IF GS=-" THEN GO TO 2260
F 9*>="A" THEN GO TO 1820 2285 BEEP .01,20
1825 LET H=VAL 9$ 2290 IF G<5=-9- OR " t " OR G$="
1830 IF X+L >255 OR Y-H<0 THFN R OR OR G*="%" THEN PR I
ETURN NT AT A , A A ; " H" ! LET B * ( A A , A ) = • B"
1840 PLOT INK IS PAPER PJ BRIGH 2295 PRINT AT A,AA;B*(AA,A)
T BJX.Y: DRAW INK I; PAPER PJ B 2300 IF G$=-0" THEN PRINT AT A,
RIGHT B;L,0: DRAW INK I; PAPER AA;"Q": LET B S ( A A , A ) = " O"
P; BRIGHT B?0,-H: DRAW INK I; B 2310 LET AA=AA+IG$="8" OR CODE G
RIGHT B; PAPER P;-L,0: DRAW INK $=9 OR G<H="(" AND AA( 16) - (G$="5"
I; BRIGHT BJ PAPER P;0,H OR CODE G$=8 OR AND AA>1
1850 RETURN )
2000 POKE 23728,X: POKE 23729,Y 2320 LET A=A+(G$="6" OR CODE G$=
2002 GO SUB 3400 10 OR GS="&- AND A<16)-(G*="7" 0
2003 LET AT=22528+C+32*R R CODE G$=ll OR GS^"'" AND A>1)
2005 DIM 9(4) 2325 IF AA > 1 6 THEN LET AA=16
2010 LET 9(1)=ATTR (R,C): LET G< 2326 IF A >16 THEN LET A=16
2 > =ATTR <R,C+1>: LET Q ( 3 > =ATTR ( 2327 IF A<1 THEN LET A=1
R+1,C): LET 9(4)=ATTR <R+1,C+1) 2328 IF AA<1 THEN LET AA=1
2030 LET X1=C*8: LET YL=175-R*8 2330 IF CODE G*=13 THEN GO TO 2
2040 DIM B*(16,16) 500
2080 INPUT ••! PRINT HG;TAB 10;' 2340 GO TO 2250
PLEASE WAIT" 2506 CLS : RANDOMIZE USR RT
2090 IF BL=1 THEN FOR N=1 TO 16

r
2507 INPUT "•: PRINT #G;TAB 9;"S
: LET B$ (N) = "CXI I I 1 1 I 1 I I T T T T T T : AME PLACE" " 3

NEXT N: GO TO 2170 2508 IF INKEY$<>"Y* AND INKEY$<>

IX C O M P U T I N G DECEMBER'JANUARY 1 9 8 5 28
SPECTRUM GRAPHICS)

" N " THEN GO TO 2 5 0 8 3 1 4 0 RETURN


2 5 0 9 I F I N K E Y * = " Y " THEN LET C l = 3 2 0 0 I N P U T " • : P R I N T # G ? " PRESS
C : L E T R 1 = R : GO TO 2 5 1 5 0 TO 9 FOR PAPER C O L O U R "
2 5 1 0 GO SOB 3 4 0 0 : L E T R 1 = R : L E T 3 2 1 0 I F I N K E Y S O " " THEN GO TO 3
C 1=C 2 10
2 5 1 1 LET A T = 2 2 5 2 8 + C 1 + 3 2 * R 1 3 2 2 0 I F I N K E Y $ < " 0 " OR I N K E Y < S > " 9 "
2 5 1 2 FOR N = 0 TO 1 5 THEN GO TO 3 2 2 0
2 5 1 3 LET Q ( 1 ) = A T T R < R 1 , C 1 > : LET 3 2 3 0 L E T P = VAL I N K E Y S
0 ( 2 ) = A T T R ( R 1 , C 1 + 1 ) : LET Q ( 3 ) = A T 3 2 4 0 RETURN
TP < R 1 + 1 , C I ) : L E T Q ( 4 ) = A T T R (R1 + 3 3 0 0 LET B=B=0
1,C1+1) 3 3 1 0 RETURN
2 5 1 5 INPUT P R I N T #G J T A B 1 0 ; " 3 4 0 0 LET R = 1 0 : LET C=15
PLEASE W A I T " 3 4 1 0 PRINT OVER 1 ; A T R , C ; " ";A
2 5 1 6 FOR N = 0 TO 1 5 T R+l ,C; "
2 5 2 0 FOR M = 0 TO 1 5 3 4 2 0 INPUT P R I N T #G j TAB 4 ; " M
2 5 3 0 I F B * ( M + 1 ,N+-1) = " B H THEN PL OVE SQUARE TO P O S I T I O N "
OT C l * 8 + M , ( 1 7 5 - R 1 * 8 ) - N 3 4 3 0 LET G * = I N K E Y *
2 5 4 0 NEXT M 3 4 3 5 I F CODE G * = 1 3 THEN PRINT
2 5 5 0 NEXT N OVER l ; A T R , C J " -;AT R+i,C;m
2 5 6 0 POKE A T , 9 ( 1 > : POKE A T + 1 , G < 2 : RETURN
>: POKE AT + 3 2 , 8 ( 3 ) : POKE A T + 3 3 , Q 3 4 3 7 I F G * = " Q " THEN RETURN
44 ) 3440 IF THEN GO TO 3 4 3 0
2 5 6 2 I F ZA THEN GO TO 5 3 6 0 3 4 5 0 L E T R 1 = R + < G * = " 6 " OR CODE G$
2 5 6 3 R A N D O M I Z E USR ST = 1 0 AND R < 2 0 ) - ( G t = " 7 " OR CODE G *
2 5 6 4 LET X=PEEK 2 3 7 2 8 : LET Y=PEF = 11 AND R > 0 )
K 23729 3 4 6 0 L E T C l = C + < G t = " 8 " OR CODE
2 5 6 5 RETURN = 9 AND C < 3 1 ) - ( G S = " 5 - OR CODE G « =
2 7 3 0 FOR M=1 TO 1 6 8 AND C > 0 )
1
2 7 4 0 FOR N = 1 TO 7 3470 PRINT OVER 1 J AT R , C ; ~ ;A
2745 LET T*=B*(8+N,M) T R+l,c;"
2750 LET B*(8+N,M)=B*(N,M) 3 4 8 0 LET R = R 1 : LET C=C1
M
2755 LET B ® ( N , M ) = T 3 . 3490 PRINT OVER 1 ; A T R , C ; " ;A
2 7 6 0 NEXT N T R+1, C| "
2 7 7 0 NEXT M 3 5 0 0 GO TO 3 4 3 0
2 7 9 0 RETURN 3 6 1 0 INPUT " " : P R I N T WG|TAB 8 ; " S
2 8 3 0 FOR M=1 TO 7 E L E C T 1 TO 4 "
2 8 4 0 FOR N = 1 TO 1 6 3 6 2 0 I F I N K E Y * < > " " THEN GO TO 3
2845 LET T * = B S ( N , 8 + M ) 620
2850 LET B*(N,8+M>=B*(N,M) 3 6 3 0 I F I N K E Y * < " 1 " OR I N K E Y S > " 4 "
2 8 5 5 L E T B<S ( N , M) = T * THEN GO TO 3 6 3 0
2 8 6 0 NEXT N 3 6 3 5 LET G * = I N K E Y S
2 8 7 0 NEXT M 3 6 4 0 LET S = 6 5 3 6 7 - V A L G**6848
2 8 8 0 RETURN 3 6 5 0 POKE 2 3 3 0 0 , S - 2 5 6 * I N T (S/256
3000 INPUT • R E F L E C T ABOUT X ) : POKE 2 3 3 0 1 , I N T (S/256): POKE
OR Y " ; L I N E Q$ 2 3 3 0 9 , P E E K 2 3 3 0 0 : POKE 2 3 3 1 0 , P E E
3 0 1 0 I F 9 « t < > " X " AND Q * < > " Y " THEN K 23301
GO TO 3 0 0 0 3 6 6 0 INPUT " " : PRINT # G ; T A B 10;"
3
3020 LET X R = Q * « " X " SCREEN •;VAL G*
3030 LET Y R = Q * = " Y " 3 6 7 0 GO SUB Z
3 0 4 0 GO TO 2 0 0 0 3 6 9 0 RETURN
3100 INPUT " " : PRINT # G ; • PRESS 3 7 1 0 INPUT " T E X T ' ; L I N E TS
0 TO 9 FOR I N K COLOUR" 3 7 1 5 LET R=0: LET C=0: PRINT JN
1
3 1 1 0 I F I N K E Y 4 < > " " THEN GO TO 3 K 8 ; OVER 1 | F L A S H 1 ; AT R j C j - t S -
1 10 3 7 2 0 P R I N T # 5 ; " M O V E SQUARE TO RE
3 1 2 0 I F I N K E Y * < " 0 " OR I N K E Y < 6 > " 9 " QUIRED P O S I T I O N "
THEN GO TO 3 1 2 0 3725 IF INKEY*<>"" THEN GO TO 3

:
3 1 3 0 LET I = V A L INKEYS 725

^X C O M P U T I N G D E C E M B E R J A N U A R Y 1985 29
(SPECTRUM GRAPHICS!

3^30 LET G*=INKEY<S: IF G$=-" THE 4190 INPUT "•: PRINT #G5 T A B 7}"M
N GO TO 3730 OVE BRUSH TO PAINT"
3740 IF CODE G*=13 THEN GO TO 3 4 195 GO SUB Z
800 4200 LET G*=INKEY«: IF G*=" B
THE
3750 PRINT OVER I J FLASH 0;AT R N GO TO 4200
,c; 4220 LET R«=R+(G$="6" OR CODE G*~
3760 LET R=R+CG*=-6" OR CODE G<£= 10 AND R<21)-(G$="7U OR CODE
10 AND R<21)-<G*=•7" OR CODE G*= 1 1 AND R >0)
11 AND R >0) 4230 LET C=C+(GS="8" OR CODE G$ =
3770 LET C=C+(G*="8" OR CODE G%= 9 AND C<31)-<G$="5" OR CODE G*=8
9 AND C<3 1 ) - ( G % = " 5 " OR CODE G*=8 AND C >0 >
AND C>0) 4232 PRINT INK 1} PAPER P? BRIG
3780 PRINT OVER 1| FLASH 1|AT R HT B;AT R,C;CHR* CH
,CJ 4235 INPUT -": PRINT #G 5 TAB 8;"R
3790 GO TO 3730 OW "J R ; T A B 18!-COLUMN ";C
3800 PRINT INK I; BRIGHT B; PAP 4240 IF CODE GS=13 THEN INPUT "
ER P;AT R,CJTS ": RANDOMIZE USR ST: RETURN
3810 GO SUB YN 4250 GO TO 4200
3830 IF INKEY*='Y" THEN INPUT " 4310 INPUT "ENTER REQUIRED ATTR
RANDOMIZE USR ST: RETURN VALUE";A
3835 INPUT •• 4320 IF A >2 5 5 OR A<0 THEN GO TO
3840 RANDOMIZE USR RT 4310
3845 PRINT OVER HAT R, C } " 4330 POKE 23328,A
3850 GO TO 3720 4340 RANDOMIZE USR 23320
3905 DIM S*(10) 4345 IF A >127 THEN LET A= A-128
3910 INPUT -ENTER TITLE FOR SAVI 4346 IF A >63 THEN LET A=A-64: L
NG"; LINE S* ET B= 1
3915 RANDOMIZE USR ST: BORDER P: 4350 LET P-INT (A/8): LET I = A - ( I
CLS : RANDOMIZE USR RT NT (A/8)*8)
3920 SAVE SCSCREEN* 4360 RETURN
3930 RETURN 4510 GO SUB 3400
4010 INPUT "ENTER TITLE FOR LOAD 4520 PRINT AT R,CJ" -;AT R+1,C|
m m
ING-; LINE S*
4015 IF S*=" " THEN LO 4530 GO SUB YN
AD ""SCREENS : GO TO 4030 4540 IF INKEY«="Y" THEN INPUT "
4020 LOAD S*SCREEN* -: RANDOMIZE USR ST: RETURN
4030 RANDOMIZE USR ST: RETURN 4550 GO SUB 3410
4105 LET CH=164-VAL G* 4560 GO TO 4520
4110 LET R=0: LET C=0 4600 IF INKEYSO-- THEN GO TO 4
4120 PRINT OVER 1;AT R,C;CHR* C 600
H 4610 IF INKEY*=-" THEN GO TO 46
4130 INPUT "": PRINT #G|"MOVE BR 10
USH TO REQUIRED POSITION " 4620 RETURN
4140 LET G*«INKEY*: IF G*="" THE 4700 GO SUB 3400
N GO TO 4140 4710 PRINT PAPER P? INK I; OVER
4145 PRINT OVER 1 I AT R,CJCHR* C 1; BRIGHT BJAT R,CJ- ";AT R+L,
H c; •
4150 LET R«R+(G*=-6- OR CODE G*= 4720 RETURN
10 AND R<21)-(G*="7- OR CODE G*= 5010 GO SUB 3400
11 AND R >0) 5020 DIM (16,16)
4160 LET C=C+(G«="8- OR CODE GS= 5030 INPUT "•: PRINT MGJ T A B 10J"
9 AND C<31 ) - ( G * = " 5 " OR CODE GS=8 PLEASE WAIT-
AND C>0) 5040 FOR Y=0 TO 15
4170 PRINT OVER 1{AT R,C5CHR* C 5050 LET YL=(175-R*8)-Y

r
H 5060 FOR X=0 TO 15
4180 IF CODE G*<>13 THEN GO TO 5070 LET X1=C*8+X
4140 5080 IF POINT FXL,YL) THEN LET

IX C O M P U T I N G DECEMBER'JANUARY 1 9 8 5 30
SPECTRUM G R A P H I C S ^ B l ^ ^ H M l ^ H M B i

BS(X+1,Y+l)="•" 3301: LET S=65367-S: LET S=S/691


5 0 9 0 I F NOT P O I N T <X1,Y1> THEN 2
LET B*<X+1,Y+l)="•" 5640 PRINT S
5 1 0 0 NEXT X 5645 PRINT 'TAB l l i " X , Y "(X J
5110 NEXT Y ", •; Y
5120 INPUT " " : GO SUB 3 4 0 0 3 6 3 0 GO S U B Z : CLS : RANDOMIZE U
5130 LET C1=C: LET R1=R SR R T : RETURN
5140 INPUT P R I N T #G» T A B 105" 5 7 0 0 INPUT •': PRINT t*G I T A B 13!"
PLEASE WAIT" OKAY?"
5 1 5 0 FOR N = 0 TO 1 5 5710 IF INKEYS<>"Y" AND INKEY*<>
5 1 6 0 FOR M = 0 TO 1 5 •N" THEN GO TO 5710
5170 IF B*(M+1,N+1)="B" THEN PL 5 7 2 0 RETURN
OT INK I ; PAPER P; BRIGHT B;C1* 5 8 0 0 INPUT PRINT «G?" MOVE
8+M,(175-R1*8>-N CROSS L I N E S TO POSITION"
5180 NEXT M 5860 LET X = 1 2 8 : LET Y=88
5190 NEXT N 5870 GO S U B 6 1 0 0
5200 RANDOMIZE USR ST 5 8 0 0 INPUT • • : PRINT ttG?" MOVE
5210 RETURN C R O S S L I N E S TO P O S I T I O N "
5300 GO TO 2 0 0 0 5860 LET X = 1 2 8 : LET Y=88
5 3 0 2 POKE 2 3 6 7 0 , P E E K 2 3 6 7 3 : POKE 5870 GO S U B 6 1 0 0
23671,PEEK 23672 5 8 8 0 L E T G<S=INKEY<®: IF G«="" THE
5 3 0 5 FOR N = 0 TO 2 0 + I N T (RND*40) N GO TO 5 8 8 0
5 3 1 0 LET R2—INT < R N D * 1 6 ) + l : LET 5 8 9 0 I F G $ > ' 8 " THEN GO TO 5880
C2=INT <RND*16)+1 5895 IF CODE GS=13 THEN GO TO 6
5320 IF B * < R 2 , C 2 ) = " B ' THEN LET 130
B*CR2, C 2 ) = " • • : GO TO 5 3 4 0 5900 GO SUB 6100
5 3 3 0 LET B$(R2,C2)=*B" 6 0 1 0 L E T X = X + ( 8 A N D ( G * = " 8 " OR C
5 3 4 0 NEXT N ODE G<6=9 AND X < 2 4 8 ) > - < 8 A N D (G*=
5350 GO TO 2507 " 5 " OR CODE G $ = 8 A N D X > 7 ) )
5360 GO S U B Y N 6 0 2 0 L E T Y = Y + < 8 AND ( G $ = " 7 " OR C
5375 LET 7A=0 ODE G 3 i = l l AND Y < 1 6 7 ) ) - ( 8 AND (G*
5377 LET X=PEEK 23728: LET Y=PEE = " 6 " OR CODE G<S=10 A N D Y > 7 ) )
K 23729 6 0 4 0 GO TO 5 8 7 0
5380 IF INKEY$="Y" THEN RAN DOM1 6 1 0 0 PLOT OVER l j X , i 7 5 : DRAW O
ZE USR S T : RETURN VER 1 ; 0 , - 1 7 5 : PLOT OVER 1}0,Y:
5 3 9 0 R A N D O M I Z E USR RT DRAW OVER l;255,0
5 4 0 0 RETURN 6120 RETURN
5500 INPUT "•: P R I N T ttG J T A B 8;"S 6130 GO S U B YN
ELECT 1 TO 4 " 6140 IF INKEY*="N" THEN INPUT "
5510 IF INKEY*< >"" THEN GO TO 3 •: PRINT ttG;" MOVE CROSS LINES
620 TO P O S I T I O N " : GO TO 5 8 8 0
5 5 2 0 I F I N K E Y $ < " 1 " OR I N K E Y $ > " 4 " 6 150 RANDOMIZE USR RT
THEN GO TO 5 5 2 0 6160 RETURN
5 5 2 5 LET G*=INKEYS. 6200 GO S U B 3 4 0 0
5 5 3 0 LET S = 6 5 3 6 7 - V A L G$*6912 6205 I F G * = " 9 " THEN RANDOMIZE U
5 5 4 0 POKE 2 3 3 4 2 , S - 2 5 6 * I N T (S/256 SR RT: RETURN
): POKE 23343,INT (S/256) 6210 PRINT INK I; PAPER P; BRIG
5550 RANDOMIZE USR 23338 HT B;AT R , C ; " B « " ; A T R+I,C;"BH*
5580 RETURN 6220 GO S U B Y N
5600 CLS 6230 IF INKEY*="N" THEN RANDOMI
5 6 1 0 P R I N T AT 5 , 1 3 I • S T A T E • : PRIN Z E USR R T : GO TO 6 2 0 0
T ' ' T A B 11? " I N K " ; l : PRINT 6 2 3 5 R A N D O M I Z E USR S T
TAB 1 1J " P A P E R . . . " J P ! PRINT 'TAB 6240 INPUT PRINT HGJ T A B 10;"
1 1 B R I G H T . . " ; : PRINT ("ON" AND CONTINUE
B= 1 ) + ( " O F F " AND B=0> 6 2 5 0 GO S U B 5710
5620 PRINT 'TAB 11;"SCREEN 6260 IF INKEY*="N" THEN RETURN
5630 LET S=PEEK 23300+256*PEEK 2 6270 GO TO 6200

31 ZX COMPUTING DECEMBER/JANUARY 1 9 8 5 I
GRAPHICS

Animation is the process that


puts life into computer games,
but has far wider uses. The abili-
ty of a computer to create, move
and display visual information
has only reached the home
market fairly recently,and is
becoming a very popular and in-
Wise Moves
Michael Spencer shows us some ways of
teresting application for users at
all levels. getting things moving around the
Computer graphics is a term
that means different things to screen.
different people, but generally
covers images that are com
puter g e n e r a t e d , m o d i f i e d , cess of the work depends on graphics. Block graphics involve a very reasonable resolution of
stored and displayed but need their grasp of t w o factors-timing the use of character sized 176 by 2 5 6 pixels each of
not necessarily be animated. To and realism. Correct timing can shapes (see the top row of the which can be individually set
a businessman, 'graphics' convey the impression of anima- Spectrum keyboard} which may and tested. In case of a single
means histograms, graphs and tion well and that timing ought be used individually or as part of pixel being moved around the
other methods of presenting to reflect the behaviour in the larger shapes which can be mov- screen the technique is similar to
financial information visually; to real world of the object being ed around the screen. The pro block graphics, the pixel is set
a railway signalman the mimic animated. Realism ensures that gram in figure one creates such a and unset (erased) and moved to
display showing train moves is a the object and its behaviour shape and moves it around. The a new position after appropriate
form of computer graphic; to a reflect the laws of motion and program is reasonably effective delay. Groups of pixels make up
student pilot on an aircraft the presence of gravity. These and shows some of the basics of the high resolution screens that
simulator the realistic images techniques have been built up simple animation. An image form the bulk of a computer
are computer generated. Com over many years and it is only drawn on the screen is erased games attractions. These
puter aided design perhaps in- their application in the use of and a new image created in a dif- shapes can be animated by deal-
volves the most complicated im computers that is new — the ferent place which gives the ap- ing with the individual pixelsthat
agery of all, think about car computer screen is only another perance of motion. A variation make them up. Collision deted-
design as an example. A good medium on which to display im-
deal of computer graphics is ages (it may be called electronic
merely static images that can be paper). The computer may also t0 R£M BLOCK GRAPH . C ANIMATION
displayed when required, be a means to an end, com 2SS CLS
animation is the art of making puters as animators' tools are
those images appear to move in having an impact on the film in- LET
such a way that the impression dustry. Remember the Walt 4 0 LET
of a lifelike object is created. Disney film TRON about a com- FOR 1-0 TO 21
Animation is an art that predates puter programmer and his battle
the computer revolution by quite against a w a y w a r d super com- 6 0 PRINT AT I , 1 2 | A *
a long time and its application is puter? A good deal of that film 7 0 PAUSE 3
a practised skill. Cartoons are a was made by using computer 60 PRINT AT I,121B*
much loved example of film animation and still graphics a
animation and such films have novel approach that created a <?0 NEXT I
given pleasure to millions, but stunning impact. Computers 1 0 0 GO TO 50 figure 1
few of these millions have ever can take the tedium out of the
given much thought to the sheer process of producing images for
effort involved in producing animation a single image
those cartoons. In one second of can be manipulated to a new of the technique would be to tion is a computer inspired
film there will be t w e n t y four position, size or shape by apply- surround the image w i t h blank technique where the collision
frames and each frame is an in ing mathmatical routines. Taken characters to erase parts of the between t w o objects on the
dividual picture showing a stage to an extreme it may be possible old image at each move. If no screen can be detected and the
in the motion of the animated to produce a complete film in a blanking took place using appropriate action taken.
object. It doesn't take much few years time, and indeed a either method then the effect Shapes can be made to rebound
mental arithmetic to work out Hollywood film company is us- would be spoiled by the image from obstacles, a method used
how many individual pictures ing a CRAY super computer to leaving a visible trail, the image to great effect in bat and ball
there are likely to be in a ten cope w i t h the fantastic number is being drawn and redrawn to games. Collisions can lead to ex
minute cartoon feature. of calculations involved in such the same piece of electronic plosions which is again a widely
Cartoons are an example of processes. This machine made paper. The technique is summed used technique in the most
drawn animation that uses the its debut code c r a c k i n g in up as draw, wait, erase and re- popular arcade games.The pro
skill of an animator to draw a se- American for the Government draw. Block graphics are useful gram in figure t w o illustrates
quence of individual pictures and has since made contribu- but a little boring, so fortunately pixel animation and collision
which, when filmed, give the im- tions in many other fields. w e have access to pixel, detection.
pression of motion. There are A n i m a t i o n itself involves graphics. Some c o m p u t e r s support
other techniques of animation- three basic processes Sprite graphics, unfortunately
model, cutout and rostrum (con
trolled camera) animation are
p r e p a r a t i o n of t h e i m a g e , Pixels the S p e c t r u m does not,
manipulation and display. It is a l t h o u g h s o m e users have
examples.These techniques are the manipulation that is at the Pixel graphics are much simpler managed to w r i t e interrupt
more suitable to the use of com- heart of the technique of anima for they arc single points on the driven software that gives a fair
puters to aid such activity, tion. The computer offers the screen that can be turned on and implementation of this feature
drawn animation is more directly electronic paper for us to exploit off and, most importantly, their which is normally supported by
applicable to using computers to and the characteristics of that state may be tested. Pixel a dedicated chip. A Sprite is a
replace manual techniques and paper determine what sort of graphics introduce the idea of shape that is defined and moved
thid is the main topic of discus- animation is possible. There are resolution — the higher the around the screen by dedicated
sion here. three sorts of graphics that can resolution (the number of pixels software, and usually suports
Animators in the film industry be created on most home com- in a given area) the better the im- full collision detection. The pro-
are skilled people and the sue- puters block, pixel and line age. The Sinclair Spectrum has gram in figure t w o has simple

32
ZX CRAPHICS

collision detection where the seen some really funny cartoons out from a central point. Most square and reproducing the im-
place the pixels will occupy next where some of the humour has explosions are a variation of this, age larger or smaller. The pro
is teasted to see if it is possible to been about the ability of a for example the bus of the ex- grarne is figured four does this
move there. A realistic rebound character or object to survive ploded image can be made to four one character and displays
is programmed in rather than a impossibly destructive situa- tumble, flicker or leave trailing an image twice the size at a dif-
straight reversal of course if a tions for example holding a images as it moves apart. The ferent place on the screen. It
collision is detected. bomb when it goes off, being image may be exploded into achieves this by scanning all the
s q u a s h e d flat or s t r e c h e d . single pixels that change colour sixty four pixels in the character
Lines Twist, skew, shear, bend and rapidly as they move outwards. square and displaying t h e m
explode can all be used to great A computer can generate useful doubled up on both axis. It is a
Line graphics can be the most e f f e c t . Explosions seem to sound effects to accompany simple matter to adapt this pro-
satisfying because they can be characterise the even popular this visual extravaganza which gram to reproduce a character
used to make up wire images of arcade game and it is worth makes the whole process more that is stretched taller or wider
objects, giving a three dimen knowing how to do this. effective. by only adjusting the values on
sional effect. That object can be Manipulation in size is one one or the other axis. This
moved realistically around the
screen and even rotated around
Bang! technique that a computer can
do quickly without the need for
technique, because it works at
the pixel level will also expand
variour points. Wire images The basis of an explosion effect new images to be drawn, digitis any shape. In BASIC it is rather
have been used in some com is that the image breaks up and ed and stored. It is simply a mat slow, in machine code it is much
puter games but are probably moves apart from a central ter of arithmetic to alter the size faster and can be used to great
best known in such applications point. The image is initially chop- of an o b j e c t . For example effect.
as building and car design. The ped or minced into short lines or characters can be made larger Perhaps the m o s t e x c i t i n g
program in figure 3 is an exam- pieces and these move radially by s c a n n i n g the c h a r a c t e r possibility for a home computer
ple. These are the three main user is to make use of line
ways of producing graphics on 10 REM P I X E L G R A P H I C ANIMATION graphics and produce a three
most home computers and for dimensional representation of
tunately we have access to all 20 REM AND C O L L I S I O N DETECTION an object that can be rotated in
three on the Sinclair Spectrum. 30 CLS any given direction and create
It has to be said that the best 4 0 REM DRAW BORDER some illusion of movement. The
animation on the Spectrum will wire frame image depends on
be written using machine code 5 0 FOR 1 = 1 TO 2 0 : P R I N T AT 1,1 coordinate geometry to
rather than BASIC because I"B": P R I N T AT I,301 manipulate it, it is a matter of
machine code is a good deal 60 NEXT I numbers and few rules. The big
faster. BASIC is easy to unders gest problem is that the televi-
tand, and has b^en used in the 70 FOR 1=1 TO 30: PRINT AT 1,1 sion or other computer screen is
B
examples here for c l a r i t y , P R I N T AT 2 0 , I J FL* only two-dimensional. Perhaps
though it can cause flickering 80 NEXT I one day hologram technology
and other odd eff3Cts and will have advanced enough so
detra. t from the effect that you 90 GO TO 2 2 0 : REM M A I N P A R T that three-dimensional images
ire trying to achieve 100 REM P L O T S U B R O U T I N E can be projected into a living
The actual process of anima 110 PLOT X , Y room like a super television, but
non on computers is a good deal until then we must rely on the
different from that using hand 120 PAUSE 4 eye b e i n g f o o l e d by t w o -
drawn images and film. A com 130 RETURN dimensional trickery. Perspec-
puter really only undertands 140 REM U N P L O T S U B R O U T I N E tive drawings do this and the
numbers, so that images shown Renaissance artists were
have to be digitised to coor- 150 PLOT OVER 1;X,Y masters of the art and produced
dinates and these coordinates 160 RETURN some remarkable paintings and
manipulated to produce new im- drawings. The keys to such
1 7 0 REM C O L L I S I O N DETECTION
ages in dillerent positions. Do works of art is the 'vanishing
that quickly enough and you 1 8 0 REM S U B R O U T I N E point". Looking along railway
have animation. In extreme 190 I F POINT (X+XDIR,Y+YDIR)=1 lines, the tracks appear to con-
cases a single drawing may be verge at a point — this is a
AND P O I N T ( X + X D I R , Y + Y D I R + 1 > - 1 AN
made and many different im- vanishing point. These drawings
ages made by mathematical D POINT ( X + X D I R , Y + Y D I R - 1 ) - 1 THEN are made w i t h reference to such
manipulation. For example, an LET XDIR-XDIR*-1 a point which is often off the
image may be made wider or paper.
200 I F POINT (X+XDIR,Y+YDIR)-1
taller by altering values along
one axis, give a computer t w o AND P O I N T ( X + X D I R + 1 , Y + Y D I R > = 1 AN
3D
images, one bigger than the D POINT (X+XDIR-1,Y+YDIR)-1 THEN
other and the computer can be LET YDIR"YDIR*-1 In three-dimensional reality we
programmed to produce a new can describe an object by
image between the two sizes — 2 1 0 RETURN reference to three axis- x,y andz
this is k n o w n as an in 2 2 0 REM M A I N L O O P as they are c o n v e n t i o n a l l y
betweening. Animation implies known. When measuring an ob-
2 3 0 L E T X - 7 0 : L E T Y - 1 0 0 : L E T XD
change, so t h a t i m a g e s ject we normally described the
presented sequentially appear IR=--3. 1 : LET YDIR-1 dimensions in terms of length,
to move. The basis of animation 2 4 0 GO S U B 1 7 0 : REM C O L L I D E D ? width and height, but in order to
involves a number of key describe an object in terms
2 5 0 GO S U B 1 1 0 : REM P L O T
elements that help produce the suitable for computer graphics
desired effect. The obvious is 2 6 0 GO S U B 1 4 0 : REM U N P L O T w e must describe the object in
change in size or shape, others 2 7 0 LET X=X+XDIR distances from an origin point.
include change in speed, angle, The origin can be a corner of the
2 8 0 LET Y=Y+YDIR
colour, position and perspective object itself or further away, the
- remember these are anima- 290 GO TO 240 Figure 2 object may be viewed from the
tion techniques and not com- origin or another point. This in-
puter techniques. We have all troduces the idea of how we can •

IL
ZX COMPUTING DECEMBER/JANUARY 1985
ZX CRAPHICS

1 0 REM C U B O I D D R A W I N G 10 REM D O U B L E S I Z E C H A R A C T E R S
2 0 LET OX-=30: LET O Y = 4 0 20 LET X C - L : LET YC-1
30 LET A - 3 0 : LET B = 4 0 : LET C=1 30 P R I N T AT 10,10("A"
5: LET D - 2 0 40 DIM A (8 , 8)
40 PLOT OX,OY 30 REM S C A N C H A R A C T E R
5 0 DRAW 0 , A : DRAW B,0: DRAW 0, 60 F O R X » 0 TO 7
- A : DRAW - B , 0 70 FOR Y = 0 TO 7
60 DRAW C,D: DRAW B,0: DRAW -C 80 I F POINT ( X + 8 0 , Y + 8 8 ) = 1 THEN
LET A(X+L,Y+L)=1
7 0 PLOT O X + 0 , O Y + A ! DRAW C,D: D 90 NEXT Y
RAW B , 9 I DRAW - C , - D 100 NEXT X
8 0 PLOT OX+C,OY+D! DRAW 0,A! D 110 REM R E P R O D U C E ENLARGED
RAW B , 0 : DRAW 0 , - A 120 F O R X = 1 TO 1 6
9 0 LET A - A + L ! LET B*B+L: LET C 130 FOR Y = 1 TO 1 6
«=c + l : L E T D = D + 1 140 LET YC=INT ( Y / 2 ) : I F YC=0 T
1 0 0 STOP HEN L E T YC = 1
Figure 3 1 3 0 I F A < X C , Y C ) 1 THEN P L O T X+
96,Y+84
160 LET X C - I N T (X/2) I F XC=0 T
HEN LET XC-1
170 NEXT Y
180 NEXT X
Figure 4

make a flat two-dimensional


representation appear three- VIEWED POINT AT x,y,z
dimensional and provide the
basis for animating such an ob-
ject. The diagram in figure 5
shows how a single point view-
ed from the origin of the coor-
d i n a t e s l x . y and z) can be
represented on the picture plane
at a set distance from the view
point. The picture plane of
course is our television screen
and the x and y coordinates of
the point on it w i t h respect to PICTURE PLANE (SCREEN)
the bottom left hand coner are PARALLEL TO x,y PLANE
calculated as x times (distance
of picture plane to viewpoint
axis divided by z). This is called
transforming and is good for any
object where the viewpoint and
the origin of the coordinate
system are the same place.
TRANSFORMED
Some degree of animation is
POINT AT x,y
now possible once the three-
dimensions are transformed into
t w o on the picture plane. The
x ,y c o o r d i n a t e s c a n be
transformed around the screen
x =0
enlarged, reduced, moved or
y =0
rotated and the perspective (ON SCREEN)
altered by shifting the picture DISTANCE OF PICTURE
plane. Rotation presents an in- PLANE FROM ORIGIN
teresting problem because one
has t o resort t o sines and
cosines to solve the shifting of x
and y coordinates about the cen-
tre of rotation. Taking an anti-
clockwise rotation through a
specifiedangle, A, then the new x{d/z|
coordinates of the point x,y will y(d/z)
be calculated as x cosine A-y
sine A for the x coordinate, and x ORIGIN AND VIEWPOINT
sine A + y sine A for the y coor- Figure 5 (0.0,0)
dinate. This idea is incorporated

34 ZX C O M P U T I N G DECEMBER/JANUARY 1985
ZX CRAPHICS

into the program in figure 6


which draws a cube thun rotates
into a new position.
Line graphics are particularly
suitable for these sorts of
transformation, though it must
be said that the mathamatics
can become quite complex
when trying to view the object
Irom any point other than the
origin ol the coordinate system.
Naturally for flicker free anima-
uon machine code is essential as
there may be a large number of
calculations involved in
transforming each point on an
object. Combinations of block,
pixel and line graphics can be
seen in many animated com
outer games as well as more
serious applications but it must
be said that really complex
animation is the preserve of
much larger and more ex pensive
computers. What is needed in
the home computer market is
dedicated software that will
allow easy and fast animation by
coping with the transformations
necessary, the software can be
rather like the sprite graphics
support available on a chip in
some computers.

1 0 REM S I M P L E R O T A T I O N OF 260 PLOT X(5),Y(5}


2 0 REM C U B O I D S H A P E 270 DRAW X<6>-X(5),Y(6)~Y<5)
30 LET A N G L E * - . 1 5 : REM APPROX 280 DRAW X(7)-X(6),Y(7)-Y(6)
18 D E G R E E S C L O C K W I S E 290 DRAW X < 8 ) - X ( 7 ) , Y ( 8 ) - Y <7>
40 DIM X ( 8 ) : DIM Y ( 8 ) 300 DRAW X < 5 > - X ( 8 ) , Y < 5 > - Y f 8 )
5 0 REM C O O R D I N A T E S 310 PLOT X ( 4 ) , Y ( 4 )
6 0 DATA 80,80,80,110,120,110,1 320 DRAW X ( 8 ) - X ( 4 ) , Y ( 8 ) - Y < 4 )
20, 80 330 DRAW X ( 5 ) - X ( 8 ) , Y ( 5 ) - Y ( 8 )
7 0 DATA 95,100,95,130,135,130, 340 PLOT X < 1 ) , Y ( 1 )
135,100 350 DRAW X ( 5 ) - X ( 1 ) , Y ( 5 ) - Y ( 1 >
80 REM NOMINATE CENTRE OF 360 PLOT X ( 2 ) , Y ( 2 >
90 REM R O T A T I O N AT 100,110 370 DRAW X ( 6 ) - X ( 2 ) , Y ( 6 ) - Y <2>
100 FOR 1=1 TO 8 380 PLOT X ( 3 ) , Y < 3 )
110 9EAD X ( I ) , Y ( I ) 390 DRAW X ( 7 ) - X ( 3 ) , Y ( 7 ) - Y ( 3 )
1 2 0 NEXT I 400 RETURN
1 3 0 GO S U B 1 9 0 : REM P L O T S H A P E 410 REM APPLY ROTATION
1 4 0 REM MAKE R E L A T I V E TO C E N T R E 420 REM TO C O O R D I N A T E S
1 5 0 FOR 1 = 1 TO 8 430 FOR 1 = 1 TO 8
160 LET X ( I ) = X < I ) - 1 0 0 : LET r < I ) 440 LET X(I)=(X(I)*COS ANGLE)-(
=Y < I ) - 1 1 0 Y(I > *SIN ANGLE)
1 7 0 NEXT I 4 5 0 LET Y f I ) = <X< I ) *SIN ANGLE) + <
180 GO TO 4 1 0 : REM TO R O T A T E V(I)*COS ANGLE)
190 REM DRAW C U B O I D S U B R O U T I N E 4 6 0 NEXT I
200 CLS 4 7 0 REM CALCULATE S C R E E N COORDS
210 PLOT X (1) , Y ( 1) 4 8 0 FOR 1 = 1 TO 8 : LET X<I)-X(11
220 DRAW X ( 2 ) - X ( 1 ) , Y ( 2 ) - Y < 1 > + 1 0 0 : LET Y<I>=Y(I) +1 10
230 DRAW X ( 3 ) - X ( 2 ) , Y ( 3 > - Y < 2 > 4 9 0 NEXT I
240 DRAW X ( 4 ) - X < 3 > , Y ( 4 ) - Y < 3 ) 500 GO S U B 190: REM PLOT AGAIN
250 DRAW X ( l ) - X ( 4 ) , Y ( 1 > - Y ( 4 J 510 STOP

Figure 6

ZX COMPUTING DECEMBER/JANUARY 1985


IL
(SPECTRUM GRAPHICS!

Spirogram
Moving in circles can produce some
interesting results as Simon Palmer
demonstrates. lli&,86j
I12e,88»
I3T B l S r 1 3
137 • - I S r - i d

Almost everybody will have and storing facilities which are


played with a Spirograph at normally used for the
some time. It is a set of toothed calculator's memory area to
wheels, like gears which pro- manipulate numbers on the
duce intricate patterns. One of calculator stack (a plan of which
the gears is pinned to a piece of is given in figure 1).
paper, while the other is pushed
around it by a pen which pokes
through onto the paper. The pat-
terns which are produced de
Functions
pend on the sizes the gears, and The functions of the different
the position of the pen hole in sections of program are:
the moving gear. These effects
are reproduced on a Spectrum FEF A - FF40 get the
computer by this program. arguments from the REM state-
The format for a call to the ment which must immediately
machine code program is RAN follow a USR call to this pro-
DOMIZE USR 6 5 2 7 4 : REM gram, and put them on the
a,b,f,m,r where a and b are the calculator stack after the six < , 6 6 ) m l B r 1 8
coordinates of the centre of the dummy values at the bottom to I 8 8 ) no - I S r - 1
pattern on the screen, f and m replace the calculator's memory
are integers which are the radii area, of at any time an error is values of COS©, SIN©, COS0, FFBC FFE2 checks to see
of the fixed and moving gears, detected a jump is made to SIN0(COS & SIN denote (f i m) whether lx,y) is on the screen, if
and r is the distance of the pen 1C8A which stops the BASIC cos0& (f + m) sind, and COS0& so it is PLOTted by a USR call to
hole from the centre of the mov- program and produces an error SINfiklenote r cos0and r sin0) and 22DC.
ing gear. report. calculates cosAft, sinA0, cosA
The program is based almost #and sinAtT. FFE3 - FFF2 decrements the
entirely on the Spectrum Basic FF41 FF54 calculates the hcf step count, if this is not zero and
interpreter's calculator (called of f and m. FF8B FF9D increments6 (by there is no keyboard break, then
by a RST 00281. This is controll- changing COSOand SIN6I. the loop is executed again.
ed by a string of literals im- FF55 - FF74 calculates the
mediately following the call size of angular incrementsAG FF9E FFAF increments 0 (by FFF3 - FFFE r e s e t s t h e
which describe what needs to and the total number of them in a changing COSffand SIN0I. calculators memory area and
be done, adding multiplying and complete pattern. clears the stack.
so on. Particular use has been FFBO - FFBB calculates the plot
made of the number fetching FF75 FF8A sets the initial position (x,y). FFFF returns to BASIC.

Stack Map
1 0 REM S P I R O G R A M
set-mem get-mem contents 2 0 CLEAR 6 5 2 7 3
CO EO calcO
CI El calc 1 3 0 LET P=1+PEEK 23730+256*PEEK
C2 E2 calc2 23731
C3 E3 calc3
C4 E4 caic4 4 0 GO SUB 1 0 0 0
C5 E5 calc 5 5 0 INPUT • ( - j a ; " , " ; b ; • >
C6 E6 a
CI E7 b m";m;• r " ; r
C8 E8 1 6 0 R A N D O M I Z E USR P : REM a , b , - F f
C9 E9 m
CA EA r m, r
CB EB t 70 GO TO 5 0
CC EC AG
CD ED cose 1000 REM p o k e SpiroGram
CE EE SINe 1010 LET d=p
CF EF cos AO
DO FO sin AG 1 0 2 0 DEF F N d ( d S ) = ( d t < = ' 9 " > * ( C O D
D7 F1 cose
SIN e
D2
E dS-CODE "0">+<d*>="A")*<10+COD
F2
D3 F3 cos Ae E d®-CODE "A")

r
D4 F4 sin Ae 1 0 3 0 READ d *
D5 F5 X
D6 F6 V 1 0 4 0 POKE d , F N d < d * < 1 ) ) * 1 6 + F N d<
d*<2>)

IX C O M P U T I N G D E C E M B E R ' J A N U A R Y 1 9 8 5 36
1PECTRUM GRAPHICS)

1050 LET d=d + 1 FF17 CI POP BC the argument oouht

1060 L E T d * = d * < 3 TO > FF18 FDCB0176 BIT 6 , (IY-tOl) set (KZ) i f numeric expression
reset (Z) i f string expression
1070 IF d%<>" THEN GO TO 1 0 4 0 FF1C 281A JR Z,ERROR Jump to ERROR if string exp.

1080 READ d * FT IK 10EF DJNZ JiEXT decrement argument count,


i f core to do jump to next
1090 IF d*<>"" THEN GO TO 1 0 4 0 FF20 FDCS017B 93T 7,{IT+01) set (NZ) if interpreting
1100 RETURN reset ( Z ) i f syntax checking
FF2t 2015 JR NZ,BEGIN Jtmp to HH3IN i f arguments have
1200 DATA "DFFE3A2039E7" been stacked by expr, ovalu.itor
1210 DATA "FEEA2034E5FDCB01" FF26 El PCP HI. address of Arguments

1220 DATA •BE06051805DFFE2C" FF27 225D5C I D (5C5D),ML restore (CH-ADD) to first argument

1230 DATA -2026C5E7CDFB24C1" FP2A FDCB01PE SET 7 , (lT-tOl) to interpret arguments


FF23 2F RST 0028 call tho calculator
1240 DATA "FDCB0176281A10ED"
FF2F AO DEFB put six durcy values at the
1250 DATA "FDCB017E2015E122" FF30 AO K5FB bottom of the calculator stack
1260 DATA "5D5CFDCB01FEEFA0" FF31 AO DSFB for the calculator to use
1270 DATA "A0A0A0A0A03818D1" FF32 AO DEFB instead of M^BOT (enables ths

1280 DATA " C38A1C2A635C2268" FF33 AO DEFB set-men C O , C I , . . 6 cet-me.= E 0 , F 1 , . .


F?3i, AO 05FB literals to be used)
1290 DATA "5CEFE82AE92AEBEC"
FF35 38 DEFB end-calc
1300 DATA * 0336000201EB3202"
FF?6 18D1 JR ASG3 jimp to" ARCS, add arguments
1310 DATA -313700F902A3310F" a , b , f , B , r to the stack lr.
positions 6 , 7 , 8 , 9 , A respectively
1320 DATA -310F1B31E8E905A1•
FF33 C38A1C ERROR JP 1C8A stop prograa and produce
1330 DATA "0FEA042AE8E90F2A" error report

1340 DATA "0F047731E904EB05" FF33 2A635C BffiD; ID HL, (STXBCT) address of the botton of
the calculator stack
1^50 DATA •2A27CB0705E8E90F-
PF3E 22685C LD (MKX).fa address of the area used for
1360 DATA •AHFC7WFC1FEAA0F8" calculators nonory {usually KEK30?)

1 DATA " F905A 1 0F EC0431 20" F K L EF RST 0028 call the calculator
FFt2 S8 DSF3 get f
1^80 DATA "011F3REFEEEF04ED" absolute
FF43 2A Ifl
1390 nATA "F0040FFDFF04EEF0" F F U E9 get b
1400 DATA "040^CD02CE02F2F3" FFi5 2A absolute LI
14 10 DATA "04F1F4040FF1F304" FFt6 EB get If!
FF47 EC get Iral
1470 DATA "F2F40403D102D202"
FFt8 03 subt ract Ifl-U
1430 DATA "F6ED0FF10F27E7EE *
FFW 36 less-0
1440 DATA "0FF20F27F5360022" F F U 0002 Juxp i f lf|<|o| to CRDRD
1450 DATA "F636001EF53440B0" FFIX 01 UC1ID exchange so that larger number 1 is on
top of smaller nueber a
1460 DATA "00FF03370014F634"
PFi»D EB ORDRD get s
1470 DATA "40B000AF0337000A" 7TUS 32 1-HBOd-S rotum3 remainder and quotient
1480 DATA * 3480B000DC222D33• on top of stack
FFiiF 02 delete the quotient
1490 DATA "020202EBA103CB37"
FT 50 31 duplicate the remainder
1500 DATA "000438180738CD54"
FF51 37 greatar-0
1510 DATA "1F389821925C2268" FF52 005*9 Jump i f reminder 0 to U C U D
1520 DATA "5C2A633C22655CC9" FF54 0 2 delete the sero remainder

1530 DATA FF55 A3 const-5


FF56 31 duplicate
PP57 OP add ft
PF58 31 duplicate
FT59 OP add 2n
FEFA DP FROG RST 0018 fetch char being interp'd
FF5A IB negate -2n
FEFB FE3A CP A,38 is It j
FF5B 31 duplicate
FBFD 2039 JR NZ,ERROR i f not j'Jnp to ERROR
FF5C E8 get f
FEFF B7 RST 0020 fetch next char to be interp'd
FF5D B9 got m
FFOO FSKA CP A,EA ia it a "REM"
FF5S 05 divide f/«
FF02 2034 JR HZ,ERROR i f not jump to SBSOR
FP5P AI con.it-1
FlOlt 85 PUSH 8 L the address of the arguments
PF60 OP add 1+ f/m
FF05 FDC901SX RES 7,(IT-tOl) react bit 7 of (FIJCS)
FF61 XA get r
to check syntax of arguments
ARCS PF62 OU multiply r(l+ f/o)
FF09 0605 LP B.05 number of arguments
FFCB 1605 FF63 2A absolute M l + f/o)l
JR FIRST Ju=p to f i r s t , there is no
separator before first argument FF6ii S8 get f
FFCD DF jmc? RS? 0018 fetch char being interp'd FP65 S9 get a
FFOE FE2C CP A,2C is it a » , » PF66 OP add f-Hl
mo 2026 JR HZ,ERROR i f not Jv-p to BRICR PF67 2A absolute tf+ffll
FF12 C5 FIRST Pllffl BC the argument cwdit PP68 OP add tftnl + |r( 1+ f/m)l
F P U E7 RST CO 20 fetch next char to be Interp'd FF69 Oi multiply -2n(|f+n| + |r(l+ f/m)1)
F P U CDFB2J. CALL 2iPB call the expression evaluator FF6A 27 integer IWT{ -2n( 1 f+n 1 + |r(l+ f/m)|))

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 37
I
(SPECTRUM GRAPHICS!

PFA3 multiply OOS t sin Af5


FFA4 OF add - SIN 0 cor. if/ + COS 0 sin A0
FFA5 F1 got COS 0
FFA6 F3 get cos At

FPA7 ai- multiply COS t con At

m s F2 get SIK t

FFA9 F4 get sin i f

FFAA 0 4 multiply SDi I sin t t

FFA3 03 subtract OOS(frtA0) • OOS f cos Atf - SIK t sin AC

FFAC Dl set COS t

FFAD 0 2 delete

FFAK EC sot SIK t


FF6B 31 duplicate number of steps In one circuit delete
FFAF 0 2
FF6C B9 get ra get a
FF30 Bfc
FP6D 0 1 multiply get 00S 6
FFB1 ED
FF6E EB get hcf add
FF32 OF
FF6P 0 5 divide get OOS t
FF33 F1
FF70 2A absolute add
FFB4 OF
FF71 27 Integer + |r{ 1+ f / m ) | ) )
FFB5 27 integer x - itr(a+ cos e + oos fl)
FT72 CB set t nusfcer of steps In eooplete pattern - BJT(a+ (f-*m) c » j 9 + r to* t )
mem-15
rm 02 delete
FF96 E7 get b
FHl 05 divide - 2 n / m < -2n(|f+m| + |r(l+ f / a ) ] ) )
largest angular increment which w i l l FF87 TE GET SIN e
not leave gaps in the pattern
FFB8 OF add
FF75 S 8 get f
FF99 F2 get SIK t
rnt> E9 get tn
F F M OF add
FF77 OF add f+m — COS 9 — mem-CD
FFBB 27 integer y - H!T{b+ SIK 6 4 Sill t )
FP70 AO conct-0 0 — SBi 9 mem-CE - BJr(b+ {f-ta) sin 0 + r sin I)
16
FF79 EC get i e
FFBC F5 get *
FHA 20 cos oos i e -»mes-OF
FFBO 36 less-0
FP7B EC get i"
FFBE 0022 Jump to NPJOT i f x < 0
FP7C IP sin sin ie mem-10
FPCO P6 get y
FF7D EA get r r — COS 0-*-nem-ll
FFC1 3 6 less-0
FP7E AO const-0 0 -»SIW C -» meo-12
FFC2 001E jump to KPICTT i f y < 0
FF7F E8 get t
FFC4 F5 get x
FT80 E9 get m
FFC5 34409000FF stk-data 255 deciral
FF81 0 5 divide f/n
FPCA 0 3 subtract
FF82 A1 eonst-l
FFCB 37 greater-0
FP83 OF add 1+ f / n

F m EC get A9 FFCC 0014 junp to KPICT i f x>255dec

FP85 O i ailtlply AH - ( 1 + f / n ) A 9 FFCE F6 get- r


r?sb 31 duplicate FFCF 3440BOOOAP stk-dAU 175 decimal

FT87 2 0 cos FFD4 03 subtract

Free o i exchange cos At mem-U FFD5 3 7 greater-0

FT89 IF sin sin oeit-14 FFD6 OOOA Junp to XPlflT i f y > 1 7 5

FF8A 3 8 HEFB end-calc FFD8 3480BOOOX22 stk-data 22DC hexadecimal

FFflB EF 1HOP RST 0 0 2 8 c a l l the calculator address of P10T x , y routine


FFDB 2D
FF0C EE DEF8 get SIN 9 CSR call to PICT routine
FFDF 3302
FF8D EF get COS A9 Jump tp PIJCTD
FFE1 02 tiTLOT delete y
FF55S 04 multiply SDI 6 cos A9
FFE2 0 2 PIOTD delete x or value returned by CSR
FF8F BD get COS e
i f P1DT routine was executed
F R O FO get sin 6 9
FFE3 EH get t
FF91 Oi. multiply OOS 6 sin & « FFE4 A1 const-1
FF92 OF add - SIK 9 cos i 9 + C05 9 c In ie FFE5 03 subtract
FF93 ED got OOS 9 FFSS CB set t
FF94 EF get cos i 9
FFE/ 37 groater-0
FF95 0 4 mltiply OOS 9 cos A9 FFSS 0004 Jump to C O W i f t > 0
77% EE get s m e
FFEA 3 8 end-calc
FF97 FO get sin i 9
FFEB 1807 Jfi EKD
PP98 0 4 Bultiply SDi 9 sin A9 FFED 3 8 corn end-calc
P799 03 subtract C0S(e+A9) - OOS 6 eoc i e - sit: e sin i s
FFEE CD541F CALL 1F54 return C (carry flag set)
FT9A CD set COS 9 unless 'break' i . e . caps shift
and space keys being pressed
FF9B 0 2 delete
PFT1 3898 JR C,LOOT continue i f no break
FF9C CB set SHI 9
FFF3 2192JC END ID HL.JC9C -XOSOT the address of the
FF9D 0 2 delete
calculators normal memory
FF9E F2 get SIN «
FFF4 2268SC LD (MJDO.HL

r
FF9F F3 get cos At FFF9 2A635C ID flL, (STKBOT) address of stack bottom
FFAO 04 multiply S D ( C cos 6®
FFPC 22655C ID (STKT0P),HL delete the stack by overwriting
FFA1 F1 get COS 9 the address o f the stack top

FFA2 F4 get sin Lt FFFF C9 RET return to BASIC

IX C O M P U T I N G DECEMBER'JANUARY 1 9 8 5 38
IGRAPHICS FEATURE!

The UDG Bank


84 UDCs must be enough for anyone. B.
To define a bank all you need
to do is set them up as ordinary
UDGs from BASIC as normal,
then use this program to store
the characters in the memory
reserved for that bank. To move
a bank of UDGs to the storage

J. Kamphuis shows us how to achieve


area all you have to do is use the
command, either from a BASIC

this on a Spectrum.
program or as a direct com-
mand: RANDOMIZE USR ad-
dress: REM W1
Now 'address' is either
6 4 0 0 0 or 3 1 2 3 2 depending on
whether you have a 16K or 48K
Spectrum, and the ' W ' after the
REM tells the machine code
routine to write from the normal
UDG area to store, and the " T
tells it which bank to use.
Therefore when setting up your
UDG banks you will use W1,
W 2 , W3 and W4 depending on
which bank you are working on.
The opposite effect, that of
loading the normal UDG area
with the characters in a bank is
achieved by using RANDOMIZE
USR address: REM L I note L"
instead of 'W'. Once the banks
User Defined Graphics are a There are many ways of get- troduced so a short machine have been set up then save the
valuable and relatively easy ting an increased number of code routine is used to keep the w h o l e f o u r sets plus the
means of producing arcade ac- UDGs and B. J. has adopted the program moving smoothly. The machine code with the com-
tion, background pictures or method of storing four banks UDGs are stored in four banks mand SAVE " u d g s " CODE ad-
business graphic details. which are transferred to and named, not surprisingly, b a n k l , dress, 1 535 and to use in a pro-
Although twenty one are easily from the set UDG area of bank2,bank3 and bank4.Every gram include after the program
obtainable, it is surprising how memory as required. Now if 1 68 bank can be transferred to the has loaded the c o m m a n d s
often you find you could do with bytes have to be moved by 'active' or normal UDG set and CLEAR address 1:

im
a few more. BASIC a noticable delay is in- back. LOAD""CODE.

1 RFM
2 REM 16K version
3 REM
10 CLEAR 31231: DATA 42,93,92,
33,33,126,234,87,202,30,122,234,
76,202,60,122,201,33,126,214,48,
33,88,127,17,0,122,130,87,1,168,
0,237,176,201,33,126,214,48,17,8
8,127,33,0,122,132,103,1,168,0,2
37,176,201
20 FOR -f"31232 TO 31248: READ 1 REM
a: POKE *,a: NEXT 4 2 REM 48K version
30 FOR f-31262 TO 31279: READ 3 REM
a: POKE 4,a: NEXT 4 10 CLEAR 63999: DATA 42,93,92,
40 FOR 4-31292 TO 31309: READ 33,33, 126, 234, 87,202,30,230,234,
a: POKE 4, a: NEXT 4 76,202,60,230,201,33,126,214,48,
33,88,255,17,0,250,130,87,1,168,
0,237,176,201,35,126,214,48,17,8
8,253,33,0,230,132,103,1,168,0,2
37,176,201
20 FOR 4 =64000 TO 64016: READ
a: POKE 4 , a: NEXT 4
30 FOR 4=64030 TO 64047: READ
a: POKE 4 , a: NEXT 4
40 FOR 4=64060 TO 64077: READ
a: POKE 4 , a: NEXT 4

ZX C O M P U T I N G DECEMBER/JANUARY 1985 39
A comprehensive review of the state of
the art by Colin Christmas.
As we see this old year out and example of Flip Screen Anima
welcome the new one in, it's a tion can, like ihe others, be
better time than most to stand broken into, so that you can see,
back and take stock. Looking or begin to see how this im-
back land leaving the pro- pressive feat was achieved. The
phecies and predictions to manual explains too, how it was
othersl it must surely be agreed done, and with this and its other
that lor Spectrum users with an detailed explanations, instruc-
eye on Graphics it has been a tions and suggestions, gives a
most exciting year. I can't speak clear indication right from the
for other departments but for start of how powerful a utility
me, it has been Christmas every Screen Machine really is.
issue. It should be said that a good
In this issue I want to do working knowledge of BASIC
something special take a look and of the Spectrum Manual
at the goodies that have come itself is essential before trying to
our way. Our way? Who are get to grips with this tool. One of
We? We are the Graphics Grab- its most innovative and useful
bers, Artwork Addicts, Design facilities is that of enabling pro-
Doodlers. For us the screen is a grammers to save time and
window on a world of colour, memory space by having access
images, line, shape, pattern, t o i n s t a n t M a c h i n e Code
design, texture, light and shade. r o u i i n e s for C o m p r e s s i n g
And like a window it opens out Screen displays, saved normally
into an exciting new visual as 6 9 1 2 Bytes, but now being
world. For business, for profit, stored as only 247 5 bytes.
for learning for discovering orfor There are sections too, in the
pleasure. From the weekend manual, with instructions for
dabbler or doodler to the serious adapting Screen Machine to
professional, from the games microdrive, for a wide range of
enthusiast to the educational screen modifications and for
user, from beginner to ex- text compilation into machine
perienced programmer and right code.
across the age range, you will These t w o from Print N'Piot-
find Spectrum owners who are ter, then, a invaluable twosome,
hooked on graphics. especially w h e n teamed up
It's fairly formidable task four user definable characters in This toolkit needs patient and together. They will not suit
covering the range of Graphics the UDG Edilor, experimenting diligent effort put in to it before every style or requirement, so
Hardware and Software now all the time with the Sketch Pad those efforts are really reward- read on.
available lo Spectrum owners Facility before deciding to use ed. It is not for those who want From NEW GENERATION
but let's get started. them in screen graphics or pro- an 'instant meal' to be taken on SOFTWARE came Ughtmagic.
grams. Also on the Menu, Preci themovesotospeak. It'snot for And that might just suit some. It
Software sion Plotter enabling high resolu-
tion screen graphics work to be
doodlers either. Members of
either group will enjoy the heari
is easier to use, or rather to gel
straight into and, in the true
PRINT N'PLOTTER Products attempted and then combined of the product only. To get the sense of the word it is fun. If all
have given us two w i t h your already designed most out of it you need some you want to do to start off with
t h o r o u g h b r e d s in graphics UDGs and stored in four UDG application skills. is to make pictures, play with
packages, stablemates in fact. banks. UDGs and so on, in a light
Both are already household Multiple screen files can be If Paintplus were an 0 ' hearted way that will beenterta
names in the world of Spectrum achieved by working your way Level, then Screen Machine ining and will not tax your con-
Graphics. Paintbox, redesigned through the twenty eight page would be an 'A' Level. By that I centration too greatly at first,
and renamed Paintp/us since manual which accompanies the mean that success with the one Ihen Lightmagic is the friendly
first reviewed, and Screen software cassette. The new will probably lead to moving up tool for the job. It is therefore a
Machine. features are found here in Preci- to the other. It is capable, of lif- good starter pack in my opinion
Paintplus now has over sion Plotter. Screen Planner ting earlier work done say on and I have observed its magnetic
twenty new features added to and Organiser, They include a Paintplus, to new and more pro- attraction inaction with children
the original. It is Microdrive and mode called Paperwash, a facili- fessional heights. aged eight to sixteen with only
Grafpad compatible, and offers ty for Grabbing from Screens, The demo programs on the keyboard familiarity on the
cursor c o n t r o l f r o m either Box Draw, Enlarge, Edit modes cassette are not only inspiring, Spectrum.
keyboard or joystick, swift and and many more. One side of the as was the case with Paintplus, The manual gets full marks
smooth or slow and smooth. cassette has demonstration pro- but in the case of Screen from me. Clear, easy to read,
You have a choice here too. grams to inspire the fain- Machine are also meant to be in well planned and with informa-
Power to program up to eighty thearted. structive. The program for the tion, instructions, index, tips

40 ZX C O M P U T I N G DECEMBER J A N U A R Y 1 9 8 5
and summaries ail included in distance of your screen from square, you also learn what design hardware and software
such a way as to show that a your keyboard, and the fact thai makes a square what it is and for the Spectrum
great deal of thought went in to you have to work on a perpen- from there the difference bet It comes in two versions, the
its organistation and produc dicular 'face'. The height of the ween a square and a rectangle or Standard and the Professional.
tion. Text Mode and UDG Mode screen is therefore important if a parallelogram. Both are fairly highly technical
are fascinating and easy to work you do not want to suffer from It is a language itself, apart and sophisticated tools. The
with. Text and characters ap muscle fatigue in your drawing from BASIC. Hence learning to Tracer consists of a short fixed
pear at the bottom of the screen arm. use it is learning to program a arm and pivot from which ex
and can then be 'picked up' and Lightpens give you a physical computer in another language. tends a drawing arm hinged at
positioned anywhere you want contact and interaction with The g r a p h i c aspect being the centre with another floating
them in vour picture or design. your drawing surface if that is displayed on the screen is part of pivot which moves across your
Then, just when you will pro- important. Calibrating the pen the incentive and motivation for drawing surface area.
bably be ready to move on to each time may prove a chore, p r o g r e s s i n g w i t h the new The arm is connected to the
more a m b i t i o u s p r o j e c t s , but after that it's plainsailing language. computer by a length of cable
graphically, Lightmagic proves within the limitations of the Two fairly weighty and com via an interface plugged into the
its magic again. The program power of the program. Again it's prehensile books or manuals rear port of the Spectrum. A
also offers a facility called UDG a good way of getting started or are pan of the pack. The firsi cardboard template and
Designer for the creation and the very basics of graphics, of book deals exclusively with Tur transparent grid overlay are in-
editing of your own graphics getting into the picture as it tie Graphics and is an absorbing cluded for calibration purposes,
characters which you can then were. Sensibly introduced in the and refreshingly different kind of the tracer is a precision instru-
use in your own pictures and classroom it could be useful aid programming experience. The ment. The software cassette
programs. The facility for Com and introduction for children in second book acts as a reference contains five programs. The
Dressing pictures and saving an educational context. It is manual for Sinclair LOGO, The usual options are offered in the
memory is offered in the COMP- limited though in its potential for growth, use and development of first, plotting single points, con
SCREEN option. This is loaded advanced or complex screen LOGO by Spectrum owners, struction of basic geometric
separately from the cassette. designs. Graphics Tablets give especially in schools will, I think, ligures, filling, hatching, change
It's there in other words, when you similar physical point of con be affected by the cost factor. of ink, border, paper colour, ad
you need it. Later rather than tact with your drawing-surface. When DREAM SOFTWARE ding text, UDGs and so on.
sooner probably. This time it is horizontal and released Computer Aided Designer, The display image can be
Alongside Lightmagic, not again a 'pen' is used. There's a my own children had not had their moved up, down, and from side
for comparison, but because for review of the Saga Graphics Pad Spectrum for long. They, tike me t o s ide, sea led u p a n< I d ow n, a nd
me they have the same feel in this issue. So when you are were exploring the full graphics reversed. Multiple screen im-
about t h e m , m i g h t c o m e ready look it up. They certainly potential of the machine when ages including images at dif
Leonard, f r o m CREATIVE take y o u further than the C. A.D. turned up and kept us ferent scales and at different
SPARKS. Again, full marks for lightpen. But then you pay a lot enthralled for days. Now, still an positions can be achieved. By
the manual. Manuals ought to more for the facilities they offer. old favourite, I would recom- adding other BASIC routines
be user friendly as the software I Now for something almost mend it as another in the and s o f t w a r e , ihe Tracer's
think and in the case of Leonardo c o m p l e t e l y different, the 'Starter' category. With very capabilities can be extended into
both are in fact true. I don't Sinclair LOGO pack. Another ex obvious educational values and the field of statistical analysis.
hesitate to recommend it as an cellent starter, but as I have as a springboard for more am This immediately puts the
excellent starter pack which is hinted, quite different. bitious projects later in Design. Tracer into a specialist Graphics
then capable of extending your This pack has very obvious The manual is simple and and Display category. Although
own abilities as you learn to use educational applications and for very straightforward — the Tracer can be used with the
it. A preliminary review of very young children. The foun- a l p h a b e t i c a l l y leading y o u ZX81 a n d l 6 K Spectrum, its full
Leonardo appeared in the last d i n g f a t h e r of t h e LOGO through the twenty seven com potential can only really be
issue of ZXC. language i n i e n d e d it as a mands available in the program. developed on the 48 K and then
This is a good place to sug language for children which Some forty custom shaped only by competent program
gest that anyone who is into would develop logical thinking, graphics, UDGs can be design- mers. It's a versatile instrument
graphics or who wants to get introduce young minds to com- ed. By giving precise for the specialist.
started should get out and about puter programming and have measurements most geometric It's the season of Good will
into the shops to make their own very definite terms of reference shapes can be drawn, filled and and all thai, so why not give a
evaluations. Failing that use the for the teaching and develop so on. It remains impressive last mention for all w h o s e
information in this article to put ment of mathematical con- after all this time, and the poten- speciality is Games Designing.
pen to paper and write off and cepts. Drawing is achieved by tial for drawing in 3 D is con- It's been around for a while, but
ask for details of packages from moving a small graphics 'turtle' siderable. standing the test of time in lots
the manufacturers. a triangle around the Similarly, another old of ways. I'm referring of course
screen. This is done by sending favourite, VU-3D from PSION. to the High level User Friendly
Lightpens through ihe computer com This has the added and appeal of Real time Games Designer from
Melbourne House. Or as it is
mands known as Primitive Pro- enabling the viewer to move
I've had most success to date, cedures (mostly single words a r o u n d the o b j e c t in 3 D . more commonly known, HURG.
with the p a c k a g e from and abbreviations of those Graphics and Design, pure and Still a powerful program and
Dk'tronics. The pen itself is words). Your sense of direction simple. High resolution colour a very good manual. How did
rather like a biro or felt tip pen. It needs to be accurate and and an incredible understanding they do it in those all time greats
is attatched by a wire to a con formulated mathematically. Once of perspectives are real bonuses like Pacman, Donkey Kong and
trol interface which of course y o u have e s t a b l i s h e d pro with this program. Space Invaders? H U.R.G. will
comes with the package. The in- cedures for drawing, say, a Future designers in the Air tell you how.
terface is plugged into the back square, this group of procedures craft or for that matter almost It's a pretty good list of
of ihe Spectrum. A program on can be assigned a single word or any other Industry, may have graphics goodies and that other
cassette is included. name which LOGO will then started young with something seasonal expression comes to
The glass screen of your understand as a command to like C.A.D. or VU 3D. mind. 'There's something here
monitor is the working area and repeat the whole set ol pro I doubt if they would have for everyone.' You have no ex
drawing surface, so some con- cedures. been able to afford the RD cuse for not knowing how and
sideration has to be given as to The emphasis or bias is fun- Digital Tracer, f r o m RD f r o m w h o m in S p e c t r u m
whether this is the' way you damentally mathematical, Laboratories. This is closer to an Graphics, Just how to enjoy the

I
want to work. Then there are arithmetical or geometric. You instrument than anything else graphics power behind those
practical aspects such as the do not just learn to draw a I've come across in graphics and buttons.

41 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
zapping Your
Graphics
zx looks at some utilities that can help
put some life into your graphics displays feeble available, however it
allows you to save the program
White Lightning and four arithmetical functions that you want to compile in a
(addition, subtraction, multi- special format onto tape or
This program has been around plication and division). microdrive.
for some time now and I well This is a gentle and pleasant So. you load Toolkit, load
remember the hours of studying ly presented introduction to your program, save your pro
the little, small typed, 1 3 "I page LOGO, though I feel it is a little gram in the special form on tape
manual trying to get to grips limited and you could soon reach then move on tophase two. This
with it. It'snot that the manual is the full extent of its capabilities. consists of loading BLAST and
badly written, just the opposite, It would serve as an excellent in starting the compifer. This is
it's just that you have to throw Iroduction for schools, though it very easy if time consuming, the
away all your knowledge of pro is a bit expensive. program prompts for starting
gramming in BASIC and learn the tape and stopping, compiles
what amounts to t w o com- Addison Wesley Publishers Ltd each block, and when it is ready
plementary new languages. I' 22 .75 tells you to change tapes and
Spect ra Forth is a variant of save what it has done so far.
the Forth language and its im This sounds complicated but is
plementation is explained in easy in practice. It is mucheasier
detail, but there's no attempt to on a twin microdrive system and
teach you how to program in MCTUfcELOSIC OCS 'strongly urge' you to get
Forth. This means that before with Oasis' White Lightning, but one.
you can get full benefit of this c o n c e n t r a t i n g p u r e l y on There are t w o forms of com
program you have to buy a book, graphics means that you do not piled code, p-code which is a
read it and become competent in have to learn Spectra Forth, as sort of half way b e t w e e n
Forth. essentially the same commands machine code and BASIC and
White Lightning not only are used as with their Ideal has (he advantage of using less
gives you the use of a faster language. memory than either m c or the
language but also over a hun There are a few changes, original BASIC but, though
dred special commands in mostly names of commands to faster than BASIC, is slower
'Ideal', a specially designed aid clarity, but basically this ap than m c. The second is real
language created by Oasis. pears to be a stripped down, but machine code, this is usually
The presentation case holds still very powerful, version of larger than its Basic original
the previously m e n t i o n e d White Lightning. (unusual) but faster t h a n
manual plus two tapes contain- If you already have White p-code.
ing White Lightning, a Sprite Lightning then you will not get a A useful feature is AUTO
Development package and t w o
demonstration programs. Look
great deal from this program,
but, if you do not have WL and
Blast RUN which makes compiled pro
grams hard to break and copy.
at the demos first, they will con- want a slighly simpler program Although this is not technically Not so good is the f a d that the
vince you that it may be well which is essentially for graphics or specifically a graphics pro planned extensions to BASIC
worth taking the time to learn to work then LASER BASIC is gram, I feel that much of its use had to be abandoned due to lack
use the program. ideal. But be prepared to spend will be for speeding up games of room, to make up for it a few
White Lightning is a superb time learning to use it. and so decided to include it here. more mediocre additions were
package for the dedicated BLAST has been advertised for made lo the toolkit program.
games writer, it's good to see Ocean IQ, f 14 .95. some time now and several ver Despite some reservations,
Forth having a practical use, and sions exist. BLAST is by far the best corn
the end results could be superior
to any other games designer
Picture Logic The advertising seems to be a piler we have seen (so far), it
little optimistic, 1 was moved lo worked perfectly with all the
programs. This is an attempt to introduce comment in the last issue in the programs we tried. I'm not too
LOGO to children and adults. As 'All Sinclair Machines' claim and sure I like the over-optimistic
Spectrum Laser well as the program tape it con- of course it does not work on the advertising claims and one or
tains t w o booklets, one aimed at QL or ZX81 but on all 48 K ver t w o of our readers have written
Basic adults and the other aimed at sions of the Spectrum. It was an to tell us of problems they have
children probably aged from ambitious project and very near had These do seem to be with
Marketed by Ocean but written around 1 2 . As an introduction I ly succeeds in their claim to specialist applications and if you
by Oasis, this is a very com- feel it succeeds perfectly on 'compile any BASIC program', are not intending to use it for
prehensive package intended to both the levels attempted, the the program to do this takes up general programs but for some
'enhance the ease, and par- children's book has step by step all but 2K of the Spectrum's with vast amounts of data for
ticularly the speed, with which i n s t r u c t i o n s and exercises memory. So now you have example, then it is best to phone
complex animated graphics can followed by challenges It is well another problem, who wants to or write to get confirmation that
be produced'. Over 100 extra set out with screen pics and compile programs of only 2 K or will doexactly what you recjuire.
commands and functions are diagrams. The adults' book is less? The answer that OCS
provided to this end and all written in less detail but is easily came up w i l h was to provide an O x f o r d Computer Systems
operate from within BASIC. The understood. Picture Logic sup- extra TOOLKIT program. As a (Software) Ltd.
•program has a lot in common ports 25 commands, variables toolkit it is probably the most f 24 .95

42 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 I
ZX CRAPHICS

Doing It With
Style
conjunction with the Graphics fiddly, this is a big plus (though
Pad, is in ease of use. There are at a total cost of almost f 1 1 0
no massive manuals to plod it's not cheap).
through, and the icon driven I do have one criticism of
menu is very simple to use. I find Style though. The instructions
that most graphics packages re admit that the freehand drawing
quirt; you to master some option is 'virtually useless' when
lairly finger tangling c o m using a j o y s t i c k . Now I've
binations of keys to always considered freehand
move from drawing mode to drawing to be one -of the most
another. With Style, all you have important facilities offered by
to do is press one button to graphics utilities (there are, after
return to the main menu, then all, slow but adequate com-
position the cursor over the rele mands for circles and lines in
vant icon (a small circle for BASIC), and the inability to use
'Circle', a squiggle for this facility without the addi
'Freehand' etc.) and the pro- tional cost of the Graphics Pad
gram automatically returns you strikes me as a rather significant
to your picture and is ready to flaw-especially as the other op-
carry out the next command. tions available are relatively
The instruction leaflet says limited when compared toother,
that you can read it while Style is cheaper utilites.
loading, and will probably not To make the most of Style
need to use it again. And, sur you really need to use it in con
prisingly, that proved to be the junction with the Graphics Pad,
case. After just a few minutes and I must admit that I found us-
There are quite a few graphics directly onto the screen. This is trying out the icon menu I was ing the t w o together very en-
utilities on the market at the much easier to use for freehand happily doodling away on the joyable. Admittedly the combin-
moment, but one that particular- drawing than the clusters of Graphics Pad, drawing squiggly ed cost of Pad and software
ly caught our attention (mainly keys that most graphics utilities lines and boxes all over the place together seems high, but you
because it came in the biggest use, though you do lose some of (it doesn't take much tokeep me simply won't get any kind of
box} was Style from Saga the p i x e l - f i n e precision of happy). graphics tablet for a lower price.
Systems. keyboard control as your hands Actually, the ability to draw I've noticed that the advertising
Style costs C 2 9.9 5, and are unlikely to be absolutely squiggly lines using the Pad is for Style mentions that it is used
though that might seem a bit steady. However, Style does one area where Style does score by software houses and educa-
steep, you do get a Kempston have a Zoom facility that allows over its c o m p e t i t o r s . I've tional establishments, and these
compatible joystick included in you to magnify sections of the always found trying to draw are p r o b a b l y t h e s o r t of
the price. The interface is re screen and tidy up any stray pix- smooth curves on the screen, customers that Style is primarily
quired because the onscreen els caused by handshake. just using the clusters of keys aimed at (because they can af
cursor that you draw with is To be perfectly honest, Style that most utilities use for cursor ford ttl, and I think that schools
controlled by either a joystick, or isn't the most versatile graphics control, very difficult. Keyboard m particular would find it gen-
Saga's own Graphics Pad which utility that we've seen. The control does allow you more uinely useful. For the home user

can be bought separately for an functions that it offers are all precision, but slows you down a though, I can only say that I en-
additional £ 7 9 . 9 5 . That might fairly standard; Box, Circle, Fill, lot. The Graphics Pad loses joyed using Style and that it's at
seem expensive, but it is still the and a few others. These are all some of that precision (though, least worth trying out if you're
cheapest pad around. quite well executed, especially as I've mentioned, the Zoom s u f f i c i e n t l y i n t e r e s t e d in
The pad is a ceramic tablet, the Box and Triangle options facility does allow you to tidy graphics to consider the invest-
rather like the old 'Etch-a- w hich allow you to move shapes things up), but allows you to ment.
Sketch' toys. You can 'draw' around the screen, and to try out draw much more freely, as if you For further details. Saga can
onto this pad using the ' pressure different sizes of shapes before were drawing onto a sketch pad. be contacted at 2 Eve Road,
pen' that is built into it, and your you 'drop' them into place. For artistic failures like myself, W o k i n g , Surrey (04862
hand movements are translated Where Style really scores, in who find keyboard control too 22977).

ZX COMPUTING D E C E M B E R / J A N U A R Y 1 9 8 5
IL
Light Screen
Part Nine: by Toni Baker
ler will appear on the screen would give square left bracket)
AIUKKS SUBROUTINE POINTED TO FJRPOSE HOW OBTAINED
where the cursor was, and the this means that you never
SPE1 DD YA DEFY E4I£J ITALJDFF IWIIOS orr SYH ;'.HF/C cursor itself w i l l move one have to enter E Mode, but there
£•>:) E> M D1F. V £48?, ITM._H5 Kal f Slop* Itallrs NW IHFA square lo the right. With letters, are s o m e e x c e p t i o n s . The
•£T K4 DEFY E4EB,ITAl_fS F\ill Slop? Italics SYH JHF/F. of course, you can also use COPYRIGHT symbol for exam
KK7 N U DKPW Ure.TUTjBIT Cwc«) Text Mode CAP SHF/SFACE CAPS SHIFT to get a capital let pie. SYMBOL SHIFT P will pro
H?S9 00 W DEFY E4D0,T_PIT 7 Elt Wide Toggle TRUE VIDEO ler. iNote: CAPS LOCK works duce quotes so 1 have taken the
CIS :A EA DEFY Bold Type Toggl* dVERSE VEK> as expected). You can also use liberty of moving COPYRIGHT
CHJ JA EJ DEFY E3)A,CAPS_L0CK CapstackToggle CAPS LOCK SYMBOL SHIFT to get a symbol onto n riifffff*ni lu>v RYMROI
EPEF 5? 00 DIFY ocr.- ,RE: Not 'sed EDIT but this works slightly dif- SHlh I t will now generate 11itr
E2P1 55 Ed m * E45),TC_U!rr Cursor left CURSOR 1EP1 ferently to normal. •equiieci C O P Y R I G I I I symbol
CFJ 45 U D/.FY E44S,ff_BllJHT Cursor Hleht CURSOR M If the normal use of SYMBOL This leaves just three keys 0
cn sr ?A FY S!SF,TC_D0t'. Cursor town cmscs KWi SHIFT would be to produce a W and E which don't have ;i
ISFT 7? E4 D' FY F47?,TC_DP Cursor Up CURSOR «P symbol then this works exactly symbol on them, ;irut these are
E?F9 V 03 DEFY 005e,RET Kot Used DELETE as it should. If however, it would used as control keys, which will
E2FB T? M DEFY S4r?,Tm_KJI7 Cancel Tent Mode ENTEK normally produce a token be explained in a moment.
E?FD 01 E5 DEW W,ALT_S1ZK Alter Chr Site BOTH SHIFTS keyword (for instance SYMBOL As well as covering letters,
E?FT 45 EJ DEFY E$45,GRAPHICS Graphic Ho,1* T*>ejle GRAPHICS SHIFT Y which would normally numbers, and symbols, you can
produce the keyword 'AND') also use the graphics
EJ01 01 00 DEFY 0001 HEIGHT of character 1 , then you get something dif c h a r a c t e r s . Just press the
EJ0J 01 00 5EFV 0001 WIDTH of char-eters. ferenl. In general you get the GRAPHICS b u t t o n to enter
E Mode symbol on the same key graphic mode as you would nor-
EJ05 RR 8 I HI ei (for instance SYMBOL SHIFT Y mally, and the same button
«i ei HI FT PIXEL UYOI.'T of text-cursor.
0 KG KJOD
FDCB01&E T_CHH BIT 5,(PUr.S)
OK. Hands up all those people 156797 + X) ?8FA JR Z,T_CHR WHH until s key la P R W ' i .
w h o spot ted that if you used the 30 NEXT X FDC801AE RES 5, (KTJT) 5 lima 1 "Ready for a nev j*ey".
ARC RAD routine in the lasl 40 POKE 5 6 8 5 5 , 2 2 1 FD46CE ID R,(UST_K) P:- character code of Key pr**«*d.
issue then HIDE and CUR 50 POKE 5 6 8 5 6 . 3 3 CD541F CALL 1P54>WPA K_KKY Test for CAP !>tIpr/SF7-Ct.
SOR T Y P E s u b s e q u e n t l y 60 POKE 5 6 8 5 7 . 6 4 jace ,1R C,T_CH(M .'ana unleiis CAn ^lFT/''fACE Dressed.
didn't work' You didn't notice? 70 POKE 5 6 8 5 8 . 2 1 9 ofcoj u> e,05 <;5 eiffwls CAP? SHIF-:/;FACE.
Well it's lucky I'm observant 80 POKE 5 6 9 1 5 , 2 3 7® T_CKR_' ID A,S Ai- character code.
then. This bug was caused by a FEAA CP AA
particularly daft oversight on my Right that's over and done W RET C Return If A contain* • ralld cod*.
part, whereby, the ARC RAD with. Now onto this episode. This ?16A0? LD HL,ST«B0L_C0»5 Mnt HL to RO* table or "Synbol
routine corrupted the IX register is a particularly intricate piece of Snlft Chsracter Codes".
(actually it's corrupted by the machine code engineering. This
ROM, bu! that's neither here nor is the TEXT option, available on ED81 CPtR Iac»U! charnctrr In table.
there). Since the majority of the the P key easy to remember 11DBFF U) tlE.KyW
Light Screen Designer program b e c a u s e PRINT is o n the 19 ADD KL,D£ Reposition KL so that It now pointr
relies upon IX having a constant same key, and if you've got an Into "SxtemiTdft>dewith Shift" table.
value of DB4 0 then I'm sure you old style Spectrum 'Minus' w i t h 7E LD A, (HL) Ate Mtode symbol on eime key.
will appreciate the problems rubber keys then quotes ( " I are FEBF CP "IS*
that such corruption may cause. on the same key. Once you hit XXS JR «,T_CHK_2 Junp unless SYK SHIFT/I pressed.
The solution is to re-assign IX text mode the familiar crosswire )E7F ID A,-©' COPYRG
I HT jynbol now on £Y« SHP/I.
within the main loop. If this is cursors disappear, and are AT T_CHR_J ADD A
done then it will not matter replaced by a small rectangle TO RET P Return with codes CO, 01 or 0? for
whether the daughter routines this is the TEXT MODE CURSOR SUB B5 SYK SHF/a, SYK EKF/W and STN SHF/E
corrupt IX, since the mother w h i c h y o u can m a n i p u l a t e C9 RET respectively.
routine will always restore it. To around the screen w i t h the cur- cfla S5JA
correct the bug. it is therefore sor keys (with CAPS SHIFT if JA$A5C CAPS_L0CK ID A,(FU0S?)
necessary to type in the follow you have an ordinary Spec- Era* ICR oe
ing BASIC program, along w i t h trum). But Text Mode allows JJ4A5C ID (mas?),a Coeiplernent CAPS LOCK flag.
Light Screen Designer, RUN the you to do a whole lot more than 09 RET
BASIC, and r e - S A V E the lust move a different shaped 0R0 EM J
machine code. The correction cursor around the screen. Allow 3A415C GRAFHICE m A,(none)
program is as follows: me to elucidate. 10R a?
First of all you could press a 52415C LD (MODE),A Conplenent GRAPHICS fll£.
10 FOR X 0 TO 61 number or a letter. If you do this C, RET
2 0 POKE 5 6 7 9 3 • X. PEEK then the required number or let

44 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 I
ZX CRAPHICS

and you change from crosswire ing 7 pixel wide bold characters
ORG E M C
T_ LOCATE R)SH BC
cursor to text cursor, the text if vou want to.
C5
reec cursor is printed as an outline, You can also print characters in
CP SO
>004 JR HC,T_L0CJ June i rA contains either • grarhle
whose top left hand corner ex italics. SYMBOL SHIFT W will
actly coincides w i l h the position switch to half-slope italics (slop
symbol or a VDG. of the crosswire cursor to the
tl«BJ«5C ID PC,(CHARS) point BC to Pixel*-Layout table In incj t w o pixels down for every
exact pixel' one pixel across); SYMBOL
SOU, less OlOCb.
ieoe JR 1JQCJ
You can print text with this SHIFT E will switch to full slope
D6?0 T__LDC_1 SUB 90
facility in many different ways it t tlies (sloping at forty-five
jeoo JR C , T _ L 0 C _ ) • wp If A contains a graphic code.
We've already seen the effect of degrees); and SYMBOL
EWB7B5C LD P C . I U W ) Point BC to Pixel-Layouts for Uper
CAPS LOCK and GRAPHICS, SHIFT Q will switch to fully
Defined Graphics. (Note; Range of
but what about the rest of the upright characters (italics offl.
A is now 00 to ?9h).
control keys ? Finally, you can change the
_wcJ LO L,A size of characters. You are not
TRUE VIDEO will switch bet-
T
?too LO H,00 HLI» character code. restricted to printing characters
ween 7 pixel wide, and 8 pixel the size of a standard character
ADD HL.HL
ADD HL,KL
OflO E591
2$ ADD HL.HL
JEM 7I_PRUT' LD A,CM"
09 ADC HL,BC HL: paints to pixel layout of
38 TIL00P_t U AF.AP' A" := Dumber I f rows in pixel layout.
required character.
JAOlEJ U> A,(HEIGHT)
Ct POP BC
J2675C 10 (B_REQ),A (B REG) t- Ktimher of tixwa each row
C9 RET
mat be duplicated.
47 T LD B,A Lev nibble of B Indicates which
5A40DB TXL00P_? 14) A,(JJTJ10S)
graphic synbnl Is required.
IETO XCR 10
CDJSOB CALL OB58,PO_3R_1 Construct graphic synbV; in "WBCT.
J24OD0 LD (J_fLAGS),A Coiaplenent CrS/EVBI RO* flag.
J1925C LD HL.MEXBOT Point HL to this newly created
05 P'St! BC &t*ck cursor coordinates.
pixel layout.
D5 FUSH DE Stack pixel layout pointer.
CI FOP BC
E5 PUSH HL Stack add re- s of screen-byte
09 RI7
containing cursor.
19 IH A,C A:» oolurai mirther of cursor (in pixels).
again to get back to normal. In not escape from Text Mode. E607 AND 07
this manner, the keys 1 to 8 will There are t w o ways to exit Texi 4F LD C,A Cir position within acrcen-byt*
produce block graphics, which Mode. One is lo press SPACE of cursor.
may be inversed by the addi- with CAPS SHIFT, and the other 1A LD A,(Mi)
tional use of SHIFT. The letter is to press ENTER 57 LD D.A Di< current, row fron pixel layout.
keys will produce the User BOCBOOE
i SIT 5,U_FUGS)
Defined Graphics. In this pro
gram, five extra UOG's are
Characters ?80J JR Z,TXF_1 Juicp -jnless usln)' BOLD tyrvrae*.
87 ADD A,A » i f t lert one bit. Hit 0 reset.
allowed on keys V, W. Y and It's worth pointing out at this re OR D Use r»ch hit twice, if set.
Z, To use them it is necessary to- stage that the characters are no! 57 LD D,A D: now ^lenended tnr BOLD typ»*.
allow an extra forty bytes in the necessarily printed on whole JA0JI5 TXP_1 LD A,(WIDTH)
UDG are of RAM, and graphics character squares. Depending n LD B,A H:= niwber of ti»s eneh rl*«l
V. W, X, Y and Z may be defined upon the position of the cursor a eiust be duplicated.
in this area. character may overlap two or JEM LD A.08 A:- nunber of pixels in screeiwbyte.
To break w i t h tradition, more character squares. You 5P LD F.,A E:> nwiber or blti in pix»' layout row.
SPACE will print a space it will see when you hit TEXT MODE OC ac c
180J JH TIALUO©
ORG EJ71 JO TOLircm DEC A A;n nunber of remaining pixels in (HL),
F5 FR_XZ_DE PUSH A F Stack the zero flag. C906 RLC (HL) More next pixel fro* screen Into bit 7,
}EP0 LD A,"space* 00 TXALLK*? DEC C
U1 RST 10 Print a space. ?0FA JR KZ.TXAl L!»1 Pixel at cursor rosition w
n POP AP Restore the tero flag. In bit 7 of (HL).
2CC1 JR NZ,PR_SZ_1 C5 TIL0CP_J PUSH BC Stack character width. (8),
JCC LD A,*space" F5 tVSH AF Stack screeo-byte pixel counter.
DT HST 10 Print a second spac*. CHOP KLC D Haee next pixel frnai pixel-layout
JBO LD A,"space" into bit 0 of D.
07 RST 10 Print a third space.
C9 R£T
TA LD A,D wide characters. 7-pixel wide square — you can have double
07 RST 10 Print CHRS(D); characters are obtained by over w i d t h , double-height, triple
7B LC A,E printing the 8 t h column of pix height, and so on. To achieve
Vt RST 10 Print CHRt(E)[ els, which leaves less space bet- this press both shifts together
C9 RET ween two consecutive (or the Extended Mode key on
characters. This will give you the Spectrum Plus). You can
CH0 KJM thirty six characters across the then alter the size of the cursor
T_00LCUR PUSH BC screen instead of thirty two. I by pressing the cursor keys:
CJ
D5 FJSH DK
personally think that this makes RIGHT to increase ihe width,
e, PUSH HL Stack register*.
text look much better. and LEFT to decrease the width;
CD0B0B CALL OBDe,PO_ATTR Colour appropriate attribute byte.
DOWN to increase the height,
It POP HL INVERSE VIDEO will switch bet- and UP to decrease the height.
D1 POP DE w e e n standard and bold Spae will allow you to ESCAPE
CI POP BC Restore registers. typeface. Bold type is produced from Extended Mode and return
OC HI KLt points to next byte In screen. by printing each INKEd pixel the cursor keys to their normal
?J
jsoa A:» munter of pixels In this byte. twice instead of once. Bold type functions. Any other key will be
LD A,oe
looks very nice, and of course acted upon as normal, as well as
C? RXT
there's nothing to stop you us escaping from E Mode.

ZX COMPUTING D E C E M B E R / J A N U A R Y 1 9 8 5
IL
ZX CRAPHICS

Overall then, it would seem the penultimate episode, which ORO U14
that the text facilities of LSDare will be all about draw ing ellipses. n TJ_CTJSTSOR PUSH AP
pretty powerful. You can put The final part part eleven — C) PUSH BC
text wherever you want it to will doall the colouring in. I know D5 PUSH DE
the exact pixel — you can print it a lot of people have been waiting E5 PUSH HL Stack .ill registers.
any size you want, and in a large for that facility. After part eleven E5 PUSH HL Stack HL again.
variety of typefaces (twelve in there w ill be an Epilogue (I prefer 2A905C LD HL, (KA5K_T)
total!. You can escape from text to call it an Epilogue rather than a EJ EI (3P),HL Stack nyjtfff enrlables And
m o d e by p r e s s i n g C A P S Part Twelve because the pro- P_FLAG, HL now restored.
SHIFT-SPACE or ENTER. You gram will be completed in Part £5 PUSH HL
can re-enter text mode by press Eleven). This will be just to round 21FPOI u> HL.oirr
ing key P, or return to BASIC by everything off nicely I'll leave 22905C LD (KA.;K_T),HL Set DIK flj PAPEJi 8 ; BRIGHT 8f
jressing SPACE. you now to feed in all this FLASH OVES 1 i HVDtSE 0 .
The Light Screen Designer machine code. Bye bye till next El POP HL
series is now very nearly com- time. 11C5EJ Lfl D E , T C _ p m L P^int DE to pixel layout for cursor.
plete. The next issue will contain ToniBaker CD?lt) CALL EJ91,TJ_PR»r Print the cursor onto the screen.

El POP HI
FWE5T TXLOOP_4 U> c , ( F _ r u o ) Bit 0 of Cs» OVER statu*.
22905C ID (M*I-j;_r),HL Restore original colours.
71 LD A , ( H L )
El POP HL
07 RLCA Bit 0 of Ai» current pixel fron screen.
Dt POP DE
11 AND C Bit 0 of A:« O i f 0VI® Oj or current
Cl FOP BC
pixel fiwi screen if OVEP 1.
PI POP AP
CB19 Jtn c
C9 RET
CB19 RR C Bit 0 of C e INVERSE status.

A9 ton c If DIVERSE I ; then complement


b i t 0 of A.
U XOR D Bit O of As: current pixel from
required pixel-layout, with OVER and
OK S4M
INVERSE correctly Implemented.
5AOJE3 LD A,(WIDTH) '.:- width c f character O r squares).
IP AAA Carry:* pixel to print.
05 PUSH OE
CBlfc HL ( H I ) Bit 0 of (HL): correctly uteres pixel.
5F ID E,A
RI POP AF A)t nunfcer of renairing pixels in
(HL) to consider.
87 ADD A,A

87 ADD A,A
5D DEC A
67 ADD A,A Ai. E-(KIDRH)
CCFIIU) CALL Z . E ^ . T J X J L O U R If ell 8 bits o f (HL) hsre been deialt
DSCB0056 PIT ?,(J_P1A3S)
«ith then colour the attribute byte
2801 JR Z,GET_HID_^1 Jitnf unle-- 'is'rg T
- H t tyr*rf'ce.
end point HL to n « t fcyte freei screen.
9) SUB E In which case A : » Te(uiDTH).
ri POSH AF Stack acreerv-byte pixel counter.
Dl aET_wn>_i POP DE
10E9 0.1*2 TO03PJ Djpllcate pixel >3 nany tinea as
is required.
09 RET

n FOP AP Ala aereen-byte pixel counter.

Cl POP BC B t . nunber of tUiea esch pixel mist


ORG F44^
be duplicated.
D5 7C_RI0HT PUSH DE
10 DEC K
CDJ4E4 C/1L E4M,OE7_WIDTH
?0E0 JR KI,TIUX)P_5 Repeat thia proceedur* for a l l rlxels
5F LD E,A £ : • character width Ln p i x e l s .
within current pixel-layout row.

rax cp oe
67 ADD A,A tb twice this width.
61 ADD A,C
2BCC JR Z,TXALLI0H4 Juirp if HL points to a rrw byte.
J80? JS C,TCR_1 Jump if cursor right no\ possible.
CB06 TIALLICBJ RLC (HL) This loop re-alligna (HL)
so th.*'. all pixels are back In
9i SUB I
JD DEC A
4F LD C,A C:« new colurtr. r.unfaer of cursor.
aore JH W Z , m L L I O i 5 the right place.
D1 TCR_) POP DE
CD64EJ CALL £»4,T_C0L0(ffi Colour in the lsat attribute.
182C JR J_PI*AD0R
EL TIALLIGM POP HL ML; points to f i r * t acreen byte
D5 ?C_LEF7 tUSH DE
affected in current row.
CD34L4 'CALL C454,OET_UIDTt(
Dl POP DE DE: points to current row of
5F LD E,A EIw character width in pixels.
pixel-layout.
79 LD A,C A : » current cursor eolum nunber.
Cl rop BC Bi- current row nunber.
95 SUB E A ! • new cursor colum rattier.
Ct- coluim number of first pixel
D1 POP DE
affected in current row.
D6 RET C Return If cursor left not possible.
4F LD C,A C £- new colunn r.u-iber af cursor.
CDJS00 CALL D D » , D O N _ P ; I h i n t HL and B one pixel down. 1620 JR J_PUADLfi
DDCB004S BIT C, (J_PLAGS) D5 TC_D&KN PUSH EC
260D JR Z,TIP_J Jupp unless printing in italics. 5A01EJ LD A,(HEIGHT) Ai* character height tn i q u r * ! ,
DDCKXME BIT 1, (J_FLA6S) 87 KK A,A
2004 JR K2,TIP_? Junp If using full slope. 67 ADD A,A
DECB0066 BIT 4 , ( J _ F U S S ) Test OEO/ETO. ROM flag. 67 ALD A,A
C41JDD TTEPJ? CALL K2,K>lJ,LEPT_pnt If reqd, point HL and C one plx l e f t . 5T LD E,A E:« character height In nlxel*.
ranzD TIP} DEC (BJU6Q) 67 ADS A,A 1 : » twice this height.
;>oac JR *Z,TXLOOP_2 Repeat current pixel-layout row 60 ADD A,B

as many tines as Is required. FEBO CP BO

U DIC DE DE: points to next pixel-layout row. yxe JR *C,TCD_t Jiup i f cursor dowr not cceslble.
06 N AF,AF' 9) SUB E
JD DEC A 47 LO B,A B : » new row number of cursor.
2060 JH BZ.TILOOPJ Repeat proceedure for all rows D1 TCD_1 POP DE

of pixel-layout. 180D JR J_FDUDIR


C9 SET

46 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
XXT XK >1 K
K: IX KI IX TC. IX KZ IX KI IHtC
D5 TC UP P"SH DE
JAOE} LD A,(HEIGHT) A:- ch»rn<"ter helrht In Squares.
87 ADO A,A
87 ADD A,A
OHO £400
87 ADD 1 , 1 JE04 7_BIT LD A,04 Bit 2 of A set.

5F LD E,A E:» character height in p i x e l s .


1 e® JR B0LD_7
78 LD A,P A:« current rnw r.unber of eursir.
JK» BOLD LD A,06 Bit J of A set.

SUP S Ala new row number of cursor*


DDAECO BOLDJ XCR (JJPUOS) Co*sple«ent required b i t .
M4cre LD (J_FU0B>,A
01 POP X
»
08 SET C Return if cursor up not r i s i b l e . RET
4T LD B,A S:c n«w row nu»b«r of cursor. DDCECOSt ITAL_OrP RES O,(J_FUSS) Signal 'Sot printing lr. I t a l i c s ' ,

C>41 DC JJ'IXAMR JP t&41 t FH_ADDR Calculate HL:« address of sereen-byte C9 RET


containing cursor, *nd return. DDCB0Q6E ITAL_HS RES 1,(J_FUGS) Signal "Hot using full slope".

1 1804 JR I T A L J
X K
DDCBOOCS 1TAL_FS SET 1,<J_PU05) Signal -Using full s l o p e ' .

DDCBOOCS SET 0,<JJTA0S) Signal "Printing In I t a l i c s " .

1B9F ITALJ JR T8£T_CTO5 Adjust cursor posttion If necessary.

??V40B TPJCT K I T LD (CURS0R),HL Store final j»»ition of cursor.

7E TEST_CSIZI LO A,(HL) li> ch»r*cter width (or height). ED4J16IB LD (CURSOR.? ),BC Store final eursor coordinates.

AT AND A CD6E0D CALL ODiE,CLS_UMEFI Clear lower part of scrm.

2604 Jft Z,TCS_1 Juirp If width (or hn ight. J t«ro. PI POP AF Drop return address T H J _ L 0 0 P .

Fllo CP Iti CS RET 3eti:rr to L^D Main loop.

»0P JR C,TCS_? Jump If width (or height) wild.


J^Ot TC5_1 LD <HL),01 S*t width (or height) to 01.
2} TCS? IHC HL OOOOWJOOOOOOOO^^
5*00 LD <HL),00 Reset high byte.

25 IXC HL
C9 RET
ORG B491
E5 TKST_CPaS PUSH HL
2101E) LO HI,HEIGHT
CD87K4 CALL E4B?,TEST_CSIZE ''in'LT* valid character heirM.

C082M CALL w e ; ,rEf T_CEI7.E thsure m i l d character width.


MM MFI
II POP ML
A? IOR A At. 00. CD91K4 ASZ 1 CALL E49i,TtST_CPOS Ensure that cursor will fit on screen.
C014E4 ALT SIZE aLL E414,T1_CURS0R Print cursor on screen.
DDCB004S BIT 0 , ( J _ F U G S )
FDCBOfAl RIS 5,(FUGS) Signal 'Ready for a new k e y " .
SSOC JK Z,TCF_t Jump unless printing In Italics.
FDCB016E ASZ ? BIT 5, (FLAGS)
JAOJEJ LD A,(WIDTH) Ai< e h A m c U p width In squires.
?8FA JR Z,ASZ_? Walt until a key Is pressed. Kote
ST ADD A , A
that bit 5 of FUGS ren*ins SET
67 ADD A,A
on exiting this loop.
DDCBCC4E BIT 1, ( J_FUGS)
C5 PUSH BC Stack cursor coordinates.
?80t JR Z,TCP_1 Jump If usln£ half-slope
E5 PUSH HL Stack cursor aOdr-tcs.
87 *0D A,A
CIS ED? CALL 0P8K, WT_SCAH h w kaytoard code for this kay.
8$ TCP_1 CP C
El POP HL HL:» cursor a i n i r m .
JMl JR C,TCF_2 Joup unless current cursor position
CI POP BC &C:= cursor coordinates.
overhang* left hand of icr»n,
7B LD A , t Al> keyboard Code of key pressed.
<r LD C,A Cursor raw as far left as possible.
CD14K4 CALL U l 4 , n _ C U R S 0 « •Undraw' cursor froe screen.
CSJ4E4 TCP_? CALL I4J4,dKT_wnjm A:- character width In pixels.
FEPO CP 20
81 ADD AtC
2005 JR *Z,ASZ_J J'jjr.p unless SPACE pressed.
3004 JR KC,TCP_J Jump unless current cursor position
FDCB01AE RES 5,(FLAGS) Signal "Ready for a new key".
overhangs right h.*n<l edge of screen.
$1 SUB C C9 RET Return to T U T LOOP.
FW A5Z_J CP 04
E£44 KEO
?00B JR H Z . A S Z J Juiep unless 5 preased with either
4F Li) C,A Cursor now as far right aa possible.
shift (CURSOR LEFT).
JA01EJ TCP_J LD A,(HEIGHT) A ) . character height In squares.
JAOJEJ LD A , ( v u m < ) A!a width Of character.
JD DEC A
?8D5 JR Z,ALT_SIZE Juxp back if wldlh"i.
J20JEJ LD (WIDTH),A Dacrveent width.
K X K
18DC JR ALT SIZE
8T ADD A,A
FE15 ASZ 4 CP 1}
8T ADD A,A
200D JR *Z,ASZ_5 Junp unless 8 cressed with either
87 ADD A,A A tp character height In pixels.
shift (CURSOR RIGHT).
SO ADD A , B
JA05IJ LD A t (WIDTH) At* width of character.
FESO CP BO
3C QIC A
jaot JR C,TCP_4 Jiwp unless current cursor position
et\0 CP l o
overhangs bottoai of screen.
you JR *C,ALT_SIZE Junp I f width greater than 9.
90 SUB B
>20)15 U) (WIDTH),A Increment width.
ED44 ISO
18BC JR ASZ_1 Junp back to check position
ttSO A X A .BO
on screen.
47 LD B,A Cursor now as far down aa possible.
T6AP TCP 4 JR J PIIAKft Calculate HLt« address of screen
byte containing cursor, and return.

I
K_ .Jfk X k" M K . MM M K X V X

47 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
ZX CRAPHICS

CP OJ
JR N2,A5Z_6 Jump unless 6 pressed with either
shift (CURSOR D O W ) .
114F42 LD DE.424P Df *B", E:«"0".
JA01EJ LO A,(HEIGHT) Ai» height of characters.
je INC A
DWB005E BIT 5,(J_FU0S)
CD71E3 CALL E)71, Pfl_NZ_DE Print bold status.
FE|0 CP 10
Jump back If height greater than 9 . El POP HL
JOBJ JR NC,ALT_SIZE
)»1EJ LD (HZI3HT),A Increment height. CI POP BC

Jump back to cheek position CD14E4 CALL E4U,TX_<nmSGR Draw t text cursor.
18AP JR ASZ_1
on screen. C5 PUSH BC

FSOB ASZ 6 CP OB E5 PUSH HL

CO RET NZ Return unless 7 pressed with either CDODEJ CALL EJOD,T_CHR Wait far key pressed. A n chr code.

shift (CURSOR U P ) . Sote that since El FOP Hi

bit 5 of TUGS Is set, the key CI POP BC

pressed will be re-Interpreted CD14E4 CALL E4T4,7X_OJRSOR "Undraw" the tax* cursor.

within the *aln TOCT LOOP. 116CE5 LD DE,TEXT_IOOP

JAOIEJ LD A,(HEIGHT) Ala height of characters. D5 FUSH DE Stack TKXT_1CCP as return address.

JO DEC A r> PUSH A? Stack key pressed.

?0A5 Jft Z,ALT_SrZE Junp back If height.1. E5 PUSH HL

J201EJ ID (HEIGHT),A Decreoent height. C5 PUSH BC


5E02 LD A,DC
1SAO JR ALT SIZE
CDO116 CALL 1601,CKAS_CFW Select channel 2 (Hain Screen).
BF CP A Set the aero flag.
CD5B0D CALL 0D5E,TSHF'S_P Reset OVER and DIVTKSE f m «
pemanent colours.
CI POP BC
El rep HL
M POP AF A1- key Just pressed.
FE20 CP 20
JOOF JR KC,T£IT_4 Jump unless A contains a Ctrl code.
This Is the main entry point for TSIT MODE. Mien you pross the TEXT key (key P)
E5 PUSH HL
while running the Light Screen Designer control eoomences fron this point. ON
6F LD L,A
entry B contains the row rnuebor, and C the colunn number, of the nain cursor.
2600 LD H,0C
HL potnta to the byte from the screen which contains this cursor.
11E1E? LD DE,E2E1
0R0 E5TL
29 ADD HL,HL
CB91I4 TEJTT_NODK CALL K491,T2ST_CPOS HOTB cursor i f necessary.
19 ADO HL,DG HLi points to subroutine address.
C5 HJSK BC Stack coordinates.
5E LD K , ( H L )
E5 TOSH HL Stack cursor position.
25 DIC HL
CDCCK CALL MESSAGE
56 LD D, (HL) DE:* subroutine address.
06 DEFB OE Print "How in text n o d s ' .
El POP HL Restore HL ralue.
EL POP HL
D5 FUSH DE
CI POP BC
C9 RET Juvtp to required subroutine.
C5 T3IT_LOOP FOSH BC Stack coordinates.
*5 PUSH HL Stack cursor position.
3AJB5C LD A,(PLAQS)
F5 W S H AF Stack FLAGS (In particular b i t 5).
Ar XOR A At- 0 0 .
COOTIE CALL 1601,CHAK_0PES Select channel lero (lovor screen)
N FOP AF
J2JB5C LD (FLAGS),A Restore bit 5 of PIAGS.
011101 LD BC.0111
CDSBOA CALL CA?B,AT_BC PRINT AT 1,17dj
}*4C LD A , " L "
FGCBJ05K BIT 3,(FLAGS?)
2602 JH Z,TUTJ Jump unless CAPS LOCK on.
JE45 LD A,-C"
FDCB074E TEXT_1 BIT 1,(H0DE) C5 TETT_4 PUSH BC
2&C2 JR Z,TEXT_? Juitp unless in GRAPHICS node. E5 PUSH HL
JE47 LD A , " t T C DACE J CALL E54C,T_LCCATE KLi- address of pixel layout.
D7 TKXT_2 RST 10 Print cursor node. EE EX DE,HL DEi- address of pixel layout.
115548 LD DK.485J DI- " H * , EI- -S", El POP HL
DDCH004I BIT 1,(J_FUGS) CI POP BC
280C JR Z, TEXT. J Jump unless using full slope. C5 PUSH BC Stack cursor coordinates.
1644 LD a,"f CD91E5 CALL E)91,T1_PRDIT Print character on screen.
DOCBCO*6 T8XT_) BIT 0,(J^RLAGS) CI POP BC Restore cursor coordinates*
CD71E3 CALL G}71,PS_«Z_DE Print Italic status. C545E4 JP Ei45.TC_RIGHT HOTS cursor right. If possible
1141)45 LD D£,454D Do »C", 11- "K* and return.
DDCBCO% BIT 2,(J_PLAGS)
CD71S5 CALL E571,P(!_KZ_DE Print conpressed-letter status.

48 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
I L
COMPETITION

QL Matchpoint
Competition
we've got 20 copies of this ace game to
serve up for QL owners!

From Psion, the people who thought it would be a good idea 21 Who won the Wimbledon
brought you the wondrous QL to see if we could arrange a com- Ladies' Championship in 1977
Chess program (one of the first, petition of some sort, and, after ljust as a hint, it was a British
and still one of the best games we made a few approach shots player)?
programs for the QL) comes a Psion responded by lobtyng 2 0 3) Name the current British No 1
conversion of their Spectrum copies of the game back into our Men's player.
game Matchpoint. court. Then, just to finish off the 4) Is the Current Wimbledon distributors, employees of Psion
This tennis arcade/Simula rally, they suggested we make a Women's Champion: Ltd, and anyone else connected
tion game brings you all the ex special offer of £1 off the retail a) John McEnroe? with the competition.
citement of W i m b l e d o n to price I t 14.95) just lor readers bl Martina Navratilova • All entries must be postmark
brighten up a few dreary winter of ZXC c) Ray Elder? ed before 31st of January
evenings. Matchpoint allows So, to enter the competition 1986. No correspondence will
you to play againsl the com- all you have to do is answer a If you've got all the answers, be entered into with regard to
puter or another human oppo few questions (about tennis ol write them on the back of an the competition, and it is a con
nent, arid there'sa range of skills course) and send your answers envelope or postcard and send it dition of entry that the Editor's
jnd tactics to be mastered that in to ZXC. Or, if you want to take to: Matchpoint Competition, ZX decision is final.
will keep you busy for a long, advantage of our special offer, Computing, 1 Golden Square, • As long as each entry is sent
long time. As you get better, then just send payment of London W1R 3AB writ ten on the back of a separate
you'll be able to progress C I 3 . 9 5 and the C1 voucher postcard or envelope, then there
through the early rounds of the
tournament right through to the
direct to Psion at the address The rules is no limit to the number of en-
tries that may be submitted by
listed on the voucher.
finals, and the level of competi • This competition is open to all an individual.
tion gets higher every step of the
way!
The questions UK and Northern Ireland readers • The winners will be notified
by post, and the results publish
of ZX C o m p u t i n g , e x c e p t
As soon as we saw Match- 11 Name the current Wimbledon employees of Argus Specialist ed in a future edition of ZX Com-
point running on the QL, we Men's Single Champion. Publications, their printers. p u l i n g .

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
^ m HARDWARE —

The Perfect tons above. So the two outer


pieces of membrane are forced
together when the button is

Keyboard
pressed, making the appropriate
contact. This principle is also us-
ed in some add-on keyboards,
(the Saga Emperor 1 for in-
stance). And, because of this
membrane problem, they are
very difficult to modify; to
modify a key-board, it must
essentially consist of separate
keys mounted on a circuit board.
John wase discusses how to customize
your keyboard. Padding along
As far as I was concerned, 1 had

It was this lady on the Oxford


train. She was telling me how
she was involved in a charity
which deals with handicapped
children's reading problems.
'Yes,' she said 'we've got a
Spectrum and like it very much;
it's inexpensive and so easy to
use'. I thought about that
several times in the following
week you know, she's right. I
suppose that's why I keep ad-
ding bits onto mine essential-
ly it's a basic, inexpensive and
rather nice machine, even if you
can't type with it. That was my
problem when I first wanted to
use it as a word-processor. So I
seized and read as many add-on
keyboard reviews as I could.
Some of these are listed below.
The list is by no means ex-
haustive. Several of them men-
tion touch-typing being possible
for a number of keyboards, but
essentially this is just not true.
Let's look w h y . . .

Owerty. . .
When you learn to touch-type
the 'home' keys for the left hand figure 1 DK Tronics keyboard
are ASDF and those for the right
hand are JKL;. Each of the four keys. A QWERTY keyboard has shift!. Oh, and of course you one additional criterion to meet,
fingers thus rests on a key. The semicolon as the 'home' key (lit need a space-bar I often have to enter quantities
index (first finger! is also used tie finger, right hand sidel, and a of numeric data, either as tables
for G (left hand) and H {right
hand! respectively. To access
'single entry' full stop and com
ma on the bottom line. These are
Membrane Misery in the text,or as a tabular
material for calculations. So, for
the rows above and below, the m i s s i n g on m a n y a d d - o n Well, when I looked, I could find me a numeric pad was par-
hands move up and a little left or keyboards, but it is very difficult no keyboard that fulfilled all ticular useful.
down and a little right. to touch type without, at any these criteria. So I needed one At the time I was buying,
To convert the keys access- rate, the full stop and comma. that I could modify. This cuts there were far fewer keyboards
ed by the left hand to capitals or Finally, because each key has down the choices bit, too! if you available than now, and I recall
equivalent, the shift key at the to be used for much more than don't happen to have a joystick, considering t w o . Transform's
other end of the board is just lower case and caps, addi- y o u w i l l k n o w t h a t over- was around C70 whilst DK
depressed, using the little finger tional symbols are obtained enthusiastic pounding of the Tronics new space-bar board
of the right hand. And vice ver- through symbol shift, through cursor buttons eventually does was around £ 4 5 (it's now
sa. So, to get any capitals pro- extended mode, (caps shift and them in. If you then prise apart nearer C30). Both of these have
perly, you need a shift key at symbol shift), and through the Spectrum case in your separate keys. Those on the
each end of the bottom line, symbol shifted extended mode. fury,you will find the (damaged) Transform board are of the
s y m m e t r i c a l l y placed, and A few of these are needed for membrane. This consists of plated-contact sort whilst those
situated conveniently for the lit- normal typing, (e.g '!'), and three plastic sheets glued on the DK'Tronics board are of
tle finger of either hand. Exit Tasword uses double-shift for together. The top one and bot- the cheaper individual
most add-on keyboards 'recom- some control characters. So you tom one have circuits printed in membrane-deforming type.
mend for touch typing'. must have a symbol shift at each their inner surfaces; the middle These are quite good enough for
However, worse is to follow. end, again, preferably sym- one is blank, but the holes cut many purposes, and the price
The Spectrum was designed metrically placed and operated where the circuits cross, cor- was attractive. So I bought a
with the minimum number of by the little finger, (like ihe caps responding with the rubber but- standard DK'Tronics board; this

50 ZX C O M P U T I N G DECEMBER JANUARY 1 9 8 5
HARDWARE

Right note, wrong


key
The shifted keys on the Spec-
trum are obtained by first press-
ing one key and holding whilst
holding another. To simulate
this without the use of diodes
one needs a double pole switch
in which one set of contacts is
made before the other, and
which matches the originals in
shape, size and feel. Armon
Electronics, DK'Tronics' sup
pliers, were very helpful. The
first batch of keys they supplied
were not double-pole, (although
they had thought they were), but
did reveal that I had got another
u n s u s p e c t e d p r o b l e m . At
sometime DK' Tronics had
changed their key pattern, and
my board was about the last
made with the now-obsolete
keys; the ones used are now
about 1 .5 mm longer. After
several months, they managed
Figure 2 My firs' modification
to get a sample of double-pole
keys from Japan, but" my per-
is probably the most popular shift, (very commonly '?' with same on the rows above: the sonal gremlin was by now hav
add-on keyboard in use ' f when shifted). I had put the secretaries complained that ing loo much fun to give up.
caps shift there, hadn't I! their fingers 'fell off the end of Although double-pole, these re-
Secretarial Because the caps shift was in
the wrong place, they felt very
the keys' somehow it didn't
feel right at all.
quired far too much pressure to
get second contact, (which was
scrutiny uncomfortable and unfamiliar, So, I set out to modify the right at the bottom of the travel).
and somehow they were all board again. Back to DK' And these were the only keys
The first thing I did was to enlist cramped up — several com- Tronics. 'Please sirs, can I Armon could supply.
the aid of our professional office plained that it felt cramped. The now. . . ?' ' N o y o u can't,' they I then tried National Switch
secretaries. I had half a dozen of second problem is that the said. 'No matter how many Faciors at Keighley, who were
them pound the keyboard for a 'enter' key is next to the 'L, diodes you fit, you won't get the also very helpful and sent me
while before modification. None where one normally has a ';' single entry keys you want: several sorts of double-pole
of them liked the touch very key, and a couple of others to can't be done.' keys. However, these all work-
much, but reckoned they could the right forthat matter. And the That did it! ed rather like hinges, and were
get used to it. However, their
comments on the original ar
rangement of the keys were un-
printable and gave me the con-
fidence to go ahead with my first
set of modifications.
Our Editor often mentions
how helpful DK' Tronics are. I
canalsovouchforthis. lexplain-
ed what I wanted to them and
they produced a circuit diagram
and spare keys, enabling me to
fit my single key entry'full stop'
and 'comma' and the extra sym-
bol shifts. The keyboard (first
modification) now looked like
the second picture (Fig.2 I.
Full of delight (yes, bless
you Dk'Tronics it worked!)
I p r o d u c e d my m o d i f i e d
keyboard for the secretaries to
pound. Pride becomes before a
fall1 They all gave it the thumbs
down. When I got down to it,
there were t w o further pro-
blems. The first and major one
was that I couldn't count. Look
at a s t a n d a r d ' Q W E R T Y '
keyboard. On the bottom line,
after 'M' and 'N', there's a com-
ma, and a full stop, then at least
one more key before the caps

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 51
HARDWARE

So, at last I had the thing


together. The DK' Tronics case
needed additional carving (for
tunately it's very receptive to
this sort of ill treatment, being
ABS plastic and t h e r e f o r e
relatively easily worked). 1 then
had a major hiccup because it
w o u l d n ' t w o r k . I contacted
Sieve Drain who resoldered my
connections correctly (he has
a p p a r e n t l y had bad press
recently over some postal pro
blems, but I found him very
helpful). And there we were
at last a working keyboard.

Happy endings
A few final comments. It's much
easier to have a keyboard to
modify rather than to start from
scratch. Dk'Tronics proved very
easy to alter and has a reliable
name. New keyboards are
available from a variety of sup
pliers (e.g. Armon Electronics);
alternatively, second hand ones
are available. Do make sure that
the keysareof the contact varie-
ty, not capacitance or Hall effect
type and that sufficient spare
keys are available. You will have
the wrong size and pressure. It needed some extra keys of the bit. I therefore sacrificed it, to solder ail ihe data and address
looked like the end of the road. old pattern. Back to remade it with the new keys on a lines into the kappa interface,
What I didn't know at the time DK'Tronics . , spare piece of board and stuck even if you don't need all the
was that there are keys of the At that stage, I shouldn't this on under a cut out on the Outputs. And finally, don't try
type I wanted available. For in- have rung up our Editor and pro- original board. Thus, the new this device unless you are bold
stance, more recently, the mised this article, should 1? Dk' keys were mounted slightly and prepared to use a soldering
keyboard which was made by Tronics scoured their depot and lower, which just about com- iron. Happy key boarding.
Cheetah, (and is now marketed their keyboard factory, but no pensated for their increased
by LMT), uses this principle. luck. Weeks passed; no keys. In height. This was a much easier
And I suspect that Cherry desperation, I ordered a dozen of alternative to grinding all the
keyboards also use this type of the new pattern. After all, I caps down and released a dozen Acknowledgements
key for some applications. needed to interpose extra keys old pattern keys to use as the ex- I am grateful to the help of a
However, at the time, just as I where ihe numeric pad once tra keys on my modified board (I number of people, in particular
was desparing, a friend came up was, so I had to move it along a felt rather pleased about that). Keith Thompstone of
with a new approach, and so I DK'Tronics, Armon Eletronics
a b a n d o n e d my s e a r c h for Ltd., 109. Wembley Hill Road,
Figure 5 The Kappa ki<
double-pole keyswitches. Wembley, National 'switch Fac-
tors, Keighley.and Steve Dram
Key to the of Kappa keyboards, 14 Pauls
problem Mead, Portland, Dorset. DT5
1JZ.
He recommended a little gadget
designed by one Steve Drain and
marketed by Kappa keyboards. Literature
This has a row of terminals on
either side. On one side you con- S o m e r e v i e w s of a d d - o n
nect all the input lines into the keyboards may be found in Your
keyboard. On the other you can S p e c t r u m ( 7 ) , Sep 1 9 8 4 ,
connect lines to single key entry p p 2 8 - 3 1 ; Sinclair Answers.
symbol shifted or caps-shifted Jan Feb 1 9 8 5 pp 4-8; Sinclair
keys. A diagram and instruc- User. Jun 1984, pp45-47. Ad
tions are provided and it is all .tr ditional information is provided
there, but I found it not par- in ZX Computing, Apr.'Mijy
t i c u l a r easy to follow. For- 1 9 8 4 , p p 5 3 - 5 5; Oct Nov
tunately, I had to visit the 1 9 8 4 , p i 8; Feb Mar 1 9 8 5 ,
Evesham Micro Centre's branch p80; Apr May 1 9 8 5 , p 1 1 8 :
at Cotteridge (famous for there and in Sinclair User, Aug 1984.
Interface III) and they gave me pp29 31; oct 1984, p23; Dec
an old Spectrum membrane of 1 9 8 4 , p p 5 6 , 5 7 , 5 9 ; Jan
the type mentioned earlier. Trac- 1985, p25; Feb 1985, p47;
ing the circuits on this helped im- Jun 1985, p47; Jul p41; Aug,
measurably. However. I still pp39, 40. •

52 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SPECTRUM MUSIC

At over £ 1 4 0 0 we did not con-


sider DX7 software to be of in-
terest to many readers, but from Midi Control of
the DX7 and TX7.
the number of letters we receiv
ed we realised we were wrong!
The TX7, a DX7 without
keyboard, designed to be added
to a DX7 and priced at f 6 9 9 ,
was more feasible but none
including Yamaha it seems, we try a Spectrum MIDI package which
thought it could be programmed
w i t h o u t a D X 7 . But w e makes DX7 programming easier, and
discovered that it could'
I purchased a TX7 a little TX7 editing possible.
while ago. A DX7 was out of my
price range, but t reasoned I
could link it to the Siel keyboard your machine on the road, or graphically, both in bar graph four MIDI OUTs. To swap from
we used for an earlier review, want to use your Spectrum to and line graph form. As the ac- computer to keyboard was now
and this proved to be so. run another MIDI program such tual programming of the DX/TX only a matter of flipping two
Although the voices supplied as EMR's Performer a brilliant voices is well known for its com- switches. Expensive at £55 but
programmed into the unit were 8 track real time polyphonic plexity, this program should be cheaper than replacing damag-
more than satisfactory, I soon 'tape recorder' simulator, then received with open arms by ed leads and sockets, also it
became aware that I only had this is not often convenient. To those who are still struggling. come in useful for other MIDI
access to about 6 0 % of the get around this you can use this The fast access to all the operations.
machine's capabilities. So, I program to compile a bank of the parameters which can be seen Yamaha say in their TX
rang up Mike Beecher of Elec 32 most frequently used sounds at a glance, compared and manual -- "as the TX7 voices
tromusic Research and neither and keep it in the DXfTX's altered, almost makes this task are not programmable there is
he nor the programmer of their memory permanently. This is a easy! no need to give details of pro
DX7 software knew whether it little time consuming and rather After each section has been gramming t h e m " . This means
would function with the TX7, fiddly, requiring loading a bank changed the new information is that you have no clue how to go
although they couldn't see why to the TX, retrieving the single sent to the TX.'DX and can be about creating sounds. If you
not. The programs arrived and I voices required back to the played so you can hear the ef- have a good idea of sound crea
set about experimenting. Spectrum, saving onto tape one fect you have created. For DX7 tion on digital synths then you
at a time until all 32 are on tape. owners this program will aid are likely to be able to work it out
The programs Then by loading each voice back
into the Spectrum, transferring
your sound creation if you are
experienced or make it much
by trial and error.
Whatever your knowledge it
Throughout this article I will be to the DX/TX and storing into less daunting to learn how to is great fun and satisfying (not to
referring to the TX7. For DX7 the required memory number, program sounds. mention frustrating) using the
owners ALL the operations and the final compilation of the 32 Voice Editor program to experi-
functions of the software are voices can be made. ment with.
the same and work perfectly I
TX7 Specific Plus. . .
problems
managed to borrow a DX7 in 2. Function Parameter Store.
order to confirm this. The three A fundamental difference
programs marketed by EMR are: between the TX7 and the DX7 is ZXC has managed to organise a
t h a t the T X 7 p r o v i d e s a Because the TX7 does not have special offer in conjunction with
1. A voice and function library separate set of function infor a keyboard and is connected by Electromusic Research. In-
This consists of seven banks mation for each voice, whereas the MIDI IN to the controlling dividually, the Function Library,
of 3 2 s o u n d s . These are the DX7 has only one which keyboard, I had a problem in that Function Editor, and Voice
transferred to and from the must be changed, if necessary, every time I wanted to use the Editor programs cost £ 2 4 . 9 5
DX/TX via the EMR MIDI inter when a new voice is used. This program I couldn't play the each which would make a
face. means that this program is not sounds and vice versa. This total of £ 7 4 . 8 5 for all three.
This w a s an i m m e d i a t e so essential to TX7 owners meant a lot of pulling out and ZXC is able tooffer its readers all
bonus to the TX as the only especially as each function is plugging in of the 5 pin Din three programs for the bargain
other way of doing this was the alterable from its own control leads. Not a good idea. price of just £ 4 9 . 9 5 , represen-
cassette interface fitted and, panel. However the easy to use I got around it by purchasing ting a saving of er, um (hang on a
although tape sound libraries menus plus the means of the Yamaha YME-8 MIDI box. sec). . . £24 .90!! {EMR's own
probably exist, I was unable to displaying all the information at This allows t w o MIDI INs to be Midi Interface is also available
find any. once on the screen proved very switch routed to two banks of for £ 7 9 . 9 0 ) .
Now I had access to 224 usdful and greatly eased the
alternative sounds. The sounds modification of the values,
supplied are interesting, ranging A big bonus for DX7 owners * * Special Offer * *
from the pure effects such as is the option to load one of the * * Save £24.90 * *
'birds' to some beautiful and bank of 32 function patches into
pleasing musical sounds. I was the DX7 from the program
told that they had been collected change of another MIDI instru Just for readers of ZX Computing we're offering Electromusic
from many sources from all over ment, thus saving the need to Research's Function Library, Function Editor, and Voice Editor all
Europe, in themselves they are a reprogram them manually. After together for the price of just £49 .90.
valuable addition to the TX.OX. each alteration of a function the To order these programs, just send this coupon to:
If your use of the equipment is patch is sent to the TX DX so EMR Ltd, 14 Mount Close, Wickford, Essex.
studio or home based then hav- that you can play it and get an
ing the Spectrum connected instant audio feedback of what
permanently with the full library your modification sounds like. Name. .
in memory is satisfactory as
loading and finding a soundfrom 3. Voice Editor. Address
a bank takes around twenty This is the chief program for
seconds! DX/TX owners in that is displays
However, if you are using all the information clearly and

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 53
BINARY AND HEX

Binary and Hex The Arithmetic of Computing


systems, it is usual to express all
binary numbers up to 2 5 5
decimal as eight figure numbers:

8 decimal BIN 0 0 0 0 1 0 0 0
2 5 5 decimal - BIN 111 11111

As there are ohly 2 digits, each


by column in binary is worth twice
the column to its right.
Carol Brooksbank 128 64 32 16 8 4 2 1
1 1 1 1 1 1 1 1

To convert a BIN number to


It might seem odd to start an ar- to 0 . This gives the number we The number 5 4 8 , 6 7 2 is actual- decimal, you work as follows:
ticle about binary and hex by call ten. ly made up like this:
talking about decimal arith- BIN 1 111 1 11 1 -
metic, but the processes involv- 0 100,000 x 5 500,000 +
ed in all three systems are the 1 10,000 x 4 = 4 0 . 0 0 0 + 128 X 1 = 128 +
same. Only the number of digits 2 1,000 x 8 = 8,000 + 64 X 1 = 64 +
used is different. The trouble is 3 100 x 6 = 600 + 32 X 1 32 +
that we are all so expert in using 4 10x2= 20 + 16 X 1 = 16 +
decimal counting that we no 5 1x7= 7 8 X 1 = 8 +
longer think about the 6 TOTAL 5 4 6 8 2 7 4 X 1 = 4 +
mechanics of what we are do- 7 2 X 1 = 2
ing. Almost everyone can count 8 This columns system is exactly 1 X 1 = 1 +
from 1 to 1 00 without worrying 09 the same in binary and hex, so
about the processes involved, 10 the only new factor is the TOTAL 255
and even someone with no head number of digits.
for figures can add 1 to 99 and You can then count on, until you In binary, just as in decimal, you
get the right answer without a
second thought about what
reach 9 again in the right hand
column, when you repeat the
Binary can introduce as many columns
as you need to express a number
they did. They just know how to process, adding 1 to the left col- In binary arithmetic, there are of any size. Take the decimal
doit. But if you understand what umn and returning the right one only 2 digits: 0 and 1 .As before, number 1 2 3 4 5 , for instance. In
is happening when you count in toO. you count in one column until binary, this is
decimal, you are half way to you run out of digits, when you
becoming fluent in binary and 19 introduce a new one to the left. 001 1 0 0 0 0 0 0 1 1 1001
hex, so t am going to analyse 20 The difference is that you run
decimal counting. Please don't out of digits much more quickly Since binary is such a cumber
skip this bit just because it This process can continue until in binary. some system with long awk-
seems very elementary. You will 99 is reached, when you need to ward numbers, what use is it?
get to grips with the other bring in another column to the Binary Decimal Well, in ordinary everyday life,
systems much more easily if you left. 0 0 not a lot, but in the world of elec-
read on. 01 1 tronics, it has one great advan-
98 10 2 tage, Because there are only
Decimal 099 t w o digits, it is possible to ex-
The number reached at this press the numbers electronical-
In decimal arithmetic, there are Now, as before, you add 1 to the point in binary, 10, is not ten. It iy-
1 0 digits which are always used leftmost column and return all is one-oh binary. Ten is a name Imagine that you have a bank
in the same order when coun- the others to 0. reserved for one-oh decimal, of eight electric wires, each
ting: and in order to avoid any confu- equipped with a switch. If you
099 sion, you should always think of switched the switches so that 0
0 1 2 3 4 5 6 7 8 9 100 the binary numbers as one-oh was represented by an inert wire
binary, one-one binary and so ( s w i t c h o f f ) , and 1 was
Because of the need to use You can go on like this for as on. represented by a live wire
numbers higher than 9, a col long as you need. Every time you You carry on counting in (switch on), you could express
umn system is used, Imagine the add 1 to a column, you return all binary in exactly the same way the binary form of any number
digits arranged in a vertical col- those to the right of it to 0 , and as in decimal, introducing new between 0 and 255 decimal.
umn. When 9 is reached, we every time all the columns in use columns as they are needed. Put very crudely, this is what
have run out of digits, so a se- reach 9, you bring in another to happens inside your computer.
cond column is brought in to the the left. In this w a y , any 11 3 You can think of each address in
left of the first one, and this new number, as big or small as you 100 4 your computer's memory as a
column is assumed to hold 0. To wish, can be expressed. 101 5 minute bank of 8 electric wires
progress beyond 9 , 1 is added to Because there are 1 0 digits in 110 6 and switches. When you poke a
the amount in the new column, use, each new column is worth 111 7 number into an address, the
and the original one is returned 1 0 times the one on its right. 1000 8 switches are manipulated so
that the pattern represents the
You will see by now the great binary form of your number. The
disadvantage of binary. With so particular combination of live
few digits the numbers quickly and inert wires causes the com-
become longer, so that the puter to perform some opera-
number expressed as ' 8 ' in tion, It is beyond the scope of
decimal is a four figure number this article to go any further into
in binary. In fact, because the the workings of the computer,
numbers are long and in order to but I want you to understand the
reduce c o n f u s i o n b e t w e e n importance of binary arithmetic

54 ZX COMPUTING DECEMBER/JANUARY 1985


BINARY AND HEX

to t h e c o m p u t e r world. 1 100 12
Whatever form of counting you 1101 13
use to program your computer, 1110 14
decimal, hex or binary, it is the 1111 15
binary form which is important,
and the binary form is the one
stored in the memory. We use
Hex
the other forms because binary In hex you have 16 digits
is so unwieldly for we humans, 0,1 ,2,3,4,5,6,7 ,8,9,A.B,C,D,
so w e let the computer do the E,F. The column system for
conversion. counting is used exactly as
As each address, or byte, in before, but instead of bringing in
the computer's memory can on- a new column after 9, as in
ly hold 8 binary digits, bits, what decimal, you carry on until you
happens if you wish to store a reach F, and then introduce the
number like 1 2 3 4 5 decimal, new column.
which has more than 8 bits? The
computer takes the 1 6 bit form HEX DECIMAL
of the number, and cuts it in half 0 0
ie 0 0 1 1 0 0 0 0 0 0 1 1 1 0 0 1 1 1
becomes 0 0 1 1 0 0 0 0 0 0 1 1 1 0 2 2
01. It then stores each half 3 3
separately. The second half, the 4 4
low byte, is stored first, and the 5 5
first half, the high byte, in the 6 6
following address. 7 7
This is where decimal, which 8 8
is more familiar to humans, 9 9
becomes awkward to use in A 10
relation to computers. The low B 11
byte, BIN 0 0 1 1 1001 , is 57 C 12
decimal and the high byte, BIN D 13
001 1 0 0 0 0 , is 48 decimal. At E 14
first glance there seems to be OF 15
very little connection between 10 16
57 and 48 and 1 2 3 4 5 . In fact, is 39 h. You can see at a glance thumb on each hand — and
you can find the decimal by Again, the number reached in what the high and low bytes of a everyone, including primitive
multiplying the high byte by 2 5 6 hex is not ten, but one-oh hex, hex number are, without doing man who invented counting,
and adding the low byte. and is equal to 1 6 decimal. Hex any calculations. From this, it learns to count on their fingers.
numbers are expressed as 1 OH follows that there is a direct con If we had three extra fingers per
256 x 48 = 12288 or 0 0 1 0 H,
ADD 57 Each column in hex is worth
1 6 decimal times its right hand Figure 7. Binary, hex and decimal comparisons
TOTAL 12345 neighbour. The number 12345
BIN 001 1 = 03h = 3d
decimal is 3 0 3 9 h , and is broken
8IN0000 = OOh = Od
This lack of an obvious connec- down as follows: = 48d
BIN001 1 0 0 0 0 = 30h
tion between a number and its BIN 001 1 = 03h = 3d
low and high bytes in decimal is 4096 256 16 1
BIN 1001 = 09h = 9d
one of the reasons why many 3 0 3 9 BIN 001 1 1001 = 39h = 57d
machine code programmers = 12345d
BIN 001 1 0 0 0 0 0 0 1 1 1000 = 3039h
prefer to work in hex, which is 4 0 9 6 x3 - 12288 +
less unwieldly than binary and 16x3 = 48 +
more convenient than decimal 1 x9 = 9 nection between the binary and hand I believe that we should all
for programming. But before I go hex forms of a number which is be working away happily in hex,
on to talk about hex, I am going TOTAL 12345 much more obvious than the and the genius who suggested
to give you some homework. If c o n n e c t i o n b e t w e e n the that you could have a very good
you plan todoany machine code A hex number containing some decimal and any other form. counting system with only ten
programming, you will save of the letter digits can be con- (See figure 1 ). digits would be quietly led away
yourself a lot of looking up in verted as follows: Clearly, this makes life much by men in white coats.
tables if you learn by heart the easier for the machine code pro-
binary forms of the decimal 4096 256 16 1 grammer. By using hex he can Meanwhile, computer pro-
numbers 0 to 15, so try to 2 A avoid all the calculations re grammers need to familiarize
C
memorise this little table. quired to find the high and low themselves with binary and hex.
4096 x2 = 8192 + bytes when working in decimal. You simply need to become as
BIN 256 x 1 0 = 2560 + Also, when he comes to type in expert with binary and hex as
DECIMAL
16x12 = 192 + the machine code listing, most you are with decimal, and prac-
0000 0
1 1x15= 15 of the numbers are shorter than tice is the only way. You can
0001
0010 2 the equivalent decimal ones so help yourself by learning another
there is a saving ifi time too. In conversion table (figure 2). It is
001 1 3 TOTAL 10959
fact, after you have become very similar to the first one, but
0100 4
familiar with hex you begin to will allow you to convert bet-
0101 5 You will remember that we
wonder w h y decimal is the ween the three systems. In fact,
0110 6 discovered earlier that the high
011 1 and low bytes of 12345 were universally popular system. I you have very little extra to learn
7
suspect that is has something to because decimal and hex figures
1000 8 48 and 57 respectively. We
do with the fact that we are all are the same until you reach 10
1001 9 have since seen that the hex
form of 12345 is 3 0 3 9 h . The born with a built in decimal decimal.
1010 10
101 1 11 hex form o f 4 8 d i s 3 0 h a n d 5 7 d calculator four fingers and a Can you do sums in hex?

ZX C O M P U T I N G DECEMBER,JANUARY 1985 55
BINARY AND HEX

Yes, of course, and in exactly write the hex digits out and 0 t F F * carry 1 10 x B - 16
the same way that you do them count along theml. x C 18
in decimal. Let us add 3 0 3 9 h 3039 x D 1 A
and 7/FE3h. 3039 7FE3 x E = 1C
7FE3 01 C x F - 1 E
3039 1
7/FE3 Try to get into the habit of doing
3 4 E 11 Answer 1 and 3 t 7 A 4 carry 1 - B all your calculations in hex,
9 + 3 C Itry not to work in carry 1 . rather than working things Out in
decimal ie 9 + 3 - 12, convert 3039 decimal and then converting the
it to hex C. Count n out in hex 3039 7FE3 answer. It is rather like learnings
- 9 A B C. You may need help at 7FE3 B0 1 C foreign language. You cannot
first, and fingers are not much _LQ become fluent if you work
use as you haven't enough, so 1 everything out in English and
I cannot make you an expert in then translate it. You have to
hex just by writing this article. It learn to think in the language.
Figure 2 will depend on how much time You have to learn to think in hex.
and practice you are willing to
BIN DECIMAL HEX put in. Try devising sums for This is why I have not includ-
0000 0 0 yourself. You might even try ed a hex-decimal conversion
0001 1 1 writing the multiplication tables table in this article. If you start to
0010 2 2 in hex. I will start you off with rely on one you will never really
0011 3 3 the ' two times' you can work be able to work freely in hex and
0100 4 4 out the others. it will always be a foreign
0101 5 5 language. It is much better to
0110 6 6 persevere with learning to count
011 1 7 7 x1 2 and calculate in hex, even if you
1000 8 8 x2 4 flounder a bit at first. For those
1001 9 9 x3 6 who find they simply cannot
1010 10 A x4 8 manage without a conversion
101 1 1 1 B x5 A table, you will find one in almost
1 100 12 C x6 C any book on machine code pro-
1 101 13 D x7 E gramming. But you will know
1110 14 E x8 10 that you have become fluent in
1111 15 F x9 12 hex on the day you no longer feel
xA 14 you need one.

Philips
Those nice people from Philips sent us one of their new D6450
Data Recorders to look at recently, and very nice it looks too. The
trouble was that when we got set to try it out on a few programs
we realised that there's no way of plugging it directly into the
mains. You can put half a dozen batteries into it, but that's bound
to become expensive after a while (unless you use rechargeable
batteries!, and you've also got the added hassle of making sure
that the batteries are always fully charged or you'll get loading
problems.
Your only other alternative is to go out and buy a separate 9v
DC power supply which will cost you an additional £ 1 0 or so.
Considering that the recorder will cost you about £ 32 on its own,
that extra expense ought not to be necessary just to be able to
plug it into the mains.
Still, after ripping upanoldOric PSUwegot the recorder work-
ing and it SAVEd and LO ADed all sorts of things without any pro
blems, and it's quite well designed so it wasn't at all fiddly to use.
My only criticism is that the need to buy batteries and/or a power
supply makes it more expensive than it really needs to be.
If you're interested try contacting Philips Consumer Advice,
420 London Road, Croydon. CR9 3QR (01 6 8 9 - 2 1 6 6 ) .

C/iff Joseph

56 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
4IK CTFTJ.M
QUICKSORT

Ouicksoft
Desert Burner played away on it. the graphics
Creative Sparks are fairly good although slighi
flickering and attribute clashes
£2.50 are evident. The screens are well .ATLfinns.
designed and provide a good ran through the game a couple of
As leader of a small band of challenge. Though essentially a times I got the hang of it and
freedom fighters your task is lo maze dodge and collect game it found it frustrating ly absorbing
deliver the plans of a new is reasonable value for money The graphics are well design
weapon to another underground and will provide a few hours of ed and the screen layout is clear
group Your means of transport amusement. and uncluttered, the program ts
is a powerful motorcycle called well error trapped tty pressing
'Desert Burner' which is capable GRAPHICS * * * break! There is a fairly lengthy
of over 200mph. ADDICTIVENESS * * * wait while the computer makes
By itself this is a pretty simple OVERALL * * * its moves but no so long that you
lask, but what the instructions get bored. I found I took much
do not tell you is ihiit you have to Nonterraqueous longer than the Computer to
emulate Evil Kmevel in jumping
over various obstacles whilst Mastertronic decide on my moves
If you have ihe patience and
avoiding bombs dropped by £1.99 like card games (and even if you
helicopters. You can attack the don't 1 suggest you ly this one),
helicopters by firing at them via This game is one which puis then this will keep your mind
the space key. Controls are sim- some full priced offerings to ticking over for many a long
ple. Caps Shift to accelerate and shame. With over 1 000 screens force fields, use the nine teleport winter's night. Unusual in this
Z to jump. of well designed problems to terminals and use the master day and age is the loading
As with many games of this negotiate, fast action, smooth refuel and master return to h;ise system, using LOAD " CODt
simplicity it has an addic- well animated sprites and a set units. is a bit amateurish, but this is
tiveness out of proportion to the of problems to solve, this game This is a game to get your only my criticism.
action, it may not be particularly is a must for any arcade addict. fingers in a twist as there are no
sophisticated, a few flickers, a Put simply it is a variation on fewer that 1 1 control options GRAPHICS * * * *
few attribute clashes, but H is the maze search and dodge plus save ,load/abort game op- ADDICTIVENESS * * * *
* * * *
pretty g o o d value for ihe theme, but objects have not tions. Movement, graphics and OVERALL
money. A nice touch is the slow merely to be collected but also screen designs are very good, bu
ly sinking sun and the moon ap- used to enable you to get further the game is hard to get into, the Action Biker
pearing at night. A high score is
kept, but no hall of fame.
into the game. The ultimate ob-
jective is to explore the inside of
problem of running out of fuel
caused many a promising game Mastertronic
a giant mountain to find and to end rather too soon. £1.99
GRAPHICS * * * * then destroy the computer This is one for the expert
ADDICTIVENESS * * * which controls the population of gamester and should give many In conjunction w i t h a well
* * * *
OVERALL your planet. Options for various hours of enjoyment, however I known snack manufacturer the
joystick interfaces are provided must admit in the time I had to character of Clumsy Colin is
Supersam and keys QAPO give review it I did not get too far. brought to the computer screen
Budgie Software up down left right movement.
Space fires and I and U allow
once the pressure of writing this
is off I will be going back for
Using a split graphics and text
window you have to tide around
£2.50 specific actions. The game is another session. town, find Marti and take him to
very addictive and the inclusion the Spaceport. Control is UP
An unusual plot here. The object of a high score chart encourages GRAPHICS * * * * DOWN LEFT RIGHT by keys
is to explore the 34 rooms of a you to keep trying to improve. ADDICTIVENESS * * * AZNM plus space to enter a
* * * *
fortress and collect the 18 parts Would I buy it? Yes' OVERALL house.
ol a cage in which to catch the Graphics are OK, movement
elusive Boris. This is com- GRAPHICS * * * * * Chinese Patience and animation is fair and the ac
plicated by misleading door-
ways which send you astray and
ADDICTIVENESS * * * *
OVERALL * * * * * Atlantis tion fast and furious High
scores are kept but no hall of
potholes which are fatal. Added £1.99 fame. This is a (airly average
to this you have an energy level
Cylu game which gave me a few in-
Firebird
which drops on contact with I remember Atlantis' card game teresting moments but no real
one of the wandering beasties, program Eights which I still plav desire to go hack to it again. I
when completely depleted you £2.50 on occasion and so was pleased know how game players vary in
lose one of your three lives On to receive this program. Chinese what they like and many of you
the positive side are syringes Well you can't avoid com Patience is another card game will enjoy this game, so I would
which make you invulnerable for parisons and this one just asks to and matches you against the simply suggest you try it out at
a brief period. be likened to Knight Lore. Your computer, and boy does the your local computer store and
Options for joystick or to quest is to search the maze lyes, machine play a mean game! make up your own mind. It
redefine keys are included and it yet another maze) find, collect The instructions take up the didn't do a lot for me.
features one of the most in- and return to the master com whole of the inside of the insert
teresting loading systems I've puter, 24 objects. To achieve plus the flap, reading them GRAPHICS * * *
yet seen. Again, this game has a this you will have to solve the makes the game seem very ADDICTIVENESS * *
charm of its own and I happily problem of how to disable 32 complicated. However once I OVERALL * * *

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 57
SOUNDS

speakeasy
an overflow into the graphics
area.
S CHANGE SPEED
Lets y o u change the
record play back speed. By play
ing back at a different speed you
can alter the pitch of your voice.

Kai Webber has come up with a machine


The slowei the speed, the worse
speech w i l l sound. (Values

code routine that turns the Spectrum


below about 2 5 are of little usel.
M MEMORY MANAGER

into a speech synthesiser.


A useful tool that allows you
to m o v e blocks of speech
a r o u n d in m e m o r y . T h r e e
parameters are required: ad
dress to copy from; address to
a a a a a a a a i a a • copy to and number of bytes to
l a a a a a a a a a aa copy. If 'Invalid address' ap-
a a a a a a a a i i a a •
a aa - - - • a a a a a a a a a a aa pears on the screen, then you
• a •
~ ~ ~ ~ i a a a a a a a a a a aa • a• have tried tooverwriteeither the
• • • a a a a a a a a a a a • a a a graphics area of the machine
• a a a a a a a a a a aa a • a a
• aa a a a a a a a a a a a a code. If you wish to remove
'noise' that was recorded before
This is by no means the first your voice into the computer's This will simply replay any you started speaking, find the
Spectrum speech program but it m e m o r y a t t h e c u r r e n t speech stored in memory at the start address of the actual
does offer far greater manipula- record play speed. When you current record play speed. speech (using 'S'l and enter this
tion of speech data than some of select this option you will be told A - ALTER START ADDR as the address to copy from.
the other efforts that have ap to press any key to start recor This allows you to alter the Enter the address to copy to and
peared in magazines, allowing ding. There are t w o methods s t a r t a d d r e s s f r o m w h i c h the number of bytes to copy and
crackles and noise to be cut you can use to record speech speech is recorded'played back. then alter the start address to
d o w n greatly. Basically, what (experiment with both methods If there is a lot of 'noise' from the the value you used as the ad
the program allows you to do is to see which gives best results): tape recorder at the start of dress to copy to. (Got that?!!).
to record speech from a tape 11 Record your voice onto a tape some speech you can get rid of it T TAPE OPERATIONS
recorder lalong w i t h a few extra and play this tape into ihe com by altering the start address by This prints up a self-
noises t h r o w n in for good puter, pressing a key just before trial and error. (If the start ad- explanatory tape menu. For
measure!) and then replay this the speech starts. (Try different dress plus the length of data those of you w h o are interested,
speech in your o w n programs. v o l u m e s e t t i n g s u n t i l y o u w o u l d c a u s e t h e d a t a t o I have included an assembly
Begin by carefully typing in achieve the best results). overflow into the graphics area language listing ol the machine
the BASIC listing and then save 2) Set the recorder into Record of the computer will prevent you code.
it to tape with S A V E mode (remove any tapes in the from using this value lower the You may find that if you use
"SPEAKWELL" LINE 1. When recorder, find the small switch in length first see below. It will an expensive tape recorder you
you run the program, you should it which checks to see if a tape also reject any value below will gel better results than a
be confronted with some data has a write protect tab, press 3 2 8 5 5 ) . cheap portable recorder, but do
details at the bottom of the this in and press 'PLAY' and L CHANGE LENGTH nol do anything silly like feeding
screen which are fairly self ex 'RECORD' on the recorder at the Allows you to change the the output of a power amp
planatory and a menu of op same time), press a key and start l e n g t h of s p e e c h t o be staight into the back of your
tions: talking into the tape recorder's recorded/played back. The com- Spectrum' It also helps if you
R - RECORD SPEECH microphone. puter will prevent you from us stress the words as you speak
This allows you to record P PLAY BACK SPEECH ing any value which will cause into the tape recorder.

10 BORDER 0! PAPER 0*. INK 7: C 9730 IF T NKEY®=" S" THEN GO TO 9


LEAR 32767: RESTORE 9920: GO SUB 370
9030 9760 IF TNKEY*=" r " THEN PAUSE 1
70 LET SPEED-l: LET START-3283 : RETURN
3: LET LENGTH-32312 9770 GO TO 9730
30 GO SUB 9730 9280 INPUT "NAME OF FILE? "{N*
40 RESTORE 9720*. LET K»-INKEY» 9790 IF LEN N«>10 THEN PRINT AT
30 FOR F-l TO 7 17,7| FLASH l;"INVALID FILE NAM
60 READ A*,LINE: IF A*-K» THEN E•: GO TO 9780
GO SUB LINE: GO SUB 9810 9300 PRINT AT 17,0,,AT 17,11J FL
70 NEXT F ASH 1?"LOADING...": LOAD N«CODE
80 GO TO 40 9310 RETURN
9230 PRINT AT 17,0| FLASH 1» - L - 9370 INPUT "NAME OF FILE? " J N*
LOAD S - SAVE R - RETURN•: 9330 IF LEN N*>10 OR N«="" THEN
PAUSE l: PAUSE 0: PRINT AT 17,0, PRINT AT 17,101 FLASH 1|"INVALI
»
D NAME": GO TO 9320
9740 IF INKEY*="l" THEN GO TO 9 9340 PRINT AT 17,0,,: SAVE N*COD
780 E START,LENGTH

58 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SOUNDS

9350 PRINT AT 17,10; FLASH lJ'VE 9650 RFTURN


RIFY <y/n>": PAUSE 0: GO SUB 981 9A60 RANDOMI7E USR 32808
0: IF INKEY$="n' THEN RETURN 9670 RFTURN
9360 PRINT AT 17,10; FLASH 1;"VE 9AR0 PRINT AT 17,0| FLASH 1|"PRE
RIFYING..': VERIFY N*CODE SS ANY KEY TO START RECORDING":
9370 RETURN PAUSE l: PAUSE 0: PRINT AT 17,0,
9380 TNPUT -ADDRESS TO COPY FROM ,AT 17,11; FLASH 1;"RECORDING"
"> * ; HL 9690 OUT 254,15: RANDOMIZE USR 3
9385 PRINT AT 17,0,, 2768
9390 IF HL<32855 OR HL>65366 THE 9700 BEEP 1,5
N PRINT AT 17,6; FLASH 1;•INVAL 9710 RETURN
ID COPY ADDRESS"I GO TO 9380 9720 DATA "r",9680,"p",9660,"a",
9400 TNPUT "ADDRESS TO COPY TO"3 9610,"1",9560,"s',9510,"m',9380,
" J DF "t",9230
9405 PRINT AT 17,0,, 9730 PRINT TAB 1 1 ; "SPEAKUELL"
9410 IF DE<32855 OR DE>65366 THE 9740 PRINT TAB 11;" "
N PRINT AT 17,2; FLASH 1;"INVAL 9750 PRINT * TAB 6;"R - RECORD SP
ID DESTINATION ADDRESS": GO TO 9 FECH-
400 9->60 PRINT 'TAB 6;"P - PLAY BACK
9420 INPUT "NUMBER OF BYTES TO C SPEECH"
OPY? •|BC 9770 PRINT 'TAB 6;"A - ALTER STA
9430 IF BC +DE>65367 OR BC+HL>653 RT ADDR"
67 THEN PRINT AT 17,9» FLASH 1| 9780 PRINT T TAB 6;"L - CHANGE LE
•INVALID NUMBER": GO TO 9420 NGTH "
9440 POKE 65521,DE-256*INT (DE/2 9790 PRINT 'TAB 6;"S - CHANGE SP
56): POKE 65522,INT (DE/256) EED "
9450 POKE 65524,BC-256*INT (BC/2 9800 PRINT * TAB 6J"M - MEMORY MA
56): POKE 65525,INT (BC/256) NAGER" * * TAB 6J"T - TAPE OPERATIO
9460 POKE 65527,HL-256*INT <HL/2 NS"
56): POKE 65528,INT (HL/256) 9810 PRINT AT 19,0;"START ADDR O
F SPEECH DATA:";START
9480 IF BC=0 THEN RETURN
9820 PRINT "END ADDRESS OF SPEEC
9490 RANDOMIZE USR 65520
H DATA:"JSTART+LENGTH
9500 RFTIJRN
9830 PRINT "LENGTH OF SPEECH DAT
9510 INPUT "NEW SPEED? ";SPEED
A:"|LENGTH;" " J # 1 ; A T 0,0;"REC
9520 IF SPFFD< 0 OR SPEED>255 THE
ORD/PLAY SPEED:";SPEEDI"
N PRINT AT 17,9| FLASH 1;"INVAt
9840 PRINT AT 17,0,,: RETURN
ID SPFFD": GO TO 9510
9850 FOR F=32768 TO 32854
9^40 POKF 37854,SPEED
9860 READ A: POKE F,A
9550 RETURN
9870 NEXT F
9560 TNPUT "NEU I E N G T H ? " ;L ENGT
9890 FOR F=65520 TO 65531
H
9900 READ A: POKE F,A
«?570 IF I ENGTH< 1 OR LENGTH+START
9910 NEXT F: RETURN
>65367 THEN PRINT AT 17,9; FLAS
9920 DATA 243,42,82,128,237,91,8
H l;"INVALID LENGTH": GO TO 9560
4,128,6,8,14,0,237
9590 POKF 32852,LENGTH-256*INT (
9930 DATA 67,0,0,175,219,254,23,
LFNGTH/256): POKE 32853,INT (LEN
23,203,17,16,247,113,58
GTH/256)
9940 DATA 86,128,71,16,254,35,12
9600 RETURN
2,179,27,32,226,251,201,243,42
9610 INPUT "NEW START ADDRESS?
9950 DATA 82,128,237,91,84,128,6
";START
,8,78,203,9,203,9,203,9
9620 TF START<32855 OR START>653 9960 DATA 121,230,16,211,254,203
60 OR START + LENGTH>65367 THEN P ,1,16,247,58,86,128,71,16,254
R T NT AT 17,8; FLASH 1 J " INVAi ID A 9970 DATA 203,135,35,122,179,27,
DDRFSS": GO TO 9610 32,224,251,201,87,128,0,127,1
9640 POKE 32850,START-256*INT (S 9980 REM BLOCK MOVE MACHINE CODE
TART/256): POKF 32851,INT (START 9990 DATA 17,0,0,1,0,0,33,0,0,23
/ 256) 7,176,201

7 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 59
SOUNDS

ASSEMBLY L I S T I N G
IU 9 RECORD MODE
20 ORG 32768
30 DI DISABLE MASKABLE INTERRUPT
40 LD HL,(START) START ADDRESS OF DATA INTO HL
50 LD DE, (LENGTH) DATA LENGTH INTO DE
60 LOOP LD B, 8 B CONTROLS LOOP OF 8 B I T S / I BYTE
70 LD C,0 C COUNTS NO. OF BITS AT EAR PORT
80 LD (0),BC TIME WASTING INSTRUCTION
90 L00P_2 XOR A CLEAR A AND CARRY FLAG
I00 IN A , ( 254 ) READ PORT 2 54
I 10 RLA VALUE AT FAR P O R T . . .
120 RLA ROTATED...
130 RL C INTO REGISTER C
I40 DJNZ LOOP 2 GET 8 BITS FROM EAR PORT INTO C
150 LD (HL),C STORE THE 8 BITS IN ( H L )
] 60 LD A, (SPEED) RECORD/PLAY SPEED INTO A
170 LD B, A USE B TO CONTROL THE LOOP
180 WAIT DJNZ WAIT WAIT A SHORT WHILE
190 INC HL NEXT LOCATION FOR NEXT 8 BITS
200 LD A,D CHECK WHETHER OR N O T . . .
2 10 OR E TO FETCH ANOTHER 8 BITS
220 DEC DE DECREMENT THE COUNT
230 JR NZ.LOOP LOOP IF COUNT NOT ZERO
2^0 EI RE-ENABLE THE MASKABLE I N T E R R U P T . . .
250 RET FOR RETURN TO BASIC
260
270
280 » PLAYBACK
290 DL
300 LD HL,(START)
3 10 LD DE,(LENGTH)
320 P LOOP LD B,8 B CONTROLS LOOP OF 8 B I T S / ! BYTE
330 LD C,(HL) GET DATA BYTE TO BE PLAYED
340 RRC C GET THE BITS IN THE RIGHT ORDER
350 RRC C
360 RRC C
370 P_LP 2 LD A, C GET THE DATA BYTE INTO A
380 AND ZOOOIOOOO MASK THE ONLY REQUIRED BIT
390 OUT (254 ) , A OUTPUT THIS BIT TO THE SPEAKER
400 RLC C GET NEXT BIT INTO REQUIRED POSITION
4 10 DJNZ P LP 2 OUTPUT 8 BITS (L BYTE)
420 LD A, (SPEED) SPEED INTO A
4 30 LD B, A TRANSFER TO B FOR PAUSE
44 0 PAUSE DJNZ PAUSE WAIT A SHORT WHILE
4 50 RES 0, A ANOTHER TIME WASTING INSTRUCTION
460 INC HL INCREMENT DATA ADDRESS
470 LD A, D CHECK TO SEE IF COUNT IS ZERO YET
480 OR E
490 DEC DE DECREASE THE COUNT BY I
500 JR N Z , P LOOP LOOP IF COUNT NOT ZERO
5 10 EI RE-ENABLE MASKABLE I N T E R R U P T . . .
520 RET FOR RETURN TO BASIC
530 START DEFW 32855 START ADDRESS OF SPEECH DATA
54 0 LENGTH DEFW 3 2 5 I 2* LENGTH OF SPEECH DATA
550 SPEED DEFB I RECORD/PLAY SPEED

60 ZX C O M P U T I N G DECEMBER J A N U A R Y 1 9 8 5
MINDPLAY

Mindplay
dressed and head off to work.
This is a lot more complicated
and confusing than you may
think even the simplest tasks
are difficult to achieve first time
round. Everything must be done
in a particular order
When you evenlually find the
newspaper office, and thiscould
take a while, the newspaper
boss will give you a story to in-
vestigate and from there you're
on your own 1 Do you have the
This m o n t h ' s 'Mindplay' intuition which will take you to
features three adventure games the top of your profession?
from the new generation of This is a very interesting
mass produced adventures writ adventure, with fairly good loca-
ten with the aid of Gilsoft's Quill, tion descriptions and often in
and released by small software volved tasks which are difficult
companies Fridaysoft and t o c o m p l e t e . Like London
Sentient. While the Quill is a Adventure Scoop is a very good
very useful utility for use by peo- example of a Quilled game at it's
ple who wish to write their own best.
adventure I feel that the use of
the Quill by software houses The Amulet
may have adverse effects on the
adventure game genre. With the Sentient Software
Quill it is a lot easier to produce £2.99
bad adventure games, as the
thought and planning needed for This one also comes from Sen-
a non Quilled game is often not tient Software, but unfortunate-
applied. Thankfully, there are ly it does not aspire to the novel-
exceptions, and these excep one to feature a loading screen, the mass of Quilled games. Lon- ly of the previous game.
tions are o f t e n very good a nicely drawn picture of Lon don Zoo, for example, becomes Whereas Scoop was an inspired
games, but the vast majority of don's Tower Bridge. a particularly clever maze, as do and novel game, The Amulet
Quilled g a m e s w h i c h are The aim of the game is to find the London Sewers. Another repeats the tired and worn fan-
marketed are often average, and the combination of a safe nice touch are the events in the tasy theme of the quest.
sometimes very poor. The deposit box belonging to your Tower of London you could The simple aim is to find the
games reviewed this issue eccentric, rich uncle. He has lose your head over the Crown seven shards of the shattered
feature a couple of these excep recently died and his will has left Jewels! Also, typing your name Amulet, which are scattered
tions. his considerably fortune to you on the computer in the Science through time. Trying to retrieve
You may have noticed a cou- if you can find it, that is! The Museum can be alarming! the segments entails travelling
ple of letters in past issues of ZX combination numbers are hiden Overall, London Adventure is through time and space using
Computing requesting hints and within the adventure for in a very enjoyable and challenging the magical power of the
tips for adventure games. Well, stance you may find a five game which makes a change Amulet. You start out with a
in response to popular demand, I pound note, so five is one of the from the usual fantasy settings, section of the broken Amulet,
plan to introduce clues to adven- c o m b i n a t i o n numbers. The and this is Fridaysoft's avowed which when rubbed enables you
tures in this column. The idea is numbers are cleverly hiden intention. You could certainly do to travel in time, in search of the
that you send your adventure within the game, often in the worse than buy this one! other pieces. Each 'Time Zone"
problems and they'll be printed oddest of places! consists of several very similar
in 'Mindplay', and anyone who London Adventure is design locations, all with very bland
can help then responds with the ed to be realistic (allowing some Scoop location descriptions. Objects
answer. Offers of help on
adventures will also be printed.
artistic licence, of course),
logical and, apart from the odd Sentient Software are sparse, so it is easy to find
each section of the amulet with
In this way adventurers can get diversion and obligatory mazes, £2.99 very few major obstacles to be
n touch with each other through geographically correct. The overcome.
offering or needing help. I'd also game features over 100 loca- This adventure, like the previous Some of the locations insist
be interested in your letters on tions i n c l u d i n g many w e l l one, is unusual in its setting and on playing lengthy tunes after
the general adventure scene. known landmarks such as Har aim. You are an intrepid news- each input which are simply ir-
Send all correspondence to rods, Cleopatra's Needle and paper reporter and must search ritating and slow down play,
Mindplay at the ZX Computing the Tower of London. the streets for the front page particularly the zone featuring
address, 1 Golden Square, Lon The location descriptions are news which will distinguish you ihe 'Frenchman' (who insists on
don W1R 3AB. very good in places, such as from the other hacks. Fail in your killing you if you're not careful).
Now on with the aboard the Cutty Sark, near the task and youll be fired! The Amulet is a rather
reviews. beginning, while the majority of The game begins with the clich6d, and nondescript adven-
Brian Robb the descriptions are above piercing sound of your morning ture, with lacklustre location
average. Some of the locations alarm. Sound features quite descriptions, devoid of at
London Adventure though, appear to be there only often in the game with the mosphere and lacking colour.
Fridaysoft for show, but at many of them
you can find objects and clues.
sounds of lifts and car engines,
not forgetting the telephone London Adventure, Fridaysoft,
£4.95 On this point it is wise to collect which rings, providing you with UnitF, The Mattings, Station Rd,
every object, no matter how a message which moves you Sawbridgeworth, Herts.
The first of this selection of unlikely, as it will no doubt be f o r w a r d in the game. You
Quilled games is Fridaysoft's useful at some point. awake, right at the start, to be Scoop and The Amulet, Sentient
London Adventure and it is the The game has quite a few faced by a morning domestic Software, Branch House, 18
best of the three adventures original and amusing touches routine which becomes your Branch Rd, Armley, Leeds
reviewed here. It is also the only which raise the adventure above first major task you must get LS12 3AO.

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 61
JURY

we, the jury using the four direction and the


fire button, joystick or keyboard
you can back off. move forward,
jump, duck, or strike at the up
per, mid or lower regions of your
opponent. Each of you has a
Fighting warrior graphic representation of your
Melbourne House strength and stamina, once it is
all gone - RIP.
£7.95 Added to this there are ob-
jects which you have to puzzle
There has been a spate of out how to use and a frequent
fighting programs lately, not the arrow attack which you must
least being MH's WAY OF THE duck under or jump over, even in
EXPLODING FIST, but now they the middle of an encounter.
have combined the pure combat I found that the response was
game with the adventure quest a little slow and it takes some
type to produce this game. getting used to before accurate
In Fighting Warrior your task timing of blows and dodges can
is to rescue the princess from a be made. It is also a very difficult
selection of 'vicious' enemies game to play as you are under
must be a combination of thick almost constant attack from the
and gluey and brutal. very start. Even though I did not
Joking at the expense of the get very far into the gameplay,
spelling in MH's press release the superb graphics and adven-
aside, there is nothing gluey ture style concept ensure that I
about the beautifully drawn and will go back to this one time and
animated characters in this pro- again. Melbourne House yet
gram, they all act and react very again bring a touch of class to
quickly indeed. Your character computer gaming.
has to walk along as the
background scrolls behind him GRAPHICS * * * * *
and every few feet it seems en ADDICTIVENESS
counters another adversary. * * * * *
Fighting is done by sword and by OVERALL * * * * *

Daley Thompson's ment required to prevent them


from becoming tedious. A brief
supertest run down and description of the
Ocean events on side one is:
£6.95 PISTOL SHOOTING, move cur-
The very title of this one is sor around the screen to random
enough to send the most robust target and fire at centre.
CYCLING, L/R as fast as possi-
of joysticks on strike and make
ble.
the keyboard tremble in fear
Yep, its another left/right-as- SPRING BOARD DIVING, 3
fast-as-you-can test of finger or bounces and L/R for somer-
wrist stamina! $aults
I must admit that I did not like GIANT SLALOM, steer L/R
this type of game at first but through the flags as they scroll
then it grew on me until now I am up the screen toward you.
hooked. The success of a game ROWING, L/R as fast as you
of this nature depends on the can.
quality and realism of the PENALTIES, L/R for speed, line
graphics, no-one is going to up on football, fire to shoot.
work up a sweat over moving an SKI JUMP, L.;R for speed, fire to
indistinct blob around, so how jump and land.
have Ocean done? Well I'm sure TUG 0 ' W A R , L/R for power.
owners of DT's Decathlon Each one needs slightly dif-
would have no doubts, the ferent techniques to succeed
graphics are just as good if not and I personally enjoyed the
better than before and Ocean shooting and ski jump whilst the
s h o u l d have a n o t h e r w e l l tug O'war and diving gave me a
deserved hit on their hands. lot of frustration.
Even though all the games
have o n l y l e f t / r i g h t and GRAPHICS * * * * *
sometimes fire as controls there ADDICTIVENESS * * * *
is enough variation and judge- OVERALL * * * * *

62 ZX C O M P U T I N G DECEMBER
O p *

Macadam Bumper
PSS
£6.95
It is hard to simulate the old pin
table, bumpers, buzzers,
bleepers, nudges and all the
paraphenalia of the arcade on a
That's The Spirit home computer. I love pinball
The Edge
tables and have awaited a good
computer version for some time.
£7.95 This one is as close as I think
it is possible to get. all the usual
Hello, I thought, a clone of features are implemented and
Ghostbusters? But no, although you can almost feel the balls
the theme of ghostly beings is bouncing around, giving them
the same, in reality there is really just that gentle nudge at the
no similarity. The game comes Monty On The Run right time. Not only is the
standard program very playable
complete with the Edge's usual
type of unhelpful and mildly Gremlin Graphics Bounty Bob Strikes but there is also the option to
humorous instructions on the £8.95 Back design your own pinball table
reverse of which is an overlay
for the old type Spectrums Another in the Monty Mole us Gold layout and play it. This is a sim-
ple matter although to get the
which shows which keys per- series. In this game he has to £7.95 best results a little planning is re-
form which operations. escape by travelling through quired at first. The screen is split
There are 28 actions which many devious and delightful I'm afraid we only got a review into two, vertically, and the
you can perform and most of screens of pure frustration. It copy of this game and the aim playing area is on the left while a
these are fairly clear. Take, seems too simple to describe it and action was not clearly typical pinball picture is on the
Drop, Enter etc. but how and as another platform game, but it stated, although they claim it right. This also shows scores
when to use them are left for you is. Added to the usual problem compares favourably with the and players turns etc. In design
to discover. It is with games like of carefully timed jumps is the C64 version. mode this picture is replaced by
these that I wish the company sneaky device of having to It is a platform game in which the graphic components of the
would send us poor reviewers a choose and take withyou five it appears that you have to col- table and they are selected and
hint sheet, I tried and I tried, but items of equipment from a lect various objects within a placed on the playing area as re-
no matter what I did I only suc- selection of 21 objects before time limit, each time you get an quired.
ceeded in being driven insane you begin an attempt. Get one object the nasties change from Once designed and com-
the game's end condition — in a wrong and you find yourself yellow to green for a short time pleted you can save your work
few moves. stuck and unable to get any fur- and can be eaten,killed by your to tape, you can even send it to
The s c r e e n is a w e l l ther. character. PSS as an entry to their competi-
presented t w o dimensional The screens are well design- Loads of screens, most of tion and win your very own real
representation of New York, and ed to provide just the right level whichare well designed and pre pinball machine. Not bad. As a
your character moves around of difficulty, the animation is sent a challenge, some have a pinball program it is very
meeting with various problems good — I loved Monty's somer- nice 3D perspective effect. playable, and with the option of
and o b j e c t s of w h i c h the saulting jumps — and key I must admit I found the game making your own designs the
greatest are the ghosts. Not response is very good. to be a little inconsistent in that I life of this program is extended
state of the art graphics but very My only moan is that collision could clear some screens with greatly. Get bored, design a new
good nonetheless. Animation is detection seems to be by at- ease and others were a real game.
smooth although a little on the tributes and this often gives the headache, they did not seem to I must admit I enjoyed the
slow side, and there are some impression that you have avoid- progress logically. Graphics and fact that I didn't keep losing a
nice touches of humour (try the ed some malignant sprite only to animation were very good, BB's game when an overenthusiastic
swear' key). find Monty expiring in front of demise is quite interesting, and nudge would usually produce a
This is a game for the cerebral you. With 4 3 screens this the high score hall of fame 'tilt' message, this feature does
arcade player and as such is should keep his fans happy and routine is almost worth playing not seem to have been included.
quite difficult, personally I found probably gain him a few new on its own. However I keep getting the an
it a trifle too difficult to get into ones. One of the better pro- Colourful, enjoyable, I just noying feeling that I've cheated
and so do not feel particularly in- grams of this type. wish I knew what I was suppos- in some way. . .
spired to play it again. ed to be doing.
GRAPHICS * * * * GRAPHICS * * * *
GRAPHICS * * * ADDICTIVENESS GRAPHICS * * * * ADDICTIVENESS
ADDICTIVE NESS * * * ** ** ** * * ADDICTIVENESS * * * * ** ** ** **
* * * * * *
OVERALL OVERALL OVERALL OVERALL

i
ZX C O M P U T I N G DECEMBER/JANUARY 1985 63
The Rats
Hodderand
Stoughton
£7.95
An interesting program which The Seidabb are back! Hewson
combines strategy and adven- Consultants have resurrected
ture by the use of multiple their old arch nasties for their
choice input. The game is based latest game, but this time
on the James Herbert novel and around the author, Steve Turner
it does help if you have read this has used the same sort of pro-
book, however it is not essential g r a m m i n g techniques that
and the game can be enjoyed on worked sowell in his two Avalon
its own merits. games,
Your prime task is to deploy Astroclone has a number of
your forces around London to similarities to Marsport, in that
contain and defeat the rats, this Hewson have taken a formula
is done by moving a cursor that worked well in mythological
around a map of the city and settings and turned it. to a
viewing appropriate sections. science fiction setting. Taking
Once a s e c t i o n has been the part of a crack Astroclone
chosen, information on the warrior, you must gain control of
number of men and their equip- the Seidabb bases in order to
ment is displayed. You can then deactivate the Stargates that
modify this. Marsport are more complicated than they used to reach Earth.
Every now and then the
game changes into adventure Gargoyle Games those of Darach Nog and scroll
slightly less smoothly as a
The graphic layout of the
game is of course similar to that
mode w h e r e one of your £9.95 result, but even so the overall ef of the Avalon games, but this
characters, either one of the feet is excellent. time you have more than one
main four or one of the many Gargoyle Games have now for- The mechanics of the game stage to the game. You can
supporting characters, is faced saken Celtic mythology and have also been enhanced, and either move around the bases (or
w i t h a meeting w i t h the ventured into space for their Marsport is more complex than Technibo as they are called) in
revolting rodents. In this mode latest game. However, its predecessors in some ways, search of the Graviton devices
the text input is built up word by Marsport does retain the style because you now have a greater you will need, or you can takeoff
word from a bank of options. of the earlier Tir Na Nog and Dun ability to manipulate objects and in your fighter and head off to
Graphics are used to good ef- Darch, in that the game puts you engage in combat than before, combat the Seidabb cruisers.
fect, when you make a fatal in control of a large animated although trading this off against These two parts of the game
mistake the rat leaps through figure (named John Marsh) who the memory available has meant provide a nice balance; the ac-
the text. The whole thing isquite moves around a large playing that there seem to be fewer in tion in the bases is of the pro-
an unusual concept and 1 en- area, has to solve various dependent characters to deal blem solving arcade-adventure
joyed it greatly, however the puzzles and deal with many with. Mind you, that's not a style, w hilst the space combat is
vivid descriptions are quite gory creatures in order to complete criticism as I think I prefer the a fun piece of shoot-'em-up ac
and not for the squeamish. It will his task. slightly greater emphasis that tion.
take quite a bit of playing to In this instance, that task is to this puts on the action elements Astroclone is quite complex
master this game, especially as save the Earth from conquest by of the game. Dun Darach was an (the reviewers' notes that
the secondary characters load in an alien race. You must control extremely engrossing game, but Hewsons sent out with the
a random fashion making plenty John Marsh as he finds his way couldn't equal the surprise that game make quite a fat folder),
of game play variation. through a large and complex Marsport will give you whenyou and though I enjoyed it I'm not
This latter feature is not space station, in order to reach a walk straight into the head bad sure if it will appeal to everyone.
clearly explained and caused a force field generator that will dy. Like Avalon and Dragontorc the
couple of aborted loadings as I help to defend the Earth. Marsport is the first in a plan problem solving can slow the
thought the program had crash The basic style of animation ned trilogy of games, and if this game down quite a lot in places,
ed. If a block is not loading then is much the same as Gargoyle's game is anything to go by I'll be and despite the combat se-
leave it, it is probably simply not earlier games, but this time the looking forward to the rest of the quences the game may not ap-
required for that variation of the m o v e m e n t of t h e m a i n trilogy. peal to the s h o o t - ' e m - u p
game. character is even smoother than brigades.
b e f o r e , The b a c k g r o u n d GRAPHICS * * * * *
GRAPHICS * * * * graphics — depicting the cor ADDICTIVENESS GRAPHICS * * * *
ADDICTIVENESS * * * * ridors, lifts, and various en- * * * * * ADDICTIVENESS * * * *
* * * *
OVERALL * * * * * trances in the space station - OVERALL * * * * * OVERALL

64 ZX C O M P U T I N G DECEMBER J A N U A R Y 1 9 8 5
JURY

Sparkler's Special
Creative Sparks
£7.95

Creative Sparks have joined the


compilation brigade and lumped
together four of their old titles as
a sort of software Christmas
Stocking.
The four titles, which are held
in a two cassette package, are;
Ore Attack, Stage Coach, River
Halley's Comet
Anima
Rescue and Tower of Evil.
They're all quite old titles, and
none of them were really state- £8.95
of-the art even when they were
new. Ore Attack is probably the A With Halley's Comet just around
most addictive of the games, in the galactic corner there seem to
which you control a little knight
The secret Diary of
be a number of cemet related
who is at the top of a castle wall programs popping up at the mo-
and being besieged by hordes of Adrian Mole ment. This one from Anima
Ores. The Ores have got little
ladders with which they attempt Mosaic Scientific Computing actually
£9.95
consists of two programs, a
to scale the walls, and you must Hacker Planetarium which gives a view
fend them off with rocks, sword
and burning oil. The screens This is a bit of a disappointment Activision of the sky and the progress of
the comet during both night and
aren't very varied, but it isone of I'm afraid, despite being pro £7.99 day, and an 'Orrery' which is a
those simple games that can grammed by Level 9 . The trou- model of the solar system and
become quite frantic as the skill ble is that there's not really How do you review a game like the comet's path through it.
levels get harder. much of a game here. The pro- this without spoiling it for any The Orrery initially gives a
Tower of Evil was a fore- gram boasts some 2 0 0 K of tex t, potential buyers? The whole view of the sun and plots the or-
runner to Atic Atac in which you but most of it seems to have point about Hacker is that it bits of the inner planets around
have to guide your character been lifted straight out of the simulates the experience of it. Then, using the cursor keys
through the rooms of a tower, Adrian Mole diaries and is breaking into a large corpora- you can rotate this view allow-
collecting treasure and keys to presented onscreen just as if tion's mainframe nd becoming ing you to observe the solar
other rooms. It's mildly en- you were reading the books involved in its operations. system from any angle, which
joyable, but unsophisticated themselves. There is very little However, just as you would ex- creates quite a fascinating ef-
c o m p a r e d t o more r e c e n t opportunity to become actively perience this in reality, there are fect. You can also use the 'V'
games. involved in the game, and, as far no instructions to help you and 'Z' keys to enlarge or shrink
Stage Coach seems to be as I can tell, nothing of the sort determine what is happening or the view to include the orbits of
unplayable, since, try as I might. of problem solving that is the w hat you are supposed to be do- the outer planets as well.
I couldn't get my cowboy figure essence of most adventures. ing. In other words, you stumble The Planetarium is less in-
to jump successfully from his User participation takes the in 'blind', teresing visually, but perhaps
horse onto the stage coach in form of making decisions for Consequently, there's not more useful, since by showing
order to try and collect the A d r i a n in his a t t e m p t s to much 1 can say about the game you the path of the comet in the
passengers dotted along the become as popular as he can. without giving it all away. This sky it will allow you to trace the
route. The trouble is that this decision isn't a game where you simply comet (and the other planets in
River Rescue is a very simple making process is very limited; have a task to solve well, yes the sky) when it does arrive.
game which allows you to guide you are presented with three op- you do actually, but first of all There are options here to take in-
a speedboat along a river as you tions {along the lines of 'Shall 1 you have to figure out what that to account atmospheric effects
attempt to collect passengers read this poem to Nigel/Pandora task is. What I can say about and to see below the horizon,
and avoid the alligators and logs /the teacher?') and you simply Hacker is that it will take you all and, as with the Orrery, to rotate
bobbing about in the water. The press keys 1 -3 as appropriate. over the world and involves a the view so that you are looking
scrolling river doesn't have There is no opportunity for any search for various pieces of in- at the sky Irom different direc
much variation in detail, and it independent actions or direct formation. tions.
gets to be a bit of a strain on the text entry, and you can only sit Hacker begins with a simple Both programs have options
eyes after a while. there reading great chunks of blue screen, blank except for the which allow you to manipulate
All in all, though I'm not par- text while you wait for the pro- words: 'Log On Please', and the time scale either to travel
ticularly impressed with any of gram to ask you to press a but- from here on it's up to you. If you backwards and forwards in time
the games, they do seem the ton. succeed in logging on you'll get to other appearances of the
sort of thing that might appeal to Admittedly, the text is very into the mainframe and have a to comet, or to speed up/slow
younger children who aren't yet amusing in places, but if all you sort out the information that is down the passage of the comet
up to games as complex as want is to read the diaries, then presented to you. as shown on the screen.
Marsport, so the Sparklers' why not go out and buy the This is not a game that's like Obviously an astronomy pro
Special might make a books? Buying both the Adrian ly to appeal to arcade addicts, gram like this will appeal only to
reasonable present for Mole books would still cost less but for adventure fans and peo- asmall specialistaudience, but it
youngsters around the age of than this program, they won't ple who like to get their teeth in does seem to achieve its aims
ten. give you a stiff neck from staring to a good, infuriating puzzle it's quite well. It's a little expensive,
at the computer screen and probably the best thing to come but after all, Halley's Comet only
they're funnier as well. along since Level 9 adventures. turns up every seventy years or
so, if you're interested why not
GRAPHICS * * * GRAPHICS * * * GRAPHICS * * * contact Anima at; 33 Lilac
* * ADDICTIVENESS * * * *

I
ADDICTIVENESS * * * ADDICTIVENESS * * * * * * Walk, Tyne and Wear NE31 2LT
OVERALL OVERALL * * OVERALL (0632 8 3 2 8 2 5 h

65 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SOUNDS

The Sound Of
The n e w c o m m a n d s are
machine code routines stored in
RAM and the code, once loaded,
can be initialised with one RAND
USR call, which will point the er-

Music
ror vector to the new routine and
programming can them begin.

Extended
interpreter
John Ainslo presents Interface I owners
with some new sound commands for When a BASIC line is entered,
the old ROM checks it for syntax

controlling a Programmable Sound errors. If this test fails, further


checks are done by the Interface

Generator.
1 ROM which now checks the
line for Interface 1 commands
such as MOVE', which gave an
error message in the unexpand-
ed system but will now be ac-
The Spectrum is a poor relation These t w o devices were in- This article outlines the t w o cepted. If these syntax checks
when it comes to making music tended for use w i t h CPU's phases of the project. Firstly the also fail, the processor jumps to
or e v e n s i m p l e n o i s e s t o which use a shared address and method of creating routines to the error handling routine at ERR
enhance games, as it only has a data bus, but can be interfaced enlarge the normal basic is 6 via the address vector created
very simple single channel BEEP w i t h the S p e c t r u m quite described in detail, as the princi with the new system variables
c o m m a n d a n d no n o i s e easily. Register selection and pie can be used to create any at 2 3 2 7 3 5 and 2 3 7 3 6 . These
generator, though by machine data transfers are both done via command required. Secondly, a addresses normally point to
code techniques it can be made the data lines and the device is description w i t h examples, on 0 1 FOH but can be re-directed to
to create noise. set up to receive either by the how to use the newly created the new routines where further
The Programmable Sounf state of t w o control lines BDIR commands to try to maximise checks can be performed, and
Generators IPSGs), AY-3 8 9 1 0 and BC 1. All that is required is to their usefulness. then returned to OlFOh if re-
and A Y - 3 - 8 9 1 2 , by contrast, select a register by setting both quired, thus allowing the addi-
offer three tone channels and
one noise generator, which can
control lines high and then sen-
ding the data to that register The New tion of new commands.

Commands
The extended interpreter first
be mixed w i t h any of the three w i t h BDIR remaining high. The checks the line f o r ' * ' followed
tone channels but these too suf- decoding is greatly simplified on by a letter. It is necessary to use
fer from one serious drawback in the Spectrum by using the IORQ Three new commands have a symbol to stop the entry of a
that programming of the PSG is signal together with the required been created to allow the pro- normal command word, though
long, tedious and difficult as it PORT ADDRESS. Thus OUT gramming of the PSG which will they can be used, as anything
requires a minimum of six OUT 2 2 1 ,X will prepare the PSG for be syntax checked on entry and which fails the normal syntax
commands in basic to make data transfer to register X and run like the normal commands in checks can have further tests
even the simplest tone emanate OUT 223,Y will transfer data Y that their use will be transparent done. For example PRINT *
from the loudspeaker. to that register. The WR, IORQ, to the user, though the means of could be used as a new com
A variety of sounds which A6 and A1 are decoded to give achieving this is entirely dif- mand w i t h the extended inter
can be incorporated into games BDIR and BC1. IN 2 2 1 can be ferent. The three new com- preter checking for token 2 4 5
to improve them and make them used to read the contents of the mands are:- and t h e n ' * ' .
more realistic can be produced last register pointed to by an As there are only three com-
by the PSG. The sounds can OUT instruction. *SOUND mands each with a different in-
range from a simple tone to com- With the advent of Interface * MUSIC itial letter, only a simple test on
plex mixtures of three channels, 1 this can all be changed as the * PLAY the initial letter is being used. If
with or without noise, which are user is no longer confined to us- any of the checks fail, then a
completely under software con- ing IN and OUT commands and but there is no limit to the syntax error is given, otherwise
trol. The PSG also has the ability complete control of the PSG can number of new commands that control passes to the routine for
to continue making its sound now be achieved in EXTENDED can be added by the same that command. The interpreter
while the microprocessor per BASIC. method. then checks the rest of the line
forms other tasks and, unlike the
Spectrum's bleeper, can also
generate chords.
Fig. 1 s h o w s the block NOTES 2 4 9 11 7 9 11
diagram of the 8 9 1 2 which dif-
fers slightly from the 8 9 1 0 in
that it has one In/Out port where C= D= F= G~ A- Cr D= F~ G-. As
the 8 9 1 0 has t w o . There are
three independent tone
generators and a noise
D D A B
generator which can be mixed
with a tone or tones, or it can be
o u t p u t on its o w n . The NOTES 8 10 12 1 8 10 12
amplitude of tone channel can
be set independently to any one
of fifteen values. The envelope OCTAVE
generator amplitude modulates
the outputs and can be set for
fast or slow decay or attack,
•MUSIC SCALE
repeat or single shot.

66 ZX C O M P U T I N G DECEMBER/JANUARY 1985
SOUNDS

for the required integers or The New


variables and separators. If all is
well, then the routine will be ex Commands ENVELOPE 1
ited and allow entry of the line in-
to the program. The syntax used The commands may at first
for the command requires a sight appear to duplicate each
space between the end of the other but that is not the case,
command word and the first in and there is a specific purpose to
teger or variable, but the syntax each.
checker will accept capital or
small letters in the command * PLAY enables the required
word which allows any printout channels and defines the type of
of the program to look like sound.
original Spectrum commands, * MUSIC will give a tone from
except that they are preceded the musical scale.
by a ' * ' . * SOUND will give a tone or
noise of a given pitch.

* PLAY
Software Notes Format; tone channel, noise
channel, envelope shape,
When the SHADOW ROM is envelope period.
paged in, routines in the BASIC
ROM can be called up using RST tone channel 0-7
10H followed by the address of noise channel 0-7
the routine required. In syntax envelope 0-7
time EXPT1 is used to process duration 0 3 2 7 6 7
n u m e r i c e x p r e s s i o n s and
STEND is called to mark the end This command does not actually
of the statement. Progress is produce any sounds but is used
made d o w n the line being to enable the designated tone
checked by use of GETCH to and noise channels selected by
find the ' * ' and NXTCH to ad- * MUSIC or * SOUND. It
vance past it. ERR6 points to the does, h o w e v e r , select the
original address in the BASIC envelope shape and period
ROM which was intercepted to which are common to all chan
enable the new routine. CHADD nets. There are three tone chan-
is used t o read t h e next nels and three noise channels 8
character including spaces. Dur- through which noise is output
ing runtime EXPT1 puts the in- from the single noise generator.
tegers on the calculator stack The effect of combining the
from where they ae retrieved by channels is beyond a simple ENVELOPE SHAPES
FINT1 and put i n t o t h e description and only experimen
Accumulator in the case of 8 bit tation can bring out the full
integers, and retrieved by FINT2 capabilities of the generator. ENVELOPE shape is selected longer defined and will continue
and put in the BC register pair in TONE CHANNEL selects either with reference to fig 2. and to sound until either the pitch is
the case of 16 bit integers. This no channels at all, or any com- takes control of the output changed or it is turned off using
is a programming choice which bination of the three where the v o l u m e w h e n the v o l u m e * PLAY 0 , 0 , 0 , 0 which will
has to be made depending on binary bits of the number in parameter on that channel is reset all the registers to zero ex
the size of the integers involved dicate the channels required. zero. If 2 or 8 is selected then an cept register 7 which is set to
and is not done by the operating The NOISE CHANNEL selection envelope of a fixed length is 255.
system. The runtime exit is is done in a similar manner to the given. Any other choice will
made by a jump to END 1. tone channel selection. The select a continuous sound but 10 REM play demonstration
each has a different shape and 2 0 INPUT "envelope shape";e
will therefore give the sound a 25 INPUT "duration";d
different timbre. The DURA- 3 0 * SOUND 1 , 2 0 0 , 0
TION of the Envelope Period is a 4 0 * PLAY 1,0.e,d
ROUTINE VALUE FUNCTION
value between 0 > 6 5 3 3 5 . 50 PRINT AT 10,2; "Press any
A l t h o u g h the PSG could key to re-enter"
GETCH 0 0 1 8h Gets character from basic into A,
never be classed as a syn- 55 PAUSE 0
NXTCH 0020h Gets next character ignoring spaces.
thesiser the ability to modify the 6 0 CLS
CHADD 0074h Reads next character.
output waveform does allow 70 GOTO 10
ERR6 OlFOh Normal error handling address.
different sounds to be produc-
STEND 05B7h Syntax exit routine.
ed. A sharp attack or rise time * MUSIC
END1 05C1 h Run-time exit routine.
produces a percussion type Format; channel, octave,
EXPT1 1 C82h Syntax check for numerics — puts it
sound and if followed by a rapid note, volume.
on stack if alright.
decay will give a sound like a
FINT1 1 E94h Puts single byte integer from stack in
snare drum. As the attack and channel 1 -3
nA .
decay are lengthened a more octave 0-6
FINT2 1 E99h Puts t w o byte integer from shack in
mellow sound will be produced. note 1 1 2
BC.
For envelope type 2, a period of volume 0-1 5
STAKA 2D28h Puts A on stack.
around 1000 will give a sharp
STORE 5BF0h Eight byte temporary store.
banjo effect and using envelope This c o m m a n d is used to
5 with a short period of around generate a musical output of a
TABLE OF VARIABLE AND THEIR FUNCTIONS
2 0 will give a machine like ef- tone set by OCTAVE and NOTE
fect. and o u t p u t it t h r o u g h the
The duration of the note is no designated CHANNEL "at the •

7 ZX C O M P U T I N G DECEMBER/JANUARY 1985 67
SOUNDS

+5V

PSG CIRCUIT
Figure 1 Diagram of 'he 8912 PSG C. i r r u i '

specified VOLUME. The com- 20 FOR n: 1 TO 12


RFiCtSTEK FUNCTION BIT
mand is fairly complex and, to 30 * MUSIC 1 ,o,n,5
make full use of its capabilities, 4 0 PAUSE 2 0
7 6 s J 2 1 0 experimentation is required. 50 NEXT n
There are four variables or in- 6 0 NEXT o
HO 8 Bit Fine Tone A
Channel A - Tone Period tegers involved in the command 70 * PLAY 0,0,0,0:REM turn
RI 4 Bit Course Tone A with a comma separator bet- channels off
ween each. The CHANNEL
K2
Channel B - Tone Period
8 Bit Fine Tone B
selection is pretty straightfor *SOUND
R3 4 Sit Course Tone B
ward, selecting the channel that Format; channel, pitch,
is required. OCTAVE 0 starts at volume.
K4 8 Bit Fine Tone C t w o below middle C and in
R5
creases from there. (Middle C is channel 1 -6
4 Bit Course Tone C
taken as 2 4 6 . 9 Hz). NOTE pitch 0 - 6 5 3 3 5
R6 Noise Period J Bit Control selects the required semi-tone volume 0 - 1 5
within the chromatic scale and is
R7 Channel Enable
I/O Noise Tone
the same as the Spectrum's * SOUND lacks the finesse of
C B A C B A
BEEP c o m m a n d . V O L U M E * MUSIC, since its output is
ranges from 0 to 1 5 . the not arranged in semitones and it
R8 Channel A - Amplitude Env 4 Bit Control amplitude of the output ranges merely blasts out whatever
R9
from 1 (very soft) to 1 5 {very values are input. It can be used
Ch.-innel 8 - Ataplitudi; Env 4 Bit Control
loud). When the volume is set to to generate complex sounds as
RIO Channel C - Amplitude Env 4 Bit Control 0, control of the output is pass- well as pure tones. However, it
ed to the envelope generator the does include a noise generator
RI t
Envelope Period
8 Bit Fine Control
parameters of which must be unlike * MUSIC which allows
R12 8 Bit Course Control
set in an accompanying " PLAY. the creation of sounds which are
"MUSIC must be used with more useful as a background to
RI) Envelope Shape 4 Bit Control " PLAY, which selects the chan- games. CHANNEL values 1-3
R14 I/O Port
nels being used and the shape of select a tone channel and values
8 Bit Parallel Port
the sound envelope. 4-6 select which of the three
c h a n n e l s the single noise
PSC REGISTERS
5 * PLAY 1.0.0,0 generator will output through,
10 FORo = 0 T O 6 PITCH is no more than a division

68 ZX C O M P U T I N G DECEMBER JANUARY 1985


SOUNDS

10 R£« i t l t l i i t t i l i l l l i l l l U I l 1060 •m 1 4 C/V ? y.r.v t» ?.?.9,V PAtj^F , t .3 9,V PPT.ISE 1


20 REM t 1070 t n 1 , 3 « , v t » ? l . C . X t n 1,1 f,v * »« t .3,b,v PAUSE »
30 RE" » TMF CTttJG 1090 t n 1 . 4 ^ . v t « ? , ? . < " . t f » 3 ! > v PAUSE i tn 1.4 d • V • PAUSE 1
40 REM t 1090 t.r, 1.4 » I *M ?.a,f.w.*n f.V P o n s F 1 t n l , 4 d • PAl.tSE I
50 REM • AY SCOTT JOPUN 1180 th l . i . r . v tn ? 1 t.w*» Pft|l«F 4 tn 1,4 PAi.tSE i
60 REM i 1110 [F "HFH PCTIIR^
REM i i i i i u i i i i i i i i m t i m tn 1.3.9 v t*i
1120 4 I n J , 4 4 . V ' PWJSE 1
80 LOAD I V i l i ' W 6*0M'COOE 1130 tn I 4 f .-., tn 1 tn 7.? 9 , v ° A U S f 4 t » l , 4 , 9 . w PWJSE f
90 LET irtjSR VOL "MM*" 1140 tn ! 4 . J , • tn 2,1.3 V tn 1 ->.PAUSE ... s t » 1 4 . 9 . V P«JSE «
100 IE* "0- LET t»VflL ".3" LET ,2.VAL ••0" LET ,3-VAL • 0" < 150Im 1 4 t 7 ">.» u tn PWJSf » t » ! , 4 . f v PPIJSE t
110 LE* 4-VPL 10" REM ifiKulvti' 1160 LET »3"0. LPT >4>< rn <!II0 LPT t4-S>
1 20 L C o.vflL -20' REM t 'tvtf 1170 »in 3,2,e,l/ ? tr. ' 4 .9. V1 PAltff t
130 LET ,4.vflL •0" ..FT ,3-VA(_ -0": LET «e-VflL "0" 11M tin ) .4 t.v tn In j PAJi SE 1 1 tn 1.4 bf1 ' PAJ' SE I
1*0 LETT ,7-VflL *0 LET ,0.VAL '0' LET ,9-VAL *0" LET «)0-v«L '0" 119!* In 1,4 fc. • tn ».4./t.-./-»n . to 4 0 0.0 PAW8C t
170 LE -«*• REM SET VOLLME TO SUITABLE START LEVEL 1200 to 7.0 ft ft PPl.rtF , t . t.? 9,./ PAUSE « tP 6.0.0.0 PAL? 'E 7 0,0.0
160 REM t t i t t i i t t NOTE ttittt 1210 tn 24.C I P«JtF . tn -J. •• AAlrtp 4 t» ' 4,, v Pfll «E *
170 FT " f LET cs-VBL "2"' LET <j.v«L "3" LET d»-VAL "4* 122C tn t.4-f>.witm ? 1 c.v tn 1.? ./ PA(.1?F i i « | . M , « PAUSE i
100 LET t-vftL "5" LET f-vftL "«•' LET f»«vflL "7* • LET 9-'/rl '6" 1230 tn 1 .4.9.V tn f!.3 t> Tn, 1 ? 9 • Mr !?F 1
190 LET 9»*VA1_ •")' LFT J.VOI. -10" LET b'-VM. "11"' LET t>-YRL -12" 1 ?40tn 3. 1 . C OBI.ICF 1 *n 1. * m. . tn ! 4,t.v1 tn 2 4.c,w PAU'E i
20? tn 1.3. d,.V In 2 4,d-Vto 3 0 0 0 PA(.«E 4 123C ti> l 4 . f • tnT 3.4.ii.v:*« 9 . 1 h . v : e a m c < tn 1,4, f. tn 2.4 dt-V
210 In 1,3- * • Vtn 2-4.f.v "Ai.iSE 4 tn 1.3.e,v tn 2.4.C.V PAUSE 4 1?«0 P3'J?F t |.P 'FT ,1.1 CI f'.IA 490
220 in t.4. < . Vin 2-3-i-v PAJ' SE i tn l,4.b-v tn 2.3,b.v PAU SE » 1270 tn 1 A.r , tn 2/2-^-w t** 3- BftHF i tr, ?,3 » t.B J.2-9.V PAUSE 4
230 lit 1.4. 9• Vtn 2-3 9 PAUSE otn l,4.d.v in 2 3-d-v PPJSE » ,
1200 tn 9.J c •. tn ? .... OWKF «In 1-3 9, i- PPI.H5F «
240 tin 1.4 t ,v. tn 7-3 PAtJCE 4tn 1-4,c-V'In 2,3-c.v PftJSE t 1290 LET .,..«..,-1 , tn 1 3. f,.«tn f . ' ,.r tn PP'.'-F < In 1 V PAUSE !
230 tn 1 31I V tn 2 2 4.y AAIJ^F 4 tn 1.3-b.v tn 2.2.b,v PAUSE t IHW LET .J-1 : In 1 .4,.- V tn p. * » tn 3.2 f.v PAHSF i tp 3 P.0 ft PAUSE t
1

260 tn 13 •9, V In 2 2 9,v: M U S E 0 In l.3.d.vt« 2-2.d-v PAUSE » 1310 tr 7 0 ft 0 t» 1 .1 . V tn fw n«.(SF 1 tr. 1,4 C v P«1CE 4
270 tn 1-3 » . V tn 2 2 t - v F9IJ9F %In 1-3.C.V'tm 2-2.C V °Ai.<SE * 1320 tm 2-3.di.«•*» * ? f* OC . tn 1.-5 , , PA!.I^F ^ in J 8,00 PALS 'E *
290 tn 1-2 I , V In 2-1.4. V- PAi .i
S E 4 tn 1,2b.v tn 2,1-b/V AAIJSE 5 1330 t.P 7.8 ft. 0 In 1 .4 r.\, P» W F m I •>., , en^jsp ,
290 tn 1.2- 4, V tn 2.1.4.v PAI.K.F t tn 1 - 2. 94 , v tn 2,1 9f, v PAUSE » ' 3 4 0 t« 3 9.1/ tn tt ^ . t» t " P«.'SE »
380 tn 1.2. 9,, Vtn 2 1.9 v PAIJSF 4 tt ' 0 9 0,0 PAUSE «' 1LET v»v+2 133-0 te 1.8 A, ft PAI.k* t 7 . sft.ft tn • 4.f PAUSF • tn 1 . 4 . 9 . .. PAUSE »
310 In 1,4, 9 V «* 2-3-b." tn 3 0.9- V is T.0,0.0 PAUSE 4 LET y«v-4* 13^0 tt J. 0 ft ft OAI'CP • .ft ft.ft opt WF « tn 1,4, • y, PftJSE t
320 tr» 13, d ,v i i 22-b.v- tn 3-2.9.>V PAl.iSE f 1 tn l,3,d»,V PAUSE 4 1370 « 1.0.0.0 PAI.ISE • «t 7ft ft.8 tn 1 4.C ""USE « tn 1 3 9 v pause t
339 IE J2»V(*L "I" TttN LET , ip.vfk. 1380 tn 1,3.1 V tn 2.1 t^.v In 3-2-rt.v PA',ep 1 » 1.0 0.8 PAUSE t
1398 ts 7,0.0 0. tn 1.4 t. v PA'ICF 1 tn 1 i »,v tn 2 3 ^ •" tn 3 ! 9 ' PWJE 1
C
340 tn 1.3f .v m J.t.i.v *n 3.2,e-v PAUSE »
330 tn 1 4,c.u PAt.r$F , tn 2 . ? , . v tn 3 . 2 » , v PPL-SE »
c 140.0 tn 1.4 d.v , tn 9.1,b ... 001 V 4 tn 1.4 e-v 1* 2.3-» '
360 lit 1 -3-»,v PAUSE 4 tn l.*.c.y*n 2 2-9 vim 3-!.9-v PAUSE « 1410 PA1JSE 1 >" 1. ? ,V -" PAI.ISF 1 tn 1, .9
1
PALS 'E «
370 1 , 3 . * . tn 2.3 r;,v tm 4.2-bf.v PAI.<?E 4 1420 IF 42-1 CO TO '478
350 tn 1.4.c>v PAUSE »•*» 2 2.f vr tn 3,'.f.v PAUSE o 1430 t" 3.1.*.V PAIMF t tn I 4.4.V tn ? 4.r.V P«JSE t
390 2,3 e - »" 3 ?•» - PAUSE « <i> J 2,«,v tn 3.1 ,«,v MUSE s [440 f 1,4 f.v tn ?,4•d,V T tn 3 ! d," P » l < ! f , t n [ , 4 . f » , > / t . n 2 4 . d i PAf.tSE i
40? IF f3»VAL "1" TWfM RETIJftW 1430 LET t4»voL "8* LE # 1 »7At ft" ' F T , ? - . / A L - 1 - . L E T ,9"VAl. "0"
410 tn 1.3.C.V'** WW.V ' 4 LET v»V*l 1460 LET ,9«VAL "9* LFT 1y 4-ifl
420 tn is,d.w t„ 2-4 f.v tn 1,2,9-vt PfliJSE 4 LET y»i/*l' 1470 tr» 3. t , i .VI PA1 SE 1
430 tn l-3,d4,V'tn 2-4. ft. 1/1 PAUSE «>B LET V«v+t 1480 LET t1«VAL "0*' LP* t3«VA LPT ,4.VFLL 0". LET I9-VAL '8"
440 *n 1.3,«,v*IW 2,4.9. tn 3.|,5 «i A<JSE * 1490 ; .0,0.0 tl» ' . 3, it, V • PAI^F 5 In 1,9 PflUSE t »f 7 n ft,ft
4*0 tr. ; 3-c,v tn 2 PAUSE t m 1,3,d/vtn 2-4.f,v u 3,2,9,v MUSE > :500 IF ,18»ft THF1J I.FT \/»v—T IV) TO V>0
460 tn 1 3,».v tm 2,4.9 v: PrtJSE 4 t .n 3.1.9-v PAf.iSE 4 1310 tn : 5 c.v I» 2-4.»,V tn PAU^F 4 tn 3. 9- PA'JSE «
470 tr 1 4 2 4,d.v 4 t« l,3,d-v«« 2-4-f,vin 3,2,b.v MUSE R 1320 tp *.8 0 ft PAriCF * te 7 ft.ft ft tn 9 !*. r • "A'JSE «
t» 1 3,e.w«n 2.4.t.v in 1 . , R»iSF 1 1330 OUT 2 2 1 . 7 - TT.RR 2 " POIICF 1 tr 7 8 0 ft
490 IF t3*'«. *7" TUFM RFTllRK 1340 IF i7-VAL "<" TWF* ' F T T
5-98 3,1.9-v :
PAIJSE « •**> 3 . 2 . C - V PflUSE 4 LET ^ - 2 v 1350 In. 1,3./ V • tn ?,3,d,vstn 1 f.v< PAI ^F t
3!0 l , ? . d . v i B ? . 2 . b , v * » 3.2.9.>• RflU®? 1 >•> l , 3 , d » , v PAUSE 4 1760 In |,3./ tn ? I n 9 ?.,.v PAl.l^F • In 1,3 f.V In 2 3-d. PAUSE s
5 ^ 0 LET . > V f l L - l " Pi CO "14W 1370 In 3,1.F.V PS "!F 1 TN ' 1 T-V tn 2.9 rt. , OATF .SF 1
530 f f l l ' S f • 1399 tn 1,9 f ,, tn ? I d--' tn 3.? ».,/ PAI.-5E « t » 9 . 1 f v t f 4 . 0 ft. 0 PAUSE s
340 LET i,4.*.v>t« 2.4,c. vtt 3.f ift.v RfW?E 1 LET v-v+1 1390 I* |.3.|." » 2.9.f.v: IP 5.ft 0•8 P A I . « F s
550 »•> 1 ••• 3,3.4,v P».ISE 1 LET v . v *i lf00 tp 7.ft ft 8 In t.i.H.v tn 1».v POI^E i t . v< Pfl-'SE 1
360 *n 1 «•> ? r f j . v t-> 3, • .((.v Pfll^F i 1619 1 4.r,v tn J,l.|.» tn 9,' , v eai« | 1* • 4 d v PAi.lSE s
370 tf 1 t - t . v *«> 2-3 J V % *m 1 *.C.V lm 2,4 3,2 f»,v PPySE » 1620 tn tn 1 4,r,v tn 2.2,».V tn 9,?.f.v PAIICP 1 tn 1 3 . » . / PBI.«E .
! *••• - t* 2 4 P»(SF t I * n ? . 2 . d . v PftJSE 1 163* tn 1 3.9,1' tn 2,9.. v tn ?.c j PAJ' SE
??? 1 3 , d . » * * 2.4 H. v w.icr , *« l,",.c.v 2 . 4 , c , v « p 3 , 2 , 4 - v PW.'SE i 1640 tn 1 . 3 . f » . V I n ?,3.<)« / t n FTNI * tn (, 3,9, V
£00 t n J 4 . » . v * » 2 , 3 POIJ9: 1 1630 tn 2,3 < ./ OAI.I3F 4 f> 3 . 1 9. V PPL.FF 4 tn 1 .3. f i ' »N 2 -9 PAUSE s
613 1 3 <J, ' *•» 7 . 4 * « ? . ? . ! > , » : PflUSE 1 1660 t n 1 1 . ; , . t « 7 , 9 e,w t n 9 . 9 . f . v PARS
620 P^JSW" flit* ?.1>,V Pft.Ktp 1 LET v«v-l !,3,d.v I
. P 1
630 »« 2.2,h.v<tm 3 • -b-w * LET y»v-i 1,3.<J». Pf».«E »
1678 An ! 2,c.v tn tn ">.? /-,vi PAI.ISF (,ln I 4, c • V 'PIKE
JRA0 tn 1 ,4 . f. v • tn 2.3,9,'tn 1.3,R V PATJ^F J In 1 4 . ; . 1/ i
640 LET "2" Ci <;I.IP 1690 t n 1 4 . H . V t n ? . 1 . 9 . . / t n I . I . Q . y r Ppt.K* \ Iff. 1 4 , » . ' PA'JSE 4V
630 *» 3 J 9 opujf 4 t , 3 . ^ , « - t » 3.0.0.0 ! 0 0 tn 1 ,4 . d. v ' tn ? 9 r.u tn
7
»,• DIX.Tt;F , t n 1 4 . r 1, pAIJSf S
t B 1 5 r , ' . . fai 2 4 , r . w P « , I S E 4 » « l - 3 <J.t/ » « 2 4 , d , v PfKJSE > 1710 ]F »"»val "t* t w f h r/\ t o 1P9B
670 3-2-c-" 7.(*.fl.0 i.i.e-w »« 2,4.»,u w>use * |7?0 tn I , 4 . d • V* t n 7 . 9 . b , i / t n 1 . 1 , 9 . ^ 1 PAI.>SF 1
6E0 ir. i - *<« 2 * - r PflWSf. * *•• 1 , 3 d - v m 2 , 4 , a . v * » 3 - 3 / C . v pflOSE » 1730 * n ] . 4 ' t . v ' t n h / . u t n " S . ? . 9 . v AAlJSF < I n 1 . 4
•*B 2.3,6 i> OAi.SE »
6 9 0 *n I 3• * , " 2,4.*.v PAf.itiE i T.t.bf.v PP<JSE s 174fl 3 - ! b - - " PAl < F » t n . . l / ( , » : t « 2 . 9 . b f , P<-'I^F
1730 t « l 1 , 4 . | J , V t n ? _ 9 h . l / P « l « fl
v
700 trt ! " . c . " - * " PPf.'AF 4 t n 1 , 3 - d . v / i t t 2 . 4 , d , v 3,3,t.v P WJSE s
710 *!• I 5 , c , « »" ^,4 r -v « !7W t n 1 . t . 9 , 1 / t n 2 9,v tn *> ' 9-v PAI.HF « t n 1 . 4 t . PA t«F
-20 tr> 1 ?.» vet" 2.4 ».v i» 3 1.» w R«ij<if 5 lit 1,3-c.v *r 2,4.c,v PAUSE * 1770 t n 1 , 4 , J . I / t n 2 tro 9 , 2 9 . v pei -CF t m 1 .4 . f PAJ ' SE
t?0 *m : 3 d.v «» 2 4-d.w »« 3 > f.y «•»« I S,*,v»» 2-4 PftjSE s 1700 t n 1 4 . 9 . 1 , I n 7 7 . /I u t n "> . 7 . H - u DDI >CF , tn 1 4.4. PA".S 'E
-"40 th 3 1 «•"< MIWF 4 »« ' ,3,c• v t* 2 4,c,v WJSE » 1790 1 4 . 9 , v ' t n J . 9 , 9 . v t n 7.Q.I,, paiie^ s -t- 1 4,f PA > «
iS
730 t« 1. 2,4.d,vt« - s . t 1900 L E T v « w » 2 I n • . 3 <-.1 tn 2.3.f4.v PAfjSF t
76? In 1 ' . * w «* ? 4 r. • » »» ' *.»-•-' »>i 2 4 s,v*« 3.t,9.v PflUSE t 1810 IP 6 8 8 0 PAl.'SF • to 7 ft ft.ft PAij^F ^
770 tn 1 3.c." *n 7,4.t 1.1 PftlftC . t> (J., »n J4 f,v*P 3,3,C'V PAUSE t 1820 0t.fT 221 ,7= 01.T >27 7*5 PAI I K •> .ftftft
7f0 *B 1* # vf. tn 2.4 9 • MI.ICR «. lejf O.iT 221.7 ni.rr . 7'.'. Bflii^r •
790 tn 3 i.9,v P».I«!E »'*» 14 b.w *« 2 4.d-v P«JSE » 1040 tn J.4 > / tn 7.1.f«,v *n 1.7,o.v te 7,8 ft ft PAN* F 4
d 2 4 Tr, u t» 3 2-b.v ROJiSE « 1«30 tn 1,4 9.v tn 7 l.r tn 1.3 * v PO'.«F i
910 IF j f - l THFM CO 0 97?
900 1
• 10W LET 3 ' 0.0 ft tn 1 •),-),„ « tn 1,3.4,v PAUSE 4
920 »ii 1,5 c,w*i» 2 4 *jn 3.2-c.v i 1A70 tn 1 3.9 V PA!-.t<F <11 tn ' ,9 »,v "».P5F -3 tn 2-3.(4-v tn 9. ! C . /
930 tm 3.1 -9'V PW.l?F 1 1890 LFT |7«VAL "I - I".* T^ "4ft
940 LET v.v-1 T - «.v> RftiwF n 1090 tn 1 9.«.v In 7.9,f.V tn 9. 1 .f.v: PAI 19F ( tn '.J.g! ... FAl.lSE 4
03" LET w i t* 1 3 ri.v-tr, 3 2.b-« »« 9,l,b.vi PAUSE i 1900 In 1,3.» i/ in 7.? /I.v-tn t I,/).,/, &AIJ4F . . f n 1,4-9, tn 2,3.|.v PAUSE »
960 ** 1.3,di.w ORi^ 4 .FT 4-wvor. -0" l€t *6»1 • LET v»v-2- GO TO 340 1910 tn 3-1 * i/- PAW i F <.tn V4 f. PAI !9F , tn t J.f PAJ' SE 4
970 LET O.VAL "ft- 1920 tn 1 ,4, c -VI PA""!F 1 In ' i ».V tn 7.9 9 j In 9.' •). -j PAI.iSF 4
SS0 IF H0«1 ThPH r/\ rn 1^10 1930 tn 1.4 , j P&I<?F . In I 4 » In 2.3,» v • tn 3,2-9 './ PA'9E 4
'» 1 5 - c 2 - 4 • «- 1 ?.C.v MUSE «'*• 3 1 9.v PWJSE i 1948 »n 1.4,»,1/- P«,lSF • In 7 tn 1 PAI.«F 5
900 3,l c,v+l PftKF «, 1.4 2 4.c v PBLS ' E i » 3,®, 0.0 1930 tn 1,3.r,u PA*.ICF « t . 1 4.9,1/ In 7 »n 3 2-9 v- P«JSE 4
910 1.4 2.4 H.v <>fll)?E 1 *B l,4.fs V 2,4 df.v PR.i»SE s 1960 tn I 4., yi PAm CF « in I 4.r,,/ In ?.? f i . v t n 7.1 • ,./. PAMSE 4
920 IP 7.ft e.0 1970 t P 4 ft . 8 ft POI-^F f f r 7 1 , d.v tp 7 ft 0.8- PAUSE «
930 t» J.4 <).v tn 2 4 ».,.• »», ?.<.c-v»«i 3,(,c>v< PWJSE 11 1990 tn 1 . 4 . ? , T ( , v tn 9,1,9 , tn 5.4.d.V' AALS 'E S
940 »t> j.4 2 4 ». j »« 3.2.c.v PAIJSE » ' 4-9,v tn 2,4,*,v In 3,l,b,l< PAI-SF . tn 1,4,c.v In ?,4 PAI ^F ? tn 3,J,CV PAI.ISF 1
930 ;F " i * T ^ V I CO TO '0">ft 20« JF nA.ft TtlFH CO '8?8
ip »i«vfls. "1" f*r> >3«v»l "I" t k f u co to 900 2010 C O TO 2*38
970 IF J3"V«. "1" TkpJ WTTIP 'M 2020 4P I ,0 ft,8 tn ' 4.0.v »A' ^F i n i , r > • Pflti^F « tn 1 . 3 . 9 . . ' PBJSE 4
wo P«JSE * 2030 »n 1.9 PAI.I<!C 4. (FT ,A.V<» " f ' PT ,7.VAL -A", FT »3"VA! "0*
990 t* 3 1,} v. Pfli « » • t.n 1 . 4. m, V • *» 2 4 r, w PWUSE 4 2040 tf 7.8-8.8 CO Tf) I "14 ft
t00ft tm 1.4 tn 2.4 trn 3,3,C,WPALISE i tn t.«.f»,tf.»ir 2,4.04.V PAUSE 1 2050 LET VI/* 1
1010 IP <3-1 RNO tl"t Ti*v ITT ,9. CO TO 930 20i50 tn 3.1.9.V AAL.S l F 4: T.FT -./•!/+1 tn 1 5.C t n 2 . 4 . ., t n 3 , 1 ,r.,
f PAt.lSE 4
1020 LET . 3 - V F t T 00 «1.IP 2070 *P ft.0,0 ft ST'*
1030 PAUSE , ERA9F I , <-THF 9THJC"
1040 IF .4-VPl. -1" TUFN RFT>.I9W 2099 SAVE *"n",].. "TMF 9Ttnr- lilt 1ft
1050 tn 3.1.9../ PBIJV ( t> t , 4 . • . v Pfil«.F j 2100 '/ERTFY f»»lli,-THE STTMC"

- ZX C O M P U T I N G DECEMBER/JANUARY 1985 69
SOUNDS

HEX DISASSEMBLY OF *C0MMRH0S FB18 B7 03 07 94 FBRC 2C C2 F0 01


FB1C IE FE 10 30 FBB0 07 20 00 07
FR00 01 08 FR FD FR8C 01 87 21 27 FB20 33 R7 20 02 FBB4 82 1C CO B7
FR04 43 87 5C C9 FR90 FR 06 00 4F FB24 C6 10 32 F1 FBB8 03 07 99 IE
FR08 D7 18 00 FE FR94 09 7E 23 46 FB28 3B 07 99 IE FBBC 79 32 F1 5B
FR0C 2R C2 F0 01 FR98 4F EO 43 F3 FB2C 79 32 F3 3B FBC0 78 32 F3 5B
FR10 D7 20 00 CB FR9C 5B 07 94 IE FB30 78 32 F3 5B FBC4 3E 0B 32 F0
FR14 EF FE 6D CR FRR0 FE 07 30 48 FB34 07 94 IE FE FBC8 5B 3C 32 F2
FR18 3F FR FE 73 FRR4 3C E0 4B F4 PB38 07 30 IB R7 FBCC 5B 07 94 IE
FR1C CR EF FR FE FRR8 3B 47 3R F3 FB3C 28 18 F5 F5 FBO0 FE 09 30 47
FR20 70 CR 83 FB FRRC 58 18 07 CB FB40 FE 04 30 13 FB04 R7 28 02 C6
Ffl24 C3 F0 01 F1 FRB0 19 CB B9 CB FB44 C6 07 32 F0 FB08 07 32 F5 3B
FR28 06 8E 06 30 FRB4 IF R7 10 F7 FB4S 5B F1 06 01 FBDC 3E 00 32 F4
FR2C 06 07 0? 83 FRB8 32 F3 5B 79 FB4C 87 32 F2 5B FBE0 3B 3E 07 32
FR30 03 34 03 E9 FRFC 32 F3 SB 07 FB30 3C 32 F4 3B FBE4 F6 5B 07 94
FR34 04 R2 04 60 FRC0 94 IE FE 04 FB34 18 IB 07 F9 FBE8 IE FE 08 30
FR38 04 20 04 E6 FRC4 30 26 R7 28 FB38 24 C6 04 32 FBEC 2E CR 27 CB
FR3C 03 RE 03 07 FRC8 23 F3 C6 07 FB3C F0 3B F1 3E FBF0 27 CB 27 32
FR40 74 00 FE 20 FRCC 32 F0 3B Pi FB60 06 32 F2 3B FBF4 F7 5B D7 94
FR44 28 08 FE 3R FRD0 D6 01 87 32 FB64 32 F4 38 3R FBF8 IE FE 08 30
FR48 28 04 FE 00 FRD4 F2 3B 3C 32 FB68 F3 5B 32 F3 FBFC IE 21 F7 56
FR4C 20 F1 07 82 FRD8 F4 5B 06 03 FB6C 3B FE 20 30 FC00 86 2F 32 F7
FR30 1C FE 2C C2 FRDC 21 F0 3B 7E FB70 E3 06 03 21 FC04 56 FE FF 28
FR34 F0 01 07 20 FRE0 03 00 23 7E FB74 F0 5B 7E 03 FC08 15 06 04 21
FR58 00 D7 82 1C FRE4 03 OF 23 10 FB78 DO 23 7E 03 FC0C Ffi 3B 7E 03
FR5C FE 2C C2 F0 FRE8 F6 C3 CI 03 FB7C OF 23 10 F6 FC10 DO 23 7E 03
FRS0 01 D7 20 00 FREC 07 F9 24 07 FB80 C3 CI 03 07 FC14 DF 23 10 F6
FR64 D7 82 10 FE FRF0 74 00 FE 20 FB84 74 00 FE 20 FC18 C3 CI 03 07
FR68 2C 07 20 00 FRF4 28 08 FE 3R FB88 28 08 FE 3B FC1C F9 24 RF 32
FR6C 07 82 1C CD FRF8 28 04 FE 00 FB8C 28 04 FE 00 FC20 F0 3B 32 F1
FR70 B7 05 D7 94 FRFC 20 F1 07 82 FB90 20 F1 D7 82 FC24 3B 06 0E 21
FR74 IE FE 10 30 FB00 1C FE 2C C2 F894 1C FE 2C C2 FC28 F0 3B 7F 03
FR78 73 R7 20 02 FB04 F0 01 07 20 FB98 F0 01 07 20 FC2C 00 34 23 7E
FR7C C6 10 32 Ft FB08 00 D7 82 1C FB9C 00 07 82 1C FC30 03 DF 10 F3
FR80 58 D7 94 IE FB0C FE 2C C2 F0 FBR0 FE 2C C2 F0 FC34 3E 07 03 00
FR84 FE 00 30 64 FB10 01 07 20 00 FBR4 01 07 20 00 FC38 3E FF 03 OF
FR88 R7 28 61 06 FB14 07 82 1C CD FBR8 07 82 1C FE FC3C C3 CI 05 00

of the clock frequency. A small 65 * SOUND 1,12 * p , 5 then programmable divisions of table contained in the program.
number will probably have your 67 PAUSE 10 this frequency by PITCH or pre- This base value can be altered to
dog jumping around as the 70 NEXT p set divisions for NOTE and OC tune the PSG to a piano or other
sound is ultrasonic. VOLUME is 80 * PLAY 0 , 0 , 0 , 0 TAVE. The PSG has a maximum musical instrument and the
the same as the other com- clock frequency of 2MHz and o t h e r 1 1 v a l u e s c a n be
mands, 1 (quiet) to 15 (very values as close to this as possi- calculated by repeated division
ble are preferred. The table to obtain the other values and in-
The Shape of
loud) and 0 to enable the
envelope to control the output. within the program uses as its serted into the program.
* SOUND must be enabled Things To Come base the C two octaves below
middle C — a frequency of 65Hz
with the appropriate selection in
the * PLAY t o enable the which is the base for all calcula-
selected channel and is turned It is not possible to tune a keyed t ions and is OCTAVE 0. NOTE 1. C 1777 (65.4Hz)
off by * PLAY 0,0,0,0 . instrument to a diatonic scale The components specified in the Cti 1678 (69.3Hz)
e x a c t l y , and so the equal Circuit gave a frequency of ap D 1584 (73.4Hz)
tempered scale was evolved, in proximately 1,86MHz. There is D tt 1495 (77,8Hz)
which every interval has the a fixed division of 1 6 inside the E 1411 (82.4Hz)
10 REM sound demo same frequency ratio of 1 2 2 PSG and this resulting frequen F 1332 (87.3Hz)
15 * PLAY 1,0,0,0 (1.05946) a complete oc cy of 1 1 6.25KHz is the output F ti 1257 (92.5Hz)
20 FOR p 1 TO 5 0 0 STEP 10 tave having a ratio of 2:1, being when both course and fine G 1 186 (98.0Hz)
30 * SOUND 1,8 * p , 5 effected in twelve notes. registers of a channel are set to Ab 1 120 (103.8Hz)
40 PAUSE 1 0 The tones generated by the zero. This frequency is divided A 1056 (1 10.0Hz)
50 * SOUND 1,4 * p,5 PSG are obtained by dividing the by 1 777 togive 65Hz, so 1 777 Bb 998 (1 16.6Hz)
60 PAUSE 10 clock frequency input by 1 6 and is the base value required for the B 942 (122.5Hz)

70 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SOUNDS

aO'0 1 "SOURCE COOE 0ND RS3EMBLV LflNQJPCE" Fft5E C2F00) JP VI7 . FPPfi
00?0 1 "FOP FXTENDED PftSIC * COMHRNOS" FP^t 07 0^70 R9T 10U
0030 1 " t c MRFDUPPE PNO SOFTUflRE" FP62 2000 0900 C'FFU wyTc^
0040 i ' COP VP T GMT FPIF.4 07 P?T
0030 ) Ffi-53 521C 0^00 C-FFH FXPTI
ptnf.pi f FP67 FE2C 09! 0 CP M It
FA30 0070 ORG <54000 0" 09;0 «T 10W
; Fflfip 200C 0O3O DEFW wyTCH
009O i FP6C 07 0940 P<!T IflM
0010 f l f f l RFTRW FQII 1PVI FPFD 021C hBFM cypn
0020 01 »n »WTCM EW FAIJF CDP703 rfl! 1 C!TFMr>
0074 0120 CMflOO EW 74U 0970 •
O1F0 FPU*? FQM 01F0M 0990 I
0397 0140 CTFMD F0U 03P"'H !

03C1 0130 FN[>I W 1M FP?2 07 VM •0M


1C32 0l£0 FVPTI ESU FFL73 ?41F (0(0 f-FFlJ FJHT1
1E?4 0!T*o FJNTI Fflll 01F94M FF)0 1020 rp •6
tFJ? 0180 FT NT? EW FFI77 ? 0 7 ? 103P |R WR.FRPH
2028 0190 STAKfl FQtJ 20? FP7? P7 104-? RNO fl
36F0 FL?00 ISTP FWJ 3PF0M FR7FL 2002 1030 JR ''7. VM'
0210 FFI7C CS10 3 060 pprs 16
0220 FP7E 32F13B 1070 v«t '.0 >. A
r w e OIPSFP 0230 1,0 c r c-rftpT J 090 1
'.6 1.390 1
FPO" C9 0250 PfT FflRl 07 ' 100 tJflTF R^T 10^
0260 Ffl?2 941E |110 -EFU FJMT!
0270 ) Ffi?4 FFpO • 120 TP 13
FFLNS [>7 07CI0 P«!T 30^4 1 I-50 JR nr.FPPM
FPAP 1 son 02' .FL R>FFU C^Trn FP89 R7 1 '40 p
?A0B rrr^ 0300 •t > FPfi? 2061 1 JP 7-FPPM
FFIAR C2F001 0313 JP H7.FDOfi F « e 0601 1 '60 9IJP (
FRIO 07 10W 07 1170 pr*. fl
FPV 2000 0330 wxrr.H FP3E 1190 LO ML • T PPLE
FOl" C*F r A-MO FH9! 1 '90 LO 9-0
FRl? rE6r> 0330 CP "t ' FP93 4F 1 200 1.0 C.P
FOi? CPoFrr 0360 ;P 7. M! 1^.1 r FP94 09 1210 POO WL .PC
FRIA FF7? 0"70 rp U f II 7E l??0 •.0 A.f m. >
FP!C CAEFFP FNSO JP - . sOi.ND FA96 23 1230 ML
efliF FPro 0^90 TP •P« FP97 46 1240 1.0
FR21 CfiSIFR 0400 JP 7.PI.AV f ^ P 4F ! 230 1.0
FA2<S C3F0O1 0410 IP FffPfi FP99 E043F35P 1260 LO
04?0 1 1279 >
I2»0
0440 Ffl9D 07 1290 OCT P<;T 10H
0410 FP9E 94 IF 1300 OFFU FINTt
Ffl?~ F10'" 04*0 Tfl0l F r-FF(j 1777 Ffift0 FEP7 1310 CP 7
0470 "IFFU FPR2 304B 1320 JR NCFRRM
FR2P 04£0 i)FFy 1».Q4 FRP4 3C 1330 IMC P
FR2D 0703 0490 V»FFM 149*; FPP: E04BF47B '340 LO RC(MSTP*4>
'P2F 0300 OFN.J 1 4'1 FP09 47 1330 LO
FR31 (VM0 OFFIJ FfiPfl 3RF33P 1360 LO ft,<MSTR+3)
FR3~ £904 OFFL 12*7 FPPD 1007 1370 JR COUNT
FR33 P204 0*30 OFFTJ 1 FRPF CB19 1390 HALF RR c
RFL^- (K0O4 0340 OFFU ' 1?0 FPB1 CB89 1390 PF9 7,c
FfO? 2004 0330 OFFM FPB3 CB1F 1400 PR A
FA3f? ECTO 0' -0 FP83 P7 1410 AND fi
Ffl^C RF03 PIF.RO NFFU •547 FPB6 10F7 1420 COUNT 0. N? WfiLF
0390 FRB0 32F33B 1430 LO
ptf.po FflBB 79 1440 LO P,c
0£«0 "Mt.Ktr FRBC 32F33B 1430 LO (MSTP+3)jP
06IO "FITTFTL/F 1460 t
0620 I NflTF 1-12° 1470 t
063« •".Til 1 IMF FR6F 07 1490 CHPN R9T 10W
CW40 FPC0 941E 1490 DEFU FINT1
0630 ; FPC2 FE04 1300 CP 4
J "Hl^tC -YHTpV" FPC4 3026 13'0 JR NC.FRRH
0670 f FRC6 P7 1320 FTND p
A-30 t FPC7 2823 1330 JR Z..FRPM
Ffl?F 07 0*90 MI.IRJf P^T 10U FPC9 F3 1340 PUSH AF
FR40 7400 0700 OFFU CMPRJR- FPCP C607 1330 POO 7
FA42 FF?0 rt> <i <i FPCC 32F03B 1*60 LO <MSTR>,P
FP14 2908 0720 FPCF F1 1370 POP PF
FR4g FF^ft 0730 CP •T . •» FPO0 0601 13P0 SI© 1
FR4ft 2P04 074FL JP r .MI FR02 97 1390 POO P
FR4P FEOt> 07?0 ro FflD? 32F23B 1600 LO (MSTR+2>,P
FPdr ?0F1 07<0 10 H? Ml r FPD6 3C 1610 TKC P
FR4F t>7 077ft Ml P«.T '0M FPD7 3SF430 1628 LO
FR4F 0?9< 05FW FXeTi FROP 0603 1630 LO 0.3
Ffijl FE2C 0?9O CP TT M 1640
0000 M7-FPPC 1630 1
FR36 07 0«)0 FPOC 21F038 1660 OITPT LO HL.M^TR
FR3? 2000 0320 r>FFU w/rrH FPOF 7E 1670 LOOP LO P.(Hi.)
FR3° 07 FPE0 0300 1600 OUT <22I >.Q
RT
FR3P 921C 0540 DFPU EX ' FPE2 23 1690 R^C ML
FFI-R FE?C 0*30 C P II t •• FPE3 T E 1700 1.0 FMHL>

7 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 71
F8E4 030F 1710 OUT <223>.«
FAE6 23 1720 IMC HI
FRE7 10F6 1730 OJNZ LOOP FB56 07 2580 RPPC; C-TT
FRE9 C3C105 1740 JP FNOt FB57 F924 2596 OF Ft,' 24F ,5 y
1750 >
17*0 > C604 261 ft Cf FTTIR.
4
FftEC 07 1770 ERRK RST 10H FB5B 32F(15B '.0 ' >*r,ro\ ft
FfiED F924 1780 OfFU 24F9H FB5E Ft POP o r
1790 t FE15F 1.0
1
1900 ) FB61 32F?°;R ">
1910 i FB61 '.0 1 W'TC»4 . .n
1820 J "CHPW. t-* H FB67 2670 C.. ( »•" 'pi.^ V
1830 I "PE®0-65335" FB fift 32"558 2680 10 tW ' p i f i . a
1840 } "VOL 0-15" F K O FE2C RP
1R50 I FP6F 36E5 2700 « wr. FRR«.
1860 I FB71 060? ?7t fS c? LO
1»70 | "SCHJMO SYNTAX" FB'3 2!Fi»5P ?720 F-, 'J1 M"TP
1«80 $ FB7f "E ' OOP* ' 0 P.fM ^
1990 f FP77 2740 OIJT
FREF 07 1900 SOL'NO RST 10H FB79 23 TN* »L
FRF0 7400 1910 OEFU CHftOD FB79 I ft, H'. >
F8F2 FE20 1920 CP H H FB7P 030F ?77fl LT!»T ( \ , A
FflF4 29GS 1930 JR 2/St FB70 23 27S0 iisr K
F8F6 FE3P 1940 rp W.H FETE 10F< 2790 0 IK7 L 0C p,:
F9F8 2904 1950 JR 2,$1 FB80 C3C105 IP FtT)l
FRFfl FE0D 1960 CP 00" 2P10 i
FftFC 20F1 1970 JR NZ-SOUND 2820 I
FAFE 07 !9R0 Si CST 10H "TO-JF f>-7»
FAFF 821C 1990 OEHJ FVPT1 I "•.'OTSF FT-7 '
FB01 FE2C 2000 CP ni n "FIJ'J -FL-S"
FBC3 C2^001 2010 JP NZ.FRRi?
Fee? 07 2020 PFIT 10H
FB07 2 m 2030 OECW NXTCH ) "Fi fty syNTfiX"
PR09 07 2040 RST 10H SFTS
' FL
FB0« 821C 2050 OFcU FXPT1 FB83 07 2900 PLPv rRS
T

FB8C FE2C 206? CP


la* n FB84 7400 291P -FF[,'
FB0E C2F001 2070 JP FB3f FF?0 rp •1 n
FBI 1 07 2090 RST 10U TB89 2930 IP ^ 01
FB12 2090 nrcu NYTRW FB88 FE38 2940 i^P II . M
FB14 07 2100 P?T 10H rpnc 2804 '950 t . Ol
FB15 921C 21^0 OEFU eypTi FB9E FFftr) ©OM
FB17 COB705 2120 rw TTRTJR. Fp<Ji> 20F1 297P .IP P' FT';'
2130 i FB92 07 p> QE*
2J40 ; FB93 •32 "C Fypn
2150 j "SPI.WR. WJN-TT^R" C B95 FF2C 3000 CP n li
21*0 1 C B97 C2F001 JP FPP<f.
2170 Fgop o- "020 9,T 10H
2I«FL s FB98 2000 3030 OFFU
Ff tft 07 2190 VOLS 10M FB9D 07 3040 P^T 104
FB1B IF 2?O0 OFFU FJMT1 S21C 3050 OFFI,: Fypr,
TP FE2C CP
H II
F8I0 FE10 2210
FB!F 303? 2220 Jfi rpoe. FB92 C2C001 3070 ip
?B2! 97 2230 ftWft ft FBR5 'PI-50 PO* <£U
FB22 206? ?24PI JR \i? M*. 1 FB96 20O0 PlFF'J SIX"-J
FB24 C610 900 t f FB9S 07 3100 1 pu
Ffc26 32F158 2260 VS1 '.0 ( M«TPj.t ),q FBfl? 821C OFF,,. FVB-1
227P ; FBflB FF2C CP M <1
?2FT0 i FBftO C2F001 ">130 P
FB25 07 PER P?T 10U FBBC 07 3140 5<!T
FB2P 991F 230^ OFpM PINT? FBB! 2003 3150 ',-C.; w y r u
FB2C 79 23TP LO P. 7 FBB3 07 't'fft 10IJ
FB20 32FO«"R 2320 LO ' MC.TP*. 0 FBB4 82' C 3170 '-EFlJ FV-'i
fB?0 73 LO ft.C! FBB6 COB70* 1
FB31 32F55R 034fl f M'^TD+e > . r
i.O TlfW i
2350 32«0
2360 J 1210 ; p fty H»L-T"<R"
,
FB34 07 2370 CWNS &ST 10H 220
FP35 94 IF 23 s 0 O'FI.) FT's'TF 3230
FB37 R?07 23?P CP 7 FBB9 17 r>FQPi_ RST INU
FB3? 30 3 P <p NT.FPR5 FB8R 591F OFF;.' FtW?
FB3B 07 2410 ft FBBC 79 32*0 1.0 ft.C
FB3C 2918 2420 JR FBBO 32F15B 3270 LO ( PL^TR* 1 'i.P
FB3F rj 2430 FLF FBC-0 78 12150 LO ftp
FB3F F5 2440 PIJSW PF FBC1 32F35B 3?9{L LO
F£40 24J0 CP 6. FBC4 3E0B 3300 LO ft, M
-B42 3? 15 246? IP WC.CI FBC6 32F(>5P 3310 II s O
FP44 rsR" 3470 -
FBC9 3C 3320 rsir ft
FB46 32F<V5P 24R0 LO ( MS TP >.Q FBCP 32F25B 3330 LP
F949 Ft POP PC TVifi :
FP4ft 0691 QJP 4 f
FB4C 87 2«:!0 AOO ft FBCD 07 3360 ENV P<!T 10H
FB40 32F25B 10 FBCE 941E 3370 OFFU FTMT1
F550 3C 233ft t sir ft FBOO FE09 33«0 rp Q
FB31 2540 LO FB02 3047 3390 JR NC.fPRP
FB54 1818 2*50 IR C2 FBD4 87 3400 PNC) ft

72 Z X C O M P U T I N G DECEMBER J A N U A R Y 1 9 8 5
SOUNDS

F8D5 2902 3410 JR 2.EW1 FC18 C3C105 3010 JP EN01


FBD7 C*07 342C POO 7 FC1B 07 3«20 FRRP R?T 10H
FB09 32F530 3430 EW1 LO (MSTp+«;>,p FC1C F924 3830 DEFW
FBDC 3E0'J 3440 1.0 P. 13 3840 }
F8PE 32F4T-8 3430 L0 (fi^TP+4 >, ft 3850 i
34*0 i FC1E ftF 38*0 RF^FT X0R ft
3470 i FC1F 32F05B 3870 L0 f M'TP . fl
FBEl 3E07 3480 NCite;c L0 ft.7 FC22 32F15B 3880 L0
FBE3 32F65B 3490 L0 <tisTP+*>,fl FC2S 0S0F 3890 i.O o. 14
FBE6 07 3500 J?$T 10H FC27 21F05B 3900 ft^OtN L0 HL.^TP
FSE7 IE 3510 OfTU FTWT1 FC2fl 7E 391ft L0 p. ' HL >
FBE9 FE08 3520 CP ft FC2B 0300 3920 ffi.IT <22' Vft
FBEB 302E 3530 .K? 'JC. FRRP FC20 34 3930 INC <HL ^
FBEO CB27 354? $L ft ft FC2E 23 -J940 I"C HL
FBEF CB27 ^550 SLP p FC2F 7E 3950 L0 p. <HL>
FBF1 CB27 35*0 p FC30 03DF 39*0 OUT <223 >.ft
FBF3 32F75B 3570 LO <MSTR+7>,ft FC32 10F3 ^970 0JN7 ftflflT'J
^5P0 > TC34 3E07 3980 LO P. 7
3590 i FC3«? 0300 3990 OUT
FBF* 07 TONE RST I0H FC38 3EFF 4000 L0 ft. 255
FBF? ?41F 3*510 OFFU eruTi FC3ft osrr 4010 OUT < 223)•P
FPP9 FE08 3620 CP 0 FC3C C3C105 4020 JP fNDt
FBFB 30 IE 3630 JR NC,ERPP 4030 EN0 FN0
FBF& 21F75B ^40 10 HL.M^TR+7 EN0 FC3F 8Gft!N FC27 RfSET FCtF
FC0« B* 3650 r* <FL> ERPP FC1P LOOPP FC0F Tl FC01
3*^0 1 TONE FpF* Nni^F FBF1 FNV* FP09
367f^ > ENV FBC0 PERPL cpr- P< C P92

FC01 2F 36A0 T( rpi PLftY F9S3 LOOPS c?


FC02 32F75P to' (N«!TP*7>.P CI FB59 ERR? CHftNP Fn-14
FC05 FEFF ->70P TP 255 PER FB29 VS1 FP2* VOLS FPtft
pre? 2915 37! 0 1R 7,pccrr SI FftF^ sown Fft»F FPP" tPFC
FC0? 0*04 3720 ft.4 LOOP FftDF 0UTPT FftOC <"HftN CPRF
FC0B 3730 L0 Hi M«TR COUNT' FR86 HftLe epflF OCT Fft9D
3740 LOOPP L0 C
FC0E 7E ft,<HL> NOTE Ffiftl VM1 VM P'2
FC0F 0300 3750 Ot.rr <220.fi Ml Ffi4E MUSIC Fft3F TftftLE FP27
FC11 23 37*0 INC HL START' Fflce IN1T CP00 M<?TP 5PF0
FC12 7E 3770 L0 STftKFI 202B FINT2 1E99 CTNT; !E94
FC13 030F 3780 01J T EXFT1 1C02 EN01 05C PTFN0 05P7
FC15 23 3790 TNC HL ERRS 0!r0 CHflOO 0074 NXTCH 0020
FC1S 10F* 3800 0JN7 LC0pe GETCH 001ft • 3E*8

day money from now on.' And

% Tortoise Wise ^
they did, though not without
protest. Not to me, but to each
other.
'This is ridiculous,' said
Number One Hare tohis brother.

Lines from a parent who gets left We'll never be able to afford
to read when we get back

behind. By David Stewart. home.'


'Excuse me,' I interrupted.
' You could go along to the Public
Library.'
'LIBRARY' they mouthed
slowly as if the word were part
of a foreign language. I could see
they w e r e s e a r c h i n g their
memories for data entered a
Oh Boy, is Winter realty upon toms. Pale faces, vacant stares, the third or fourth day away long time ago on that part of
us? Is it nearly Christmas twitching trigger fingers, wak- from their computer, when I tell Western Childhood.
already? Will our telly screens ing us up in the middle of the you that they began to READ 'Oh yes' they sighed. 'You
soon be tempting us to part with night and pleading with us on their BOOKS. That's right, a can borrow books there, can't
our hard earned cash in order to bended knees to take them in g o o d old c o v e r to c o v e r , you?'
fly off to sun drenched beaches search of the next day of a dark bleepless book. Real old fashion- I wonder, Tortoisewise, how
and warm seas? Most of our cool corner with a Spectrum and ed PAPER and INK. many other words, concepts
friends are still haunted by the a program or two. But we re- And, when they finished the and expressions in this great
nightmare of the last Great mained adamant. first, they asked tobe allowed to language of ours are buried that
British Summer. We'd been 'Enjoy the scenery,' I said. buy another, and then another, deep in the vocabularies and ex
tempted this time last year and 'Look, see that? It's the sun. It and another and we couldn't periences of today's young
this summer we took the t w o gives us daylight. Remember stop them. They took to books micro addicts? It's a thought for
boys to where the skies were Daylight?' And they tried. They like people take to aspirin for Tortoises everywhere. And that
blue, the sun shone every day, tried hard. With the most ex- hangovers. It was costing us a reminds me, thanks to all of you
TV programmes were hardly traordinary results. . . fortune in foreign currency and who have written and told me
ever in English and they couldn't We had taken a book for each hours every few days to find a stories of parents who get left
get their busy little fingers on a of them to ease the pain in those bookshop. behind w hen it comes to their of
keyboard or a joystick. micro-less weeks. You may 'Look,' I said in desperation fspring and computers. Keep
There were or course the judge for yourself how once more. 'You will have to buy them coming I'll be featuring
usual painful withdrawal symp- desperate they had become by your own books with your holi- some in this column next time.

7 ZX C O M P U T I N G DECEMBER/JANUARY 1985 73
Harwood's
computer data. This data is the
bulk of the game.
The wargame is moulded
t o g e t h e r by using various

Hypothesis
u t i l i t i e s , ie TABLEMAKER,
A R M Y M A K E R and MAP
MAKER. These utiliiies set upall
the necessary wargaming data.
The TABLEMAKER utility is
used to set up the CRT's (not
Cathode Ray Tubes but Combat
Resolution tables), which are
basically the standard rules of
the game, eg number of turns
per side, weapon usage, etc.
This month we have only four and this I am told, is half the fun It is possible, using the book ARMYMAKER is used to detail
books appearing on this page. of wargaming to its dedicated to get the wargames up and run information about each side and
This could be due to the fact that followers. ning w i t h o u t any prior MAPM AKER todescribe the ter-
publishers aren't letting us With a computer, it is possi- knowledge of computing. Four rain in all areas of the battlefield.
reviewers get our hands on the ble, if you are not interested that wargames are included in the All these details amount to a
books and then beating them in- much in converting the dining book, so without any delay, vast amount of data, and
to pulp, or more likely it is room into a battle field, to play apart from the laborious keying because of this, the information
because the computer book the complete war game on the in, you can turn your Spectrum is directly compressed into the
market is starting to falter. Will ii TV s c r e e n , a l t h o u g h this immediately into a war machine. bytes of the RAM instead of us
eventually collapse? method does lack the realism If you want a little bit more ing BASIC variables. Variables
The problem lies at the hands that most wargamers enjoy. than just to play a war game, take up on average 6 bytes,
of two parties. The publishing The book explains the prin- then this book is definitely for where we need use only one or
industry and the computer ciples of wargaming, from the you. The authors have written less, by directly accessing the
owner. The former because setting of the scene, to the com- routines that allow wargames to RAM. DATASTORER is used to
they knew too early what a good plex rules system. The book in be tailor made, depending on the compress all the data entered
thing was and rushed out and itially introduces wargaming, data that is entered for the from the various utilities into the
produced books to do this and and then delves into the 'com game. Basically, the wargame RAM, so it is easily accessed by
that on all types of computer, puter wargame', with a number program is very short, and is a wargaming controller module.
completely flooding the market, of wargames listings. used as the controller of all the The remainder of the book
w h i c h t h e n s l a c k e n s as consists of the wargames. The
everyone who wants one. has first game is used only for exam-
got one. ple and does not make use of the
Another reason for the fall in ARMYMAKER utility, but only
the market is that all readers the TABLEMAKER. This is to
who wanted a book with lists of give the reader a feel for
arcade games have by now got wargaming, before jumping into
them. Then to produce a book it straight away. After doing
on the Spectrum with lists of this, the reader may enter the
games after games is just fully computerised version of
pointless. Who would buy a new the same battle, including maps
book when there have been of the terrain and German and
thousands on the market for French armies fighting against
ages already? each other.
That is why generally the The other games included are
books this month are starting to a Napoleonic Campaign, a
move away from the idea that medieval battle and a conflict in
people just want to program outer space.
their machine to play space in- The authors have taken great
vaders. lengths so that this book isadap
table to all aspects of wargam-
ing, as well as using the full
Spectrum war- potential Of the c o m p u t e r .
gaming Wargaming can be played bet
ween t w o Spectrums on an In-
Collins terface connection, and details
£9.95 on how to achieve this are in
eluded.
The first book of the four is call The book is an excellent
ed Spectrum Wargaming, by opener foranyone w h o w a n t s to
Owen and Audrey Bishop and is get into wargaming or even for
published by Collins. the experienced 'manual'
Wargames concentrate on wargamer. The book is well
tactics and the disposal and con- written and takes the reader
trol of forces. Wargaming can be carefully through each section,
played either on a board, as in so that by the end of the book,
the usual board games, or more he or she will be writing their
often a table, w i t h models own war games, or at least
representing houses, soldiers, adapting the ones in the book.
guns etc. You can achieve a high A very intelligent book, well
level of realism and accuracy in thought out and enough to keep
setting up the wargaming table. a n y o n e o c c u p i e d over the

74 ZX C O M P U T I N G D E C E M B E R J A N U A R Y 1 9 8 5
BOOKSHELF

winter months. Any wargame The step-by-step guide could' of a Data Management System
has t he ca pa b i li t y t o be progra m - H o w to W r i t e be useful to the novice program or Data Base System. A data
med, and this book provides you mer, but perhaps the author base system is briefly a way of
with the information you need. ZX Spectrum thought that just a games book dealing withstructured informa-
At f 9.95 you may feel it is a bit and Spectrum + wouldn't sell too well, so the tion (the simplest example is the
expensive, but for the informa- idea of learning how to program card index system).
tion inside, I would rather have Games games seemed a better pro- The author starts by presen
this book than t w o games tapes spect. The programs are in ting a problem in a social club,
any day. Programs separate chapters, and by the and the ideas behind turning the
A SIMtSTTH end of the first chapter the manual process into a fully
reader should know how to use automated computer system.
Political and the UDG's and the PLOT and The case study is at first
Military simulation DRAW statements. The games
are separated into individual
presented, and the situation
Games routines, and the author does his
evaluated, so the reader can see
examples of typical uses of a
interface best to explain each routine data base or management com
£7.95 demonstrating how the game is
moulded together. The games
puter system. Before using a
data base system and writing an
are at most for six players, but application program, the manual
Remaining with the non-arcade
never included is lhe capability method needs to be analysed,
idea, the next book is Creating
of playing with the computer. so that it is possible io see what
Political and Military Simulation There is a chess game, but only
Games on Your Micro. Bit of a the computer can 3nd cannot
the bare s t r u c t u r e , as the do.
mouthful, eh? 1 he book is writ-
CHESS game in the book is only
ten by Mike Rose and published window if an error occurs' The book s t a r t s o f f by
for two players, and does not
hy Interface. The remainder of the book analysing the social club exam
have the facility to compete
The book is split into two sec consists of ten programs, from a pie, and turns this into a real-life
with the computer. I would
tions. The first explains how to naval battle in Elizabethan Times situation explaining how the
rather get the good old fashion
turn the initial idea into a com- to being a Prime Minister at 1 0 manual method can be com-
ed chess board out. This way is
puter program, and the second Downing Street Imuch the same puterised. The reader is taken
much more real.
contains t e n p r o g r a m s , il- I suppose?). These programs are through the various stages of
lustrating the first section. w e l l w r i t t e n and quite in The programs also did not ap the data base system, from the
Although the title only mentions teresting to play, but nothing pear to be all that well written. I format of the records to the
political and military games, the spectacular. I did like Nuclear could easily re write a few sec- report structures that will be
book covers military, political Crisis, where the aim is to per tions if I was going to use the needed.
and economic games. Perhaps suade the other countries togive book to any great length. The
The author has gone into
there wasn't enough room on you land. listings also, due to the width of
much needed detail, with theex-
the front page to fit the whole the book, were hard to read and
In general the book is ideal for planation of printersand the pro
title in' Military games come in appeared somewhat compact,
anyone with a knowledge of blems of setting up a computer
two types. True military, which but the programs could be
BASIC, and w h o wants more system eg.. How to train new
ts the 'wargaming' as above, adapted to improve the games,
out of their computer than users? Who should use the com
and then the strategic military. which m my mind only half
space-invaders. I did feel that at puter? etc. It is a well written
This is the type used in the book. succeeded.
times the book expects you to manual to data base systems,
The reader is taken through know a lot more than at other At C2.50 the book is reason- and should be used as a fore-
step by step, starting with the times. But still, an interesting ably priced, and it may appeal to runner to all businesses when
planning of the game, and pro- book, though perhaps slightly those who have some ideas but the question is asked, 'Should
gressing till a complete model of overpriced at £7 .95 . have difficulty in transferring we computerise?'. The book
the game is present. All aspects them onto a computer, but does not go into any technical
of the game are mentioned in the otherwise I cannot really see the depth, and is totally understand-
book and examples for each dif- HOW TO .. book as b e i n g e x t r e m e l y able to the non computer mind,
ferent group are given at each Babani Books beneficial to anyone. Why
would anyone want to draw a
without being patronising.
stage. This simplifies the idea, Each chapter has an intro
as it is much easier to learn This book is the one that is con- River Nile Scene in a game 7 Just
duction. so it is clear what is go-
something with three examples trary to my point in the first another way of filling out a
ing to be discussed in that
instead of one. By the end of the paragraphs, claiming that the chapter.
chapter. There is also a short
first section one should have a reader is not interested in the precis at the end of each
complete flow chart showing usual games programs any Data Management chapter. Although the book is
the structure of the game. more.
How To Write ZX Spectrum
at work not designed to glorify any data
My first niggle comes at this
point. In the introduction, weare and Spectrum + Games Pro- Pan Books base packages, it does suggest
which ones may be most useful
told that the book 'requires only grams book is a step-by step £2.95 for your application. The correct
a relatively elementary guide to writing games pro- system for the social club com-
knowledge of computing only grams, and does at times The final book is not intended for puterisation is then evaluated in
enough to put logical flowcharts assume the reader tobe ignorant home computer users, but detail, so it is easy to see how
into BASIC, Why then is it of computing, and at other times business users. The book does the method is applied when
necessary to flowchart the to know it all. On the first page, not relate to the ZX range of choosing the correct package.
structure of a YES/NO question? the invaluable REM statement is computers, but is ideal for This book is a must for
This should appear pretty ob again explained, but at this point anyone thinking of computeris- anyone thinking about com-
vious to anyone w i t h the the reader is expected to know ing their business, either at puting. If you have already
slightest of programming know- all about FOR. NEXT loops home or in the office. followed the millions by buyinga
ledge. and the PRINT AT statement. The book is called Data business computer, this book
Another chapter which is The reader is also told how to get Management At Work, written should also be read with interest
also not very useful is the debug- an asterisk on the screen by by Kathy Lang, and published by to illustrate the capabilities of
ging and trouble shooter. The pressing Symbol Shift and B, but Pan. A the title suggests, the such a machine. This book is
only thing this would be helpful not how to get any of the othet book introduces the reader to also one of the few that I can say
for is MOT committing suicide. It statements. Double Dutch if you some of the capabilities of a is totally underpriced. At £2.95 ,
says NOT to jump out of the ask me! business computer and the use everybody should have one!

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 75
ZX81SCENE

ZX81 Chatterbox
Julian Chappel and his ZX81 ride again!
Greetings to all ZX8 1 owners in less time that it takes to paint unaware of certain facts that us
once again! the Severn Bridge with a tooth- old hands simply take for
I am very pleased to be able brush and give a good indication granted.
to report that, following the first whether or not further delving gram name is used. Avoid using
appearance of ZX CHATTER-
BOX in the last issue of ZXC
into the realms of computers
seems attractive, all without
Loading LOAD" " whenever possible.

your letters have been flooding parting with hundreds of pounds One such fact is that theZX81 is
in. Both of them! At this rate we
shall be completely bogged
of hard-to-come-by cash. This
brings us (ratherneatly I think! to
highly temperamental when it
c o m e s t o S A V E i n g and
The signal
down with the sheer weight of the first letter this comes from a LOADing programs. Another is When LOADing, the ZX81
correspondence by the year t w o newcomer to the ZX81 who that swearing at a ZX81 in a par repeats all data read into
thousand one hundred and ten. was presented with it as a 7 0 t h ticularly obstinate mood has no memory out to the screen, giv
Er . . . 1 have a very embar- birthday present1 Beats woolly effect whatsoever. (Except may ing those characteristic horizon-
rassing admission to make, so I socks doesn't it? be making it worse!) Hitting it tal lines. This LOADing pattern
am writing this extremely quiet (There will be a short delay with a hammer gives the advan- can therefore give a useful in-
ly in the hope that this column before this letterdue toa second tage of relieving the user's pent dication of how the LOAD is pro-
has put in an appearance on apology. I am very sorry that I up frustration with the offending gressing (but no more than that.
these hallowed pages. I already didn't tell you what the first machine, but also has the side It is by no stretch of the imagina -
have to apologise for a glaring apology was all about J effect of smashing it into little tion an accurate or infallible
'boo boo' in theJirst article. Now back to the letter. . . pieces. Not to be recommended. pointer).
Here are some less drastic hints The black horizontal lines
'Dear ZX Chatterbox and tips t o w a r d s r e l i a b l e should be bold and clearly defin-
As per the Oct .November issue LOADing: ed. They will be about 1 -2 in-
of ZX Computing magazine, I ches wide Ion a portable TV) and
would like details of the S.F.S.C. Setting up the machine the gap between each should be
having been a recipient of a 1 . The ZX81 was designed for roughly equal to the width of the
ZX81 on my 7 0 t h birthday! Not use with an everyday portable, lines themselves. The width of
used as much as expected as yet m o n o tape recorder. A the spacing will decrease with
but winter is coming. dedicated data recorder will be any increase of volume level. It is
I have trouble (not unusual I little or no better unless the the d e f i n i t i o n of the lines
understand?) with the LOADing facility to adjust the azimuth set themselves that gives an indica-
program of various lengths both ting is incorporated. A stereo tion of uncertain LOADing. If
m very, very sorry. from commercial tapes and my recorder (even a portable one) they appear thin and straggly, or
Right, having got the own programs. What occurs is should be avoided, these may have a snowy effect (i.e. are
apologies out of the way we can that apparently correct loading work but reliability will seriously flecked with a large number of
get on with all the good bits. takes place as seen by the suffer. little white dashes) and refuse to
Don't listen to the owners of power meter, running to end but become clearly defined no mat
Spectrums and other lesser with no Report Code; as far as I 2 . Clean the heads, rubber pinch ter what volume level, this is an
machines when they say that all know I have tried all ways of cor- wheels and drive spindle of your indication of a z i m u t h mis
the good points about the ZX8 1 rection but to no avail. tape recorder thoroughly and alignment.
can be written on the back of a Yours regularly w i t h cleaning fluid. The 'business' part ol the
postage stamp in large capital W J Huggins, Slough' Thoroughly dry and polish all playback head is a microscopic
letters. They knoweth not what areas w i t h w h i c h the fluid slot, the angle of which in rela-
they are talkething about. After At a time when the ZX81 is comes into contact before re- tion to the passing tape is
all, we knoweth different, don't regarded as something akin to inserting the tape. critical. The ZX81 is probably
we? Even with the advent of the Dodo it may seem strange the most sensitive to mis
machines capable of printing that there are still a substantial 3. Some recorders produce a alignment of any make of home
256 colours in an area the size of number of people acquiring new f e e d b a c k loop around the computer. A good data recorder
a flea's brain and sound good ones. (Don't be silly I mean new ear/mic sockets. Always will have the facility to adjust
enough to put the London ZX81s not new Dodos!). This remove the 'mic' lead when this angle, usually in the form of
Philharmonic Orchestra t o means that there are many LOADing or the 'ear' lead when a small hole positioned over the
shame, the ZX81 still ZX81 users who missed the SAVEing. Make sure that the head into which an electrician's
represents an excellent in- press coverage this little black 'ear' and 'mic' leads do not screwdriver can be inserted.
troduction to computing. It is no wedge received during its hey- cross lor are crossed by) either Simply adjust the setting while a
secret that the use of home day, and as a result are blissfully the mains cable to the tape LOAD is taking place until the
computers is no longer the r e c o r d e r or p o w e r s u p p l y horizontal lines become bold and
domain of the whizzkid. Many a transformer, or the lead from the clearly defined.
whizzdad and whizzmum take power supply. Separate all leads
an interest these days, but tend as much as possible. volume setting
to be a little more cautious when 4. Set the TREBLE control on
entering the world of BASIC, your recorder to maximum and Once again the ZX81 can be
binary and bugs than their off- BASS to minimum (or TONE to very sensitive to the volume
spring. Probably because it is high). level used when LOADing. Too
their own money they are spen low and the LOAD will fail. Too
d i n g ! It s t a n d s t o reason 5. For reasons best known to high and the computer can
therefore, that a ZX81 will have Uncle Clive, the ZX81 is less mistake the normal operating
'em programming like a good'un temperamental when the pro- noise of the recorder as part of

76 ZX C O M P U T I N G DECEMBER/JANUARY 1985
the program, resulting in a 'bug- breadth of England that sells Street and when you reach Tot possible. Use VAL on numbers
ged' copy ending up in memory. any, but it is probably more im- tenham Court Road go in the above 2 5 5 .
To find the ideal setting for any portant than any other piece of left-direction facing and after a
given program, try the follow- equipment. It is patience. The small calk you will see the shop 3. Want two bytes for some
ing: patience to experiment careful on the other side of the road. data? The addresses 1 6 4 1 7
ly and methodically without Aslo along Tottenham Court and 16507 aren't used.
1. Start the recorder playing resorting to swearing or hitting Road is 'Sonic Foto Centre',
with the volume level at its your beloved machine with a who sell software and GASP! 4. Want to protect your REM
LOWEST setting. hammer. Neither of them work. ZX81 's and RAM packs. (The lines?
(There now follows a break low-price shop sells '81s and (i) POKE 1 6 5 1 4 , 1 18: POKE
2. Type in L O A D " p r o g r a m for a third apology. I'm very keyboards for f 10!). 1 6 5 1 5 . 1 18
name" followed by N/L. Once sorry that I still haven't told you In the north of England try (iil You might also like to try the
you are sure the tape will be what the first apology was all "Bradleys Records' in Sheffield code for 'cursor left' 11 1 4 ). This
somewhere within the program about). and a really good budget soft makes the REM line difficult to
itself, SLOWLY increase the ware stall in Chesterfield's Fri- edit and annoys anyone wanting
volume until the characteristic Beyond the pale day open-market. to cheat at your games,
(iii) To cancel the above out,
lines appear on the screen. This I would be very grateful if you
is the lowest possible setting. Before going on to the next letter publish this letter, as it will just poke with 0.
it is important in the interests of help support the best value com- Jone Rose, Bognor Regis'
3. Rewind the tape and LOAD as safety to make sure that you are puter in the world.
normal at this volume level. all in a sitting position. I would Yours faithfully, Well I think I've apologised
not like to be held responsible for Simon Godfrey, London' enough. One can only eat so
4. If the LOAD fails, increase the any damage caused should any much humble pie before obesity
volume very slightly, rewind the ZX81 owner faint out of sheer sets in, after all. So now the
tape and try again. admiration for the bravery and mystery of the first apology will
courage of an intrepid member be revealed. Do you remember
5. BE PATIENT. Don't try to of the S.F.S.C. Against all the the 'jolly good program' in the
hurry things up by increasing the odds, and everybody's better last issue? You know, 'ZX
volume in little jumps. By doing judgement, he went out com- YLOPHONE' by Paddy Moin-
this the optimum setting may be pletely alone onto the streets of drot? Did you try it? Did it work?
missed. London, dispensing with the No.
back up of an artillery battery Ah. . . well, there is a very
6. Once a successful LOAD has and a couple of infantry divi- good reason for that. I forgot to
been achieved, make a note of sions. Without regard for his mention that before RUNning
the volume setting for future personal safety he actually this program you have to put
reference. entered various computer So what are you waiting for? your ZX8 1 into FAST mode. It
7. If problems persist with any retailers, walked up to the Get that hammer you were go won't work in SLOW.
particular program it may help to counter and asked if they stock- ing to use on your poor un- Having already apologised
listen to the beginning of the ed any ZX8 1 titles. If this alone suspecting ZX8 1 and attack the several times you won't get any
tape through the tape recorder's does not astound you. If you old piggy bank instead! more sympathy from me, even if
loudspeaker. Stop at a position have fainted out of admiration (There now follows a short you have tried for two months to
just before the program starts for his courage above and break. I am sorry that there will get it to work! Ha! Ha!
and start LOADing from there. In beyond the call of duty, then this be no fourth apology, due to a On second thoughts, before I
this way any pops or clicks due might just do the trick. shortage of supply.) leave you I just have to mention
to equipment being switched on He found some. If you don't live near London, that the Software Farm is releas-
I will let him tell you exactly or around Sheffield then you will ing t w o more fantastic pro
where. I'm sure you don't want have to resort to writing your grams for the ZX8 1 . Just the
to listen to any more of my drivel own programs. Here are a few thing for Christmas. As you
and I'd hate to steal his moment tips from Jon Rose to help you. have to be persuaded to part
of triumph, so I hand you over to t with your lovely loot perhaps I
Simon Godfrey. (A round of ap- 'Dear Mr Chappell can manage just one more slice
plause please!). Something you may be in- of humble pie.
terested in to pass on to other If you would like a catalogue
'Dear Galactic Poultry ZX8 1 users is a few programm- of ZX81 software, have any
I'd just like to tell you how great I ing tips that I found whilst comment or query concerning
think your Club is and I can't writing a program called 'Cab- the ZX8 1 however large, small,
wait for the new games men bages and Ants'. They are all to silly or serious then drop us a line
tioned in (expletive deleted) do with BASIC programming at —
or any other inadvertently — ar'e on the shelves. but, with sufficient know-how
recorded noise will be avoided. When I moved to London I can be applied to machine code ZX CHATTERBOX
There are two main requirments decided to go and see what '81 programs. Software Farm
for regular successful LOADing software I could pick up. But, to 1 6 Charlotte Street
with a ZX81 . One is a portable my amazement, I found a con- 1 . NEVER, NEVER use RND if Bristol
tape recorder that incorporates siderable amount available. In you wish to get a random BS1 5 PP
an azimuth adjustment facility. Ealing (Nr Ealing Broadway, to number in ZX8 1 programs. It is
With other computers you can be exact) try 'Armchair Action', not random enough. Instead use
easily get away without one, but on Oxford Street try PEEK 1 6 4 3 4 This is the
it is virtually essential for the 'McDonald's Hi-fi", which can systems variable JSEED' and
ZX81, especially when using be f o u n d near the V i r g i n seems to be very random, giving
tapes not recorded on your own Megastore. 'Low-Price Records, 2 3 0 different answers when
machine. They are very easy to Cassettes, Software' on Tot- F*OKEd in succession, where
get hold of these days and are lit- tenham Court Road sells top- RND could only give fifteen
tel or no more expensive than an class games such as pixel's without repetition.
ordinary recorder. The .second is Trader for £ 1 . 9 9 , Bug-Bytes
a little harder to come by. I per- Mazogs at £2.99 and PSS's 2. To save memory use INT PI

I
sonally cannot find one single Maze Death Race at £ 1 .99. To for three, NOT PI for zero or also
shop in the entire length and reach this shop, go down Oxford PI-PI. Use CODE wherever

77 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1985
OL

i n t o The Archive
tions to meet the objectives,
then writing procedures which
carry out these operations. The
p r o c e d u r e s are t e s t e d in-

The QL's flexible database: by David dividually (to iron out bugs),
then a linking procedure written

Nowotnik
to pull together the whole se
quence.
To demonstrate Archive's
simplicity, here is a simple
Of the four software packages packages for £ 1 4 . 9 5 ) . In fact, the concepts of the language are database application, a name
to be supplied free with the QL, Psion have gone a step further to adequately covered in the QL's and address file. The list of pro-
the database program, 'Archive' encourage application soft- User Guide, as well as a number cedures which make up this file
could well be the one most wide- ware. They have available for of other books. The Sunshine is shown in fig.2 . But what may
ly used. For while the QL rests in sale to individuals or companies Publication by Alison McCallum- be more relevant to the budding
the precarious no-man's-land at a 'run-time' version of Archive. Varey called 'Quill, Easel, Ar- programmer are the processes
the top end of the home com- This program allows copy pro chive and Abacus on the Sinclair which were involved in design-
puter market, and bottom of the tection of Archive application QL' is one good example of a ing the system.
cut throat business arena, infor software, making Archive a very text book which covers Archive When analysing any poten-
mation storage and retrieval will attractive basis for companies programming in an easy to tial computer application, the
be the major link between the wishing to develop and sell follow manner. first question that must always
wide ranging band of QL users. database systems for the QL. In be asked is 'do I really need a
Whether one examines the
original versions of 'Archive',
the run time version, the ap
plication loads immediately (no Your own data- computer to do this?'. In the
case of a name and address file,
supplied to all buyers of the QL need to load Archive, then load base if all that is required is to look up
prior to February ' 8 5 , or the the application). There is more an a d d r e s s or t e l e p h o n e
upgraded and improved 'V2 .0', RAM available for files, and If you are still not convinced that number, using an address book
the overall conclusion is the there should be extra features you could w r i t e your o w n will always be much simpler
same. 'Archive' can provide a not available to the standard database program, then read on. funless the names exceed
superb database system. Its version of Archive. Wriiing computer programs, s e v e r a l t h o u s a n d ! ) . One
great strength is that it can be By buying one of these even in Archive's simplified pro justification for a computer file is
tailored exactly to meet the application packages, the user gramming language, is a matter the need to sort the records in
user's requirements; none of the is, of course, restricting himself of applying logic and common more than one way. I find that I
compromises that accompany toan 'off-the-shelf' system, and sense to solve a problem. have a remarkable ability for
those ill-fitting, o f f - t h e - p e g so cannot fully benefit from the Reasonably, assuming that forgetting birthdays, with the
packages are necessary. flexibility which is Archive's everyone is blessed with some result that family and friends are
Archive's strength, main strength. There is the op abilities to think logically and use often left disappointed. So this
however, is also its weakness. tion, for those unwilling to pro- common sense, programming name and address file includes
When loading Archive into your gram Archive for themselves to A r c h i v e s h o u l d be w i t h i n the ability to sort through the
QL, you haven't got a working pay a programmer to write soft anyone's capabilities. records, and identify those
database, though you do have ware for them. But there is much S e t t i n g up a d a t a b a s e families in which a birthday is
t h e means t o c r e a t e t h e to be said for trying to write your system should involve a preset imminent. The records in the file
database. Archive is a high level own software. The Archive pro sequence of tasks; defining are in no particular order (but this
programming language, not too gramming language is much exactly what is required, plann- could be achieved with simple
dissimilar from SuperBasic, easier to use than BASIC, and ing a logical sequence of opera- modification using Archive's
which allows a database suite to
be created. High level com-
mands, such as 'Create', 'In-
sert', and 'Find' perform the ma-
jority of conventional database
operations, but it is still left to
the user to put together to
program — his/her lists of com-
mands to create the required ap-
plication for Archive.
Particularly in the business
area, users might well be unable,
or unwilling (for reasons of time)
to develop their own suite of
procedures which provide the
basis of any database applica-
tion program. Fortunately, there
is no copyright restriction on in-
dividuals or software houses
creating for sale database ap-
plication software written in
Archive's programming
language, for use with Archive,
While neither Sinclair Research
nor Psion have any immediate
plans to market Archive applica-
tion programs, freedom from
copyright limitations has allow-
ed other software houses to pro-
duce packages (for example, Figure 1: Schematic layout of the address program
Eidersoft sell a suite of 5

78 ZX C O M P U T I N G DECEMBER/JANUARY 1985
OL

powerful language); instead the


flexible searching facilities of Figure 2 Address program listing
Archive are used to find relevant
records. proc change
With the twin needs of the fil- seek
ing s y s t e m i d e n t i f i e d , the p r i nt at 1 0 , K " D e l e t e or modify? (d/m)"
system can then start to be let tt="a'
designed. Each record should while not (t* I" o r t * = " m " )
then contain surname, christian 1 e t t * = g e t k e , ^)
name(s), the address, the endwhi1e
telephone number, and space to
list birthdays. This file allows up •find a*
to three dates per family. File whi1e found()
creation with Archive is a simple di eplay
matter of typing in the series of sprint
direct instructions, starting with if t*="d":remove: endi f
the command 'create' and en- i f t*="<n"i alter endi f
ding with 'endcreate'. It is even
simpler with the 'address' pro- c o n t i nue
gram. Instead of using a series of endwhi1e
direct commands for file crea- endproc
tion, the name and address pro proc i n i t i a l i se
gram in Fig.2 has a special pro mode 1 , 6
cedure called 'make file'. All open " a d d r e s s "
you have to do is, with the pro endproc
gram in place, type the direct
proc make_fi1e
command 'make file', and a
new file will be created on create "addrets"
microdrive 2. surname*
A simple database program f i rstname*
will require a minimum set of street*
operations to be available lo the town*
user. These are:
county*
1 . Add another record telephoneS
2. Search for one or more name1*
records birthdayl*
3. Modify or delete a record name2*
4 . Exit from the program bi rthday2*
name3*
These options are available
most conveniently through a bi rthday3*
menu. The options are usually endcreate
numbered, and pressing the ap endproc
propriate number key allows you p r o c menu
to inform the computer of your l e t s=0
selection. whi1e s=0
This is how the name and ad t i t l e
dress file works. Take a look at
Fig,1 to see how it fits together. p r i n t a t 5 , 3 ; " 1 . E n t e r new r e c o r d "
When the program starts, it pr i n t at 7 , 5 ; " 2 . Search file"
should go into an initialisation p r i n t a t 9 , 5 ; " 3 . D e l e t e / m o d i f y an e n t r y "
procedure which sets up the pr i n t at 1 1 , 5 ; " 4 . E x i t file"
program, ready for use. In this p r i n t a t 1 3 , 2 4 ; " S E L E C T 1 , 2 , 3 , OR 4 "
case, the procedure called 'in-
itialise' sets a 64 character let s=val(getkey())
width mode and opens the i f s=l: insert : endif
address film on microdrive 2 , i f s=2ssearch_fi1es endif
ready for read/write operations. i f s=3:change: endif
The program then moves into i f s=4: c l o s e : e n d i f
the menu which prints the op
i f s<>4: l e t s=0: endif
tions onto the screen. After this,
the program waits for a key endwhi1e
press, and responds only if keys endproc
T , ' 2 ' , ' 3 ' or '4' are pressed proc remove
(the 'if' statements). With the p r i n t at 1 4 , 5 ; " D o you want t o d e l e t e t h i s r e c o r d ? <y/n>"
appropriate key press 11 to 3), yes_or_no
the required procedure is called.
If 'A' is pressed, the file is clos- if p*="y"
ed, and the program is ter- print at 14,5;" Are you sure? (y/n)
minated. yes_or_no
i f p*="y"s delete i els i return t endif
Options e l se
p r i n t at 14,5;"
Fig.1 demonstrates how, with endi f
options 1 to 3, the program

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 79
make changes, simply press
endproc 'F5'.
If you requested 'delete',
proc search_file then the 'remove' procedure is
seek called. This asks you twice (to
find a* make sure) if the displayed
whi1e found() record is the one you wish to
di splay remove. If you press 'y' twice,
spri nt then the Archive command
'delete' is called to remove that
print at 14,10;"PRESS ANY KEY TO CONTINUE" record from the file.
let q$»getkey<)
print at 14,10;"
continue Going loopy
endwhi1e If you have followed the pro
endproc gram description while reading
proc seek through the program listing,
els ititle how the program works should
input at 8,10;"Enter a search word — be reasonably clear, even to the
endproc non-programmer. Probably the
most dificult concept for the
proc start novice is the loop 'while. . .
initialise endwhile'. This may need a little
menu practise, but the QL User Guide
endproc covers this rather well, so it
prot title should cause little problem after
els some practise.
print at 1,22;"NAME AND ADDRESS FILE" To enter the listing into
Archive, lype in the direct com
endproc mand 'edit' when the " ap-
proc yem_or_no pears at the base of the screen
let p*«"a" after booting (loading) Archive.
while not <p*«="yM or p*-"n") This gives you the word 'proc'.
let p*«getkey<) Type in change', press ENTER,
endwhi1e then enter each program line in
sequence, until you come to
•ndproc 'endproc' in the listing. You
don't have to type in 'endproc',
as this is provided automatical
ly. Nor do you have to worry
about the indentations in pro
gram lines, as this is also done
automatically.
To enter the next procedure,
press 'ESC', then 'F3', then 'n'.
This allows you to start another
procedure. Arid so, carry on in
this way until all the listing is in
place. Then save it on micro
drive 2 . Escape from the edit
cycles round back to the menu, characters you entered. For use for September when inser routine by pressing' ESC' twice.
ready for the user to make the search purposes, upper case let- ting records. Then type in save, and press
next selection. For programm- ters are the same as lower case. The third menu option allows 'ENTER'. This gives you some
ing purposes, option 1 (enter a Once a match is found, then you to altera record, or delete it. quotation marks, so place your
new record! is the simplest to in the 'while. . . endwhile' loop is Within the 'change' procedure, program name (eg 'address') in
corporate. It uses the Archive brought into play in 'search the 'seek' procedure is again the quotes, and press ENTER.
command 'insert'. With this in- file'. It displays the record on the called. After all, you first have to The program will be saved on
built producedure, one or more screen. The program pauses, find the record you want to cartridge.
new records can be entered. let q$ - getkey ( I while you change. Then you are asked if To load the program (the next
Clear instructions at the top of extract the infomation y o u you want to delete or modify a time you want to use it), type
the s c r e e n , g e n e r a t e d by want, then the search carries on record, to which you should res- run "address" after booting
'insert', makes the process of (the Archive command 'con- pond 'd' or ' m ' . Having made Archive. The program will be
data entry very simple to do. tinue') until more matches are these selections, Archive's loaded and run automatically.
The second option in the found, or the end of the file is 'find' command is again used to This autorun facility will search
menu, Search file', allows you to reached. At this point (and if no search through" file to find the for a procedure called 'start',
find any record which has a cer- match is found), the procedure appropriate record(s). and one is provided, which com
t a i n s t r i n g of c h a r a c t e r s ends, and the program returns to Once found, the record is bines the initialise and menu pro-
anywhere in ihat record. The the menu. displayed; if y o u asked to cedures. Hopefully, this short
procedure 'search file' firstly You can search for whatever modify records(s) then the con Archive program listing will
calls another procedure 'seek' information you want with the venient A r c h i v e c o m m a n d demonstrate how simple it is to
which asks you to enter the flexible find' command. For ex- 'alter' is used to allow you to write your own Archive applies
string of characters for search ample, il you want a family make changes. 'Alter' works in tion programs. Archive has the
purposes. The Archive com- record displayed enter the sur- much the same way as 'insert', flexibility to be extended from
mand 'find' is then called, which name. If you want all the birth- and all the instructions needed such a simple one file applica-
goes through the file until an ex days in September, enter 'Sep', to make changes are on the tion. to quite sophisticated
act match is found with the or whatever abbreviation you screen, if you don't want to multi-file systems.

80 ZX C O M P U T I N G D E C E M B E R J A N U A R Y 1 9 8 5
OL SOFTWARE

QL Software
microdrive cartridge.
Playing the game is quite sim
pie though the actual move-
ments of the character are quite
last It is fairly enioyable and
also reasonably addictive. It is

Damien Clay takes a look at some new presented very well in a con-
verted cassette case which un

games for the QL. fortunately does not hold a


backup tape. The program does
not give on screen instructions
but these are provided on the
cassette inlay card.
There is a very simple high
score routine but there is no hall
of fame, which is a pity because
you can't put your name up
when you get a good score.
Overall this game is very good
but a bit expensive, however
with the lack of QL software, if
you have the money to buy it it
is quite enjoyable

Graphics * * * *
Addictiveness * * *
Overall * * * *

OL Cavern
JMF/Sinclair
£14.95
This is one of the best arcade
games I have seen for the QL
and is very well set out. Your oh
lective is to travel the length and
breadth of the cavern in order to
collect all 3 9 5 diamonds.
Throughout your journey you
will have to walk, crawl, swim,
travel by boat and fly by jetpack.
The colour and the graphics are
very good and flicker free and
the sound, though limited, is
very good.
The game carries a backup
program on the microdrive car
tridge and instructions are in the
little booklet with extra informa
QL Hyperdrive There is no backup program on lifetime guarantee on all their tion given onscreen from the
English Software the cartridge itself though.
Playing the game is fairly
games. start menu.
Play is very enjoyable and ad
£14.95 straightforward, all you have are
Graphics
Addictiveness
* * * * *
* * *
dictive, some screens are dif
four controls: left, right, ac ficult, some are complex and
Overall * * * *
celerate and decelerate, using some are simple but they are all
Cuthbert in Space
This is the sort of game where the cursor keys. It is up to you excellent and very exciting It is
you have to imagine you are a what speed you go, but the presented in a wallet type case
Formula 1 racing car driver and slower you go the less likely you Microdeal w i t h s p a c e for a b a c k u p
you have to dodge past each car
to get into a suitable position lie
ore to get onto the next stage
and the faster you go the harder
£14.95 microdrive cartridge. The in
structions are clear and easy to
1 51 to get to the next stage. it is not to crash. This is a typical arcade game understand as well as being brief
There are five stages and each The game is presented very where you, as Cuthbert, have and well laid out.
one is more difficult than the well and displays the instruc been sent on a looting mission in There is no high score routine
last. tions on which keys to use, it outer space but before leaving which is a pity because it does
The hi res 3D graphics are also demonstrates parts of each each planet you visit, you must tend to spoil the program a bit
very good, flicker free and look stage. It comes in a wallet type use your remote shuttle to col Overall it is a very good program
very realistic with good use of case with space for another leci 1 5 fuel pods. The colour and and has been well designed and
colour. The sound is also very microdrive cartridge. There is a the graphics are very good and programmed, I personally think
realistic, and gives you the feel- high score routine w h i c h hardly flicker but there is a lack it is worth every penny and is
ing that you are actually driving. displays the highest score but of sound, all you get is a few well worth adding to your collec
It is fairly easy to backup onto there is no hall of fame. bleeps, which does not make it tion.
disk with the Sinclair utility disk Overall this is a very good very realistic.
supplied with their drive and, if game and is very good value for It is very easy to make a Graphics * * * * *
you know a little about program- £ 1 4 . 9 5 considering that backup copy as there is a Addictiveness * * *
* * * * *
*

ming, to another microdrive. English Software provide a b a c k u p p r o g r a m on t h e Overall

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
EDUCATIONAL REVIEWS

Mike Edmunds grades a couple of


packages for those interested or
involved with computers and education.
Sitting in a tiny bedroom you
look around and gaze with hor- about the nature of a substance
ror at the mess surrounding you. w h i c h has been r a n d o m l y
Pieces of paper with hastily writ- selected. In Electrolysis' a ran-
ten notes, formulae and jottings dom combination of electrolytes
cover the carpet and overflow is selected and you are required
from the wastebasket! A cold to identify the ions present, say
sweat beads your brow as the bases and salts and Organic c e d u r e s . N o w t h i s is not which electrode they migrate to,
enormity of the task facing you Chemistry. The programs come necessarily a bad approach, but identify the preferred reaction at
finally sinks in ! on two tapes in a substantial when half of the words have lit- each electrode and compile the
No, it's not the setting for a wallet together with a pamphlet tle relevence to the chemical ionic equation for each electrode
new adventure, merely outlining the programs and a aspect of the passage I can see reaction.
memories of schooldays with suggested list of further study no reason to adopt this ap- Apparatus' puts you back in-
examinations looming! Did you, aids (including little packs of proach. Words such as 'the', to the lab selecting the correct
like many others, find the task of cards!) 'and' etc. certainly did not test apparatus for the preparation of
revision a daunting prospect? I The programs themselves my knowledge of Atomic bon thirteen gases. Your selections
certainly did and. on more than are equally substantial in terms of ding. are examined and the correct ap
one o c c a s i o n , r e m e m b e r what they actually contain, but The passage, (there is only paratus is drawn. You are then
rushing to the nearest branch of my overall impression is that the one) is subject to five levels of required to provide a balanced
a certain high street bookseller package has 3 rather 'bitty' ap difficulty, the harder the level equation.
to search the shelves for those proach. This is not to denigrate the more words missing. At the In Acids, bases and salts'
little packets of revision cards! the actual Chemistry content hardest level I can see some you have to complete descrip
I doubt that the task of cram which seems to cover well the point, but at the easiest it tests tive passages and examine
ming for exams has become any areas concerned, it is merely the very little except your eyesight given reactions for validity. You
less onerous but at least, in this way that the whole thing has (cyan text on white paper!) can also see how pH levels
age of the computer, you can been presented. The 'Periodic table' program change during acid-base titra-
test yourself with a whole range The presentation, I suppose, tests your knowledge of the tions.
of programs which, to a certain is not that vital when you are on- location in the periodic table ot The 'Organic Chemistry' pro-
degree, allow more flexibility ly concerned with the facts and some of the more familiar grams are in two parts, one be-
than a textbook with the added exercises, but it seems rather elements. Alternatively, you can ing the missing word passage, at
benefit of less pieces of paper! unfortunate, for example, to go select options which require you the end of which the content is
Letts, the producers of those to the lengths of a specially to apply your understanding of represented diagramatically.
aforementioned little cards, designed title screen only to the electronic configuration of The second requires you to iden-
have also branched out into the have it disappear after a few atoms. tify isomers, homologues and
software scene and have now seconds while the rest of the 'Formulae and equations' re- compounds with similar reac-
introduced a computerised ver- program loads to an empty quires you to determine reac tivity. Chemistry being the com-
sion of their K e y f a c t s for screen, loading time is long tants and products. You also plex animal that it is I make no
students of O Level, GCE, CSE enough as it is! need to complete equations or apologies for the descriptions
and GCSE C h e m i s t r y . A t o r g a n i z e a s e l e c t i o n of above, these being necessary to
£ 1 1.50 the suite of programs is Programs chemicals to produce a valid give a fair picture of the pro-
not cheap, but you do get nine balanced equation. This pro- grams.
programs for your money. The However, on to the programs gram is awkward at first, as As a package this covers
programs have been designed to themselves. The first program. subscript numbers have been almost everything that the exam
test your knowledge and to Atomic structure and bonding, asigned to graphics keys, this is student is likely to require.
develop your deductive facility. is one of several that use a com rather fiddly, as are some of the Graphics, where applicable, are
The suite covers the follow prehension approach to learn- other inputs required, but soon competent and the complete
ing areas: Atomic structure and ing. A passage is presented and grasped. suite goes a long way to making
bonding. Periodic tables, For- the user then has to fill in the 'Chemical deductions' tests the subject more approachable
mulae, Chemical deductions, missing words, much in the your overall k n o w l e d g e of and enjoyable. Although com-
Electrolysis, Apparatus, Acids style of the standard 'cloze' pro- Chemistry by supplying clues petent I feel the overall presenta
[EDUCATIONAL REVIEWSI

tion is lacking in some areas. the speed with which such reference book then this is the tures especially for children.
There is also a bug which causes publications become dated. best that I have currently seen,
one program to crash and ob- Many programs remain a though I personally am currently Chemistry,
viously needs sorting out! mystery, there is little or nothing using some excellent programs Letts Keyfacts Revision Soft
This is not a cheap package, in the directory to indicate their that are not even mentioned ware.
and there are several programs educational nature. 1 know what here. Spectrum 48K CI 1.50
available at present from other Dar: and Logo do but there are The Directory is certainly Charles Letts & Co., Diary
companies which do the job no details within the book for very comprehensive and infor- House, Borough Rd., London
equally well, but if you have a those who do not. Similarly, mative, (it is intended to update SE1 1 DW.
need for a revision package then several of the organisations it at appropriate intervals) and
this could go very well with l i s t e d are not a d e q u a t e l y overall this is a valiant effort to The M & E Educational Software
those little packs of cards! described. make the educational field Directory
This can hardly be called a fair aware of the range of software J. Arthur & T. Russell
Software review of such an extensive currently available, but for me it
attempts too many areas for too
Macdonald and Evans Ltd.
Estover, Plymouth PL6 7PZ
directory
book, that would require much
more space than is available many machines all at once! (covers most micros) £ 1 2.50.
here. I would suggest that if you That's all for now, next issue
Now to software of a different have a need for a software I'll be looking at some adven-
kind, that contained as entries in
a Software Directory, from Mac
donald and Evans Ltd. The direc-
tory is arranged according to
subiect areas and is designed to
provide all types of educational
establishment primary, secon
dary and beyond with up-to
date and concise information on
educational software currently
available.
The entries appear
alphabetically by software title,
and provide a guide to the age
group where possible. Each en
try indicates the machine which
the software runs on and the
lorm it takes. Prices are included
though purchasers are advised
to check details with the sup
pliers prior to purchase. The
whole range of curriculum sub
jects is covered and the t w o
largest sections. Mathematics
and English, are divided into
broad age groups. As well as
subject software the directory
also g i v e s an e x t e n s i v e
bibliography of educational
computing references, together
with lists of periodicals, com
puter organisations, computers
for Education and a list of soft-
ware suppliers whose software
is included within the directory.
The Directory is certainly
comprehensive but, as with
similar books covering other
areas, it suffers in that it seeks to
embrace too large an area. The
age range, beginners to secon-
dary and beyond, is just too
large to be of use to specific
users, say in a Primary School,
who would look to other sources
of i n f o r m a t i o n . The major
drawback with something of
this nature is that, like micros
themselves, as soon as it is
released it is out of date. There
are notable omissions in certain
subject areas, software that has
been widely reviewed
elsewhere, but, then again if
they don't send details. . . .
These omissions illustrate
value of R3. By choosing ap
propriate component values in
the c i r c u i t , any desired
amplification may be achieved.
Before the transistor can do
anything, however, certain
static d.c. conditions have to be
set up. R1 and R2 form a poten
tial divider which sets the static
base v o l t a g e . Because the
values of R1 and R2 are high, the
best voltage can still be altered
by a small amount when a signal
is applied to it via capacitor C1 .
The static base voltage in turn

Anthony Marlow from Cheshire has sent sets the static emitter voltage.
Given this, resistors R3 and R4

in a useful little device for helping with set the necessary standing cur
rent which flows between the

SAVEing programs emitter and 0 V . The gain, or


amplification, of the amplifier is
s e t by t h e r a t i o R3 /R4 .
Capacitors C1 and C2 allow the
signals to pass through but pre
vent the standing voltages on
devices. On most recorders, the transistor getting through
•9VO- however, the DIN socket output and upsetting the d.c. condi-
is not sufficiently powerful to tions in the recorder or Spec
drive the Spectrum input when trum. The circuit takes its power
Hl< R3«
!8*< «0R< C2 loading a program. To overcome from the Spectrum power supp
100U OUTPUT this problem the simple tran- ly. Since this involves cutting
• i f
sistor amplifier stage (Figure 1 ) the wire from the power supply,
01 d ^ T O
TO SPECTRUM
was designed and built. This a switch was added at the same
l\PUT 8C108 f ARPMONE amplifies the signal by nearly time so that power could be
SOCKET
five times, so that the output switched off and on to effect a
signal is capable of driving the in system reset.
TORECOROm
DINSOCKtT
R4 .
100R< put circuitry of the Spectrum.
Note, however, that on some
R5<
machines the DIN socket output Construction
680R< is independent of the volume
0VO- and tone controls. The prototype was built on a
small piece of 0 . 1 " matrix
How it Works
Fig 1 Circuit dugfam of Itw .m\pli1*t
Veroboard, available from most
electronic component suppliers.
To fully understand how the cir The actual size required is 1 6
If you're fed up w i t h starting to the earphone socket. If the plug cuit w o r k s w o u l d require a holes by 18 holes with the cop-
SAVE a program on cassette is not removed, then this signal detailed knowledge of semicon- per strips running along the
and only then realising that is returned to the Spectrum and ductor theory. However, a brief shorter dimension. This can be
you've forgotten to disconnect interferes w i t h the signal being description of what a transistor cut from a larger piece. The
the earphone plug, or w i t h exer- sent from the Spectrum to the does will give some insight into component layout and connec
ting a considerable force in pull- cassette recorder. So a vicious how the circuit works. Basically, tions are shown in (Figure 2a).
ing out and pushing back in the circle is created which prevents a transistor (TR1 in our case) Begin by fitting the resistors on
power supply plug to provide a the correct signal being record- consists of t w o pieces of an im- the plain side of the board. Pass
system reset, then this simple, ed. Obviously, one could install pure semiconductor material the leads t h r o u g h the ap-
inexpensive hardware project a switch in the earphone line but (usually silicon) with a thin slice propriate holes and solder them
may be what you're looking for. the result is no more convenient of the same semiconductor (but to the copper strips on the other
None of the components used is than having to remove and w i t h a different impurity) in bet- side. Use only fine multicored
expensive or hard to get hold of, reinsert the earphone plug. w e e n them. The t w o outer solder and make sure (he solder
and even when put in a plastic However, a number of cassette pieces are called the " e m i t t e r " does not bridge the tracks Trim
case will only cost about £ 3 . 5 0 , recorders also possess a 5 pin and "collector" and the thin the leads close to the soldered
This is much less than some D.I.N, i n p u t / o u t p u t s o c k e t , slice in the middle is called the joint. Next, fit the capacitor and
commercially available designs which is normally used for recor- " b a s e " . These are labelled as e, transistor in the same way, tak
which just comprise an on/off ding b e t w e e n t w o cassette c and b respectively on the ing great care that they are in-
switch for £ 5 . 0 0 . You don't recorders. A similar feedback diagram (Figure 2a). serted the right way round (the
have to be an electronics boffin problem could also exist bet- One of the properties of a capacitors will be marked as be
to build it, although you will ween t w o cassette recorders transistor is that a small varia- ing positive or negative at one
need to have access to a fine- and for this reason the output tion in voltage applied between end and the tag on the transistor
tipped soldering iron. from the DIN socket is normally the base and emitter (the signal) case is adjacent to the emitter).
switched off inside the cassette can cause a large variation in the Now take a length of stereo
Feedback recorder when put into RECORD
mode. Thus, if use could be
current, I, which flows from the screened cable (about half a
collector to the emitter. Thus, if metre) and carefully cut one
The need to remove the ear- made of this output rather than a resistor is placed in the collec- wire about eight inches from one
phone plug while saving a pro- the earphone socket, our vicious tor lead (R3) then by Ohm's Law end, leaving the other wire in
gram stems from the fact that circle will be broken (V IR) the voltage at the collec- tact. Strip the outer insulation
most domestic portable automatically without us having tor will be proportional to this off both cut ends and separate
cassette recorders feed the to unplug or switch anything, changing current, the precise the screen wires from the cen-
signal that is being recorded to unlike many commercial value being determined by the tral core, then remove about a

84 ZX C O M P U T I N G DECEMBER J A N U A R Y 1 9 8 5
IARDWARE PROJECT)

ON OFF
SWITCH
O O O O O O O O O O
SPECTRUM

JL
POWER PLUG

TTttt— ° 7/—I
FROM
XI
POWFR RED STRIPE
SUPPLY RED STRIPE (NEGATIVE)
(NEGATIVE)

C3

C2

SCREEN
3 PIN D I N P L U G
SHOWING INTERNAL / EARPHONE
JACK PLUG
CONNECTIONS TO SPECTRUM

o o o o o o o o o o o o o ID
CORE

HD
BOTH SCREENS GO MIC JACK PLUG
TO THE C E N T R E PIN TO SPECTRUM

quarter of an inch of insulation


from the core. Solder the two
negative (red) wire connects to
the inside of the plug and the
List of Parts Capacitor (C2,C3).
1 x BC1 08 Transistor (TR1 ).
cut ends to the board as shown black to the outer part. 2 x 18K y*W Resistor (R1,R2). 1 x S.P.S.T. Switch.
in (Figure 2a) with the shorter The only remaining connec 1 x 470 A %W Resistor (R3). 1 x 3 pin DIN plug.
length to the right. T w o 3 , 5 m m tion to make is that between the 1 x 1 0 0 A % W Resistor (R4). 3 x 3 . 5 m m jack plugs.
jack plugs are now fitted to the board and the on/off switch. A 1 x 6 8 0 O ! 4 W Resistor (R5>. 1 m Stereo Screened cable.
shorter length of the stereo short length can be removed 1 x 1 O^lF 16V Electrolytic 0 . 1 " Veroboard as required (see
cable. Separate the cable by a from the power supply lead Capacitor (CI). article).
few inches before fitting the when cut for the purpose. Any 2 x 1 00/LtF 16V Electrolytic Box as required.
plugs and remember to thread s i n g l e pole s i n g l e t h r o w
each plug cap on the respective (S.P.S.T.) switch can be used. t/b
half oi the cable before soldering Just connect the wire as shown
the wire to the plug1 in (Figure 2b). The orientation of O o o o o o o o o o o o o • o •
the wire is not important. Final-
In each plug the cable screen ly, the prototype was installed in • • o
goes to Ihe outer connection a small plastic box for neatness.
and the core to the central con 0 o
tact. Grey and black jack plugs o 0
can be obtained to match those
on the original lead. The DIN plug
The Circuit in Use • • • • • •
is next to be wired up. Only a Provided the circuit has been o o
three pin plug is required even built correctly, it should work
though the cassette recorder first time. Another jack plug will o o
will probably have five or more be needed for the cassette ear
pins. For details of the connec- phone socket in order to switch o o
tions refer to (Figure 2a). Next, o f f the loudspeaker w h e n o o
cut the power supply lead about loading a program. Alternative
five inches from the Spectrum ly, if an earphone is plugged in, o • • o
plug. Strip the ends of the wires then it will be possible to hear a
and connect them to the matrix program being saved. If the cir-
o • • • o
board as shown in (Figure 2a). cuit does not work, it is likely o • • • • o
There's a red stripe down one of that a mistake has been made in
the two wires and, strangely, the construction. Make sure • • •
this was found to be the there are no solder bridges o o
NEGATIVE side of the supply. across the tracks and that the
Incidentally, it seems to be quite capacitors and transistor are in- • • o
common for one of the wires to serted correctly. The circuit has
break inside the moulded-on been found to slightly improve
o • • • o
plug due to flexing of the wire as the ability to load some pro- o 0
the plug is pulled out and pushed grams, but cannot improve
in. Rather than sending the what isn't there; most loading 0 • o • • o o o o o o o o o o •
whole power supply unit off for problems are due to sub
a costly repair, the plug can be standard recordings and badly Fig. 2 Construction, showing layout of components
cut off and replaced w i t h misaligned tape heads. It will
another. It's just a low voltage work with the new 'turbo load' and wiring (above) and solder connections on the
d.c. connector, widely available method now used by many underside of the board (below)
for just a few pence. The companies.

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1985 85
SANTA'S CAME

Derek Mearns shows us what poor


Santa has to put up with every
Christmas.
• W • "II 1

,
o<

It's Christmas time again and


Santa has deliberately left the Variables
next house on his round until
last. It is reputed to be the worst a,b reserved for READing DATA,
house any Father Christmas has e stage.
ever had to deliver to. Even the f.g.j reserved for FOR . . . NEXT loops,
normally compassionate Easter h high score.
Bunny curses its existence! Still, I number of lives remaining.
deliver he must and so he sets print positions for the obstacles on stage one.
out on the treacherous journey reserved for RANDom numbers.
across the snowy artic. score.
The game has five stages various including time on stage 3 and total of key
each requiring a different skill to presses on stage 5.
complete. After the completion u Flag for whether or not Santa is Up in the air on stage
of each stage you progress onto 4.
the next. After finishing all five x X Co ordinate of Santa,
stages at December 1 9 8 5 you y year.
progress to Christmas the next c$ width of roof and Chimney on stage 2.
year and then to 1987, 1 9 8 8 h$ name of the high-scorer (maximum 10 letters),
and so on with each year being k$ contains the user-defined keys,
more difficult than the previous r$ reserved for 1NKEY$;
one.

86 ZX C O M P U T I N G DECEMBER J A N U A R Y 1985
SANTA'S CAME

75 LET H = 0 : DIM H * ( 1 0 )
Program Breakdown 10 LET Y = l : DIM K * ( 4 ) : L E T L=*5
A brief program is included in the form of REM statements within : LET S = 0
the program but for those of you who are interested what follows 4 0 B R I G H T 0 : P A P E R 0 : BORDER 0
is a more detailed program including notes on what certain
special commands (e.g. the POKEs) do. : C L S t POKE 2 3 6 5 8 , 8
5 0 I N K 6 : P R I N T AT 0 , 2 } BRIGHT
15 GOSUBs the UDGs. Originally these were part 1 ? " S A N T A ' S CHRISTMAS NIGHTMARE'
of the main program but were changed to a "JTAB 2 ; - * — — •• '"- " 1
subroutine so that they were set up to be
printed in the instructions.
20 The POKE sets the computer in CAPS LOCK 5 2 GO SUB 9 2 0 0
mode. 5 5 RFM D F F I N E K E Y S
25 Sets up variables that should not be reset at
the start of a new game. S 7 I N K 6 : P R I N T AT 0 , 2 ; BRIGHT
30 Initialises variables that need defining at the t i " S A N T A ' S CHRISTMAS NIGHTMARE'
beginning of each new game. " ; T A B 2 5 " ""* 'J—f »••
52 GOSUBs the main instructions.
6 0 99 Asks for the User Defined keys. Enter can be 6 0 I N K 5 : P R I N T AT 5 , 0 ; " W H I C H
used as a key but will present problems in
lines 9 3 0 0 9 5 5 0 . K E Y S WOULD YOU L I K E LEFT:"
900 995 Sets up variables needed for stage one '*"RIGHT:'''"UP:"''"DOWN!•
including: 7 0 FOR F = 1 TO 4 : P R I N T AT F * 7 +
91 0 P is set up to hold the print positions and
types of obstacles. 6, 10; FLASH 1 J
9 5 0 GOSUBs the NEXT STAGE and brief 80
LET R * = I N K E Y « : IF R$<>"" TH
instruction reminders subroutine.
EN GO TO 8 0
9 9 0 This POKE stops the computer asking
'scroll ?' at line 1070. 9 0 LET R * » I N K E Y « : IF R*«"" THE
9 9 5 GOSUBs the traffic light countdown N GO TO 9 0
subroutine, Both this and the subroutine
9 5 BEEP . 0 3 , 2 0 : P R I N T AT F * 2 +6
activated at line 9 5 0 occur at the start of each
stage. , 1 0 ; R S : L E T K $ ( F ) = R « : NEXT F
1000-1 0 7 0 Contains the main body of Stage 1. <?7 FOR F = 1 TO 4 : FOR G= 1 TO 4:
1900 1 980 Checks for INKEY$ and detects collisions.
I F F = G THEN NEXT G: NEXT F : GO
2000 Gives you a bonus for completing Stage 1 and
GOSUBs the congratulations message (also TO 1 0 0
activated each stage). 98 IF K ® ( F ) a K t ( G ) THEN CLS :
2020-2040 Determines the width of the roof and sets up
GO TO 5 7
the screen.
2100-2220 Contains the Stage 2 'action'. 9 9 NEXT G : N E X T F
2510-2590 Prints the chimney and determines the speed 1 0 0 GO TO 2 0 0
for Stage 3.
2600-2800 Stage 3 proper. 101 REM DEFINE GRAPHICS
301 0 3 0 9 0 Initialises screen and variables for Stage 4. 1 0 3 RESTORE 1 0 0
3 1 0 0 31 3 0 Stage 4 routine when there is no snowball. 1 0 5 FOR G = 1 4 4 TO 1 5 9 : FOR F = 0 T
3200 3240 Ditto for when there is a snowball present.
3300 3330 Performs Santa's leap over the Christmas O 7 : READ A : POKE USR CHRS G + F , A
tree. : N E X T F : NEXT G
3600 361 7 Sets up the variables and screen for the next 1 1 0 DATA 28,28,8,62,8,28,20,20
stage. Note that the INK colour is set to 5
(cyan) yet the houses are printed in yellow so 1 2 0 DATA 56,124,214,186,124,214
that their ATTRibutes are different. Thus a ,146,16,24,52,82,255,169,255,153
collision with the houses can be detected ,255,56,120,44,46,42,58,40,104,2
using the ATTR command in line 372.
3620 3800 Contains the main part of Stage 5. 4,36,24,36,66,66,36,24
1 3 0 DATA 18,63,254,252,124,62,1
From there on the REM statements serve |ust as well as a 2 7 , 118
description would so you can go through them if you need a
breakdown of the latter parts of the program $ mainly 1 4 0 DATA 30,30,76,111,236,255,2
subroutines. 55,126,0,1,1,3,255,252,68,68
1 5 0 DATA 1,3,7,15,31,63,127,255
,128,192,224,240,248,252,254,255
1 6 0 DATA 102,102,102,102,255,25
1 REM 5,255,255
•Underlined characters* 170 DAtA 0,0,64,96,224,255,255,
*are entered in * 126,28,62,127,127,127,73,42,28
*GRAPHTCS m o d e . * 1 8 0 DATA 255,32,32,255,255,2,2,
T T IT R ~ W T i T T T i r T T T T T T T T T I t i nw r
M ¥ ¥ If ¥ ¥ ¥ ¥ ¥ ¥ ¥ W M 255
10 REM I N I T I A L I S E S R E E N AND 1 9 0 DATA 60,66,129,129,129,129,
SOME V A R I A B L E S A6,60,60,126,755,255,255,255,126
27 GO SUB 1 0 1 . 60

ZX C O M P U T I N G DECEMBFR J A N U A R Y 1985 87
SANTA S GAME

199 RETURN
" P I 0 REM S C R E E N 1
9 0 2 B R I G H T 0 : P A P E R 7 : BORDER 7
: CLS
9 0 5 I N K l : PRINT AT 1 1 , 1 0 ; " P L E A
SE WAIT*
9 1 0 DIM P < Y * 7 9 , 2 > ! FOR F = 1 T O Y
*79: LET P ( F , 1 ) = I N T (RND*30>+1:
LET P < F , 2) — INT < R N D * 3 ) + 1 4 6 : NEXT
F
9 2 0 I N K l : LET N=0: LET E « i : L E
T X— 1 5
9 5 0 GO S U B 9 8 0 0 : INK2 : CLS
9 9 0 POKE 23692,255
9 9 5 GO S U B 9 9 0 0
1 0 0 0 FOR F = 1 TO 1 0 0 : L E T S = S + 1
1050 PRINT AT 0 , X ; " H '
1 0 6 0 I F F < 8 0 THEN FOR G = 1 T O Y :
LET N = N + l : PRINT AT 2 1 , P ( N , 1 ) ;
INK 0 ; C H R $ P ( N , 2 ) : NEXT G : P R I N T
AT 2 1 , 0 ; INK4 J " B " | A T 21,31|"B-
1 0 6 5 GO S U B 1 9 0 0
1070 PRINT AT 2 1 , 0 t I N K 8 { OVER
1 , , , , : N E X T F ! GO T O 2 0 0 0
1 9 0 0 L E T R « = I N K E Y « : FOR G = 1 T O 4
: I F K<t<G)=RS THEN GO T O G * 2 C H J " * FOR F - 1 8 TO 2 1 : P R I N T A T f - , i
900 5 - w / 2 ; c«; * w : NEXT F
1910 N E X T G : GO T O1 9 6 0 2 1 1 0 GO S U B 9 9 0 0 : FOR F = 0 TO 2 V :
1920 I F ATTR ( 1 , X - J ) < >58 THEN P P R I N T AT 0 , F } I N K 2i ' K " \ INK
RINT AT l , X - l ; I N K 2 ! " F ' | A T 0,X) IF INKEY*-K*<4) THEN GO T
• I N K L : GO S U B 9000: GO TO 9 O 2200
00 2 1 2 0 N E X T F : I N K 5 : GO S U B 9 0 0 0 :
1930 LET X = X - l : I F X=0 THEN LET GO TO 2 0 1 0
X = X + l : GO TO 1 9 6 0 2 2 0 0 L E T X = F + l : P R I N T AT 0 , X ; I N
1 9 3 5 RETURN K 2;"k"J INK6 | " H " : I N K 2 : FOR F
1 9 4 0 I F ATTR < 1 , X + 1 > < > 5 8 THEN P = 2 TO 1 3 : P R I N T A T F - 1 , X J " " 5 AT
-
RINT AT 1 , X + 1 ; INK2 ; P ' j A T 0,X( F,X|"H'iAT F + 1 , X ! F O R G - i TO
" * : I N K l : GO S U B 9 0 0 0 : GO T O 9 4 0 : NEXT G : NEXT F : I F X = 1 6 THE
00 N L E T S = S + 1 0 0 : GO T O 2 2 5 0
1950 LET X = X M : I F X= 31 THEN LE 2 2 1 0 FOR F = 1 4 T O 1 5 : P R I N T A T F -
T X=X-l: GO T O 1 9 6 0 i,x;" -;AT F,X;-M-|AT F+I,x»"e":
1 9 5 5 RETURN FOR G = 1 T O 4 0 : N E X T G : N E X T F
1 9 6 0 I F ATTR < 1 , X ) < > 5 8 THEN PR I 2220 I F X<16-(U/2+1) OR X > 1 6 + W / 2
NT A T 1 , X ; I N K 2 ; " F - | A T 0,X1" THEN FOR F = 1 6 T O 2 0 : P R I N T A T
I N K I : GO S U B 9 0 0 0 : GO TO 9 0 0 F-I,X;" ";AT F,X?"M»IAT F+I,XI"B
1 9 8 0 RETURN FOR G = 1 T O 4 0 : N E X T G : . N E X T F
7 0 0 0 I N K l : LET S = S + 5 0 * L : GO S U B : I N K 5 : GO S U B 9 0 0 0 : GO T O 2 0 1 0
9820 2 2 5 0 CLS
2 0 0 5 P A P E R 0 : BORDER 0: CLS 2 3 0 0 I N K 5 : L E T S = S + 5 0 + 2 0 * L : GO
2 0 1 0 RFM S T A G E 2 SUB 9 8 2 0
2020 INK5 : l E T E=2: GO S U B 9800 2 5 0 0 REM S T A G E 3
: I N K 6 : LET W = 1 0 - Y : I F W<1 THEN 2 5 1 0 CLS : LET E = 3 : I N K 5 : GO S U
l . E T W= 1 B 9800: I N K 6 ! FOR F = 5 T O 2 1 : PR
INT AT F , 1 2 J " N " | T A B 19|-N": NEXT
2040 PRINT AT I 5 , 1 6 ; " L " ! TAB 16J" F : P R I N T AT 4 , 1 2 i *NNNNNNNN*: FO
9" R F = 0 TO 3 : P R I N T AT F , 1 3 5 ' Ntf" | T
2100 PRINT A T 1 7 , 1 5 - W / 2 J "J." ; c « ; " A B 1 7 ; " N N " : NEXT F

88 ZX C O M P U T I N G DECEMBER/JANUARY 1985
I
SANTA'S CAME

7570 PRINT AT 21,0; • NMNUtJNUNNUNN 2670 NEXT T: FOR F = 1 TO 4 0 : NEXT


NNNN'jAT 6, 13; *NNN" J A T 2 0 , 12 J " F: INK 5 : GO S U B 9000

Li* 2690 PRINT AT F - L , 1 6 ; " •;AT F,


2530 LET X = 1 5 ! PRINT AT 5 , 1 5 ; IN 1 6 ; - — F O R F - F - L T O 20: PRINT
K 2;"a* AT F - L , 1 5 ; - ";AT F , 1 5 ; INK 2 ; " 0
2540 LET W=10-Y: IF U < 1 THEN LE -: FOR G = 1 TO 4 0 : NEXT G: NEXT F

T W= 1 : PRINT AT 2 0 , 1 5 ; INK 2 ; " F » ; FOR

2 5 5 0 LET W=W/2 F=1 TO 4 0 : NEXT F: INK 5 : GO S U


2 5 9 T F GO S U B 9 9 0 0 B 9000: GO T O 2500
2600 INK 5 : FOR F= 2 1 TO 6 STEP 2700 L E T X=>16: PRINT AT 5 , 1 5 ; " "
L: FOR G = 1 TO W * 4 : N F X T G: PRINT : IF F = 6 THEN GO T O 2650
AT F , 1 6 ; "MUM* : IF F< 2 1 THEN PR 2710 IF F >6 THEN FOR F= 6 TO F - L
INT AT F+1,16;" : PRINT AT F - L , 1 6 ; " "JAT F , 1 6 ; !
2610 LET R$=INKEYT: IF R$=KT(2) NK 7 ; " Q " : FOR G - L TO 40! NEXT G :
THEN GO T O 2700 NEXT F: PRINT AT F - L , 1 6 ; INK 2;
7615 FOR G= 1 TO W*4 : NEXT G: PR I -F-: FOR F = 1 TO 4 0 : NEXT F: INK
NT AT F , 1 6 ! ; IF INKEY*-K®<2 5: GO S U B 9 0 0 0 : GO T O 2 5 0 0 -
> THEN GO T O 2700 2800 FOR F = 1 5 TO 0 STEP - L ! PRIN
7670 NEXT F: FOR F = 6 TO 2 1 : FOR T AT 7 0 , F ; I N K 2 ; " Q "S FOR G = 1 T
G=1 TO W * 4 : NEXT G: PRINT AT F - L O 20: NFXT G: NEXT F
,16;- ";AT F , 1 6 ; " — I F INKE 2900 INK 5 : LET S= S + 5 0 + ( T + 1 0 ) * L :

Y<£=K<M2> THEN GO T O 2700 GO SUB 9820

2625 FOR G=L TO W * 4 : NEXT G: IF 3000 REM S T A G E 4


F< 2 L THEN P R I N T AT F , 1 6 ;" . M . " 3010 LET E = 4 : INK 5 : GO S U B 9800
2627 I F INKEY*=K<I.<7> TMFN GO T O 3020 INK 4 : FOR F = 1 0 1 TO 6 1 STEP
2700 -70: FOR G = 1 TO 3 0 : PLOT 30-G/2
2630 NEXT F ,F-G: DRAW G,0I NEXT G: NEXT F:
2640 PRINT AT 17,05"TIME:"I PRIN INK 7: FOR F = 2 6 TO 3 4 : PLOT F , 1 6
T AT 2 0 , 1 2 ; ' FOR T = 7 0 TO 0 : DRAW 0,15: NEXT F
STEP - 1 : PRINT AT 17,5;T; H
": NE 3030 INK 5: FOR F=0 TO 1 5 : P L O T
XT T: FOR F = 1 TO 4 0 ! NEXT F: INK 20-F/2,F: DRAW F+20,0: N E X T F
5: GO S U B 9 0 0 0 : GO T O 2500 3040 LET W=10-Y: LET W=W/3: IF W
2650 FOR F= 6 TO 2 1 : FOR G = 1 TO U <1 THEN LET W=1
*4: NEXT G: PRINT AT F , 1 6 ; " — " » " ( 3090 LET X=30: INK 7: GO S U B 9 9 0
AT F - L , 1 6 ; INK 2 ; " Q " : IF INKEY*= 0
K*<1> THEN GO T O 2690 3100 PRINT AT 2 1 , X ; INK 2 ; ' £ I •
2658 PRINT AT F - L , 1 6 ; INK 2 ; " B 3110 FOR F = 1 TO W * 4 : NEXT F: IF
': FOR G = 1 TO U * 4 : NEXT G: IF F< iNKEY4=Kt(1) THEN LET X=X-L: LE
21 THEN PRINT AT F , I A > • • T S=S+I: IF X = 6 THEN GO T O 3300
2659 IF INKEY*=K*<1) THEN GO T O 3170 IF RND< . 1 5 A N D X > 1 1 T H E N L
2690 ET U = 0 : PRINT AT 2 1 , X ; INK 2I"FI
2660 PRINT AT F - L , 1 6 ; ' ": NEXT -: GO T O 3200
F: PRINT AT F - 2 , 1 6 ; INK 2;*FI": 3130 GO T O 3 1 0 0
PRINT AT 1 7 , 0 ; - T I M E : • : PRINT AT 3200 FOR F = 7 TO 31: FOR G = 1 TO W
2 0 , 1 4 ; - -: FOR T = 2 0 TO 0 STEP - 1 *4: NEXT G: LET S=S+l: PRINT AT
U 2 I , F - L ; • P": IF
: PRINT AT 17,5;T; ": IF INKEYT F-X A N D U-0 THEN
=K$(1) THEN GO T O 2800 PRINT AT 2 1 , X ; INK 2J"F": FOR
F=1 TO 20: NEXT FL I N K 5 : GO SUE
9000: GO TO 3000
3210 IF INKEY*=K*<3> AND Lf=0 THE
N LET U=l: LET T=0: PRINT AT 21
X*> » •

3220 IF U=1 THEN LET T=T+i: IF


T = 5 THEN LET IJ=0: PRINT AT 20,X
n
f
> •

3230 PRINT AT 2l-U,X; INK 2; "Q" :


IF F=X AND U=0 THEN PRINT AT 2

-
ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5 89
SANTA'S CAME

1 , X} I N K 2 J » F «• : FOR F - L TO 20: N
EXT F: INK 5 : GO SUB 9000: GO TO
3000
3240 NEXT F: LET U=0 : PRINT AT 2
1,31;- " ; A T 2 1 , X ; INK 2;"G'»AT 2
0,x;" * : LET s = s + 5 : GO TO 3 1 0 0
3300 PRINT AT 2 1 , 7 } " *! FOR F = 2 0
TO 10 STEP - L : PRINT AT F , 6 ; IN
K 2;"B*(AT F+1,6|" ": FOR G - L TO 40: NEXT G: PRINT AT T,F; INK 2;
10: NEXT G*. N E X T F " 1* | INK 6("H»: IF ATTR (T,F + 3)
3310 PRINT AT 10,6;" RESTORE =6 THEN FOR G=1 TO 40: NEXT G:
3320: FOR F = 1 TO 5 : READ A , B : PR GO TO 3750
INT AT A , B ; INK 2 ; - B " : FOR G - L T 3730 NEXT F: GO TO 3800
O 10: NEXT G: PRINT AT A , B ; " ": 3750 INK 2: PRINT AT T,F+1J" :
NEXT F FOR G=1 TO 40: NEXT G: PRINT AT
3320 DATA 9 , 5 , 8 , 4 , 7 , 3 , 8 , 2 , 9 , 1 T,F+2;"B': FOR J « I TO 4 0 : NEXT
3330 FOR F = 1 0 TO 2 1 I PRINT AT F , J: PRINT AT 19, F + 2; : INK 5: G
0; INK 2 } " H " | A T F - I , 0 J" FOR G O SUB 9000: GO TO 3500
=1 TO 1 0 : NEXT G: NEXT F 3800 LET S=S+200: GO SUB 9820
3340 FOR F = 1 TO 2 0 0 : NEXT F: INK 4000 REM NEXT YEAR
5: LET S=S+50: GO S U B 9820 4010 LET Y=Y+1
3500 REM S T A G E 5 4020 CLS : PRINT AT 6,0;"WELL DO
3510 LET E = 5 : INK 5 : GO S U B 9800 NE - YEAR -JY+1983;" COMPLETED'"
3600 PRINT AT 2 0 , 0 } PAPER 7 , , , , : ;AT 12,0}"YOU NOW PROGRESS TO YE
FOR G = 0 TO 5 : FOR F = 6 + G TO 1 9 : AR ";Y+1984*"WHICH, OBVIOUSLY, I
PRINT AT F , G J INK 6 } " B " | A T F , 3 1 - S HARDER."
G ; " : NEXT F: PRINT AT G + 5 , G | I 4030 FOR F=1 TO 200: NEXT F: GO
NK 6;"<J-|AT G+5 , 3 1 - G 1 ' : NEXT G TO 900
: PRINT AT 6 , 2 ! INK 6} "K•|AT 7 , 2 9000 REM YOU LOSE A LIFE
I " | A T 6|29|"K•;AT 7,29}"«" 9010 LET L=L-l: FOR F=1 TO 100:
3610 PRINT AT 19,15; INK 2 } " } NEXT F: CLS : PRINT AT 6,2}'BAD
INK 6;"M•: LET T - 0 LUCK ! - YOU LOST A LIFE";AT 12,
3615 GO S U B 9 9 0 0 : IF I N K E Y*=K«FC < 3 10;L;" LIVES LEFT"
) THEN PRINT AT 1 1 , 1 1 ; 'HANDS OF 9015 FOR F =15 TO 0 STEP -l: BEEP
F»•: FOR F = 1 TO 1 0 0 : NEXT F: PRI .1,F: NEXT F
NT AT 11,111' -: GO T O 9020 FOR F=1 TO 200: NEXT F: CLS
3615 : IF L =0 THEN GO TO 9100
36 17 PRINT AT 2 , 2 ? INK 7}"TIME:5 9030 INK 2: RETURN
00" 9100 PRINT AT 4,0}"YOU REACHED Y
3620 FOR F=500 TO 0 STEP -1 EAR "}Y +1984} " < STAGE "}E} ") "}AT
3625 PRINT AT 2 , 7 ; INK 7 ; F ; " " 8,0;"YOU SCORED ";S
3630 IF INKEY*=K*(3) THEN LET 9110 IF S > = H THEN PRINT AT 12,0
=T+1 GO TO 3650 ;"YOU BEAT THE HIGH SCORF
3640 NEXT FT GO T O 3700 THE HIGH SCORE IS NOW "}S: LET
3650 IF INKEY*< > • " THEN LET F=F H=S: PRINT "PLEASE ENTER YOUR N
-L: PRINT AT 2 , 7 J INK 7 ; F ; * ": I AME": INPUT LINE H*
F F > 0 THEN GO T O 3650 9120 IF S< H THEN PRINT AT 12,0}
3655 IF F < 1 THEN GO TO 3700 "THE HIGH SCORE REMAINS "}H'"BY
3660 NEXT F • ; H$
3700 LET T=T*2: LET T = T - 1 5 * Y : LE 9130 PRINT AT 19,0;"PRESS ANY KE
T T=T-36I LET T=19-T: IF T < 0 THE Y TO PLAY AGAIN"
N LET T=0 9 140 IF INKEY*="" THEN GO TO 91
3710 FOR F = 1 8 TO T S T E P - L : PRIN 40
T AT F , 1 5 ; INK 2 } " G « | INK 6|"M-; 9150 RESTORE : CLS : GO TO 30
T
AT F+1,15;" FOR G = 1 TO 4 0 : N 9210 BRIGHT l: INK 5 : PRINT "Yo
EXT G: LET S=S+20: NEXT F a (j 1 ay the part o+ Santa ( " } INK
3720 FOR F = 1 5 TO 2 9 : F O R G = 1 TO 2}"B*| INK 3|")"'"dellvering pr

90 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SANTA'S CAME

ghts will count you down to t


he start. When the green ligh
t ("; INK 4; "O*| INK 5 J ") lights
up <"; INK 4;"£•| INK 3|") th«
screen will start."
9280 GO TO 9700
9300 PRINT AT 8, 12 J "REMEMBER": P
RINT AT 9,0: GO TO E*50+9300
events to the last house on his 9350 PRINT "Use keys ";K&(1);" a
rou n d . " nd ";K*(2>;" to avoid the obst
9220 PRINT '"STAGE 1: Use the le acles. Be prepared for the spee
ft and right keys to guide Santa d increase towards the end !": G
through the snow avoiding the t 0 TO 9700
rees <"; INK 4;-B-| INK 3| " > , th 9400 PRINT "Press key ";KU<4);"
eigloos ("J INK 7 ; " C " j INK 5}">, when Santa is over the rooftop.
n
the penguins <"; INK 7;"£>"; INK : GO TO 9700
5;") andthe snowmen <"; INK 7;' 9450 PRINT "Press key ";K*<2>;"
E m ; INK 5i " ) . " to step onto the 1ift. When t
9230 PRINT '"STAGE 2: Press the he brick disappears press key ";
down key to parachute from your K$(l);" to step Off.": GO TO 970
sleigh ("; INK 2 { " G " ; INK 6; "Li" 0
; INK 5;") down onto the roof. L 9500 PRINT "Press key ";K*(1>;"
and on the chimney ("; INK to move towards the tree and key
; INK 5;"> for a points bonus." •;K$(3)J" to jump the snow
9235 GO SUB 9700 balis.": GO TO 9700
9240 PRINT AT 3,0;"STAGE 3: Now 9550 PRINT "Press key ";Kt( 3 ) » "
you are inside the chimney and m as fast as you can to achieve h
ust get to the bottom using eight. Don't hold key - ; K * ( 3 H
the lift (•*••). Press the rig " down, it won't work '"
ht key to step ontothe 1i+t and, 9700 PRINT AT 21,3;"PRESS ANY KE
when the brick ("; INK 6J"N"J I Y TO CONTINUE"
NK 5;")at the bottom disappears, 9710 IF INKEY*="" THEN GO TO 97
press the right key before your 10
time 1imit runs out." 9770 P R I N T AT 3,0,,,,,,,,,,,,,,,
9750 PRINT '"STAGE 4: Cross the I ) ) I ) I ) ) M * > > ) I M ) ) ) I ) I
floor to the Christmas tree usin 9730 RETURN
g the left key. When a snowbal 9800 REM N E X T SCREEN MESSAGE
1 <"; INK 7;"P»| INK 3 | " ! appear 9810 CLS : PRINT AT 6,11;"YEAR:"
swa it until it is near you and ;Y + 1 9 8 4 ; A T 1 2 , 1 2 ; "STAGE " ; E : FOR
use the up key to jump over it. F=1 TO 8 0 : NEXT F: CLS : GO S U B
Wait until the snowball leaves 9300: RETURN
the screen and then continue 9820 REM END OF S C R E E N MESSAGE
towards the Christmas tree." 9830 CLS : PRINT AT 5,11;"YEAR:"
9255 GO SUB 9700 ;Y * 1984;AT 1 0 , 0 ;"WELL DONE • - S
9260 PRINT AT 3,0;"STAGE 5: Pres TAGE " ; E ; " COMPLETED";AT 15,11;"
s the up key as many times as SCORE:";S
you can while the clock ticks a 9840 FOR F = 1 0 TO 2 5 : BEEP . 1 , F :
way. The more timesyou press it NEXT F: FOR F = 1 TO 2 0 0 : NEXT F
the more height thesleigh {"; IN 9850 RETURN
K 2; "2* ; INK 6;"H"J INK 3 j " ) wil 9900 REM T R A F F I C LIGHTS
1 achieve. You must get high e 9910 PRINT AT 1 , 0 ; INK 2;"P"}AT
riough to clear the houses othe 2,0; INK 6 ; * O • ; A T 3,0; INK 4j"O»
rwise you*11 crash." : FOR F = 1 TO 5 0 : NEXT F: PRINT A
9270 PRINT *"At the beginning of T 2 , 0 ; INK 6 ; - P " : FOR F - l TO 3 0 :
each screen you wi11 be given a NEXT F: PRINT AT 1 , 0 ; INK 2 ; " o »
brief reminder of these i ;AT 2,0; INK 6;"0»JAT 3,0; INK 4
nstructions and then traffic li ;"E": RETURN

ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5 91
Z X 8 1 GAME

/ ,
;''<• - t r ' -
%*

WId
'

f t

A brilliant two-player machine-code


game which is a 1K masterpiece from
Barry Smith.

1
T L \ t ; m - ' ^ 1 nil' ' i i ' t fan '

il
/

V
V / „l ' I l/V

Once this program has been Painter t w o , w h o starts work at 1 PokGS >V
,'p! entered then SAVE it before the right of the room is controll
control! : C -
- / RUNning
RUNnina as the slightest
sliahtest error by a second set of kevs:
ed bv keys: ^ VNU
You MA« litd M
may like to PHKP-
POKE:
; i>
T v will cause all your work to be 1 6537 the paint used by Painter one.
lost! " N " - Up 1 654 2 the paint used by Painter Two.
" M " — Down 16828 the speed of the game. This is initially 1 3 and ranges
t
r
* The plot " . " - Left from. 1 impossibly fast, to 255 - incredibly slow.
" S p a c e " - Right
Two decorators are frantically f^T <• • J' . ,•—<—kill,!''.', w . .' ' ,, 1 '' —'-•"• "T
rushing around a room, each Press " T " and both workers
i • desperately trying to paint as stop for a tea break, until you tell
much of the floor as possible. them t o start work again by HEX LORDER
[' f You must guide their brushes to pressing " Y " .
((. help them achieve this aim. Ten
points are awarded for each Entering the game 1 REM EEEEEEEEEEEEEEEEEEEFIEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
brush stroke that covers an un-
— \
/ painted section of floor. If, inType in Line 1 of the Hex Loader, EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
their haste, either worker strays it has 3 2 1 characters after the EEEEEEEEEEEECEEEEEEEEEEEEEEEEEEE
/
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
onto those parts of the room REM statement, that is 10 full EEFEEEEEEFEFFEEEEEEEEEEEEEEEEEEE
^ \
that have so far been painted lines and one extra character. EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
/_
they will be fired, this news Now, as a direct command type EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
causes them to flush angrily. CLS, then enter Line 2 which EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
The last worker to be sacked is has four full lines and 19 extra EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
the one t o w h o m the score is characters after its REM. You EEEEEEEEEE
• i given. Tea breaks are allowed may now enter the rest of the 2 REM EEECEEEEEEEEEEEEEEEEEEC
only at the discretion of either program normally and need not EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
player. worry if any of the lines float to EEEEEEEEEEEEEEEEEEEECCEEEEEEEEEE
JN'j the top of the screen. RUN the EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
-/
I —
- /
Control keys program. ENTER one line of
code from the Hex Dumps. After
EEEEEEEEEEEEEEEEEEEEEEEEEEEE
10 L E Tpj s " "
/ -J
' I«
Painter One, w h o starts work at the last line, from Hex Dump 2 , 20 FOR R = 1 6 5 1 4 T O 1 5 9 8 7
3 0 L E T R=:R+ ( R = 1 6 8 3 5 ) * 6
J ; the left of the room is controlled has been typed in, the computer
- 4-0 I F R $ = " " T H E N INPUT R *
with the following keys: will stop w i t h the report 0 8 0 .
5 0 P O K E Pi . 1 6 * C O O E R$+COOE R*<2
>-N
I',
Delete lines 80 -1 0 in that order ) -476
. * i
" S h i f t " Up and add the line 3 RAND USR 60 PRINT RT 0 , 0 ; R j " ";R$C TO 2
- /
/ s " Z " - Down 1 6 5 3 6 . the fame is now ready 1
7', " X " - Left for playing. "70 LET R$ = N$ (3 TO )
•» i " C " - Right GOOD LUCK. 80 NEXT R
•j , • 1 V
m f#
-
92 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
ZX81 CAME
• ^ r r rrr-TTT
1 ~. /
' - ' i -1„
\ .
w
t
'! k ' 1 V ' • li<. 1 „
' > i '^ ,v I .- •r^r—
i.'S's 1

'j,
HEX DUMP 1 HEX DUMP 2 Tvi,
v
r'-
16514. B8 R8 64 B7 PR 08 9C 9C 16748 : 93 40 ED B0 13 2 1 18 4 1
16522 9C 9C RD RE 08 9C 9C 9C 16756 : 3E 9D CB 6E 28 0 1 3 C 12
16530 9C R7 B 7 BR B8 RD 3E 97 16764 : C 9 2 1 00 00 23 22 7E 4 1
W, 16538 32 2C 4 1 3E 97 32 44 4 1 16772 : 0 1 09 00 E 1 E 5 09 CD 4E
1654-6 01 6 E 00 2R 0C 40 E5 E5 16780 : 42 2 1 00 00 7C B5 28 06
\
16554- E5 E 5 E5 09 22 26 4 1 0 1 16768 : 2B 22 SE 4 1 18 0E 2 1 9 1
16562 85 00 E l 09 22 3E 4 1 3E o \V 16796 : 40 CD 4E 42 0C 19 EL E5
16570 2R 32 1R 42 3E 3C 3 2 2 D 16804 : 09 CD 4E 42 3E FB DB FE
16576 42 2 1 00 00 22 7E 4 1 7C 16812 : CB 67 20 08 3E DF DB FE

r»\-j
.'I 16586 32 18 4 1 06 0B E l 0 E l f l 16820 : CB 67 20 F8 21 34 40 06
16594. 23 C5 E5 CD 9B 09 E l C I 16828 : 0D 70 46 10 FD 18 06 2R
16842 : 1R DB v:
16602 11 08 80 72 79 FE lfl 2 0 42 3E FE FE CB 4 7
16610 0 1 73 0D 20 EB 73 23 1 0 \ 16650 : 20 02 2E 33 CB 4F 20 02
•> r/,
16© 1 6 65 06 19 2B 73 10 FC 0 E 16858 : 2E 38 CB 57 20 02 2E 3C
13 2 1 82 40 ED B 0 i' 16866 : CB 5F 20 82 2E 2R 22 1R
>v'i
'/ 16626 0R D 1 /1
M' 16634 3E 08 06 09 12 13 10 F C i"/. 16874 ; 42 2R 2D 42 3E 7F DB FE
V*', 16642 0E 07 ED B0 0 1 79 00 1 1 / 16882 : CB 47 20 02 2E 2R CB 4F
I'l 34 40 15 ^ / 16890 : 20 02 2E 3C CB 57 20 02
16650 9D R6 EL 09 01
16658 72 3E 31 02 0R FE 00 20 16898 : 2E 38 CB 5F 20 02 2E 33 •/ /V

16666 F6 7 R 6B 20 F2 16 80 72 16906 : 22 2D 42 0E IB 3R 18 4 1
00 0R FE 16914 : CB 7F 20 0B 2R 26 4 1 3E /'J
•ri 16674 2 1 18 4 1 0 1 00 iV
16682 80 3 E 97 02 28 0D CB FE 16922 : 2R CD 37 42 22 26 4 1 3R
/i 1 6690 C6 80 32 2C 4 1 CB 76 20 /
16930 : 16 4 1 CB 7? C2 22 4 1 2R 7
• •
16698 02 CB EE 0 1 00 00 0R FE 16938 : 3E 4 1 3E 3C CD 37 42 22
"i " '
16706 60 3E 97 02 28 07 CB F6 16946 : 3E 4 1 C3 22 4 1 FE 33 20 v
16714. C6 SO 32 44 4 1 CB 7E 28 16954 : 05 C 6 00 ED 4 2 C9 FE 2R
16722 2R C B 76 28 26 ED 4B 7E 16962 : 20 02 23 C9 FE 38 20 02
L'r
16730 4 1 2 0 B E 4 1 09 22 SE 4 1 16970 : 09 C 9 2B C9 7E FE OS 28 - I'
16736 0 1 0 C 0 0 E l 09 54 5D OE 16978 : 03 3C 77 C9 3E 9C 77 26
15
6746 : 05 2
2 1
1 '- ,1
1559
9866 : 18
1 8 F
F22 n)
'I,

VI. CTEINIANS! )
The wild, whacky, wonderful lound myself well hooked
absolutely whizzo adventure."
Its easy to
schoolgirl adventure from St Bride s.

complain about
Here's what the press say about it P.C.W.

"THE SECRET OF ST. BRIDES is humourous


well written and full of odd connections - a

advertisements.
tongue-in-cheek romp through the realms o<
Angela Brazil."
5 star rating." * * * * * Sinclair U*er
"Oh boy. do you get your gymslip in a twist in
this one a bit of alright! Your 64

(ound myselt well and truly hooked after only half an


hour's play. It is witty, absorbing and abovo all. Fun...
I recommend it!" Computer Gamer
Hey. we recommend it too! Last one to buy it's a
squashed tomalo. THE SECRET OF ST BRIDES
But which ones?
.From Si Brides - the new big name in adventure. Every week millions of advertisements
appear in print, on posters or in the cinema.
Most of them comply with the rules
contained in the British Code of Advertising
Practice.
But some of them break the Riles and
warrant your complaints.
If you're not sure about which ones they
are, however, drop us a line and we'll send you
an abndged copy of the Advertising Code

/
>|4 " I Whizz Me • The Secret of St. Bride's at £6 95
| O The Snow Queen at £9.95 Then, if an advertisement bothers
/ J NAME:
you. you'll be justified in bothering us.
O, A ADDRESS:
T h e Advertising Standards Authority.1
I f a n a d v e r t i s e m e n t i s w r o n g , w e ' r e h e r e t o p u t it right.
Vj From: v (POST FREE)
"\ St. Bride » School, (ZX)
" Burtonport, County Doneg«l A S A L i d . D e p t 2 Brook Housc.Tomngton Place. L o n d o n W C 1 E 7 H N
c
' J^fi Ireland
T«fc (010 353) 75-42030
T h i s space is donated in the interests of high standards of advertising.
• SPECTRUM 48K • C O M M O D O R E 64
93
•''•r^v^v

'•Jll?IiTTT—-

The lure of thai yellow stuff, I thick and keeps saying if I'm too ducing a game which makes it a A Line 520, centre line of
can almost smell it, more than a high or low. Once inside there challenge to everyone in gateway.
teacher gets in a week! Thetrou are rumoured to be more varied eluding the programmer who B/C Line 4 2 1 0 . points of
ble is that nothing comes easy and objectionable nasties to types it in, as there are no preset sword.
and the previous owner put overcome before finding the codes which will help the typist D Man.
some pretty formidable gold and escaping with it. solve the game. E Bag of gold.
obstacles in the way of getting Mark has produced an enter- To enhance the end result a F Hound.
hold of it. taining program which shows variety of BEEPs and graphics
I know it's in the castle but how a few interesting, but in have been used at appropriate
the first job is getting in there, themselves uninspired, games points. As the program is essen The POKE 2 3 6 5 8 , 8 is to set
the gatekeeper wants a pass- can be linked together to pro- tially a suite of subgames, Caps Lock on, so that all entries
number before letting me enter duce a much more effective variables are repeated in each are made in capitals and saves
and I think he has cannabalistic game. Random factors have section and kept to a minimum double checking for upper, lower
tendencies. Still, he's pretty been used with the aim of pro- and are: case.

1 REM MHHHHHHHHHHHHHHHHHHHHHt 80 GO S U B 8 0 0 0
•Underlined character®* 90 P O K E 2 3 6 5 8 , 8
• a r e e n t e r e d in • 99 R E M # # # I N S T R U C T I ONSttttM
•GRAPHICS mode. • 100 C L S
• n i i n n n n n i n n x n 110 P R I N T "YOU A R E S E A R C H I N G FO
R "J INK 0} B R I G H T 1| P A P E R 6 ; " G
3 R E MttttttttttttttttGOLDf OLD "
13 REM 120 P R I N T : P R I N T : P R I N T : PRI
13 C L S : P A P E R 7: C L S NT
20 F O R N*=1 TO 140: P R I N T INK 130 P R I N T 'BEHIND T H E C A S T L E GA
61" "II NEXT N: B O R D E R 6 TE IS A FIERCE GATE-KEEPER."
30 P R I N T AT 21,291 INK 6f' : P R I N T " HE HAS A S K E D Y O U F O R T
HE P A S S N U M B E R ' ": P
40 FOR M = 8 TO 12: P R I N T AT M,1 R I N T " IT IS B E T W E E N 1 A N D 100.
0f P A P E R 6( B R I G H T U " HE W I L L G I V E Y O U 6 G U E S S E
•! N E X T M S.": P R I N T " BE C A R E F U L T H O U G H H
3 0 GO S U B 8 6 0 0 E'S INK 2 ; - V E R Y INK 0; "
60 F O R N=1 TO 31 F O R M = 2 0 TO 4 HUNGRY'"
0: B E E P .02,M: N E X T M: N E X T N 140 P R I N T : P R I N T INK 3 J " P R E S S
70 B O R D E R 6: INK 0: P A P E R 7: C ANY KEY TO C O N T I N U E " : P A U S E 0:
LS CLS

94 ZX C O M P U T I N G DECEMBER J A N U A R Y 1 9 8 5
499 REM #MTFPRINT GATETTTTW 1040 IF 2 >X THEN PRINT AT 0 , 0 ; "
500 INK 2 TOO HIGH,TRY AGAIN": LET TR=TR-1
510 PRINT AT 7,9; : GO TO 1000
1050 IF Z<X THEN PRINT AT 0,0J"
520 LET Q»=" TOO LOW,TRY AGAIN LET TR=TR-

1: GO TO 1000
530 FOR N=8 TO 13 1499 REM ###THREE DOORSTTTTW
540 PRINT AT N,8{Q*: NEXT N 1500 BORDER 0: PAPER L: INK 6: C
550 PRINT AT 14,8?" O 0 LS
• 1503 PAUSE 50: P^OT 90,0: DRAW 0
560 FOR N=15 TO 19 ,100: DRAW -90,10
570 PRINT AT N,8;Q«: NEXT N 1510 PLOT 163,0: DRAW 0,100: DRA
580 FOR M=10 TO 40 STEP 2: BEEP W 90,10
.02,M: NEXT M 1320 CIRCLE 127,80,10: PLOT 127,
590 INK 0 70: DRAW 0,-20: DRAW 15,-20
600 LET TR=6: LET X=1+INT (RND* 1530 PLOT 112,30: DRAW 15,20: PL
100) OT 112,55: DRAW 15,15: DRAW 15,-
999 REM ##MGUESS NUMBERTTTTTT 15
1000 IF TR=0 THEN CLS *. PRINT A 1340 LET W*="
T 10,0)"SORRY YOU HAVE BEEN EATE 1530 LET X*=" O "
N BY THE GATE KEEPER-YOU ARE DEA 1360 FOR N=0 TO 1; PRINT AT N,1J
D": FOR N=1 TO 3: BEEP 1,-3: BEE INK 4LW«FAT N,13| INK 2;W*JAT N
P 1.5,-10: NEXT N: GO TO 8300 ,231 INK 6|W«: NEXT N
1010 INPUT "PICK A NUMBER BETWEE 1370 PRINT AT 2,LJ INK 4JX*FAT 2
N 1-100 'J Z ,131 INK 2IX«JAT 2,23| INK 6 I X»
1020 IF Z<1 OR Z >100 THEN GO TO 1380 FOR N»3 TO 3
1010 1390 PRINT AT N,L| INK 4|W«|AT N
1030 IF X=Z THEN BORDER 0: PAPE ,13| INK 21W*|AT N,23J INK 6FWC
R I: CLS : INK 6: PRINT AT 0 , 0 ; " NEXT N
YOU ARE AMAZING,YOU HAVE FOUND 1600 PRINT AT 0 , 0 | " 1 • J AT 0 , 1 2 } " 2
THE PASSNUMBER": FOR N=1 TO 50: • I AT 0,24| "3"
BEEP .01,N: NEXT N: FOR N=50 TO 1700 LET DR=1+INT (RND*3)
1 STEP -L: BEEP .01,N: NEXT N: 1710 INPUT "WHICH DOOR?"5CD

I
BEEP 1,25: GO TO 1500 1720 IF CD=DR THEN GO TO 2000

95 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
r

SPECTRUM GAME

1730 IF C D O D R THEN GO TO 4000 and 80 degrees)"


1999 REM KM* G O L D S E A R C H tttttt 2350 PAUSE 800
2000 BORDER 5: PAPER 7! INK 0: C 2399 REM tttt CONQUER HOUND
LS 2600 BORDER 4: PAPER l: INK 6: C
2010 PRINT AT 8 , 0 » " Y O U ' V E FOUND LS
THE RIGHT DOOR THE GOLD IS H 2610 LET H=INT (RND*23+5)
IDDEN IN THIS ROOM.TO FIND IT YO 2620 PRINT AT 21,0; INK 7;" ";A
U MUST MOVE WITH THE CURSOR KE T 21,li INK 2i"
YS. GOOD LUCK!"
2020 FOR N=1 TO 6Z FOR M=0 TO 40
STEP 3: BEEP -13,M: NEXT M: NEX 2630 PRINT INK 6;AT 19,Hi"
T N! CLS •i AT 20,H; " "i AT 21,Hi "
2030 LET X=INT <RND*22) ";AT 21,Hi BRIGHT 1;" "
2033 LET Y=INT (RND*32> 2640 FOR S=1 TO 3
2040 PRINT AT X,Y| INK 7} "G" 2630 PRINT AT 1,0;"SHOT NO.";S:
2030 LET A=12: LET B - 1 2 INPUT "Enter angle o+ shot"; A
2060 PRINT AT A,Bf" " 2660 LET A=INT A: IF A>80 THEN
2070 IF INKEY«~"" THEN GO TO 20 INPUT "Angle too great,enter aga
70 1 n" i A
2073 IF INKEY«="3" THEN PRINT A 2663 IF A<50 THEN INPUT "Angle
T A,Bi" ": LET B=B-1 too small, enter again"|A
2080 IF INKEY*="6" THEN PRINT A 2670 FOR N=0 TO 100
T A,B;" ": LET A=A+1 2680 LET X=INT (0.062*N*(90-A) ) :
2085 IF INKEY*="7" THEN PRINT A LET B=N*(100-N): LET Y=INT (B*0
T A,BJ" ": LET A=A-1 .05): PLOT X,Y
2090 IF INKEY«="8" THEN PRINT A 2690 BEEP 0.1,B/100
T A,BJ" ": LET B=B+1 2700 LET L=21-INT (Y/8): LET C=I
2100 IF A< ~0 THEN LET A=0 NT tX/8): IF ATTR (L,C>>64 THEN
2105 IF A>=21 THEN LET A=21 GO TO 2750
2110 IF B<«0 THEN LET B=0 2710 NEXT N
2113 IF B > =31 THEN LET B=31 2750 IF C=H THEN GO TO 2800
2120 IF ATTR <A,B>=63 THEN GO T 2780 NEXT S: IF S>3 THEN PRINT
0 2500 AT 10,2i"OH, DEAR, YOU FAILED.
2130 GO TO 2060 NOW YOU WILL STARVE TO
2200 PRINT AT A,BJ " " DEATH IN THE CASTLE": PAUSE 2
2499 REM #tt#FIND GOLDtttt* 30: GO TO 8500
2300 BORDER 2: PAPER 6: INK 21 C 2790 INPUT "Press ENTER -for anot
LS her shot"i Z*: GO TO 2640
2303 PRINT FLASH 1iAT 1 0 , 0 | " M ! 2800 PRINT FLASH li'YOU HAVE K
•YOU HAVE FOUND THE GOLD!!!!!": ILLED THE DREADFUL HOUND. NO
FOR N=1 TO 10: BEEP .2,23: BEEP W YOU MAY GO THROUGH THE DOOR W
.1,13: BEEP .3,201 NEXT N ITH THE GOLD": FOR N=1 TO 5: BEE
2308 PRINT AT A,BJ" PAUSE 13 P .3,12: BEEP .75,20: NEXT N: GO
0 TO 3000
2510 BORDER 6: PAPER 7: CLS : IN 2999 REM H##GET HOMEWtttt
K 0 3000 BORDER 4: PAPER 7: CLS : IN
2520 PRINT AT 4,1 J "YOU STILL HAV K 0
E A DREADFUL HOUND TO OVER 3010 PRINT AT 5,0!" YOU ESCAPE F
COME BEFORE YOU CAN T A K E YOUR ROM THE CASTLE AND FIND YOURSEL
GOLD HOME." F WITH THE GOLD AT THE TOP OF
2530 PRINT AT 8 ,li"HE IS GUARD A GRASSY HILL."
ING THE EXIT TO THE CASTLE. LU 3020 PAUSE 100
CKILY YOU FIND THREE STONES ON T 3030 IF RND >.7 THEN PRINT AT 10
HE GROUND. CAN YOU KIL ,0i"SUDDENLY YOUR BAG OF GOLD
L HIM WITH ONE OF THESE?" DROPS, AND IN YOUR HASTE TO
2340 PRINT AT 14,lj"CHOOSE YOUR RETRIEVE IT YOU TRIP.
ANGLE CAREFULLY (Between 50 YOU ARE FALLING....": FOR N

96 ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5
SPECTRUM GAME

=14 TO 21: PRINT AT N,3|'falling 4125 IF INKEY*="1" THEN GO TO 4


NEXT N: FOR N=1 TO 3: FOR 200
M = 50 TO 0 STEP -2: BEEP .03,M: N 4130 IF INKEY»="0" THEN GO TO 1
EXT M: NEXT N: BEEP 1 . 3 , - 1 0 : BEE 500
P 2,-25: GO TO 8300 4200 PRINT AT 8,4;" " ) AT 9,4)"
3040 PRINT AT 10,0|"YOU WALK DOW "5 AT 11,4;" "J AT 12,4) " "
N THE HILL SLOWLY. YOU ARRIVE H 4210 PRINT AT 10,0)"
OME AND LIVE IN PEACE WITH A
LL YOU N E E D . " ' " CONGRATULAT 4220 PRINT AT 14,0$"YOU SEE A SW
IONS'": FOR B=5 TO 35 STEP 5: BE ORD LEFT BY A PREVIOUS ADV
EP .5,B: NEXT B: FOR B=36 TO 4 S ENTURER.": PAUSE 100
TEP -4: BEEP .3,B: NEXT B 4230 IF RND>.5 THEN PRINT AT 17
3050 PAUSE 100: GO TO 8500 ,0)"UNFORTUNATELY THE DRAGON'S F
3999 REM ###LIFTtt## IRE BURNS YOU TO DEATH AS YOU
4000 LET M=1+INT (RND+2) PICK UP THE SWORD!": FOR N=3
4010 IF CD=M THEN BORDER 6: INK 0 TO - 1 5 STEP -IS BEEP -1,N: NEX
0 : PAPER 7: CLS : LET TR=6: LET T N: BEEP 1,-15: GO TO 8500 -
X=1+INT (RND*100>: PRINT AT 10, 4240 PRINT AT 17,0)"YOU STAB THF
1 ! "IT WAS A LIFT! DRAGON IN IT'S HEART.": BEE
LOOK WHERE YOU ARE N O W 1 ! P 3,-20: PRINT AT 19,0;"BEHIND T
(PRESS ANY KEY TO SEE)": PAUS HE BODY IS A CORRIDOR OPEN THE
E 0: CLS : GO TO 500 DOOR AT THE END...": PAUSE 200:
4019 REM ###DRAGON### GO TO 2000
4020 IF C D O M THEN BORDER 2: PA 7999 REM **##GRAPHICS###
PER 7: CLS : INK 0: PRINT INK 1 8000 FOR M=0 TO 5: FOR N=0 TO 7
J PAPER 6;"THERE IS A DRAGON!!!" 8010 READ C: POKE USR CHR« (144+
4030 DIM A*(10,18) M)+N,C
4040 LET A*( 1 > — " 8020 NEXT N: NEXT M
8030 DATA 247,247,247,247,247,24
4045 LET A* ( 2)53 " 7,247,247,128,192,224,240,224,19
W
2,128,0,1,3,7,15,13,7,3,1
4050 LET A*(3)=" 8040 DATA 24,24,60,90,24,36,36,6
m
6,60,24,60,126,233,235,126,60,32
4035 LET A«(4)»"
• ,230,226,62,62,34,33,129
8050 RETURN
4060 LET A$(5)=" 8499 REM ##*»AGAIN?tt##
8500 PAPER 7: CLS : BORDER 3: IN
4063 LET A*(6)=" K 0
8510 PRINT AT 10,1)"DO YOU WANT
4070 LET A*(7)=" TO PLAY AGAIN"

8520 IF INKEY*="• THEN GO TO 85
4073 LET A«(8)="
• 20
8330 IF INKEY*="Y" THEN BORDER
4080 LET A«(9)=" 6: CLS : GO TO 499
8340 IF INKEY»=""N" THEN CLS : P
4085 LET A*(10)=" RINT AT 8,4;"THANK YOU FOR PLAYI
NG")AT 10,10;"GOODBYE"
4090 FOR N=1 TO 10: PRINT AT N+5 8550 STOP
,61 INK 2)A*(N): NEXT N: FOR M=1 8599 REM H##TITLE*M#
TO 4: BEEP 1,-10! BEEP 1,-5: NE 8600 INK 0: PRINT AT 9,11) PAPER
XT M 6) BRIGHT 1 J"
4100 PAPER 7: INK 0: CLS m

4110 PRINT AT 4,0J"WILL YOU ADVA 8610 PRINT AT 10,11) PAPER 6) BR


NCE (Key ""1"") OR RETREAT? (Key IGHT 1)"
•"0*•) "
8620 PRINT AT 11,11) PAPER 6) BR
4120 IF INKEY»="" THEN GO TO 41 IGHT 1)"
20 8630 RETURN

ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5 97
SPECTRUM GAME

Program Details
20-170 I n t r o du c t ion .
175-200 C o n t r ol keys.
250 V aria b Ies .
255-2035 Screen 1
2400-2890 S c r e e n 2.
3000 8499 Screen3.
8500 8525 Tree for screens
2 & 3
9 0 0 0 9 4 0 0 Hall of Fame (in
Pim Quakkelaar gives us the put
9500 9565 U D G s .
routine).

Netherlands version of1 The Three Little 9 6 0 0 - 9 8 4 0 H a l l of F r a m e


( c a I c u I a 11 o n s
Pigs. rout i n e ),

variables
It is the nature of things that We'll let Pim explain the have to shoot as many balloons bon; the score at which you earn
wolves try to eat the pigs and whole sordid thing in glorious as possible, and in the third you two extra pigs.
the pigs, not surprisingly, are technicolour detail also have to face the rocks that mnow; maximum number of
none too keen on the idea. the wolf will try to throw at you. wolves needed to throw the
The wolves though, are get- rock.
ting clever and here we find Your Task dis; the distance that the wolves
them trying t w o different ways
of achieving their aim, first by After the introduction, the con The Score lump from.
cag; number of cages that you
ballooning out of a tree to the trol keys are displayed and you own.
ground to reach the piglets, and move into the first stage of the On the first screen you earn n o w ; w ; w l ; the number of
then, if this fails, ballooning up game. The program can con points for hitting the wolf or the wolves on different screens,
into the tree <n order to push tmue indefinitely, but consists balloon. The wolf is worth ten pig; the number of pigs you
boulders on top of you. of three main screens. Using points, but the score for the have,
Of course, as parent pig your bow and arrow, you must balloons depends on how lat sc; score.
you're not going to stand by and shoot the wolf's balloon to pre- away they are. 1 he higher up in stage; stage counter.
let all this happen and are posi- vent him from reaching the the sky the balloon, the more
tioned in your vertically moving piglets. If the wolf manages to points you score for hitting it. Once you've got the program
cage armed with a bow and ar land safely he will eat one of The further you progress in typed in, it can be saved with the
rows with which to puncture the them. the game, the harder the command SAVE " P o o j a n "
wolve's hopes, and balloons. On the second screen you screens become. LINE 1.

98 ZX C O M P U T I N G DECEMBER/JANUARY 1985
v, -' v v v,''^'''/T; *VAAVV'^Vi'/i^f^fp-',! „ y>?
'rVv/vV'- < - " ' - . ^ V v W - ' ^ V t t i . Vj

1 REM XXXKXXKXXXXXXIXXKXXXXXX 120 CIRCLE 102,95,6: CIRCLE 102


•Underlined characters* ,95,4: RETURN
•are entered in * 130 CIRCLE 118,95,6: CIRCLE 118
•GRAPHICS mode. • ,95,4*. RETURN
«HHHHHHHHHHHHHHHHHHHHHHI 140 PLOT 128,88: DRAW 5,0: DRAW
5,13,1.5: DRAW -7,0: DRAW 0,-2:
20 CLS : PRINT AT 10,0J"READIN DRAW 5,0: DRAW -5,-9,-2.5: DRAW
G GRAPHICS! HANG ON A SEC." -3,0: DRAW 0,-2: RETURN
30 GO SUB 9500 150 PLOT 144,90: DRAW 0,8: DRAW
40 INK 7: PAPER 0: BORDER 0: B 14,0,-2: DRAW 0,-8: DRAW -3,0,-
RIGHT 1! CLS 2: DRAW 0,4: DRAW -8,0: DRAW 0,-
45 LET z*="P.9.PRODUCTIONS PRE 4: DRAW -2,0,-2: PLOT 147,97: DR
SENTS": FOR z=l TO LEN z*: PRINT AW 6,0: DRAW -6,0,1: RETURN
AT 3,z+3;z*(z): PAUSE 5: NEXT z 160 PLOT 163,92: DRAW 0,10: DRA
: RESTORE 45: FOR n-i TO 3: READ W 3,0,-1: DRAW 10,-10,2: DRAW 0,
t: BEEP .15,t: NEXT n: DATA 0,2 10: DRAW 3,0,-1: DRAW 0,-13: DRA
,4: BEEP .35,7: BEEP .20,4: BEEP W -3,0: DRAW -10,5,-2: DRAW 0,-5
.3,7 : DRAW -3,0,-2: DRAW 0,3: RETURN
50 RESTORE 50: DIM a(6>: FOR t
=1 TO 6: READ a(t): NEXT t: DATA 165 FOR t=l TO 2: FOR y=0 TO i:
10,12,14,16,18,20: FOR x=*l TO 6 FOR x=l TO 7: PLOT INK x; BRIG
: FOR y«=20 TO 10 STEP -1: PRINT HT y;56,72: DRAW INK x; BRIGHT
AT y,a(x){ INK x+l|"CD"JAT y-1, a y;150,0: BEEP .02,0: DRAW INK x
< x) ; INK x + l;"ftB": B E E P .023,y/x ; BRIGHT y t 0,48: BEEP .02,7: DRA
:: PRINT AT y,a(x);" NEXT y: W INK x; BRIGHT yj-150,0: BEEP
PRINT AT y+l,a(x)|. INK x + ll * CD* .02,9: DRAW INK x| BRIGHT y*0,~
: PRINT AT 3,4| INK X+l} BRIGHT 48: BEEP .02,5: NEXT x: NEXT y:
1;"P.Q.PRODUCTIONS PRESENTS": NE NEXT t
XT x 170 BEEP 1,0: BEEP 1,-12
60 INK 6: BRIGHT l: FOR x=l TO 175 DIM s(10): DIM n*(10,20): F
6: PRINT AT 9,a<x>|"R5«|AT 10,a OR t = l TO 10: LET n*(t>«=" 77777?
<X>;"TU»: BEEP . 0 1 , 0 : BEEP . 0 1 , 3 • ; NEXT t
: BEEP . 0 1 , 1 0 : PRINT AT 9,a(x>»" 180 INK 6: BRIGHT l: CLS
"J AT 10,a(x M " ": GO SUB 1 0 0 : 185 LEY z*= " CONTROL • FOR z = l T
NEXT x O LEN z«: PRINT AT 2,z+12;2$(2);
70 GO TO 165 : PAUSE 2: NEXT z
100 GO TO 100+(x*10) 187 LET z*=" UP KEY
110 PLOT 84,90: DRAW 0,10: DRAW A": FOR z-1 TO LEN z*: PRINT AT
10,-1,-1.5: DRAW -7,-5,-1.5: DR 6,z+5;z*(z>|: PAUSE 2: NEXT z

I
AW 0,2: DRAW 3,3,.5: RETURN 189 LET z*="DOWN KEY

99 ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5
SPECTRUM GAME

Z": FOR z=l TO LEN z*: PRINT AT 1


8,z+5)z»<z)): PAUSE 2: NEXT z 312 DATA 21,21,22,23,22,21,21,2
191 LET z*="FIRE SPA
CE" : FOR z = l TO LEN z*i PRINT AT 313 DATA 20,20,20,19,19,19,19,1
10,Z+5;z*(z>I: PAUSE 2: NEXT Z
193 LET z*=" 2 BONUS PIGS AT 10 314 DATA 19,19,19,19,19,19,20,2
,000 AND"! FOR Z = 1 TO LEN z*: PR 0
INT AT 19,z + 1Jz*(z);: PAUSE 2: N 315 DATA 20,20,21,21,21,21,21,2
EXT z 2
195 LET z*="EVERY 20,000": FOR 316 DATA 156,161,163,166,171,17
Z=1 TO LEN z*: PRINT AT 21,z+9)z 3,175,176
*(z);: PAUSE 2: NEXT Z 317 DATA 176,176,175,174,173,17
199 PAUSE 50: LET z$='Press any 2,172,173
key to play.": FOR z=l TO LEN z 325 PRINT AT 0,0; "| "I AT 1,0
PRINT HI;AT L,Z+5;Z*(Z>;: PAU J"I I - | AT 2 , 0 |
SE 2 : NEXT z 330 PRINT AT 0,8;"SCORE:";sc
200 FOR k = 0 TO 800: IF INKEY*=" 335 PRINT AT 12,25) INK 2J PAPE
' THEN NEXT k: GO TO 9800 R 0;" •"JAT 13,251" m'lAT 1
250 LET bon=10000: LET mnow=5: 4,25;" J H m ' i A T 15, 251 " J H B B B . "
LET d i s=12: LET cag=2: LET now=l )AT 16,25| PAPER 1| INK 4) BRIGH
9: LET p ig= 10: LET sc=0: LET w=l T 0; " H H B H B B " ; AT 17,25)"B
0: LET stage=l: LET wl=5 ; AT 18, 25| " • • • • • - ; AT 19,25)"BB
255 INK 5: BORDER 0: BRIGHT 1! • B ' l A T 20,251 " M M • | AT 21,
PAPER 0: CLS 251 " H H •1"
280 LET m1=W1+5 340 FOR x=0 TO 7: PRINT AT X,23
285 LET m=H1+5: IF w>40 THEN L ; INK 6 ; - E - : NEXT X
ET w=40 345 PLOT 229,165: DRAW 26,0: DR
290 LET dis«=di5-2 AW 0,10: DRAW -26,0: DRAW 0,-10:
295 IF dis<=6 THEN LET dis=6 PRINT AT 0,29; INVERSE U PAPER
297 LET z*="STAGE • : FOR z=l TO H "
LEN zS: PRINT AT 10,11+z;z*(z)J 350 LET stage=stage+l: LET u=0:
: PAUSE 3: NEXT z: PRINT stage LET « » = • £ £ ' : L E T x2»2: L E T y«22
300 RESTORE 301: FOR x=0 TO 135 : L E T x-7
: READ a: PLOT INK 4) BRIGHT lj 400 LET T% m "READY ?'i FOR z-1 T
0,x: DRAW INK 4| BRIGHT l)a,0: O LEN z«: PRINT AT 12,z+11Iz*(z)
NEXT x : PAUSE 3: NEXT z
301 DATA 36,34,32,30,28,26,25,2 410 RESTORE 410: FOR n=l TO 12:
4 READ t: BEEP .30,t: NEXT n: DAT
302 DATA 23,23,23,22,22,21,21,2 A 12,10,9,7,5,2,0,0,2,5,4,7: BEE
1 P .70,5: BEEP .30,5
303 DATA 21,21,22,22,22,22,22,2 420 PRINT AT 10,12)" ")A
3 T 12,12)*
304 DATA 23,23,23,23,22,22,22,2 500 LET i »INT <RND*5+1.5)
1 501 IF i =5 THEN GO TO 500
305 DATA 21,21,21,20,20,20,20,2 502 LET x3»INT <(dis+RND*4)+.5>
0 503 PRINT AT 1,1) INVERSE 1) PA
306 DATA 20,20,20,20,20,20,20,2 PER 1;wj" "
0 505 IF ac>-bon THEN LET pig=pi
307 DATA 20,20,21,21,21,21,21,2 g+2: LET bon=bon+20000
1 510 PRINT AT 0,14)sc)AT 0,29; I
308 DATA 21,22,22,22,22,22,22,2 NVERSE 1|p i g|" •
3 515 IF p ig=0 THEN GO TO 9600
309 DATA 23,23,23,23,23,23,23,2 520 IF w=0 THEN PAUSE 50: GO T
2 O 2400
310 DATA 22,21,21,22,22,23,23,2 550 FOR t»l TO x3
3 552 LET t2=t-1
311 DATA 23,23,22,22,22,22,21,2 555 IF t< >x3 THEN GO TO 750

100 ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5
SPECTRUM GAME

575 LET u-=u + l a*="£G": LET y - 2 2 : LET u=0: GO


578 IF u>«=l AND u<=7 THEN GO S TO 5 0 0
UB 2000+u*5 1030 IF ATTR (x2,y)=71 THEN LET
580 IF u> = 19 THEN LET pig=pig~ sc=sc+10: PRINT AT 0,14{5C: PRI
1: PRINT AT 16,26? INK 0} PAPER NT AT u + 2,y J " ";AT u+3,yj" ":
4} BRIGHT 0J "MAMA ' I BEEP .05,12 BEEP .01,6: BEEP .01,12: LET aS=
: BEEP .05,6! BEEP .05,0: PRINT "ZG'I L E T y-22: GO T O 375
AT u-l,t2J PAPER 0f "iAT u,t2i 1045 PRINT AT x2,yj INK 51"FG"
PAPER 0\ m AT u + 1,12J PAPER 0 1050 IF t=x3 THEN GO TO 575
i" "J AT u + 2,t21 PAPER 0J" ": LET 1060 NEXT t
u=0: L E T N-M-I: G O T O 5 0 0 2005 PRINT AT U , t 2 ; INK i I ' R B * ; A
600 PRINT AT 16,251 INK 4J BRIG T u + l,t2; INK i > "CD•;AT u + 2,t2|
A
HT 0 ; " W M M M M : P R I N T A T u,t2i I N INK 71 " <J" » AT u+3,t2) INK 7;"K"|A
K i ! " £J3 • | AT u+1, 121 INK 1 1 " CP" 1 A T 0,5| INK 5|" SCORE:"jscj"
T u + 2 , 121 INK 71 " <J" | AT u+3,t2| I : GO TO 760
NK 7; " K • | AT u-1, t21 INK 0 | a H " : 2010 PRINT AT u,t2» INK i X " O B ' I A
GO TO 7 6 0 T u + 1 , 121 INK U"CD"jAT u + 2,'t2j
750 PRINT AT 3,tJ INK 7|"M'|AT INK 7;"IJ"|AT u+3,t2( INK 7| PAPE
4,t; INK 7|"1"|AT 3,t-1}" "I AT 4 R 4;"K"|AT U-1,T2I PAPER 0J"
,t-lj" " GO TO 760
755 IF INKEY*=»"" THEN GO TO 85 2015 PRINT AT u,t2; INK i i "OB-{A
0 T u+l,t2» INK i I " £D." ! AT u+2,t2»
7 6 5 IF INKEY*="a" THEN PRINT A INK 7? PAPER 4|"J*|AT u+3,t2j IN
T x + 2,23}" "I AT x+l,21J" ": L E K 7; PAPER 41 " K," ) AT U-I,t2| PAPE
T x«x-l R 0 \9 ": GO TO 7 6 0
770 IF x<«7 THEN LET x=7 2020 PRINT AT u,t2| INK i1'RB 1 lA
780 IF INKEY*="z" THEN PRINT A T u+l,t2| INK i J PAPER 4t "CD't AT
T x,23j"E •{AT x+l,21|" ": LET u+2,12 | INK 71 PAPER 4J-0-IAT u
x=x + 1 +3,t2| INK 7J PAPER 0*"K"|AT u - 1
785 IF x > = 1 9 THEN LET x = 1 9 ,t2; PAPER 0 | " ": GO TO 760
810 IF y< >22 THEN GO TO 8 5 0 2025 PRINT AT u,t2| INK If PAPER
820 IF INKEY*-" " THEN LET x2= 4|"RB"|AT U+l,t2» INK i| PAPER
x + i: LET y=y-l: L E T a*="" 4 J "CD*j AT u + 2,t2| INK 71 PAPER 0
850 PRINT AT x,23j INK 6J"LM"|A J"iJ"(AT u + 3, 12 | INK 7 I PAPER 0("
T x + 1,23; INK 6i"NO»|AT x+2,23| K"|AT u - l , t 2 | PAPER 0|" ": GO T
INK 6;"PO'|AT X-1,231 INK 6|'E-| O 760
AT x + 1,21| INK 5 ; a $ 2030 PRINT AT u,t2| INK If PAPER
860 IF t = x3 AND y<>22 THEN GO 4J"«B"|AT U+l,t2| INK 1) PAPER
TO 8 9 0 0 1 " C D - I A T u+2,t2| INK 7( PAPER 0
870 IF t=x3 THEN GO TO 5 7 5 I'iJ'lAT u + 3, t2| INK 7| PAPER 0| "
880 IF y=22 THEN NEXT t K"JAT u-l,tZ5 PAPER 4)" ": GO T
900 LET y = y-2 O 760
1000 IF y<«2 THEN PRINT AT x2,3 2035 PRINT AT u,t2j INK i; PAPER
J" •: LET y=22: LET x2=2: LET a 0j-RB-;AT U + I , t 2 » INK i; PAPER
«='FG": GO TO 1050 0 5"CD";AT u + 2,12J INK 7\ PAPER 0
1010 PRINT AT x2,y+2|" |*«J"|AT u+3,t2j INK 7| PAPER 0!"
1020 IF ATTR (x2,y)-64+i THEN P K"|AT u-l,t2( PAPER 4j" ": GO T
RINT AT u, 12} "RS*(AT u+l,t2»"TU" O 760
: BEEP .01,0: BEEP .01,5: BEEP . 2400 INK 5: PAPER 0\ BORDER 0: B
01,10: LET W»w-l: L E T 9c=ac+(20— RIGHT l: C L S : LET z*-"CHANCE ST
U>*10: PRINT AT 0,14|sc: PRINT A AGE": FOR z-1 TO L E N z«: PRINT A
T u,12 J " "i AT u+l,t2|" '! FO T 10,z+8»z«(z);: PAUSE 3: NEXT z
R z=u + 2 TO 20: PRINT AT z,t2j IN '. GO SUB 8500
K 2 j BRIGHT H ' J ' J A T z + l f t 2 | INK 2403 DIM b(10,2 >
2| BRIGHT 1J"K'|AT z - l , t 2 | INK 2405 FOR t-1 TO 10
0 ; " • " : N E X T z: P R I N T A T z-i,t2j" 2410 FOR r=«l TO 2
•; AT z,t2!" •: B E E P .01,-1: LET 2415 LET b(t,r)«INT (<dis+RND*4>

ZX COMPUTING DECEMBER/JANUARY 1985 101


SPECTRUM CAME

+.3) 2580 PRINT AT y22,b(r,2)) INK i2


2420 NEXT r »"CD'JAT y22-l,b(r,2); INK i2)"R
2425 IF b(t,1) =b ( t, 2 > THEN GO T I'lAT y22+l , b (r , 2) ) INK 0)
0 2410 2585 IF INT <y22+.5)<=6 THEN PR
2430 NEXT t INT AT 5,b(r,2)) "RS"I AT 6,b(r,2>
2506 PRINT AT 0,01" l"TU": BEEP .01,0: BEEP .01,5: B
1 -1 | AT 2 , 0 ; • EEP .01,10: PRINT AT 5,b(r,2))"
2507 FOR x*=0 TO 7: PRINT ")AT 6, b < r,2))" "! LET y21=20:
I INK 6|"E": NEXT x LET y22«20: GO TO 2525
2510 PRINT AT 12,25; INK 2) PAPE 2590 IF INKEY*="" THEN GO TO 27
R 01* •* i AT 13,231" m'|AT 1 00
4,25;- J H •L" ) AT 15 , 25) • M H » 2600 IF INKEY*="a" THEN PRINT A
;AT 16,25J PAPER 1| INK 4; BRIGH T x+2,23)" ")AT x+1,21)" ": LE
T 0| * • • • • • • " J AT 17,25) M M " T x°x-l
;AT 1 8 , 2 5 1 A T 19,25)-* 2605 IF x<=5 THEN LET x=5
• V ) A T 20, 25) " • • • . • < ! A T 21, 2610 IF INKEY*="z" THEN PRINT A
25) - • • i wm m T x,23)" ")AT x+1,21)" "I LET
2515 PRINT AT 0 , 8 ) " S C O R E : " ) a c x — x +1
2517 LET z»=«" READY ?•: FOR z=l T 2615 IF x >=19 THEN LET x = 19
0 LEN z*: PRINT AT 12, 11+z) z*(z> 2617 IF y<>22 THEN GO TO 2700
I: PAUSE 3: NEXT z LET stage=st 2620 IF INKEY*»=" " THEN LET x2=
age+ 1 x+l: LET a*="": LET y=y-l
2518 R E S T O R E 2518: FOR n=l TO 13 2700 PRINT AT x,23) INK 6)"LM-;A
: READ t: BEEP .30,t: NEXT n: DA T x+l,23; INK 6)"NO")AT x+2,23)
TA 0,4,0,5,0,7,5,4,4,5,2,0,-1: B INK 6)"PO")AT x-1,23) INK 6)"E-|
EEP .45,0: PRINT AT 10,8;" AT x+1,21) INK 5 ) a *
")AT 12,12)" 2800 IF y-22 THEN GO TO 2550
2520 LET hit=0: LET r=-0: LET cou 2802 LET y=sy-2
nt*10: LET x2=2: LET y=22: LET x 2803 IF y<»2 THEN PRINT AT x2,3
=5: LET a*="FG" )" ": LET a*="FG": LET y-22: GO
2525 LET r-r+i: LET vv-l: LET v= TO 2550
l: LET y21=20.6: LET y22=20.3 2804 PRINT AT x2,y+2)"
2526 LET il=INT <RND*6+1.5): IF 2807 IF ATTR <x2,y)=64+i2 THEN
il=5 THEN GO TO 2526 PRINT AT y22-l,b(r,2))"R5")AT y2
2527 LET i2=»INT <RND*6+1.5>: IF 2,b(r,2>;"TU")AT x2,y+2;" ": BE
i 2=5 THEN GO TO 2526 EP .01,0: BEEP .01,5: BEEP .01,1
2528 IF il»12 THEN GO TO 2527 0 : PRINT AT y22-l,b(r,2))" ";AT
2530 IF r=ll THEN GO TO 2850 y22,b(r,2))" ": LET y=22: LET
2532 IF sc >=*bon THEN LET pig=pi a*="FG»: L E T V V - 0 : LET sc-ac+blr
g+2: LET bon=bori+ 20000 ,2)*15: PRINT AT 0,14;sc: LET hi
2535 PRINT AT 1,1) INVERSE 1) IN t = h i t + 1: GO TO 2555
K 5)11-r)" " 2810 IF ATTR <x2,y>=64+il THEN
2555 IF v=0 AND vv=0 THEN GO TO PRINT AT y21-l,btr,1))"RS»)AT y2
2525 l,b<r,1))"TU-IAT x2,y+2)" ": BE
2557 IF v=0 THEN GO TO 2575 EP .01,0: BEEP .01,5: BEEP .01,1
2560 LET y21=y21-.8 0: PRINT AT y21-l,b(r,1))" ")AT
2565 IF INT (y21 + .5)<«=5 THEN PR y21,b(r,l)|" ": L E T y=22: L E T
INT AT 5,b(r,1))"RS"jAT 6,b(r,l) a*="FG»: L E T V - 0 : L E T sc=5c+b(r,
I-TU-: BEEP .01,0: BEEP .01,5: B 2)*25: P R I N T AT 0,14)sc: L E T hit
EEP .01,10: PRINT AT 5,b(r,l)J" = h i t + 1: GO TO 2555
")AT 6,b(r,l))" ": LET v=0: GO 2815 PRINT AT x2,y; INK 5)"FG"
TO 2572 2825 GO TO 2550
2570 PRINT AT y21,b(r,l)| INK il 2850 FOR g - 0 TO 100: C L S
;-CD"|AT y21-1,b < r,1) I INK tl|"fi 2855 L E T z»-"NUMBER OF H I T S : " :
B")AT y21+l,b(r,1)) INK 0)"HI" FOR g-1 TO L E N z»: PRINT AT 8,g+
2572 IF vv=0 THEN GO TO 2600 6|z«(g)f: PAUSE 3: NEXT g: PRINT
2575 LET y22~y22-.5 INK 7|h1t

102 ZX C O M P U T I N G DECEMBER J A N U A R Y 1 9 8 5
SPECTRUM GAME

2860 LET z*-*BONUS : 100x": FOR 3180 PRINT AT y2-l,x3f INK 71'J"
g-1 TO LEN z«: PRINT AT 10,g+3»z ;AT y2,x3; INK 7|*K": GO TO 3500
*(g)j: P A U S E 3: NEXT g! PRINT ;h 3200 LET y2«y2-l
lti "J INK 71100*hit 3210 IF y2<«=7 THEN GO TO 5000 + y
2870 IF hit=20 THEN LET z*="EXT 2*5
RA BONUS : 25,000"! FOR g=i TO L 3220 PRINT AT y 2 - 3 f x 3 | INK H " PIB
EN z*: PRINT AT I3,g+5| INK 6;z» •;AT y2-2,x3 J INK i;"CD*|AT y2-l
< g) : BEEP .07,CODE z*(g>-60: NEX , x3| INK 71 " ii" ( AT y2 , x3 } INK 7|"
T g: LET sc—sc + 23000 K"I AT y 2 +1,x 3; INK 0|*B*;AT y2-l
2880 LET sc=sc+hit*100 ,x3+l;"•"
2890 R E S T O R E 2890: FOR n-1 TO 8: 3400 IF INKEY*="" THEN GO TO 36
READ t! BEEP .35,t: NEXT n: DAT 00
A 12,9,7,9,12,9,7,9: BEEP .5,5 3500 IF INKEY«~"a" THEN PRINT A
3000 INK 5: CLS : LET z*="STAGE T x + 2,231 " "|AT x + 1,21J " ": LE
-: FOR z=l TO LEN z«: PRINT AT 1 T x— x—1
0,11+Z|Z*(Z)I: PAUSE 3: NEXT z: 3505 IF x<«5 THEN LET x-5
PRINT stage: LET stage=atage+1: 3510 IF INKEY»-"z" THEN PRINT A
GO SUB 8500 T x,23; • •f AT x + 1,211" ": LET
3010 LET now"19: LET w=wl+5: LET x=x+ 1
x2=2: L E T x=5 3313 IF x >™19 THEN LET x-19
3100 PRINT A T 0,0|"l I'JAT 1,0 3520 IF y< >22 THEN GO TO 3600
{"I I' I AT 2,0i"|_J" 3530 IF INKEYS-" " THEN LET x2=
3105 FOR x=0 T O 7*. P R I N T A T x, 2 3 x+l: LET a * = " " : LET y=y-1
; INK 6;"E-: NEXT X 3600 PRINT AT x,23; INK 6; "LM"I A
3110 PRINT AT 12,25; INK 2; PAPE T x+l,23; INK 6|"NO*;AT x+2,23;
R 01" • M A T 13,251" JML" I AT 1 INK 6 ; " P O " ( A T x-1,23; INK 6;"E"|
4,25;" J M Hi'lAT 15, 23| " J H B L ' AT x+l,21| INK 5 ; a *
;AT 16,25i PAPER 1; INK 4; BRIGH 3610 IF y =>22 THEN GO TO 3200
T 0; M
M M T M M M i AT 1 7 , 2 3 1 h h b * 3650 LET y=»y-2
; AT 18, 25; • • • B ' i AT 19,25; "•• 3655 IF y<=2 THEN PRINT AT x2,3
• M " ; A T 2 0 , 23; " • ,H';AT 21, ;" ": LET a*="FG*: LET y-22: GO
25;-HH mm" TO 3200
3115 PRINT AT 0 , 8 ; " S C O R E : " ; s c 3660 PRINT AT x2,y+2;"
3120 PRINT AT 1,19; INK 6J ",!•»» *; 3670 IF ATTR <x2,y)=64+i THEN P
AT 2,19; INK 6| " "JP " RINT AT y 2 - 3 , x 3 ; { A T y2-2,x3;
3130 PLOT 229,165: DRAW 26,0: DR •Ik": BEEP .01,0: BEEP .01,5: BE
AW 0,10: DRAW - 2 6 , 0 : DRAW 0,-10: EP .01,10: PRINT AT y2-3,x3» INK
PRINT AT 0,29; INVERSE 1) PAPER 0 » " ™ " | A T y2-2, x3; "•i" : FOR t-y
1; " 2 TO 20: PRINT AT t,x3; INK 2l*iJ
3140 LET z$="READY ?"S FOR z=l T ";AT t+1,x3| INK 2;"K";AT t-l,x3
O LEN z«: PRINT AT 12,11+z;z*(z) ; INK 0 ; • • " : NEXT t: BEEP .01,-1
;: PAUSE 3: NEXT Z : FOR t=0 TO 8 : PRINT AT 20,X3; INK 0;"B"(AT 2
0: NEXT t: PRINT AT 12,12;" 1,x3;"•": LET W = W - 1 : LET sc=sc+y
"(AT 10,12;" 2*10: PRINT AT 0,14;sc: GO TO 31
3150 LET y2«2l: LET a*="FG*: LET 50
y=22 3680 IF ATTR <x2,y>=71 THEN BEE
3152 LET X 3 - I N T <(d1s+RND*4)+.5> P .01,6: BEEP .01,12: PRINT AT y
3155 LET i-INT <RND*5+1.5): IF i 2, X3; INK 0;"H": LET SC=«SC + 1 0 :
=5 THEN GO TO 3155 LET a * = " F G * : LET y - 2 2 : GO TO 3 2 0
3157 IF sc >*=bon THEN LET pig=pi 0
g+2: LET bon-bon+20000 3900 PRINT AT x2,y| INK 51"FG"
3160 PRINT AT l,lf INVERSE l; PA 4000 GO TO 3200
PER H w ( " " ; AT 0, 29) ranow- ( 19-now 5010 PRINT AT l,x3; INK 7;"^*;AT
) 2,x3;"K")AT 3,x3| INK 4|"B*|AT
3165 IF 19-nowranow THEN GO TO 1,x3+1| INK 0; 1 AT 1,x3; INK 0
5500 ;"B'|AT 2,x3| INK 0|*H»: LET now
3170 IF w-0 THEN GO TO 5557 =now-l: LET w=w-l: FOR t=now TO

ZX COMPUTING DECEMBER/JANUARY 1985 103


SPECTRUM GAME

18! PRINT A T 1 , 11 " H " 1 AT 2,t|"_I"; z«(z)»: PAUSE 3: NEXT z: PRINT c


N E X T t : L E T y 2 - 2 l : GO TO 3 1 5 2 ag
5 0 1 3 PRINT AT l , x 3 | I N K 1 I ' C D " I A 5567 IF cag<«0 THEN PAUSE 200:
T 2 , x 3 J I N K 7 1 " <J" | A T 3 , x 3 | P A P E R GO TO 9600
4 j " K " | A T 4 , x 3 | INK 4 | " B " | A T 2 , x 5570 PAUSE 100
3+1t I N K 0 | " B " : GO TO 3 5 0 0 5575 LET mnow=mnow-1: IF mnow<=3
5 0 2 0 P R I N T AT l , x 3 | I N K 1 I " 8 B " I A THEN LET mnow=3
T 2 , x 3 t "CD"|AT 3 , x 3 | PAPER 4 | I N 8499 GO TO 255
K 7 | " J " | A T 4 , x 3 | " K " | A T 3 , x 3 ; INK 8500 RESTORE 8505: FOR x=0 TO 15
0 { " • " 1 A T 3 , x 3 + 1 1 I N K 4 » * B " : GO 1: READ a: PLOT INK 4 J BRIGHT 1
TO 3 5 0 0 |0,xt DRAW INK 41 BRIGHT lja,0:
5 0 2 5 P R I N T AT 2 , x 3 | I N K i | " R B - | A NEXT x
T 3 , x 3 | PAPER 4 I "CD"|AT 4 , x 3 | I N 8503 DATA 36,34,32,30,28,26,25,2
K 7 1 " «J* | A T 3 , x 3 1 P A P E R 0 | " K " J A T 3,23,23,23,22,22,21,21,21,21,21,
6,x3| I N K 0 | " • " t AT 4 , x 3 + 1 1 I N K 4 22.22.22.22.22.23.23.23.23.23.22
; : GO TO 3 3 0 0 , 22, 2 2 , 21 , 21 , 21 , 21 , 20, 20, 20, 20, 2
5 0 3 0 P R I N T AT 3 , x 3 | PAPER 4 | I N K 0,21,21,21,21,21,21,22,22,22,23,
i | " R B " i A T 4 , x 3 f " C D " | A T 3 , x 3 f PA 23,23,22,23,22,21
PER 0 | I N K 7 I " J " | A T 6px3|"K"|AT 8510 DATA 20,20,20,20,20,20,20,2
7,x3| I N K 0 1 "HI" I A T 5 , x 3 + U " B » : G 0,20,20,21,21,21,21,21,21,21,22,
O TO 3 5 0 0 22.22.22.22.22.23.23.23.23.23.23
5035 PRINT AT 4 , x 3 | PAPER 4; INK ,23,22,22,23,23,23,23,22,23,23,2
1
1 J R B • | A T 5 , x 3 ; PAPER 0 ; "CD»)AT 3,23,23,22,22,22,22,21,21,21,21,
6,x3| INK 7 | " J " | A T 7,x3|"K"(AT 22,23,22,21,21,21,20,20,20,19,19
8,*3i I N K 01"•"|AT 6,x3+l|"B": G ,19,19,19
O TO 3 5 0 0 8515 DATA 19,19,19,19,19,19,20,2
5500 PRINT AT 1 , 1 9 J " " |AT 2 , 1 9 0,20, 2 0 , 2 1 , 2 1 , 2 1 , 2 1 , 2 1 , 2 1 , 156,16
;" 1,163,166,171,173,175,176,176,17
5 5 1 0 FOR t - 1 TO x - 2 : P R I N T A T t , 6,175,174,173,172,172,173
221 INK 6 t " J P ^ " J A T t + l , 2 2 | INK 6 8525 RETURN
l " " * " ( A T t-1,22|" E • : BEEP . 0 1 9000 DIM mC(6,30>: LET m*(2)="
, 0 : BEEP . 0 1 , t : NEXT t A B C D E F G H I J K " : LET M*
5 5 1 2 P R I N T AT t - 1 , 2 2 1 " R ! & • I AT t , (4)-" L M N O P Q R S T U V"!
221'IIT•: PAUSE 3 LET M»<6>-" W X Y Z . ? EN
5 5 1 5 P R I N T AT t - 1 , 2 2 ; " "iAT t , D RUB": LET n-lS INK 6: BRIGHT 1
22 J" : CLS
5 5 1 7 P R I N T AT x + l , 2 1 i " 9010 FOR a = 2 TO 6 STEP 2! FOR b=
5 5 2 0 F O R t = x + 2 TO 2 1 I TO 25: PRINT AT a,b|m«(a,b): N
5 5 4 0 P R I N T AT t - 2 , 2 3 ; INK 6 i " L M ' EXT b: NEXT a
J AT t - 1 , 2 3 ; INK 6 | " N O " | A T t , 2 3 | 9012 LET z*="YOU MAY ENTER YOUR
INK 6 1 " E £ " | A T t - 3 , 2 3 | " m
Z BEEP NAME.": FOR z-1 TO LEN z*: PRINT
.01,6: BEEP .01,2*t AT 18,z+31z*<z>J: PAUSE 2: NEXT
5 5 4 5 NEXT t z: LET z«="< USE UP/DOWN fc FIRE
5 5 5 0 P R I N T AT 1 9 , 2 3 \ ' R 5 " i A T 2 0 , 2 }": FOR z-1 TO LEN z*: PRINT AT
3;" " | A T 2 1 , 2 3 | " T U " : BEEP . 0 1 , 0 20,z+4|z*(z)|: PAUSE 2: NEXT z
: BEEP . 0 1 , 5 : BEEP . 0 1 , 0 9015 PLOT 48,78: DRAW INK 7J160
5 5 5 5 P R I N T AT 1 9 , 2 3 | " " | AT 2 0 , 2 ,0:
3* " " J AT 2 1 , 2 3 ) " " : PAUSE 5 : L 9020 LET x-2: LET y=5
ET c « g » c a g - l 9030 PRINT AT x,y| OVER 1|"_"
5 5 5 7 PAUSE 5 0 9037 PAUSE 0
5 5 6 0 CLS : P R I N T AT 0 , 1 0 ) " S C O R E : 9040 IF INKEY«<>"a" AND INKEY«<>
" J s c : L E T z * = " P I G S L E F T : " : FOR "z" AND INKEY*<>" " THEN GO TO
t » l TO L E N z * I P R I N T A T 1 0 , t + 9 J 9037
z«(t)t: PAUSE 5 ! NEXT t : P R I N T p 9042 IF INKEY*—" • THEN BEEP .0
iS 5,25: GO TO 9300
5 5 6 5 L E T z « = " C A G E S L E F T : " ! FOR 9050 IF INKEY«-"«" THEN LET y-y
Z « 1 TO L E N z * : P R I N T A T 1 2 , z + 8 ; +2

104 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
SPECTRUM GAME

9052 IF INKEY*="z" THEN LET y-y 9520 DATA 254,254,252,240,192,1?


-2: GO TO 9075 8,128,128
9055 IF y >25 AND x=2 THEN PRINT 9525 DATA 1,1,1,1,1,1,1,1: REM >
AT 2,25|"K": LET x«4: LET y=5: rope (E)
GO TO 9030 9530 DATA 0,8,24,48,127,48,24,8:
9060 IF y >25 AND x = 4 THEN PRINT REM 9530 TO 9535 > arrow <F,G>
AT 4,25|"V": LET x=6: LET y=5: 9535 DATA 0,1,2,4,255,4,2,1
GO TO 9030 9540 DATA 160,224,176,255,245,25
9062 IF x=6 AND y=19 THEN PRINT 0,127,112,112,252,208,208,208,20
AT 6,17J" LET x=6t LET y=20: 0,254,254: REM > walking wol + e (
GO TO 9030 H, I)
9064 IF x=6 AND y=22 THEN PRINT 9545 DATA 41,109,255,215,255,199
AT 6,20;"N": LET x=6: LET y=24: ,109,125,71,252,184,184,184,56,1
GO TO 9030 08,238: REM > falling wolve <J,K
9065 IF y=26 AND x=6 THEN PRINT )
AT 6,24J'U": LET x=2: LET y=5: 9550 DATA 1,3,15,30,56,112,255,8
GO TO 9030 ,0,128,224,240,60,30,255,115^24,
9070 PRINT AT x,y-2; OVER 0;m!S<x 53,100,199,255,199,100,53,251,18
,y-2): GO TO 9030 7,251,115,123,251,251,251,24,8,0
9075 IF y< 5 AND x = 2 THEN PRINT ,0,3,7,255,255,251,251,243,243,2
AT 2,55"A"! LET y=24! LET x=6: G 43,243,255,255
O TO 9030 9560 DATA 0,8,24,24,56,104,0,0,2
9080 IF x = 6 AND y=22 THEN PRINT 4,28,30,59,58,48,0,0,248,240,97,
AT 6,24;"U": LET x=6: LET y=20 67,7,15,14,14,0,0,24,15,7,3,1,1
9085 IF x=6 AND y=18 THEN PRINT 9565 RETURN
AT 6,20J"N": LET x=6: LET y=17 9600 CLS : PRINT AT 11,11;"GAME
9090 IF x-6 AND y<5 THEN PRINT OVER": PAUSE 150
AT 6,5; " W ! LET x=4: LET y=25 9602 IF sc<s(10) THEN GO TO 980
9095 IF x*=4 AND y<5 THEN PRINT 0
AT 4,5|"L": LET x = 2: LET y=25 9605 FOR j=l TO 10
9285 PRINT AT x,y+2|m*(x,y+2) 9610 IF 5c<s(j) THEN NEXT j
9290 GO TO 9030 9615 FOR c=9 TO j STEP -1
9305 IF x=6 AND y=20 THEN GO TO 9620 LET n*(c+l)=n*(c): LET s(c+
9800 1 >=s <c>: NEXT c
9310 IF x< >6 OR y<>24 THEN GO T 9625 LET s(jl=sc
0 9385 9627 LET n«(j)=""
9311 LET n*(j,n>=" PRINT AT 1 9630 GO TO 9000
1,5 + n 1n*(j,n) 9800 CLS
9312 LET n«n-l! IF n<1 THEN BEE 9805 PRINT AT 3,10;"HALL OF FAME
P .5,-5: BEEP .5,-12: LET n=l m

9315 GO TO 9037 9810 FOR z=l TO 10: PRINT AT z+7


9385 LET n=n + l ,0;n*(z);" - "is(z>: NEXT Z
9390 IF n >19 THEN GO TO 9800 9815 PLOT 0,0: DRAW INK 5;255,0
9395 LET n*<j,n)=M*(x,y) : DRAW INK 610,175: DRAW INK 7
9397 PRINT AT ll,5+njn*(j,n): GO ;-255,0: DRAW INK 6;0,-175
TO 9037 9820 PAUSE 50: LET z*='Press any
9400 GO TO 9030 key to play.": FOR z=l TO LEN z
9499 STOP PRINT Ml;AT l,z+5;z*(z);: NEX
9500 RESTORE 9505: FOR x-=0 TO 16 T z
7: READ v: POKE USR "B"+x,v: NEX 9830 FOR k-1 TO 5: FOR c=l TO 7:
T x PLOT INK c;0,0: DRAW INK c;25
9505 DATA 3,15,19,55,103,111,127 5,0: DRAW INK c»0,175: DRAW IN
,127: REM 9505 TO 9520 > balloon K c;-255,0: DRAW INK c;0,-175
(A,B,C,D) 9835 IF INKEY«<>"" THEN GO TO 9
9510 DATA 192,240,248,252,254,25 840
4,254,254 9837 NEXT cZ NEXT k: GO TO 180
9515 DATA 127,127,63,15,3,1,1,1 9840 GO TO 230

ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5 105
ZX81STRATEGY

i a a Robin Thompson takes the tedium out


of the game with this ZX81 version for
• • •
2-4 players.
• w On RUNing, the program wiil ask the graphics characters, and • a a a
how many people are to play, these are listed in figure 1 . a a a
and will request their names. • a
There will then be a brief pause
while the board is set up and
displayed. Instructions will be
printed, and the game will com
variables
mence, ending when all the let- The main variables used by the
!.V. ters have been used and no-one
can continue.
program are as follows;
8$ - holds the board.

fflf
Please note that the program C$ holds the letters to be
has no facilities for correcting a distributed amongst the payers
mistake in the players' input, so E$ -holds the players' letters.
care must be taken when typing X$ holds the players' names.
W . in words. X-holds the players' scores.
sv. Typing the program in should SI the start of the diaplay file.
present no problems, other than P-the number of players.

Figure 1 Scrabble board graphics \

S*
Line 8430 i 1
Line 8435
Line 7 7 eight graphic S Line 8445 i inverse T
Line 75
Line 7000
inverse 'space'
inverse T
Line
Line
8450 \
8460
V.V.V
Line 7010 inverse 'D' Line 8465 1
Line 8395 inverse 'space' Line 84 70 > inverse D
.'.V Line 8400 inverse 'space' Line 84 75
\

• • •
Line by Line
•• V• .• 1 to 85 initialisation of variables and instructions.
8 6 to 1 70 print the scores, who is next to play, their let-
ters. and inputting coordinates for letters on
the board.
171 to 1 30 work out the coordinates of letters to go on
sv. the board. a a a .. .v.v
3 1 1 to 31 8 bonus score of 50 points when a player uses
all seven letters in one go.
'• .aVa. aVa. V
ai
3 1 9 to 502 check for double or triple word score, print out
score, and prepare for next player's turn.

Subroutines
• • • 3000 checks to see if your letters are next to any
others on the board, and adds the necessary
score.
• a • 3800 POKEs your letter onto the screen.
4000 allocates new letters, and prints them on
screen.
5000 Endgame routine. Works out who scored
• a B most, and prints out scores.
6000 initialises the array that is to hold the players'
• w letters.
7000 works out if player gets double or triple word-
• • • score.
8000 initialises the array that holds the board.
a a a 9000 asks how many players there are, asks their
names, and DIMs arrays to hold their scores,
* names and letters.
9500 prints out the board.
9900 routines used when all the letters have been
• • a used. Play continues until no-one can go. a • • as
9998 program SAVEd so that it autoruns. a •i
a a •
a a ai
a a a i a a
a ai
a a a

106 ZX C O M P U T I N G DECEMBER/JANUARY 1985


2X81 STRATEGY

32 - R I N T A T 1 9 : 0
i 1 i 111 93 F O R P s l T O ~P
94 PR T > 5 ) . - j-i
O R n. — : V I' F
95 N E F
9 5 PO : 1 6 413
g i A T 2 ! d. 0 " I T 5 " R T i
P R T rIT
4- S , 20 ; 0 " 0 G
•bZ-
D T -t- l£
e . _ » r

1 f ( • IH
[ .,I * * V X
J.'
• • w 100 — OH -p _ 1 T* 7
101 ^ E T S I = 1 + pE E K 1 9 6 + 2 5 5 R T-
w«. R 5 I M O O O F 1 16397
• ; I * i FT £ = 0 _
J.0 1. f w * « » OUR i cr —1 r, 5 iT •
, H ! 2 .T, 0 .
"•i>•—I )
. | k J7-5 ".; A T SL 1 0 • '
fl 1=1 1
' • iiS * •
* 1 , c;11
- i
-
• •!?«» . , £ t. t T T E R S ARE "; A

13 , c , * 2 « • s
14 LEJ -- - 3 .i i » i ir GIL O C R N 153 FC 0 = 1^ "T!J 2 1
i s * t t :— * 14 159 PR iT AT 0 ; 2 0 "
160 N t X T 0
T
hL •• c >:• - c r c~ ••; - :
-• WR 154 I N P U T L 3
T H E N G O T O 320
170 I N P U T M s
171 G 0 3 U B 5 5 0 0
172 IF R =1 T H E N G O T O 155
LET j=0 175 IF L E N L 5 =2 T H E N G O T O 2 0 0
130 IF L E N L 5 =3 HEN GOTO 220
I E T 5 =0 136 L E T K = U A L i .$ ( T O 2)
FT 0 •) — ^
S T" r \ -1 _ . 1 190 L E T J = U A L L $ ' 3 T O 4t
i i.- -l — 191 IF 7 = 1 T H E N G O S U B 3 0 0 0
W =0 192 G O S U B ^ 0 0 0
2=0 1 9 5 G O T O 300
UE=0 2 0 0 L E T K = U A L LSilj
3 RAND 2 0 1 IF K 1 T H E N G O T O 100
10 P R I N T ' S C R A B B L E 2 0 4 L E T -J = U A L L 3 * 2 )
11 P R I N T • zsssststtss&zftmi&sm 2 0 5 IF J<1 T H E N G O T O 100
12 P R I N T 206 IF r = l T H E N G O S U B 3 0 0 0
13 P R I N T I t ; r- "n O M R S O N = GC3UB 7000
4/34-" -1 a — ,
• 1 V 1 t'
14 - H U 3 E 100 2 2 0 I F V1 li^t
H L L5 M >1 THEN t C T"
u C t
u —
r — .
15 C L S QL ; $ 1 1
19 G O S U B 9 C 0 0 2 2 5 ' T™ !C U A L — r*T F • >1 T H E N LET U=U
GOSUB 3000 AI_ L 5 (£ T O 3 )
2 3 0 -P U A L L J • 2 >5 T H E N
.
a. e.- , . IO
~
=r .-a . -
•(.• LET R =U
SLOW Hi- 3; ( T O 2 i
52 P A U S E A vji 2 3 5 T* !~ U A L L (2 THEN LET =U
60 C L S HL L 2 (3 I
55 P R I N T I N P U T /OUR U O R D ^ 24.0 IF U A L l $ • 3; >5 T H E N lET r =v
P E IN T H E GRID REFERENCE E.G. AL L 5 i T O 2)
14 F 0 P R O W 1 C O L U M N 4 , 104. - 2 4 5 IF U A L L 5 ( 3 THEN LET -=v
OR R O W 1 0 . C O L U M N 4, OR HL' t_ $ i. 3 '
1014 F O R R O U 10 C O L U M N 14 C N D 2 5 0 I F -JLR L$ I 1 OR U A L L i
THEN PRESS NEULINE" 5 0 R U AL L 5 • 3 • ,5 T H E N G O T 0 2 5 5
5 7 PRINT 2 5 5 P R I N T AT 19 . 0; " P L E A S E 85 ^0
70 P R I N T !HEN T Y P E T H E R E Q U I R RE S P E C I F I C
er,
— t/ i
i_cttpC'
i_ < i tr. H N L> p R E S S N t W L I N E - 2 6 0 P R I N T " R T 2 0 0. W H A T IS THE'
72 P R I N T 2 6 5 K R I N T AT >1 0 ROW N U M B E R
73 P R I N T " W H E N Y O U H A U E F I N 5 H E 2 7 0 IN PU" K
D Y O U R W O R D PRESS NEULINE AND Z' f - •-•
-RIN7 AT 2 1 , 0 ; " C O L U M N N U M B E
UR S C O R ET WILL BE DISPLAYED « ' D"
74. PR R'T 2 3 0 INF UT J
75 PRINT T O U S E ' ft BLftNK i. A P 2 3 5 if J I O R U > 15 OR K < 1 OR k r\' f <i
ESENTED BY 31 S I M P L Y TY 15 T H E N G O T O 100
INUERSE SPACE. 2 S h IF T =1 T H E N G O S U B 3 t'lt't.*
7 7 P A U S E 1100 290 GOSU B 7000
-3 POKE 16413,0 300 i_FT- B 5 i K. . U; MS=
79 F A S T 302 •J U' iS U' - i ,1V
30 310 •1<ci_VTv T i
•=( i ' ; ,=: Cl 0 3 1 1 C L Z'
82 SLOW •t -
i
x r-,r\ T . .

— j. 'T••! A T 10 ,0 ; " W E L 1 n. .-11.: =•
i_ L'OllL.
3 3 P R I N T AT 1 9 , 0 . " A DENOTES ' f ': i
A TRIPLE WORD SCORE A DENOTES •T-Xt ^i- "TUT _! t :
A DOUBLE WORD SCORE A DENOTES 3 1 5 PR IN T " V u U U E U S E D A L L >"'C U P
- DOUBLE LETTER S C O R E AND A t CT'T E R S AND GAINED A BONus
3 A TRIPLE LETTER SCORE" OF 5 0 POINTS"
35 P A U S E 1000 3 1 5 P A U St 2 0 0
36 C L S 3 1 7 L E T Z =Z + 50
37 GOSUB 9500 318 C L S

I
• U-N. J. - J. !U — 319 GOSU B 9500
91 P0KE 16413,0 320 4 X.c1 1=3 T H E N G O S U B 7 1 0 0

107 ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5
ZX81 STRATEGY

3 2 1 I F Di = 3 T H E N GO S U B 7200 EN GOTO 3320


324. P R I N T RT 19,0, "THE SCOPE 3310 NEXT L
R YOUR UOPO UPS ";Z 3315 SLOW
325 L E T X C I ) = X i I ) + Z 3317 RETURN
3 3 2 0 L E T Z = Z + F::L:'
O' PAUSE 150 3325 GOTO 3310
32, PRINT HT 19 0 3 3 5 0 F O R L =1 TO 26
; PT 20,0 IF B $ C K +1 i U •Z 3
= il B * i. K
•J + l =Z$ t L i OR B $ (K . 1 - 1 = Z 3(L "H
329 FOR J=1 '0 17 EN GOTO 3370
J r C0 3360 NEXT L
w' >5 3 SI SLQU
335 NEXT J 1
J '"5 lfS —TR c T U R N
337 IF ul = l T H E N RETURN 33 70 L E T Z = Z + F ( U
34-0 NEXT I 3 3 7 5 G O T O 3 360
345
t
G O T O 90 3 4 0 0 F O R i_ = 1 TO 26
3 4 0 5 IF B$ (K ri , J) = :$ tL J UK D 5 r K -
fitTf! : I : UJ =Z 5 fL i O P B*iK , i- 1) =Z5 11 i T H
9 5 0 C-LS " EN GOTO 3420
3410 NEXT L
2 9 9 9 RUM ~4444444444444*4444*--T
3415 SLOU
3000 fhST 3416 K t T U R N
3005 3420 LET Z=2+FtL;
A -i C ii n T n ^ 1 •*»
00 IF •_<=! H N D K =1 T H E N GOTO 31 M- C.

3010 3 4 5 0 F O R L =1 T O 2 6
150 IF K =1 H N D J = 15 T H E N GOTO 3 3 4 5 5 XF B 5 i K - 1 J ) z=$ . D OP B = -
3015 U + l i =Z$ iL ' OR B % (K , J 4 i) - Z 3
200 IF K = 15 A N D U = 1 THEN GOTO 3 E N G O T O 3 •"7i' .-»*.'
3020 3 4 S 0 NEXT L
3250 IF K =15 AND J = 15 THEN GOTO 3 4 6 5 •SI1_ O '.-.•
i l

3025 3457 RETURN


•J = l T H E N G O T O 3300. 3470 L E T Z=Z4F:L.'
3030 K=1 THEN GOTO 3350
30 35 IF •J = 15 T H E N G O T O 3 4 0 0 3 4 7 5 GO 0 3 4 6 0
3040 IF K = 1 5 T H E N G O T O 3 4 5 0 3300 L E T U = C O D E M$
3050 3 3 0 5 P 0 K E 51 - !' * * 3 ^ + 12 - 34 v u
F O R _ L =1 T O 2 5 3610 RETURN
3055 IF B $ (K +1 . J ) =Z $ I L ) OR B 3 . K -
1 , J) -
E $ i K. Si-i)
Z L
1
O P B 5 f K , U +1) =Z$ (L
_ * T * (I
= Z 3J
~ J. • - 5 •i D T H E N G O T O 3 0 7 0
OF 4000 REM * 4 4 * 4 * 4 4 4 4 44 4 4 * * * 4 - » 4 - -
3060 NEXT L
30FF .OU 4025 IF U = 1 T H E N R E T U R N
3067 4030 FOR L=I TO
3070 LET Z=2+riL) 4035 IF E S ( I , L ) = THEN GOTC 4i
3075 GOTO 3050 00
3 1 0 0 F O R L =1 T O 26 4040 NEXT
3 1 0 5 IF B $ (K + 1, J) =Z$ i L • OR B 5 ! 4-045 P R I N T HT 1 0 , 2 0 ; X $ i I ;PT
J +11 =Z $ < L) T H E N G O T O 3 1 2 0 20; "
ti
PT 14 2 0 ; " L E T T E R S P R E
3110 NEXT L A Ok—.A/ —
H- P R I N T P" ' 16 ,21;
3 1 1 5 S L 0 i.-i- 4 0 5 0 FOR L =1 T O 7
3116 O " P"T<
• ii -.
Jr*. _
'1.
iiit
k 1
40-55 P R I N T E $ ( I , L )
3 1 2 0 L E T 2=Z-fFiL) 4050 NEXT L
3125 GOTO 3110 4055 PRINT
3 1 5 0 F O R L =1 TO 2 5 4070 RETURN
3155 4100 LET vE=UE+l
u-i) = Z5:L': T H E N G O T O 3 1 7 0 4 1 0 1 ^ E T G = INT • R N D 4 1 0 0 t1
1
3160 NEXT L 4 1 0 3 IF v E > = 1 0 0 T H E N G O T O 9 9 0 0
3165 S L 0 U 4 1 0 5 IF If I
i w i1 — I" " T H E N GO"
3 1 6 7 RETi IC'N 4110 5 I i; LI =C $ I U
3 1 7 0 LET Z =Z4F • L.) 4-115 iR 'I =" /"
3175 GOTO 3160 4120 GOTO 4040
32O0 F O P L = 1 T O 2 6
3 2 0 5 IF B S < K - 1 j=Z$(L; OP
J 4 1 )=Z$:L; T H E N G O T O 3 2 2 0
3210. N E X T L 5001 LEI H =0
3215 SLOU 5003 FOR 1=1 TO P
3217 RETURN 5005 IF N < X I I "I THEN L E T H—x i T
3220 LET Z = Z + F C D 5015 NEXT I
3225 GOTO 3210 5020 FOR 1 = 1 T O R
3 2 5 0 FOR !_ =1 TO 2 6 5025 I F X ( I ) = H T H E N G O T O 505C?
3 2 5 5 IF B $ ( K - l . J ) = Z $ i L - 5030 NEXT I
J - l ) ::Z$ CD T H E N G O T O 3 2 7 0 5050 PRINT UELL DONE " X $ ( I '
3260 N E X T L 50t-0 P R I N T " YOUT ^E Y O N ' '
3265 SLOW 5065 PRINT
cD ( R E T U R N 5070 PRINT " T H E SCORES WERE,
3270 LET Z =Z+F!Li 5060 PRINT
3275 GOTO 3260 50S5 FOR 1 = 1 T O 4
3300: F O R L =1 T O 2 6 5090 PRINT X5 (I) ,X C D
3305 :IF B 5 i K 41 = J j =Z $ (L i OR B 5 - - 5095 NEXT I
1 j J) !Z$(L) OR B $ (K,U +1) =Z$CL\ T H 5100 PR U S E

108 ZX C O M P U T I N G DECEMBER JANUARY 1 9 8 5


ZX81 STRATEGY

5101 CLS 80D0 LET F.f 4) =2


5105 G06UB 9500 3055 LET F <7) =2
5110 STOP 8070 LET F (6) =7
8 0 ^ 5 LET F •11) =5
5500 REM * + + 3 0 8 0 LET F <1 0 s =3
6090 LET F <24) =8
5600 FOR R = 1 TO 7 8095 LET F -17* =10
5505 IF E $ = M S THEN lET E5 I 3097 LET F (25) =4
H) = / ' 8 1 0 0 LET F i2 6 ) = 1 0
5507 IF E 5 (I, R) = • " THEN GOTO 55 8105 FOR 1 =I T O 9
£0 8110 LET 0 5 ti) == fl"
5510 NEXT H 8115 NEXT I
5515 GOTO 5700 3120 LET 0 5 t10j = ; E
5620 LET E5 iI, A) =" " 8125 LET 0 5 tll.i = " B
5525 RETURN 3130 LET 0 5 <12)="C
5700 LET R = I 3135 Lfc J L'5 <13) ="C
5710 PRINT AT 17.20:"THRTS " RT 3140 FOR 1 =14 TO 17
13 . 20; "CHEATING";RT 19,20; "DO IT 3145 LET :s < I) = " D "
; RT 20 j 20; "AGAIN" ;RT 21=20; PRO 3150 NEXT i
PERLEY" 3155 FOR 1 = 16 TO ::
29
5720 PRUSE 50 3160 L E T OS < I) = E"
5730 RETURN 6165 NEXT J 1
3170 L E T 0 5 ( ri 0 ; s ^
5999 REN 3175 LET 0 5 131;= F
3130 LET C$ i32:= G"
5000 FOP 1=1 TO P 3135 LET 0 5 (33) =' G"
5001 FOR M = 1 TO 7 3190 LET 0 5 (34:« = G-
5020 LET E5 11 , M) =:! " 3195 LET 0 5 (35•= H"
5025 NEXT M 8200 LET 0 5 (36;= ' H"
5027 NEXT I 3205 "OR I =37 TO !:
45
6030 RETURN 3210 ^ET CS : J : = J "
8215 NEXT I
69.99 REM 8220 -ET 0 5 <4-6: = J" :
3225 _ET 0 5 ( 4-7) = " K '
7000 IF 65 (K Ji THEN LET 01 = 3230 FOR 1 = 48 TO 51
3 3235 i_ET 0 5 < J ;
70O5 IF 5$ J) = "3' THEN i_ET 0=3 3237 NEXT I
7010 IF 5$ (K ="3" THEN !_ET Dl = 3 2 4 0 LET 0 5 (52.' = " M "
3 8245 LET OS (53i ="M"
7015 IF 6S<K, •-')="£ THEN LET 3 = 3 3250 FOR 1 = 54 TO 59
7020 FOR 0=1 TO 2 5 3255 LET CS CI) =" N "
7025 IF A $ tO) =M$ THEN GOTO 7040 8 2 6 0 NEXT I
7030 NEXT 0 3255 FOR 1 =60 TO 57
7035 GOTO 7050 8270 LET 0 5 (I) ="0"
70A0 IF 0=3 THEN LET Z=Z+3*FiO; 3275 NEXT I
704-5 IF D o 3 RND 0<>3 THEN LET Z 3230 LET C S i58:="P"
=Z + Fi0 J 3235 _ E T c $ <69)s"P"
7050 IF D = 3 THEN LET Z = Z + 2 * F ( Q > 3290 LET 0 5 (70) =-'C"
7050 LET 0=0 8295 FOR 1 =71 TO 76
7055 LET D=0 3300 LET 0 5 (I) = "fi"
7070 RETURN 3305 NEXT x
7100 LET Z =Z + I.2tZ) 3310 FOR 1 =7 7 TO 30
7107 LET 01=0 3315 LET 0 5 (I)="3"
7110 RETURN 3320 NEXT I
7200 LET Z=Z+Z 3325 FOR 1 =31 TO 36
7205 LET D1=0 8330 LET OS i I) ! T "
7210 RETURN 3335 NEXT J
3340 FOR 1 =67 TO 30
7999 REM 8345 LET C S (I)="U"
8350 LETNEXT I
3000 DIM Est 15j15) 8355 LET 0 5 (91)="U"
6001 DIM AS<25) 0 5
3360 E T 0 5 (92)= "
3002 DIM F(26) 3355 L 0 5 (93;: ='U"
8005 DIM C5t100) 3370 LETLET 0 5 (94) ="lj"
6007 LET X=0 3375 (95)= "X'"
0 5 (96)="Y"
6010 FOR 1 = 38 TO 53 3380 LET
6011 LET X=X+l 8385 LETLET
OS
C S (97) =-Y"
6015 LET Fixi=l 3 3 9 0 LET C S (93) ='Z"
8016 LET A $ (X) =CHR $ (I) 3395 LET 05 (99-= S
3020 NEXT I 8400 FOR T = ti00) = a
3024- LET Ft7) =4- 3402 FOR 1 =I TO 15
6025 LET F (8)=4 3405 LET 6 51 TO 15
6030 LET F >23) =4- 3410 NEXT I <T ,1)
3035 LET F <22) = 4 3415 NEXT T
8040 LET F <13) =3 8420 FOR T =
6045 LET "F (3) =3 34.25 LET 35 1 TO 15 STEP
8050 LET Ft 16) 3430 l_ET 6 5 t1.T; = "3"
8055 LET F <2 • =3 < 15 j T) = li

ZX C O M P U T I N G D E C E M B E R / J A N U A R Y 1 9 8 5 109
ZX81 STRATEGY
I
34.40 NEXT 9031 PRINT
-5 LE (3 ; i:• = ar 9035 NEXT I
5450 _ET B$ •5 . 15' = ' It 904-0 P R I N T PLERSE R I T -MlLf I
54-55 FOP 1 =2 TO 5 SET U P T H E 60PRC
6450 LET Bi £1,-1) = 3 " 9 0 5 0 P A U S E 150
3455 LET 5 5 (IS-I I • =' 2 9052 CLS
54-70 LET 55 i15-1.15-1) = 8' 9055 FHST
54-75 LET 5 5 1 I,15-13 S 9060 RETURN
3430 NEXT I
54-55 F O R 1 =2 T O 14 S T E P 4 949y REN + +
54-90 LET 6 5 (6 , I) = " 3 "
3495 LET 5 5 ( 1 0 , I ) = " 3 " 9 5 0 0 P R I N T RT 0 , 13i " 1 1 1 1 1 1 "
3500 NEXT I 3505 PRINT PT 1,4;"123456739012"
3505 LET (7,3)= " 2 " 45"
5510 LET 65 < 7 , 7 ) = " 2 " 3505 L E T u=0
5515 LET 65 i 7,9) = "2"
3520 LET 55 (7 ,13) ="2" 9 5 0 7 P R I N T R T 2,4-;
5525 LET 5 5 id,4)="2" : PT 2, 3 5 P T 2 19; * "
3530 LET 55 ( 3 j 3 ) 9 5 1 0 F O R C =1 T O 1 5
3535 LLT 6 5 (3,12.i = " 2' 9 5 1 1 L E T U = U +1
3540 LET 6$ (9,3)="2" 9 5 1 5 P R I N T PT U + 2 , 1 ; C , R T U + 2 3
354-5 LET 5 5 <9,7)=2"
3550 LET 6 5 >9 , 9) = " 2 " 9517 P R I N T 5 5 *C: I"
3555 LET 5 5 (9 : 13.1 ="2 9520 NEXT C
3530 I- no 1 =6 T O 10 S T E P 4 9530 PRINT
3565 LET 6 $ <2,I) ="3" 9535 PRINT h t 13,3, " :AT 13 IP
3570 LET 5 5 (14., I) = "3" J'& 4I
3575 LET 5 5 (1,2)= "3"
3560 9540 RETURN
LET 5 5 (1,14)="3'
3535 NEX " I 9399 REM
5590 FOR 1 =7 T O 9 S T E P 2
5595 LET 5 5 (3,I) = 2 "
3600 9900 CLS
LET 65 • 13,I) = " 2 "
3605 LET c?5 ( I , 3 ) = " 2 " 9 9 0 1 P R I N T P T 10,0; " T H E R E P R E N:"
3610 LET 5 5 (I , 13) ="211 MORE LETTERS lE^T
3615 NEXT J 9 9 0 4 P R I N T " Y O U M U S T PLH• O N NT
3620 LET 6 5 ( 4 , 8 ) = " 2 " IL N O N E O F Y O U " ; P ; " C R N M R K E R
5625 LET 5 5 (12,5) ="2" NY M O R E W O R D S "
6533 FOR 1 =4 T O 12 S T E P 3 9905 PRUSE 200
3635 LET 5 5 (1,1)="2" 9906 C L S
3D40 LET 5 5 (15,X)="2" =»y07 P K I N T R T 10,0, "CRN R N O F
3645 LET 5 5 (I , lj ="2" O U GOT (Y/Ns •
3650 LET 5 5 9933 INPUT - 5
(I,15)="2" 9 9 0 9 IF V $ = " N " T H E N G O T O P P S 0
3655 NEXT I 9910 CLS
3D60 D I M Z 5 (26) y9il GOSUB 9 ^ 0 3
3663 LET N =0
9 9 1 2 F O R 1=1 T O P
5665 FOR 1 =36 T O 6 3 9 9 1 7 F O R G =1 T O 11
3557 LET o =0 + 1 9913 PRINT-RT G,20'"
3670 ^.ET 2 5 (0) = C H R $ i. I >
5675 NEXT I 9920 NEXT G
3530 RETURN 9 9 2 2 P R I N T RT 1,20. <5(1i PT - •0
; "YOUR L E T T E R S : . R T 5 2 0 P R E P
3999 R E N T 7,20:
9925 FOR R = 1 TO 7
9000 FRXHT 9 9 2 6 P R I N T ES;.I,R)
9927 NEXT P
9001 INPUT P 9 9 3 0 P R I N T R T 9 ,20, "CRN Y O U
9002 IF P >4 O R P < 1 T H E N G O T O 3; 11,20;"GO (Y/N)?"
1 9933 INPUT 5 5
9005 D I M E $ (P , 7) 9 9 3 5 IF 55 = "N': T H E N G O T O 9 * 4 0
9010 D I M X'(P) 9 9 3 7 L E T Ut = l
9012 DIM X$(P,10) 9 9 3 6 IF 35= V" T H E N G O S U B P P
9013 GOSUE 5000 9940 NEXT I
9015 F O R 1=1 T O P
9020 PRINT 9973 GOTO 9906
9021 PRINT ' PlhYEP I ghfi-
9930 CLS
PRINT "YOUR NHME" 9931 GOTO 5000
INPUT N$ 3337 STOP
LET XS(J) =N 5 9993 SPUE "SCRRBBL§
PRINT N5 9399 R U N
• •

110
ZX C O M P U T I N G DECEMBER/JANUARY 1 9 8 5
ZX81

ZX81 Soft g a m e , b u t c a n be r a t h e f cursor around the grid and 'fir-


frustrating at times particularly ing' to lock on to the located
as there is no way of giving in word. A list of the hidden words

Selection
and requesting the answer is displayed.
although you can escape by All f o u r g a m e s on this
pressing the break key. cassette worked well. They
The next game on the have obviously been carefully
cassette is Switch Quiz, which I thought out and were enjoyable

Nick Pearce is back with thought was jolly goodfun. It isa


quiz where the answer to each
to play. They can all be played
using a joystick.

some more new question is either true or false.


You get points for giving the cor
Also from Pooter Games is an
interesting novelty for the ex-
'81 Software. rect response, and the faster
you answer the more points you
panded ZX81 called Muse of
Pooter. a program which creates
get. For an incorrect answer prose. Short sentences are
points are lost. To start you generated and displayed, with
Matre 81 character), Charborder (to get a make a selection from the nine words and syntax chosen at ran
Arctan Software border using your o w n choice of
character), Store and Recall (to
t o p i c s available, f r o m pop
history and film buff, to sport
dom.
M o s t of t h e p h r a s e s it
get pictures into and out of and British birds. It is then up to generated whilst I used the pro-
Matre 81 is an interesting memory) and Cursoring (which you to give the correct response gram seemed plausible, even
graphics program w i t h some moves the cursor directly to a to each question as quickly as profound at first sight, but on
unusual functions for the 16K specified corner of the screen). possible and reach the max- Closer inspection probably 9 0 %
Z X 8 1 . Probably the most uni There is an animate function
que is 'kaleidoscope' where imum permitted score ol 9 0 in fact made no sense. Occa-
w h i c h displays each picture points in the shortest possible sionally though, a real beauty
anything drawn in the top right c o n s e c u t i v e l y . H o w e v e r as
hand quadrant of the screen is time. The questions have been appears so switch on and let
there is a maximum of eight pic- carefully thought out and it is the Muse of Pooter set you
mirrored in the other three t u r e s , a n i m a t i o n is s t r i c t l y
quadrants. easy to give a wrong answer pondering.
limited. under the pressure of time. Pooter Puzzles and Muse of
There are some thirty func- All the features worked as in- Good use has been made of Pooter are available by mail
tions in all. To start, you are dicated on the comprehensive ZX81 graphics w i t h a points order from Pooter Games, 24
presented with a blank screen sheet that is included with the scoring clock displayed Parsfoes A venue, Dagenham,
and asked how many pictures cassette. The program is enter
you wish to draw up to eight throughout the game. RM9 5NX.
taining and is very easy to use. I Next comes Wordslide, con-
separate pictures can be handl-
ed by the computer.
am afraid that I am unable to il
lustrate this review with any of
taining eight puzzles. Each Bouncing Bert
In Draw mode you move the my doodles as my Sinclair
puzzle is a four by four grid con
taining four words with their let- Software Farm
printer has thrown a wobbly ters jumbled up. You have to
well I did drop it. Is there anyone move the letters around the grid The last Software Farm game
out there who can repair the lit to recreate the four words. It is a for the ZX81 reviewed in these
tie beasties? ZX81 version of the popular pages featured high resolution
Matre 81 costs €3. 75 (che novelty puzzle. An enjoyable graphics. Normal ZX81
que payable to MG Hug gins! game with graphics again used graphics for Bouncing Bert, but
from Arctan Software, Suite 2, to good effect. the display and animation are
Assurance House, 35 4 1 Finally on this cassette is very good nevertheless. The
Hazlewood Road, Northampton Word Scanner. Thirty or more program requires 1 6K of RAM.
NN1 JLG. words are hidden in a 1 6 by 16 Bouncing Bert is not the usual
grid. They may be horizontal, p i n m a n , but a s u b s t a n t i a l
Pooter Puzzler and vertical, or along a diagonal. The character who can move for-
Muse of Pooter object of course is to find each w a r d s , backwards, and can

Pooter Games word. Ten puzzles are available, jump. The object of the game is
each based on a theme such as to guide him from platform to
top thirty, British mountains, platform to collect some keys
Pooter Puzzler contains a collec and garden roses. The game is and return them to the start.
tion of four word games, all for easy to use by simply moving a There are three keys to collect in
the 1 6 K Z X 8 1 . all, and there are plenty of
cursor around the screen to pro- The first is called Sortition. hazards to trap the intrepid Bert,
duce the required pattern or pic- The computer holds 2 6 nine let including weeds and deathly
ture. You can move horizontally,
vertically, and diagonally (eight
directions in all). The drawing
ter words, each starting with a
different letter of the alphabet.
The player selects a letter from
OUR skulls.
An interesting aspect to this
game is that everything from
area has 4 3 vertical and 6 4 A to Z, and the computer Bert to the skulls and weeds is
horizontal pixels, so picture displays an anagram of the on a large scale. This means that
resolution is not all that good. stored word beginning w i t h that only a small part of the game can
Function mode can be called letter. Your task is to solve the Not be seen on screen at any time.
'" f jo,
up at any time. Each function is anagram, and sort the letters in- This makes it difficult to plan a
called by a single character, and to their correct order Sorting is HOURS OF PUZZLE £L7O FUN route to the keys and only after a
you are asked to confirm that not easy since it has to be done number of attempts after which
any selected function is indeed by progressively reversing the the course is " l e a r n t " is success
required before it is operated. order of the displayed letters likely.
This slows things up a little, but from the left only. A score is Bouncing Bert is an enjoyable
5ft-.,
does reduce the probability of kept (number of moves taken) TjlS/l"jBl—i
," .
fr'iifi. / game, and good use is made of
error. The functions available in which the computer averages the Z X 8 1 graphics for the
elude the usual Copy, Save, and out as more words are attemp- display and animation. Available
Load routines as well as such ted. There is also a t w o player from Software Farm. 3rd Floor,
features as Invert, Fill (to fill the option. 16 Charlotte St, Bristol BS1
screen w i t h a specified Sortition is quite a good 5PP.

ZX C O M P U T I N G DECEMBER J A N U A R Y 1985 t 1 1
HARDWARE REVIE

1 R E M *****Jf * * * * * * * * * * * * * * * * *
P U n d e r 1i n e d characters*
* a r e e n t e r e d in *
^GRAPHICS mode. *
***********************
5 GO SUP 900H

Derek Mearns has been 10 R E S T O R E


2 0 FOR g = 1 4 4 TO 1 1 ? FOR f = 0 T
a busy little B — he can be O R E A D a: P O K E U S R C H R S 9 + f , a

seen buzzing around the : M E X T f: M E XT g


30 DATA 0 , 6 , 8 , 2 8 , 6 2 , 6 2 , 6 2 , 2 8 :
Witney Honey pots. DATA 36,21,60,90,153,153,165,195
3 3 D A T A 24 0, 1 3 6 , 6 9 , 6 2 , 6 2 , 6 9 , 13
In this game for the 16K ZX beginning. For example, if there 6 , 2 1 0 : D A T A 8, 2 5 5 , 3, 2 5 5 , 0 , 0 , 0 , .0
Spectrum you must manoeuvre was a straight path to the other 3 5 I N K 7: P R I N T A T 8 , 3 ! " E n t e r
the fly around the orchard to the side except for one apple block
fence on the other side. It differs ing your w a y , then your input Difficulty ri TO 1 0 ? " : I N P U T dif
from the normal arcade games in may be: : IF d i F <1 O R d i f M 0 T H E N G O TO
that your movements are via an 35
input statement at the beginning '77777777577877777777'
rather than by INKEY$ during 3 ^ L E T d i f — INT d i f : L E T d i f = d i
play. Notice that it is not necessary to f * IB: P R I N T AT 8 , 3 ; "
When run you will see a short finish at the fence, you may "I A T 1 , 1 ! "
title display followed by the dif over-shoot it. However, y o u •

ficulty input. This determines may not under shoot it. Should
how many apples you will get the maze be impossible entering 38 PRINT A T 9, 1 ; "
(eighteen times the difficulty 0 will return you to the start. N

level). The screen display will


then appear, w i t h you at the bot- Program 39 I N K 6: P R I N T AT 0>l;"Q£QQ:DD
tom and the fence at the top.
You will then see the prompt Description 40 PAPER 0: I N K 1 : F O R f=l TO
'O.K!' indicating that youshould
now enter your commands us- Here follows a brief breakdown dif: PRINT A T "INT f R N D * 15) + 1 , INT
ing the cursor keys. All the com- of the program and a list of the <RND*30>+1!"9": NEXT f
mands should be entered at the variables used. (See figure 1) 50 L E T x=16: LET y=15: INK 7:
Figure 1 Program Description) P R I N T A T 16, 14 f ' B •
10-38 Set up User Defined Graphics and input 60 INPUT "O.K! LINE g*: IF
difficulty
LEN g«<l THEN GO TO 6 0
39 -50 Draw screen display
60-70 Input commands 65 IF g * = " 0 " T H E N GO TO 1
80-260 Move fly and check to see if at fence or 7 0 F O R n=1 T O L E N g « : I F g * ( n )
crashed
<>"5" A N D g « ( n > < >"6" A N D g « ( n ) < >
280-290 The fly crashes
320-360 The fly reaches the fence "7" A N D g « ( n ) < > " 8 " T H E N GO TO 6
400 End of command and fly not at fence 0
1000-1020 Another go?
8.0 N E X T n: F O R n^el T O L E N g « :
9000-9520 Print title and instructions
dif Difficulty level PRINT AT x , y i " B " : P A U S E 2 0 : IF g
x,y Co-ordinates of the fly *(n> = " 5 " T H E N GO TO 120
gS Your command
9 0 I F g * < n ? * " 6 'T H E N G O T O 16
n Next command to be read in g$ .FOR.
NEXT loops 0
Temporary scrolling messages 1.0.0 I F g « i. n J = " 7 1T H E N GO TO 2 0
FOR . . NEXT loops
0
110 IF g « ' n ! = " 9 " THEN G O T O 24
0
1 2 0 I N K 7: I F A T T R ( x , y - l ) « 2 T H
EN G O S U B 2 8 0 : P R I N T A T 19,0» F
L A S H 1|" Y O U F L E U INTO A WALL A N
D D I E D ! ": G O TO 3 0 0
130 IF ATTR ( x,y-1)=4 THEN GO
S U B 2 8 0 : P R I N T A T 1 9 , 0 | F L A S H 1|
•YOU A T E A DEADLY A P P L E A N D DIED
!•: P A U S E 2 0 0 : G O T O 3 0 0
U E L L
^"'.VOU ««Der I T , 140 P R I N T AT x,y|" LET y->—1

112
IHARDWARE REVIEW

: BEEP 2,10: NEXT n: GO TO 400 FLASH 1|- YOU DID 1 NT MAKE IT


160 IF x >14 THEM GO SUB 280: P
RIMT AT 19,0) FLASH 11• YOU FLEW 10.00 FOR f-l TO 300: NEXT f
INTO A WALL AND DIED! ": PAUSE 1010 INK 6.' PAPER 0: PRINT AT 19
200: GO TO 300 ,0!"Press any key to play again
1 7 0 I F ATTR (x + 1,y)=4 THEN GO •: IF IMKEY»--" THEN GO TO
S U B 2 8 0 : PRINT AT 19,0; FLASH 1{ 1010
"YOU ATE DEADLY APPLE AMD DIED 102.0 RUN
9.000 PAPER .0: BORDER 01 CLS
1
": PAUSE 00: GO TO 3 0 0
180 rPIHt AT X,y;" ": LET I=xtl 9003 BORDER 0: PAPER 01 CLS : IN
: BEEF . 2 , 1 0 : NE/' T n: GO TO 400 K 2: FOR f-0 TO 3: PLOT f,40: DR
2.00 IF x ( 2 THEN GO TO 320 AW 0,133: PLOT 0,173-*: DRAW 233
210 IF ATTR Cx-l,y)»4 THEM GO , 0 : PLOT 233-*,173: DRAW 0 , - 1 3 3 :
SUB 280: PRINT AT 19,01 FLASH 1? PLOT 233,40+f: DRAW 253,0: NEX
"YOU ATE A DEADLY APPLE AND DIED T f
'": PAUSE 200: GO TO 300 9004 FOR f = I TO 4
220 PRINT AT x,yj" B : LET x=x-l 90.03 INK 6
: BEEP .2,10: NEXT n: GO TO 400 ?010 LET a * = " B U Z Z Z 1
*
240 IF ATTR Cx,y+1)=2 THEN GO i f - * * * - * " * * * - * * - * " : FOR n = 3 1 TO 1 STEP
SUB 280: PRINT AT 19,0; FLASH 1) -l: PRINT AT l,n)a*< TO 31-n):
" YOU FLEW INTO A WALL AND DIED' NEXT n
*: PAUSE 20.0: GO TO 300 9015 FOR n= 1 TO PRINT AT 1,1:
230 IF ATTR (x,y+1>=4 THEM GO a«<n TO >: NEXT n
SUB 280: PRINT AT 19,0) FLASH 1} 901^ LET a*=" DEREK MEA
•YOU ATE A DEADLY APPLE AND DIED RNS " :
!": PAUSE 200: GO TO 3.00 902.0 INK 5: FOR n = 30 TO 1 STEP -
260 PRINT AT x,y)" ": LET y=y+l l: PRINT AT 1,n;a* < n) : NEXT n
: BEEP .2,10: NEXT r>: GO TO 400 9025 NEXT f
280 PRINT AT 6,0)" 9100 RETURN
9200 CLS : INK 7: PRINT AT 0,0)"
The otject of this game is to
guide Fred the Fl> ( B ) around the
orchard.Unfortunate1y Farmer
Brown doesn't like flies and he
283 INK 2: FOR f = 6 TO 10: PRINT has poisoned all the apples in
AT f , .0J "• "I AT f,3i|"|": NEXT f his orchard.Fred will die unless
290 INK 0.* PAPER 3: RETURN i
300 GO TO 10.00 9210 PRINT AT 6,0?"you can guide
320 PRINT AT 6,0(" him into the next orchard where
the apples are notpoisoned.The
only way into this orchard is th
rough the fence at the top(D)"
9220 PRINT AT 11,0)" To guide
Fred use the cursor keys BUT you
must enter your route accros
330 INK 2: FOR TO 11: PRINT s the orhard all at once.The com
AT f,0) "| "J AT f,31|-|-: NEXT f puter will ask you for this wit
340 FOR g=l TO 2: FOR f = 20 TO 4 h the prompt *0.K'
0 STEP 3: BEEP .i r it NEXT f: NEX 9230 PRINT " Pressing any key
T 9 while Fred is moving will make
343 LET a«-"!!!!!WELL DONE,YOU him fly -f aster . Shou 1 d it be
MADE IT!•••!!" impossible to fly through enter
330 PRINT AT 19,1| INK 2)"899BB ing • '0* wi11 start the game again
BSB8BB88S88B888BS88B888888": FOR
-f«l TO 30: PRINT AT 19, it INK 7 924.0 PRINT AT 21,0J INK 6) "Press
J a«t <-f )J •£• : PAUSE 13: NEXT i any key to start": IF INKEY*"""
360 GO TO 1000 THEN GO TO 9240
400 GO SUB 280: PRINT AT 19,0J 9230 RETURN

ZX C O M P U T I N G DECEMBER.JANUARY 1 9 8 5 113
IF YOU USE YOUR COMPUTER TO
P L A Y GAMES, THEN YOU CAN'T
AFFORD TO MISS.

T h i s fantastic n e w m a g a z i n e appears
on the fourth F r i d a y of every month
price of 9 5 p .

E a c h issue w i l l be produced in
cooperation with Eecaan our
Interplanetory A d v i s e r w h o on his
h o m e planet, A a r g o n , is a m e m b e r of
the Association of S u p r e m e Players.
H e w i l l be monitoring developments
in the games i n d u s t r y a n d a d v i s i n g
C o m p u t e r G a m e r readers w i t h all Also, all readers of C o m p u t e r G a m e r
their g a m i n g problems. I n c l u d e d in w i l l h a v e the opportunity to join
each issue w i l l be pages of r e v i e w of our t r e m e n d o u s Reader's Club —
the latest games releases, special each member will receive a
A d v e n t u r e features a n d a help-line, membership card a n d a regular
i n v a l u a b l e articles on h o w to 'crack* newsletter w h i c h w i l l contain up-to-
specific games a high-score page, the-minute n e w s a n d all sorts of
exciting programs to type in for offers on a variety of products.
most of the popular h o m e computers,
n e w s , competitions, reviews of So all-in-all there's no w a y y o u can
peripherals and computers afford to be left out of the great n e w
themselves if relevant to the games revolution i n games c o m p u t i n g —
field a n d L O T S more. r u s h out a n d b u y y o u r copy N O W !

1 14 ZX C O M P U T I N G DECEMBER J A N U A R Y 1985
PROBLEM PACE

Problem Page Saving from different areas


of the System variables helps to
prevent others getting used to
the technique. There are lots of
possible tricks which can be us
ed, hut none are foolproof, all
you can really do is make life dif
ficult and hope the would-be
hacker gives up.

Convertable?
Dear Sir,
Having used a ZX81 for years, I
have acquired a Spectrum.
Although I intend to keep the
2 X 8 1 and k e y b o a r d as a
backup, life would be much
easier if I could load my BASIC
ZX81 tapes into the Spectrum
to avoid the need to type
them all out again.
Do you Know of any conver
sion tape still available? I have
Chess Eraser
tried ELR, Amersham and Ness.
original address and continue
from where it left off, this we Mr. M. Anthony,
Dear Sir, Dear Sir, don't want yet. First find the Cheshire
Some time ago I bought a 1K I have been looking for a way to length of the program saved
Chess program for my ZX81 erase a BASIC program if the with PRINT (PEEK 23641 \ The answer is simple noI The
After trying several times it 256 *PEEK 23642) - 23552
p r o g r a m is s t o p p e d w h i l e ELR one is the only one we knew
seemed impossible to BREAK loading so revealing the struc and make a not of it. Make a pre of, but this one only worked
the program. Do you know how ture of the program and also loader by entering a program with issue 1 Spectrums.
this is done because I have a pro making it easier to be copied. such as: Perhaps if there is such a pro
gram in my head which t don't I have found the POKE com- duct in existence someone will
want to be broken. mands to erase the program if let us know about it. Meanwhile
the BREAK SPACE key is press 10 POKE 23659,OiPOKE
65365,0:REM cause crash on it might be an interesting project
Th.P. Van Nunspeet ed when the program has load for an enterprising expert out
The Netherlands ed. I wish to find a POKE com- br6dk
there
mand to erase the program if the 20 LOAD " " CODE 2 3 5 5 2
Well, presuming it is the pro p r o g r a m is s t o p p e d w h i l e David has dealt with the bulk of
gram and not your head which loading. Can you help me ? I own By clever use of colour, line 20 the problems personally this
you want to prevent from being a 48K Spectrum and thoroughly can be in white ink on white issue and we were left with only
broken, then this can be a simple enjoy your magazine. paper ie. invisible! Or, by a these few. However, I will be
problem providing your program similar technique made to look looking after this page tor a
is in machine code. / too have Michael Conaty, as if it reads LOAD ""or even while to allow David to work on
this chess program and it is a Dublin LOAD "" CODE. It all adds to nis new project so send in your
masterpiece of programming, the hackers' confusion. program, hardware or general
the code is held in a REM line at This seems to be of interest at Save it by SA VE "p 1" LINE problems and queries to me:
the beginning of the program the moment. There really is no 10. Now reload the first pro-
and the BASIC simply consists foolproof way of protecting a gram to a different address by Sparky,
of two lines. program, just look at the time CLEAR 32999 (or some such Problem Page,
and effort commercial com address) and LOAD "" 33000. ZX Computing,
10 SAVE "CHESS" panies take, and still the hackers Re-sa ve by SAVE' 'prog'' CODE No 1 Golden Square,
20 RAND USR number get inf Without recourse to 33000, length of prog as noted, London W1R 3AB
So, if your program is in machine machine code and one of two after your pre loader program.
code held in a first line REM just other tricks, the simplest way is Now a simple LOAD""CODE And I look forward to a challeng
add two similar lines to the end to have one or two pre loaders, will be of no use 1 ing and interesting time.
of your program remembering to each depending on a secret code
put 'number' equal to the you implant for the nex t to work.
machine code call address The main program could be sav-
(often 16514), of the start of ed as bytes, loaded to a different
your program. memory location and therefore
Now save your program by only be reloaded by the correct
typing GO TO 10 and pressing pre-loader.
NEWLINE. Every time the pro Say for instance you have a
gram is reloaded from the tape it BASIC program. SAVE it as
will auto start and, provided bytes by having a program line
your machine code does not such as:
allow BREAK to halt the program
it will be protected. 9 9 9 0 SAVE " p r o g " CODE
Saving a program in this way 2 3 5 5 2 , (PEEK23641 + 2 5 6 *
will also autostart a BASIC pro PEEK23642) 2 3 5 5 2 9 9 9 5
gram if the RAND USR number is GO TO 10
replaced by GOTO line number,
but preventing a BASIC BREAK Now if it is reloa ded using LOAD
is too complex to tackle here. "" CODE, then it will load to the

ZX C O M P U T I N G DECEMBER, J A N U A R Y 1985
115
CLUB NEWS
- •

ZX81 club
Dear Editor,
In March of this year one of your
rival magazines printed an ap-
peal, by myself, for Z X 8 1
owners and users to contact me
if they were interested in
establishing a ZX81 postal
users club. Over two dozen peo-
ple replied (including one each
from Canada, Germany, New
Zealand and Sweden), this ex
cellent response has resulted in
tentative steps being taken to
form such a club.
Facilities and services which
we hope to be able to provide in-
clude: address exchange, dis-
count software (over 50 titles at
less than £ 3 . 0 0 each!), Interna-
tional and Junior sections,
newsletter etc.
Therefore, I would like toask.
through your columns, that ALL
ZX81 owners and users, who
would be interested in joining a
club EXCLUSIVELY for them- Your money will contribute
t o w a r d s postage, discount
Penpal I am French and live near
Paris, and I own a 48K Spec-
selves, please write to me at the
above address, for further infor games tapes and to any other Dear ZX Computing trum. I would like to become a
mation and a questionnaire. surprises that may appear in the I am fourteen years old, and member of a Spectrum club as I
Would all respondents please be newsletter. I think you will find would like a penpal who has a would like to exchange ideas,
kind e n o u g h to enclose a the iub good value for money, Spectrum 48K. I have an Inter- news and programs with British
stamped addressed envelope or but if you don't enjoy it you will face 2 and joystick for my Spec users.
an international reply coupon. have a money back guarantee trum 48 K, If there are any clubs that cor-
Many thanks! for the first t w o months. respond with French or Euro
If you are interested please Yours faithfully pean users, please write to me at
Yours sincerely contact: G. Bent ham the address below.
lain Dale PO Box 73
78 Cobden St, Ian Kennedy Ngodwana, N.E. Transvaal Yours faithfully
Thornaby, Stockton on Tees, 24 Waverley Crescent RSA 1209 Pajard Jerome
Cleveland TS17 7 ET Lanark, Scotland. 57 Rue Segoffin
While we're on the subject of S. 92 400 Camberoie
Spain Africa, we've had a letter from a France
Peter Hup ton, and also from the
Strathclyde club Hello friends of ZX Computing 'ZX Mushroom Club', both of Eire
I am the president of the pro- whom are looking for penpals/
Dear ZX Computing, grammers club of Castellon new members but didn't send in Dear ZXC
I am starting a new, nationwide (Spain), and I would like to know their full addresses. So if they're I would like to tell any of your
Sinclair User Club. Each week I people from all over the world reading this and would like to North Kildare readers that I hope
will send members a newsletter who own Sinclair, Commodore write again with their addresses, to form a small club of Spectrum
which will consist of games or Astra computers. we'd be happy to publish their owners. Anybody in the area
reviews, tips, short routines, We (the members of the clubl letters. who is interested may write to
discount computer games and want to exchange ideas, pro- me, enclosing s.a.e., or phone
more. grams etc without any financial after 7pm at ( 0 4 5 ) 6 8 1 4 4 .
The cost of membership will interest involved.
be:
Spectrum —CIO per year or£ 1
Our address is: France Yours sincerely
Owen O'Connor
per month. Jose Manual Martin Sautos Dear ZX Computing Downings North
ZX81 - £5 per year or £ 0 . 5 0 Spdo 6 3 5 , Castellon I would be very pleased if you Prosperous
per month. Spain. would publish this letter. Co. Kildare, Eire

116 ZX C O M P U T I N G DECEMBER J A N U A R Y 1985


Getting a program typed in is often only the
start of your problems. Ed to the rescue.
Typing in a program is a useful
exercise. Apart from the pa
tience required, techniques
learned and the end program to
be used, probably the most
educational part of it is tracking
down the bugs introduced by
yourself or occasionally by our
publication system.
In debugging you gain a
m u c h d e e p e r i n s i g h t and
understanding on how the pro-
gram actually works than by
merely typing it in, but tracking
down these errors is an art in
itself and needs some skill. So
here are some tips to help you in
your efforts when faced with
that cryptic error report!

1 NEXT without FOR


Look back through the program,
either the loop has not been set
up - no related FOR 'letter' =
No1 TO No2 line, or the letter
has been re-used as an ordinary
variable within the loop with a
LET 'letter' = No.

2 Variable not found


This is one of the most common 3 Subscript wrong 7 RETURN without GOSUB this and it can happen on an auto
errors. Again, the problem may Connected with DIM A(No) or Somehow the computer has start program (saved with a LINE
not lie in the line where the error DIM A$(Nol. If the number in the reached a RETURN command number). Good programming
was detected and reported. If brackets on the line where the other than via a GOSUB instruc- usually RESTORES to the cor-
there is only one variable, which error is reported is greater than tion. Check a GOTO hasn't been rect line number before using
may be one or more letters or a the one in the original DIM state- entered in place of a GOSUB. READ.
string {$) variable, then that is ment, is not an integer or is less Check for a missing GOSUB.
the problem. There may be more than 1, then this report is I FOR without NEXT
than one variable in the line sec- generated. If the subscript See report 1 but this time the
B Integer out of range
tion reported and you will have number in brackets - is a NEXT is missing!
An integer (whole number)
to identify the offending one. In number then check and change,
either as a number of variable is
a line PRINT AT Y,X;A$ the however, if it is a variable then
too big or small and you are at-
culprit could be Y or X or A$. To follow the procedure for tracing Note that the letters I have used
tempting to do something like
find out which of them is caus- variables. It has probably ex- for examples could by ANY let-
PRINT AT 0 , 3 3 - not allowed!
ing the problem (it may be more ceeded the limits, look for lines ters not just A$,X,Y etc and de-
Check any variables involved as
than one! type in turn as a direct with the variable being altered pend on the particular choice of
per report 2 and trace it back
command: with + * / : if necessary add the programmer.
through the program looking for
limiting code. For example: This is by no means a com-
adjustments to it by + * / :
PRINT Y Enter/Newline prehensive list but I have tried to
Add limiting code if needed —
PRINT X Enter/Newline IF X >10 THEN LET X - 10 cover many of the most com-
see report 3
PRINT A$ Enter/Newline mon error reports. Personally, I
4 Out of memory get almost as much satisfaction
Note which produces the error As well as for programs which E Out of DATA from debugging as I do from pro-
report. Now look back through are too big, it may happen if the A Spectrum problem. Check the gramming I do assure you,
the program printout for the line previous program set RAMtop. number of DATA items match however, that there is absolute-
which sets it up — usually a LET Before despairing, enter CLEAR the number of READs; usually ly no truth in the rumour that we
or FOR command. Did you leave USR " a " 1 on the Spectrum: on one (or more) has been missed deliberately inject bugs into our
it out? Does the program get the ZX81 SAVE the program, out. Attempting to reread a listings in order to introduce you

I
there or has a GOTO/GOSUB turn the machine off and on, DATA list without first using a to the dubious delights of
been wrongly addressed? then reload the program. RESTORE command will cause

117 ZX C O M P U T I N G DECEMBER/JANUARY 1985


Conversion tips
(PROGRAMMING TIPS)

A guide to ZX81 / Spectrum program conversions


from David Nowotnik.
The versions of BASIC offered trum (see Table 1). but you will have to find some changes appear in the tables.
by the t w o ZX computers are There are quite a lot of com- alternative for the high resolu- A command such as POKE
so similar that many programs mands and functions on the tion and file I/O commands. USR " a " . . . . on the Spec-
for one can be used by the S p e c t r u m w h i c h are not The command PLOT appears trum indicates User Defined
other. The ZX81 has only t w o available on the ZX81. A list of on both computers, but the ef- Graphics; ZX81 users don't
commands which are not pre- these appears in Table 4. The fect is quite different, so have this facility, so you'll
s e n t on t h e Spectrum, stars indicate those commands beware! Another tip: PEEK and have to omit this and use a
SCROLL and UNPLOT, and and functions for which there POKE should be used w i t h cau- standard character instead.
these should cause you few is no simple translation to tion. In conversion, addresses
problems when converting ZX81 BASIC. Those for colour will almost certainly have to be
ZX81 programs to the Spec- and sound can be ommitted; changed. Some of those

ZX81 Spectrum Comments

SCROLL RANDOMISE USR 3 5 8 2 If the program uses random numbers, they


or could become rather predictable with the first
LET t = USR 3 5 8 2 option. If so, use the second, using a variable (in this
case t) which is otherwise not used.
PLOT Y,X PRINT AT 21 - Y / 2 , X / 2 ; Print the appropriate quarter square graphics
character.
UNPLOT Y,X PRINT AT 21 - Y/2,X/2; Print a space, or the appropriate quarter square
graphics character.

Table 1 ZX81 to Spectrum conversions.

Spectrum ZX81 Comments

BIN BIN allows the represen-


eg LET y = BIN LET y = (decimal no.) tation of a number in
10010101 Conversion to decimal: binary. On the ZX81 use the
1 0 0 1 0 1 0 1 = 149 decimal equivalent, but
beware; BIN is often
128 6 4 32 16 8 4 2 1 used with User Defined
Add these numbers together when Graphics, which are not
a 1 appears at the appropriate available on the Z X 8 1 .
position in binary.

READ/DATA LET READ and DATA are


eg READ x,y LET X = 5 0 used to store a lot of
DATA 5 0 , 6 0 LET Y = 6 0 information in a program. Use
LET instead.

DEF FN and FN The defined function can


eg DEF a(x) = SQR x LET X$ = "SQR X " appear in a string. Use
LET t = FN ali) LET X = I the keyword for built-in
LET T = VAL X$ functions (eg SQR). The
equivalent of FN may need 2
lines, as shown.

PLOT no equivalent

SCREEN$
eg LET a=SCREENS x,y LET A = PEEK(PEEK 1 6 3 9 6 Used in interactive games
+ 2 5 6 "PEEK 1 6 3 9 7 + 1 + Y + 3 3 * X) to detect characters in the
display file. Note — this
formula only works when a
RAM pack is fitted.
Table 2 Spectrum to ZX81 conversions.

118 ZX C O M P U T I N G DECEMBER'JANUARY 1985


i
-

(PROGRAMMING TIPS)
ZX81 Spectrum Comments
1 FRAMES Both computers have a counter
POKE 1 6 4 3 6 , 2 5 5 POKE 2 3 6 7 2 , 0 : P 0 K E 2 3 6 7 3 , 0 which accurately varies by 5 0
POKE 1 6 4 3 7 , 2 5 5 every second. In the example,
LET t = (PEEK 2 3 6 7 2 + 2 5 6 * use the first line to start the
LET T = ( 6 5 5 3 5 - PEEK PEEK 2 3 6 7 3 1 / 5 0 'clock'. The variable T will
1 6 4 3 6 - 2 56*PEEK 1 6 4 3 7 } have the time in seconds after
/50 For times greater than 10 the start. The counter can
minutes, you can use byte only be used for 10 minutes.
2 3 6 7 4 as well.
2 Line number zero
Converts the first line of a
POKE 1 6 5 1 0 , 0 POKE 2 3 7 5 6 , 0 program to line number zero.
(As the start of BASIC can which cannot be edited, and
move, eg with microdrives) so is protected.
use with caution.
3 RAMTOP
POKE 1 6 3 8 8 , X - 2 5 6 * I N T CLEAR x Creates a safe area at the
fX/256) top of RAM starting at address
POKE 1 6 3 8 9 , INT (X/256) x, for storing data, machine
Table 3 General interconversion hints. code etc.

FORMAT ATTR 41
BEEP *

BORDER *
INK BIN
BRIGHT • INVERSE FN
CAT *
MERGE IN #

#
CIRCLE MOVE OVER *


CLOSE OPEN POINT *

DATA OUT SCREENS


DEF FN PAPER VAL$ *


DRAW READ
• *
ERASE RESTORE

FLASH *
VERIFY
Table 4 Spectrum functions not available on the ZX81.

System Variables Conversion Table. LAST K


MARGIN
16421
16424
23560
No Equivalent
Variable ZX81/ MEM 16415 23656
Spectrum/
MEMBOTT 16477 23698
T/S1000 TS2068 MODE 16390 23617
NXTLIN 16425 23637
BREG 16414 23655 OLDPCC 16427 23662
CDF LAG 16443 No Equivalent PPC 16391 23621
CH ADD 16406 23645 PRBUFF 16444 23296
COORDS 16438 23677 PR CC 16440 23680
COORDS (Byte 2) 16439 23678 RAMTOP 16388 23730
OEST 16402 23629 SEED 16434 23670
DF CC 16398 23684 SPSN 16441 23688
D FILE 16396 No Equivalent S POSN (Byte 2) 16442 23689
DF SZ 16418 23659 STKBOT 16410 23651
E LINE 16404 23641 STKEND 16412 23653
ERR NR 16384 23610 STOP 16419 23660
EPPC 16294 23625 STRLEN 16430 23666
ERR SP 16386 23613 T-ADDR 16432 23668
FLAGS 16385 23611 VARS 16400 23627
FLAGX 16429 23665 VERSN 16393 No Equivalent
FRAMES 16436 23672 X PTR 16408 23647

ZX COMPUTING DECEMBER,JANUARY 1985 119


ZX COMPUTING
Lineage: 40p per word
Semi display: C9 00 per single column centimetre. Ring
E 3
01 - 437 0699
for information on series bookings/discounts
S e n d your requirements to:
DAVID HORNE
All advertisements in this section must be prepaid
Advertisements are accepted subject to the terms andconditions A S P Ltd., 1 G o l d e n S q u a r e ,
printed on the advertisement rate card (available on request) London W 1

SOFTWARE SCIENTIFIC
HALLEYS COMET n Planetarium

CAR CURE
* REVIEWS
" works extremely well, setting with Orrery. A superb edu-
a great deal ol effort has cational production lor Spectrum
gone Into making it user
friendly as well as
XXX VIDEO 48K. See Haiiey's visit in the com-
fort ol your own home. Produce
functional a very Telephone (day or night) Star maps or planetary orbits for
worthwhile package"
CRASH 0373 - 830563 any date, today, yesterday or the
" . . an expert system . future An astronomical experi-
incredibly easy to use"
FOR D E T A I L S ence. Only £8 95 Irom Amma
Popular Computing G l o s s y list f r o m XXX Video
Scientific Computing, 33 Lilac
Weekly
Club, 2 Streatham High Rd., Walk. Hebburn. Tyne & Wear
well produced . .a
London SW16
worthwhile addition t o (You must be over 16 to ask for details)
your toolkit"
-ZX Computing
one of the most
UTILITIES
useful programs I have
ever used Makes 'xyz'
look very childish and INTERFACE 007
useless A software
company to keep an EDUCATIONAL The Ultimate device to transfer
eye on"
-Zx Appeal (Canada)
SOFTWARE ANY program, even Hyper Loads
10 a Microdrive (Wafa/DiSC-
CAR CURE will transform your micro m t o a n * COMPREHENSIVE drive versions available shortly)
expert mechanic lo help you llnd fault* on
your car and then determine the cure.
+ 9O0 faults Simply load as normal, press a
Technical Colleges buy CAR CURE to help
+ 300 symptoms
SINCLAIR SPECTRUM 48K button on Interface 007 and the
+ POWERFUL M A T H S (basic) program freezes Press a key &
students learn about the faults cars suffer, as 4 Discover faulty parts
well as their symptoms and Cures Now for every symptom
6-11 YRS a special copy Saved to tape
you too can benefit! + Display faults tor
Addition. Subtraction. Tables. Multipli-
cation, Division and Fractions Timed
Reload this by MERGE"" Enter
Complete w t h comprehensive 5000-word every part exercises and p u p i l assessment. Various GO TO 2 and program virtually
User Guide and packaged in a long-lite * Recommended cure jumps onto cartridge. Cartridges
ditficuliy levels
plastic wallet Export orders get American for every fault
English cross reference All for less than + Trace symptoms of
SPELLWELL Load independent of Interface
Randomly generated words ol 5-10
many garages charge tor an hour's work! any fault (otters Oitterent format option Large INTERFACE 007. £29.95
+ Identify faults causing letters An excellent spetlind aid for ail
Cassette for 48K Spectrum Imicrodnve two symptoms ages iplus CI 50 Reg postagti
transfer instructions treo. on request) and + Mark items for £S SO i nc VAT and postage or £9 00 both
O/seas Europe *C2 Others *C4
Amstrad CPC464 at only £9 95 easy reference CfiSSfitlCS
Oisc for BBC B state 4 0 o r 8 0 (rack;at £11.95 Z X - G U A R A N T E E D (Dept Z X )
i Eliminate faults EDUCATIONAL SOFTWARE 29 Chadderton Drive, Unsworlh.
checked OK 2 0 Beaufront Road. Camberley Bury, Lanes. Tel: 061-766 5712
+ Review progress on G U I S I N F . Tel: 0276 23819

SJMTPiQM
summary screen
+ Call help if in
difficulty

PROGRAMS TO HELP YOU


• Save diagnosis in
data file
SOFTWARE
DEPT ZX, 4 C L A R E N C E DRIVE, EAST GRINSTEAD,
W E S T SUSSEX RH19 4 R Z T e l e p h o n e ( 0 3 4 2 ) 28188
BOOKS
c o n p u z i o n

RESERVE
We use only BY
INCENTIVE
1
I 10% of our
GAMES THIS mental
SPACE En
istem potentials £6.95
RING These are (he wordi of Albert Emslem, the
gieaicst pfiysiosl o1 recent limes
01-437 0699 L Ron Hubbard's discoveries in (he field
of (he mind prove today thai Einstein was
rtghl FREE SPECTRUM sottware loan
In tits book "DIANETICS The Modern
Science ot Mental Health" L Ron Hubbard when you join our library. Games
takes one more gianl step in this direction educational/utiliiies available Full
He reveals how anyone can use his dis
'>uitrai jun» Vr • QUG> cover.es to isolate the exact barriers thai details from Cygnet Software 412
Uf»n)| Wl pfllO.
tnKfttos'ws [;jf3t«: have to 'ar prevented people Irom using Fulbridge Road. Werrington. Peter
W ihvr HTStKFtO their mental potentials to the full borough, Cambs PE4 6SE
;FOOTER
POOTER GAMES
24 PARSLOES AVENUE.
FOR SALE More and more people Irom an walks ol
lite use Dianetics technology today
GAMES The many written reports on their suc-
DAGENHAM RM9 5NX cess arethe best proofofthequalilyolthis
book COLLECTORS! GEOLOGISTS!
Findoul tor yourself. Order your copy ol
this remarkable book today Identify those locks and minerals
Price £3 95 paperback £17 50 hardback
Make cheques and POs payableloSHF
with two quality programs and
SINCLAIR 16K rampacks (or Sond to Church of Scientology. Saint Mill comprehensive instructions lor the
2X81 £6 including VAT & p&p Foundation. FREEPOST (ZXi). Easl
Gnnstead. Sussex RHI9 4ZA (no stamp
48K Spectrum Send £3.75 to 0
Halbar. Unit 1 Buny Walk. Bedtord. required) Carmichael. 8 Sandown Close.
Beds Tunbndge Wells. Kenl
120 ZX C O M P U T I N G D E C E M B E R JANUARY 1985
TO ADVERTISE YOUR REPAIRS AND
SPARES SERVICE PHONE DAVE
01-437 0699

FRSTCOflPUTERREPRIRS
SPECTRUM REPAIRS
At leoom at «a<KJ etcm. raoatdfcii or lour
bv our ^Dy quaddea tra*
FAST SPECTRUM
A
Soeclrufru
Keyboard 'our
1500
1200 and
ZXPmtw
Irnertoco
1500
1800 BBC REPAIRS
— VIDEO VAULT INTERNATIONAL nrwtaceii
Mcroatve
is 00
i s 00
AVERAGE £15
- 10* REPAIR SERVICE C3 4SKUpgrodai 28 SO
Pieaio anexwe i l SO p » ptoreocTi item iwv
Spectr and a c e ' (UncilpBon ol tain lo FIRST C O . I N A L L U.K.T O
B B C , Commodore 64, V i c 20. A t a r i , Q u o t e d for Micro i Men, DM Old School. Mam RTHI. INTRODUCE WHILE-U-WAIT
forat, Prt«t>ofouoh. ei7 J O *
A i t you fed up with walling w r i ' k t for your Home Computer l o be repaired 1 !! SERVICE. N O WFIRST T O
Olr<« mokes auctiM on roejumr
Why nol try the Experts. we oHer a full repair tervice o n any Home Computer.
OFFER A N INTERNATIONAL
All repairs carry a full 3 months guarantee. plus o n every Spectrum repaired we
REPAIR SERVICE.
SPECTRUM REPAIRS
* While yon wait Service by P r o f « * * l o « a l C o m p u t e r Engineer*.
+ 3 Month* written guarantee on a l l repair*. £16.95 inclusive of labour parts and p i p • Most Spectrums repaired m 45 mlns
Fast, reliable service by qualified engs . • Please phono for appointment first
* International repair company.
average repair 24hr» 3 month* guaran- • or phone/send Spectrum for free
A A l l c o m p u t e r * a e n t b y m a i l o r d e r t u r n e d a r o u n d In 2 4 h r * .
tee For help or advice ring. estimates, enc £ 1 8 0 (U K I O M
* Moat S p e c t r u m * repaired within 4 5 minute*. H. S, Computer Services, Unit 2. Eire. C I ) £6 50(Europo/Scandinavia)
* All Micro* Insured tor return journey, The Orchard, Warton, Preston, • \ o hidden handling chargos
* O p e n 7 day* a week. Keyboard fault* only £8.95 Lancashire PR4 1 BE. Tel: (0772) 632686. » 24 hr turnaround
h School r e p a i r * undertaken-dl*count* available. • Every micro insured for return journey
* Free a o f t w a r e w i t h e a c h S p e c t r u m r e p a i r e d w o r t h £ 5 . 9 5 . • Open till 7pm Mon • Sat
* Over 8 yeara experience working with computer*.
O N L Y G E N U I N E S I N C L A I R PARTS U S E D . BBC S P E C T R U M REPAIRS "1 have come across s firm that will be
Phone today (or your free estimate or send your computer to us with £ 1 7 5 • Spectrum repairs £18.95 inc. parts, more than willing to advise you as to
insurance and p.p how to remedy your problem They are
(UKFJRE1 O . M C. I.) or £ 2 . 4 0 (Europe/Scandinawa) w e will contact you the
* BBC B repairs £18 95 + parts, called MAN-COMP and as well AS
same day by phone or 1st class Mall should you require quotation first insurance and p * p repairing faulty Spectrums. are also
TRAOL ENQUIRIES MOST WELCOME. ACCESS WELCOMED Send your computer with cheque or quite willing to discuss your problems
V I D E O VAULT LTD THE LOGICAL CHOICE
/ P O tor £18 95 and description of fault
to SUREDATA (ZX).
with you. and offer reasonably Cheap,
and (more importantly) correct cuics 1
C o m p u t e r Service Phil Rogers Peek & Poke. Popular
45 Wychwood Avenue. Edgware. Computing Wtwk/y. Jen 1985. (Vol IV
Middx. Tel: 01-951 0124 PLS3 No. 1)
0

MANCOMP LTD.
(Dept ZX),
I Telephone: Glossop (STD 0 4 5 7 4 1 6 6 5 5 5 6 7 7 6 !
1401 l»jh St. West. Glossop. Derbyshire. England
W€Y
SINCLAIR SERVICE CENTRE

Fast repair service for Spectrum. ZXB1.


Printworks Lane,
Manchester,
Interface 1 and m>crodrivo All units
repaired t o original standard by our M19 3JP.
HNC qualified staff Average repair
COMPUTER REPAIRS cost £15 but for freeestimato send your Tel: 0 6 1 - 2 2 4 1888.
ttt an i s w r e . rstiinj sfltvert Snca* tomcutms SINCLAIR machine with £1 95 (return postage]
sret Die inlraditOT d the 7K80 with a brief description of fault Turn-
Don'tOTStenoisy cn esimiilts - w> tetar SrxOr
C O M P U T E R REPAIRS around approx 24hrs Established

y
qnmjvjVrj * pri« 1
reicne pars. ,i:cur All machines despatched within 72 International Service Our work is fully
pcGUgeV . AT, nespfdwoHsult tohtJSencJmse hours of receipt guaranteed Personal callers welcome
Htpiirs gurantMd tor ] months. Spectrum £17 00 ZX-81 £12.50
Spectral" ...£13.7&ra:partS Spectrum 16 l o 48K upgrade £25.00 QUANTUM
Ml Eli 50 rcparts (inc. parts. VAT and return postage) 33 City Arcade, Coventry CV1 3HX
16Wan f9 9S ncparts For a fast and reliable service, send or phone(0203)24632 or (0203)714080
Mcodrne £15,95 tic parts mahclne, bnet description o l fault and
NetaoeMl . - - . E'8.75 nc pals. cheque or postal order to the experts
MO Capital Computer Services,

SPECTRUM REPAIRS
BBC £22 00 + pjrti Sinclair D e p t . , 44 Rich's R o a d ,
GKtrto .. £19.95 • putt Cardill CF4 4AA.
« r.ipwytn KJI £1595 Tel: ( 0 2 2 2 ) 6 1 4 4 0 1 ,

A Better Deal from Micro-World


ConvMf Krttvxs jrtusf (rtone
brlpecn' JrM ftve
Ca I a send wtfrchccue a P.O.
TV. Swncss of CimtrMge IM
French's Ftad. Ca-rtfd^, CFM J*P •<<: R E P L A C E M E N T O F M I C . E A R & P O W E R S O C K E T
T«t (R?J3113?t COMPUTER REPAIRS KEYBOARD FAULTS: Replacement ot Membrane.
C o m m o d o r e 64 £15.00 :•:•:; Mat & Plate (Note all three are replaced)
SPECTRUM REPAIRS
Vic 20 £12.50 ::•:•: N E W C A S E U P P E R & L O W E R Inc new keyboard as above
Spectrum £10.50
A L L O T H E R F A U L T S 1 6 K S p e c t r u m £17.95 4 8 K S p e c t r u m
QL £30.00
We expertly repair Spectrums 1541 Disk Drives £20.00 POWER SUPPLIES (Spectrum - Z X 8 1 )
lor £17 inclusive of parts and a n d all C o m m o d o r e systems. 16-48K UPGRADES ( 1 2 months warranty)
labour and return postage. S e n d faulty m a c h i n e w i t h n o t e • Prices lully i n c l u s i v e of VAT 8 R e t u r n P&P
d e s c r i b i n g fault to: • 48hr t u r n r o u n d o n most m a c h i n e s
Spectrums upgraded to 48Kfor Trident Enterprises Ltd., • 3 m o n t h s warranty o n repairs
£34 inc. P&P All keyboard
faults cost only £12. 37 Linden House, • S e n d SPECTRUM ONLY s u i t a b l y p a c k e d clearly s t a l i n g
lault. y o u r n a m e A address, c h e q u e o r postal order t o
R. A. E l e c t r o n i c s , Common Road, Langley,
133 L o n d o n Road South, Slough. Micro-World Computers (ZX)
LowestoM. Suffolk. TEL: 0753 48785. 1006/1010 Manchester Rd, Linthwaite, Huddersfield HD7 5QQ
Tel: (0502) 66289. Ovtr«**« enquiries welcome TEL 0484-846117 Showroom open 9-5.30, 6 days
(Above prices are exclusive ot
parts and VAT)

SPECTRUM REPAIRS
ZX SPECTRUM REPAIRS G u a r a n t e e d Six M o n t h s
CHECK THESE FACTS We have been maintaining all types of computer systems from mainframes to micros
1 FAST RELIABLE SERVICE for over 15 years and offer you
2. QUALIFIED STAFF
3 3 M O N T H GUARANTEE
TO ADVERTISE •

Full overhaul and update with each repair
Six months warranty on whole computer - not only the repair done
. • FREE POSTER • *
Send your machine only IN THIS •

24hr turnaround o n most faults including soak test
returned to you by first class post fully insured

I
Plus a cheque/PO for £19 95 • Freepost - we pay the postage both ways
To: MICROTRIX SPACE RING • All inclusive price for any fault £20

01-437 0699
24 Gt. Moor SI. Bolton BL1 1NP MP ELECTRONICS (ZX), FREEPOST, DEREHAM. NORFOLK NR19 2BR
Tel. 0204 398176 Tel: 036287 327

121 Z X C O M P U T I N G DECEMBER/JANUARY 1985


ACCESSORIES UTILITIES

SPECTRUM
• C o n n e c t a m o n i t o r <o y o u r S p e c t r u m
• Super s h a r p tr«l S u p c b c o l o u r g r a p h i c s *
• True T T L A n a l o g u e o u t p u t s • c o m p s y n c s
!
RGB • Monitor quality p i c t u r i s
• Suits RGB monitors & monilo'/TVs
• Simply plugs into expansion port
n o (Jot c r a w l

OUTPUT • N o srrp»r,i!o p o w e r s u p p l y r e q u t r o d
• New Ihrough per! version Allows connection o f modems,
MODULE (Oy-sIicK interlaces. e l c
P n c e £34 9S o r £36 9 5 ( t h r o u g h p o r t ) * £1 p S p m a n y a d d o n s p a r i & TAPE T O DRIVE TRANSFER OF RECENT
s o f t w a r e SAE for d e t a i n
20 Starling Close. Buckhuril Hill. Essex 109 5TN
Tel, 01-WW 2840
PROGRAMS

SPECTRUM owners can even transfer many of the L ATESTfast. )orky programs to tneir
drives at LOW COST with our software and Information sheets No risk as our programs
THE LEADER FOR HIRE carry our MONEY BACK GUARANTEE (not updates).
Firstly you will need our MDtb (for nv"drlve)or WD10 (for Waf a or disc drive) programs
that give you the tools to convert programs includes the ability to cnop'split bytes in
ZX-GUARANTEED has established one go. bytes mover. "VAL" creator and REMkill, make visiblo etc. FULL manual with
itself as the leading supplier of GENU- example transfer!, MDtb or WD1b cola on lap« £6.99. MD1b manages more programs'
INELY easy to use tape utility programs — Your Spectrum
Hire & Exchange Software.
for handling ALL types of programs, To manage <ne latest programs you will also need our T7 program which INCLUDES
even the Hyper t ^ Y 'OnO types We Exchange your software! Phone or the ability to ALTER fast.'ierky loaders to normal'
also supply tapes to transfer your s e n d list of y o u r s o f t w a r e a n d ask
progs lo Microdrive, etc Send stamp f o r details. S o f t w a r e hire 1 N o 'Features Baud rate measurer 'Jerky detector
for full list TT coal £6.50 on tape. On M. drive cartridge £9.99 (incl MT6. an extra M. drive utility).
m e m b e r s h i p c h a r g e P & P free
H i r e tapes f r o m £1 50. P h o n e f o r
ZX-GUARANTEED (Depl ZX) details
w^t
29 Chadderton Drive, Unsworth, T & P Software, 4 Maine Road.
Bury. Lanes. Tel: 061-766 5712 Newland, Drax, Selby, North York*. LERM INFORMATION SHEETS
Tel: 0757 6187007.

Each sheet gives you the DETAILED instructions (using our software) required to
transler to your drive 8 of the more POPULAR programs They cost £2 EACH plus SAE.
Up to sneet 5 available
ALARMS SPECIAL OFFER - TRANSFER PACK Buy MD1b*T7 on M.'Orlve cartridge -
INFORMATION SHEETS 1-3 for E1S.S0 totner drive Owners get W O l b ' T ? on lapv •
sheets tor same price)
BURGLAR ALARM Equipment IK/16K 2X81 high quality soft- UPDATE SERVICE: Send old tape • large SAE to get a £2 REDUCTION OVERSEAS:
Please visit our 2,000 sq. ft. ware! Also A Z U . C exclusive. add £1 Europe. £2 others for each product. SAE lor enquiries.
showrooms or write or phone for ZX81 world wide ciub For details LERM, DEPT ZX, 10 BRUNSWICK GDNS, CORBY, NORTHANTS NN18 9ER.
your free catalogue, CWAS Ltd. send an SAE to: A.CV., 1 Foxwell
100 Rooley Avenue. Bradford BD6 Square, Soulhfields. Northampton
1DB. Telephone: (0274) 731532. NN3 SAT. England

ZX COMPUTING
CLASSIFIED ADVERTISEMENT — ORDER FORM
If you have something to sell now's your chance! Don't turn the page — turn to us!
Rates of charge: 40p per word per issue plus 15% VAT {minimum of 15 words). Please state
classification and post to: ZX COMPUTING, CLASSIFIED DEPARTMENT,
1 GOLDEN SQUARE, LONDON W1.

£5.25
£7.00
£8.75
£10.50
£12.25
£14.00
£15.75
£17.50
Please place my advert in ZX COMPUTING for issues commencing assoon as possible.
I am enclosing my Cheque/Postal Order/International Money Please use BLOCK CAPITALS and include post codes
Order lor (de'ele as necessary) E (Made payable to A S P Ltd)
Nam* (Mr/Mrt/Mlts/Mt)
OR Debit my Access/Bardaycard |(total* Kcorangry)

(Delete as necessary) WRM Addrasa


VrSA
ggmmm I-—--l
Slgnatur* Data
All classified advertisements must be paid for in advance. Oaytlma Tal. No

122 ZX C O M P U T I N G DECEMBER JANUARY 1985


: t P M
software getting barter

SPECTRUM

AMSTRAD

J l \ 0 _ l _ sales dept..
Castle Lodge, Castle Green,Taunton TA14AB

You might also like