Professional Documents
Culture Documents
ZXComputing Mar 1987
ZXComputing Mar 1987
icon Graphix
Cosmic Shock Absorber
!t was a one-in-a-million accident -
but Number Five, designed to be a
strategic artificially intelligent
weapons system, the most
sophisticated robot on the planet,
has escaped - and has come to
,the conclusion that he's alive!
Now the scientist who put him
together wants to take him apart
DISCIPLE: Could this be the ultimate interface? RANDOM MEMORY: Programming advice from Clyde
30 Blsh.
72
STREAMS AND CHANNELS: Tonl Baker says that you SOFTWARE REVIEWS
CAN use your ZX Printer with the Spectrum 128.
ICON GRAPHIXS 128: A graphics utility for the 128
II | T m
66
from Audiogenic.
28
i
a r t 1 * l P i SPECTRUM: Silent Service (46), Impossaball (54), BMX
F m warn Simulator (56), Ultimate Games (61)
Short Reviews begin
38
I JH
»
Tsr
^ -JPL MINDPLAY: The Silicon Dreams Trilogy from Ralnbird.
76
H-s&J! fliwfi?
Gauntlet (82)
PROGRAMMING PROJECTS
PROJECT X: Ray Elder throws down a programming
challenge.
13
SPECWORD: The last part of our wordpro prog.
50
THE BETTER LETTER: Modifying Tasword.
90
COMPETITIONS
ICON GRAPHIX: Win Audiogenic's graphics utility
versions for both 48 and 128K machines. Football Fortunes (12)
7
r
Consultant Editor: Ray Elder
Advertising Manager: John McGarry
ZX Computing Monthly Is published on the fourth Friday ot each month Subscription rate} cn bo obtained Irom ZX Subscriptions. Inlonol. Times Houso,
179 The Morlowes. Hemel Hempstead. Herts HPS1 1BB
The content* of this publication. Including all article*, design*, plan*, drawings and other intellectual property rights heroin belong to Argus Specialist
Publications limited All rights conferred by the Law ol Copyright and other intellectual property rights and by virtuo of International copyright conventions
are specifically reserved to Argus Specialist Publications Limned and any reproduction requires tho prior written consent ol Ihe compony
Argus Specialist Publications Limited. 1987
Yearplanner Winners
A legion of ZX readers set out to gium; C Collins, Normanto; B
rhyme their way to a Level 9 Scott, Gateshead; M. Maysaml,
Yearplanner. Perhaps our Dulsburg, W. Germany; H. Wil-
favourite was Alistalr May of liamson, Moray: J. Welsh. Gals-
8
Elgin. Scotland who m a n a g e d ow; T. Jamleson, St Helens; E.J.
to rhyme "adventures" a n d hun, Lancaster; J. Shelling.
"dentures" in a poetic gem Cardiff; R. Sands, Sklpfon; R Lay-
worthy of William M c G o n a g l e cock. London SE6; M. Kemp Lon-
The other winners are: don SE18; H. Spall. London SE7;
R. Wilkinson, Rugby; Jay RGB Page, Liverpool; M. Austin,
Sachania, Milton Keynes; C Chesham; E. Bennet, London
Grant, Irvine; R. Tarr, Bracknell; SW11; G. 8lake, Glasgow; C Mor-
G. Galloway, Liverpool; M. Ack- gan, Croydon; M. Benjamin.
royd, London SE15; D.I. Wicker, Northants; A. Beale, Blandford
Fakenham; J. Jacobsen, Glos- Forum; M. Beaman, llford; P. Rey-
trup, Denmark; R. Thrower, Lon- nolds, Sleaford; D. Rademaker, SINCLAIR SPECTRUM
don SW18: T. Ridley-Thompson. Palinghuizen, Gent. Belgium; D.
Lambley; I. Rogers, Devizes; P.
Owen, Sidcup; M. Summers,
Morrison, Aberchlrder; A, McLel-
lan. Paisley: B Carter. London E2;
/
Morpeth; G. Bond. Co Antrim; A. Rlgg. York.
D.V. Filip, Geraardsbergen. Bel-
Throne
Together
Mike Singleton of Lords of Mid-
night a n d Doomsdark Revenge
fame Is teaming up with Mel-
bourne House to release a
"multi-player combat game"
c a l l e d Thrones of Fire. The
g a m e is a three-sided power
struggle with two players and a
computer opponent or one
player a n d two computer
adversaries. The three roles
•r *M >•» layed are those of sons of the
Pate
c King Alherlk each vying for
the vacant throne. Alliances
c a n be formed [and broken of
course) as you try to out-
manoeuvre your fraternal foes.
Unlike some medieval
strategy games Thrones ol Fire
promises l a r g e a n i m a t e d
figures hacking away at each
other with axe and broadsword.
Priced at £8.95 Throne ol Fire
has a projected release date of
April. Meanwhile another Mike
Singleton g a m e Dark Sceptre
MOVtMfcHO tlGfj £ COt-tFH J WODC
t * t f f c N ORnrts i c n e w jqgi jrirtm
for Beyond Software has still yet
to see the light of day. Will
Throne of fire suffer the same
tale of repeated delays?
Super Sunday
In the wake of the Superbowl, Nexus are releasing an
Amorican Football simulation c a l l e d Super Sunday. Costing
£9.95 Super Sunday will feature 20 of the teams who havo
appeared In the Superbowl since 1968. Details of the 1987
finalists Denver Broncos a n d the Now York Giants will also
be included.
Super Sunday wilt combine animation with players'
performances based on past form statistics. When you've
d e c i d e d which move your team will make, all the players on
screen move during the play. There is a two player option
or you can take on tne computer. There is also a n 'tiutoplay"
option where the computer plays two sides against the other
based purely on the teams' past form.
A
> f
-I -I
I I
m
i # i j* -1 < % « 4 # v • W #\ •\ #^
lifil
*
£ 1
• »•- t hip
A 3D POW escape Get c a u g h t in the wrong
p l a c e at the wrong time a n d
two objects at any time a n d so
you have to find a safe p l a c e to
game that captures the you'll b e sent to solitary to c o o l
your heels. This also destroys
stash them before the b i g
escape.
Imagination your morale a n d c a n also
Increase the number of guards
A good hiding place a n d a
possible e s c a p e route is the
that are assigned. A constant tunnel that you c a n find by
escort of three guards makes moving the boiler in your room!
The Great Escape e s c a p i n g almost Impossible. Unfortunately, the tunnel network
Ocean Your morale is extremely Is c o m p l e x a n d difficult to
important a n d Illustrated by a n a v i g a t e in the dark, but if you
£7.95 flag at the side of the screen. found a torch . . .
As e s c a p e attempts fail a n d The g a m e graphics are
ocked in a prison c a m p your objects are confiscated your excellent as the c a m p is
daily routine consists of roll calls, morale drops. The lower It gets c r e a t e d from 255 scrolling 3D
exercise periods a n d e s c a p e the less likely you are a b l e 1o screens full of prisoners, guards,
attempts. break out of "auto prisoner" a n d dogs, b a r b e d wire, buildings
If you're indecisive for more e s c a p e until finally at zero all (most of them off limits) a n d
than a few seconds you'll player control is lost a n d the searchlights.
automatically follow the daily g a m e Is over. All night the c a m p is
routine of sleeping, walking a n d After recent O c e a n disasters enclosed In darkness that allows
eating. If you want to try such as Miami V i c e a n d Knight you 1o explore freely if you c a n
something else then a press of Rider t was surprised at how a v o i d the patrols a n d the
Ihe fire button regains control. g o o d this g a m e was. It takes a searchlights.
Now you c a n explore the c a m p , little while to get into it as you The odds however are against
search a n d find potentially just observe the normal prison you a n d you'll p r o b a b l y spend
useful objects a n d scout out routine. the rest of Ihe night in solitary.
possible e s c a p e routes. But you Then you c a n find the A brilliant idea, superbly
must return to the c a m p routine opportunities to d u c k through a implemented, Ocean's best ever
if you want to stay out of solitary. door, search the room contents, Spectrum g a m e !
Swapping in a n d out of this steal anything interesting a n d b e
"auto prisoner" m o d e is essential out before the guards notice
if you are to escape as it you're missing.
ensures you get to roll calls, eat You c a n only carry around
a n d sleep but allows you some
time to explore the c a m p s
without raising the alarm.
mLM
r».
mm
• .J
AVAILABLE NOW!
the all purpose interface to take
your Spectrum to the limit
Use the disciple with any Spectrum - even the new Plus Two model.
4W W *
St*'
r j j
ri r
*
m
*
^
( m y / .
i '< /
I -"I
t ^ r — •
V H-
0
v V
%
* S ^ ^
Spectrum in October, Amstrad in November, Commodore 64 in December. All C9.95
u l l M r w
m u w m i
i ' •v
11 \ \ f k l «
A
crisis, "Selection Problems'" is a
square fo beware ot as the
T /P. computer program chooses one
of your players randomly who is
either injured or retired causing
you to frantically rejuggle the
team.
Plenty of variety is built info
^ " h e n popular b o a r d games the b o a r d g a m e but to stop any
have been a d a p t e d tor the c h a n c e of it b e c o m i n g replti-
home computer they have often
£
tious you c a n conduct transfer
been a disappointment. Games deals a n d h a g g l e over players
that c a n draw p e o p l e round a at any point in the g a m e a n d il
table like a magnet tend to lose someone is selling off players to
Jheir a p p e a l when the monitor ovoid bankruptcy the bargain-
screen is the focus of attention. ing c a n get very fierce indeed.
Perhaps with this in mind. CDS There's an awful lot of
have designed a g a m e that enjoyment to be h a d out of
keeps the a p p e a l i n g social Football Fortunes w h eliher, y o u ^
aspects of board games (ie. it enjoy football p i j y o i CDS hove
c o n get very competitive a n d , ii o a c k Ihe human
there are plenty of opportunities^ eiemenf a n d the more players
to outsmart your opponents) VoTThave (from two to five c a n
while ny out all the d o r play) Ihe better Ihe g a m e For a
work — j o l H r t y m e a l c e . statistics, c h a n g e Ihe c o m p i H » n 3 ' o g r a m
*
t d W « ; results e t c to the ^.flfi n g role to the ,
computer. ^ ^ j i i Iball Fortunes is
Football Fortunes I F a r f f l all the be! PThat.
enferpgstna nybrid that
been i H K j o u g h t out to eWW
m a x i m j W B b l d over the football
fanatics imagination. If you've
ever followed football you will
definitely have put together your
"dream team" with all your
favourite players. With Football
Fortunes you c a n try to d o just
that in your quest to carry off the
• A
l e a g u e a n d C u p double. Suc-
cess depends on assembling a
A\
strong squad from the available
player cards, e a c h c a r d
i I represents a well known player
a n d gives his category
(defender, midfield. etc) a n d a
star rating 1 to 5.
F I
If your favourite player has
b e e n left out there are blank
cards provided so you c a n g
include them. The star ratings
are b o u n d to spark a n argument
4
or two especially if your
particular hero is d e e m e d to b e l
only worth one star. The total star"
ratings for defence a n d attack
are fed into the computer before
e a c h match to indicate your \ J
team's current form.
The g a m e proceeds much ^
along the lines of a conven-
tional b o a r d game. Throw the
computerised d i c e a n d p r o c e e d
around the board, which is
sizeable (fitting it into the d o u b l e
cassette size box was a master-
OSIT"
p i e c e of origami) to l a n d on
squares that may be to your
advantage like sponsorship or
send you sliding into bankruptcy.
The manager's Tuck square may
be g o o d or bod. a n d result in a
windfall or g o i n g seriously into
the red due to a m a n a g e r i a l
up the array a n d Ihen select two
RND numbers between 1 & 52
a n d swap the contents of the
array, eg: LET
A=INT(RND'52+1):LET
B=INT(RND*52+1):LET X=S(A):LET
S(A) = S(B):LET S(B)=X
Put this in a loop for as many
times as it takes to get a g o o d
mix a n d away we ao!
Of course we stilTneed a
table so that we c a n work out
which number represents which
card, but the actual shuffle takes
a fraction of the time that the
first method would take.
Personally I wouldn't use either
method, but I thought it worth
Ray Elder sets the next seen this happen) a c a r d is looking at the first iwo ways
simply selected purely at because the second method
programming ramdom. The player loses faith has a wider a p p l i c a t i o n than for
in the program when he/she our card shuffle In that it is a
challenge in this draws two nine of diamonds or very effective way of producing
five aces! a numerical non repeating
interactive series. One a p p r o a c h would be to sequence of random numbers.
select a c a r d at random a n d If you think of a pack of cards
elcome to the second in this then check it against a list of the then there are two elements, the
occasional series intended to cards previously chosen to make number or value a n d the suit —
present a problem, discuss sure that if hasn't b e e n picked Hearts, Spades, Diamonds a n d
means ot arriving at a solution before. This means that all Clubs — the non numerical
and then leave It to you to previously selected cards hove cords are Ace. Jack, Queen a n d
produce the c o d i n g to d o Ihe to be kept recorded to enable King. It is almost as if the
job. the check to be made. designer of cards h a d us
First may I say that I was A decision has to be m a d e of computer bods in mind. NONE of
pleasantly surprised at the g o o d the way the c a r d will be these names begin with Ihe
response from the last Project X. selected. It could be a same letter!
Entries are still arriving a n d I will straightforward random number This means we c o u l d set up a
present the solution which I think between 1 a n d 52 (INT string to represent the cards
is most efficient, original a n d (RND'52+1)) a n d then use a using H,S,D,C.A.J,Q, a n d K to
interesting in the next issue, table to look up the actual card represent e a c h of these words. A
meanwhile on to this project a n d value. IE. 1 may equal the typical set up might be LET
which is . . . ACE of SPADES, 2 the TWO of C£="AH2H3H4ZH5H6H7H9HTHJ
SPADES etc. up to 52 perhaps HQHKHAS2S3S4S5S6S7S8S9STSJ
The Shuffle being the KING of DIAMONDS. SQSKSAD2D3D4D5D6D7D8D9DT
If this method is used then DJDQDKDAC2C3C4C5C6C7C8
Over the last few years I have e a c h selected number needs to C9CTCJCQCKC"
seen, used a n d devised several be stored somehow, possibilities Note that I used T to represent
ways of simulating the shuffling ore to store as a number or as a 10 because this then means that
of a pack of cards. As a side string. If kept in numberical form e a c h c a r d is represented by
product the solution to this may then perhaps the simplest way only two characters. Shuffling
also be a means ot p r o d u c i n g a would be to DIM an array becomes a matter of picking an
non repeating sequence of variable to 52 - DIM S(52) - this element of CS at random,
random numbers which may also initialises e a c h of the 52 removing it from the string a n d
widen the scope of the elements to 0. a n d as e a c h a d d i n g it to the front or the end
applications of this exercise. number is chosen then c h a n g e of the string for as many times as
1. Identify Problem. that element to 1 as a flag that it takes to get a g o o d mix.
We need to b e a b l e to select it has already been picked. It you set up the variables
a series of numbers 1-52, which The check c o d e would be T,J,Q,K a n d A to a value of 10
represent the 52 cards in a something like IF S(number) THEN then finding the numerical value
pack, in a random or mixed up GO TO choose a g a i n line. of the card is a matter of getting
order with no repetition of This Is perfectly OK for games the VAL of the first of the Iwo
previously selected where only a few cards are elements that represent a card.
numbers/cards. required e a c h h a n d (such as So now what? I hope this has
2. Breakdown of process. pontoon) but if a lot of cards are started a few ideas buzzing
This is fairly straightforward in used then the selection around and, just like the last
theory: procedure slows to an time, we would like to see the
a) Set up a representation of a unbearable level as many results of your ideas, especially if
pack of cards. reselections a n d checks need to you know of, or create a
b) Swap the cards positions in be made. You also have the completely unique method of
the pack (Jumble up or Shuffle). problem of keeping another solving the problenn.
3. Possible Approaches. record of the numbers tor What we would like is a short
In practice the reference. program which shuffles a pack
implementation offers several of cards a n d deals two cards
ways. The Random number An Alternative? face up. We do not want a full
generator will obviously be game, but we wilt take into
called on in order to effect the Rather than fill the empty array consideration the solution to the
actual shuffle a n d the most it c o u l d be set to the numbers shuffle problem a n d the quality
complex part is likely to be the first then shift e a c h number of the graphic representation of
means ot ensuring that around, this also has the the cards
selections are not repeated. a d v a n t a g e of keeping a The program(s) which Impress
In the most basic computer recording of e a c h number. us most will be featured, a n d
card games (and in one or two Something like DIM S( 52):FOR their authors suitably rewarded,
early commercial games I have 1=1 TO 52:LET S(I)=I:NEXT I to set in a future issue.
I
direct the Z80's attention to this our little m a c h i n e c o d e program
Z sequence of numbers, a n d you above into assembly language.
The cursed hex c a n do this by entering It looks like this:
If have tried to c o m e to grips RANDOMIZE USR 60000. Try It
with machine c o d e before, yourself, now. You might think
NOP (No Operation)
S you've probably been harrassed that nothing has h a p p e n e d —
RET (Return to BASIC)
< by hexadecimal, tousled by but you'd be wrong; quite a lot
"two's complement", a n d has h a p p e n e d , intact. First, the
oc stultified by "the stack". But Z80 looked at the contents ot
This is m u c h easier to get to
grips with, isn't it? You c a n
O though you'll EVENTUALLY need
to get to grips with such things if
address 60000, a n d found the
number 0. This is the m a c h i n e
understand It; I c a n understand
it; but the b a d news Is that the
O you're to b e c o m e really c o d e "NO OPERATION"
Instruction which tells the Z80 to
Z80 can't! It wants nothing more
oc proficient, you c a n In fact get
started without them. There are d o nothing ot all. So for a tiny
nor less than NUMBERS. The
solution lies in a n ASSEMBLER
Q. certain disadvantages in d o i n g fraction of a second it d i d program — a n d this. I'm afraid,
so — but we're desperate folk, i n d e e d d o nothing. Then It is the point at which you'll need
a n d desperate measures are looked at the contents ot the to blow the dust off your cheque-
S c a l l e d for! So let's begin. What, next address (60001) a n d found book. There are plenty ot
exactly, is "machine code"? the number 201. This Is the assembler programs on the
"RETURN" instruction, which in market a n d I'm by no means
Though you may not be this case tells the Z80 to leave
o
aware ot it, you're using familiar with all of them myself,
the m a c h i n e c o d e program at having settled long a g o on
m a c h i n e c o d e every time you this point a n d effectively "return
run a BASIC program on your Hisoft's DEVPAC assembler. I've
111 to BASIC". And so the obedient also heard of friendlier programs
Spectrum. You may think that the Z80, without further ado, d i d just
CL computer understands BASIC a v a i l a b l e these days, more
that — which is why at the e n d suited to beginners.
00 c o m m a n d s such as PRINT AT
LISTING 2 LISTING 4
Copy contents of one address A d d t h e c o n t e n t s of t w o
into a n o t h e r . addresses, and store result in
a third address.
60000 10 ORG 60000
60000 20 LD A,(ADDR1) 60000 10 ORG 60000
60003 30 LD (ADDR2),A 60000 20 LD A , ( A D D R 1 )
60006 40 RET 60003 30 LD B, A
60007 50 ADDR1 DEFB 2 60004 40 LD A,(ADDR1)
60008 60 ADDR2 DEFB 0 ' 60007 50 ADD A,B
60008 60 LD (ADDR3),A
60011 70 RET
60012 80 ADDR1 DEFB 2
60013 90 ADDR2 DEFB 3
60014 100 A D D R 3 DEFB 0
Assembler First, I should point out that in uses only two addresses: 60000
order to get all the listings given a n d 60001.
here I instructed the assembler
A good assembler program,
once running, will lake over Ihe
to print addresses (these are in
the left hand column of the
Registers
control of your Spectrum to allow listings) in decimal, rather than Now this Is all very well, but you
you to enter a n d edit a program the more usual hexadecimal — could reasonably be asking by
in assembly language, a n d will a n d incidentally, the facility to this time "Can we have a
then "assemble", or translate, have this option is something program which actually DOES
your program into machine you may like to check when something, please?" So let's
code. But It should also do choosing your assembler, it c a n move on a n d see what else the
much more. For example, it make things quite a bit simpler. I Z80 c a n do. You probably know
should allow you to use line also instructed it not to bother already that the Z80 has a
numbers which, though not llsling Ihe machine c o d e that it number of REGISTERS, a n d you
essential, help you to keep track produces; the Z80 needs those may also know that these have
of what you're doing. It will allow numbers, but we don't at this names: there's the "A" register,
you to attach LABELS to certain stage. On, then to the program "B" register, "C", a n d so on. Each
addresses — which Is yet proper. You'll see that line 10 ol these registers c a n at any
another move towards making contains a n assembler directive time hold any one number
your program more closely which all assemblers will between 0 a n d 255 (ie. one BYTE
resemble English. And it will also recognise, namely ORG 60000. — just like any address In Ihe
allow you to use certain other The ORG directive is important Spectrum's memory). And there
instructions ( a s s e m b l e r directives because it tells the assembler are dozens of machine c o d e
o n d assembler commands) where to put the machine c o d e instructions which allow the Z80
which are not translated into it generates — a n d in our case to copy a number from one
machine code, bul which this is to be from addresses register into another, a n d also to
Instruct the assembler program 60000 onwards. communicate with the outside
to take specific actions — a n d world (ie. the Spectrum's
these generally make life easier Line 20 contains the first
actual assembly l a n g u a g e memory). The assembly
for you. There's no short cut here. l a n g u a g e instruction LD, 8A. for
I'm afraid. You'll need to spend instruction (NOP), and line 30
completes the program with the example, means "copy (or LoaD)
a bit ol time reading a n d the contents of the A register into
absorbing the relevant sections RET instruction. The left hand
column of the listing is the 8 register". Similarly, LD C,B
of the manual tor your means "copy the contents of the
assembler in order to discover produced automatically when
the program is assembled (ie. 8 register into the C register".
just what editing facilities are There are also Instructions (or
available to you. However, a n when the assembler is instructed
to translate the mnemonics to putting numbers directly into
example will make things registers — so that LD A,23 tor
clearer — so let's take a look at actual machine code) a n d it
shows the addresses at which example means "put the
Listing 1, which Is what I got number 23 into the A register".
after assembling our "do nothing e a c h machine c o d e Instruction
and return to BASIC" program. has been stored — in this case As you c a n imagine, we
our machine c o d e program could write a cheerful little
Spectrum or QL into an
1. K n o w l e d g e Base
oracle of advice —
with David Nowotnik. 2. Inference Engine
O
figure 2: Decision Tree tor tho transport serial decision m a k i n g oxampie tor QL users, the commands In
italics in lines 280 a n d 290 are z
£
Oon il 1<M«(M Und' optional.
The DATA statement in line 800
answer is yes. a n d 'c' is the DATA knowledge base in Fig. 1. Here, I not only the title of our expert
line number should the response assume, there are less experts system, but two numbers, the
be n o If the variable 'b' READs a m o n g our readers, a n d you number of questions a n d
the value zero, this indicates that should, as non experts get some answers in our system. These two
an answer has to be found, a n d benefit on terminology on numbers set up a string array
the loop is terminated. The sub- human bones! (s$) in line 240. This array
routine at 5040 ensures thai Ihe Once you feel you understand contains zeros a n d ones,
question is neatly printed on the the logic of this expert system corresponding to expected no
screen, while lines 5000 to 5120 'shell', there Is no reason why you a n d yes responses to e a c h
print the answer, a n d ask you if cannot build your own expert question for all 13 modes of
you want to run through another application. The first step is to transport in our knowledge base.
set of questions draw up a decision tree, as All 10 questions are asked; In
shown in Fig. 2, then translate response 1o the user's reply, a
Ambiguity that to the data required for the variable (r$) is filled with zeros
knowledge base. a n d ones (lines 300 a n d 310), to
like most 'experts' white I believe The more cautious a m o n g us get a string the same lenglh as
my questions to you (as p l a c e d would say that this a p p r o a c h to the strings in the knowledge
in this computer program) are making decisions is for the fool- base, once all questions are
clear a n d unequivocal, you hardy; It is a little rash to answered. This reply string is
may well find them confusing. eliminate a whole range of then c o m p a r e d with the strings
This expert has no option for the possibilities on the outcome of in the knowledge base.
user to say "I don't understand just one question, which might
0 that, please re-phrase the be misunderstood. It might be
z Perfect M a t c h
1<
question" (also the case for most more sensible to ask a full set of
expert systems). Even the first questions, then judge all the The first check (lines 330 to 380)
question "Does It travel on information at one time. This is is to determine whether a
land?" may provide uncertainty. the parallel a p p r o a c h to perfect match c a n be found, ie.
A hovercraft certainly c a n travel decision making, a n d this a string of yes a n d no's matches
on land, but I. as the transport a p p r o a c h is the basis for exactly the expert's opinion of
expert', d e c i d e d that hovercraft decisions m a d e by the program the expected string of yes a n d
a. are used principally for sea
transport, therefore would expect
lisfed in Fig. 4.
There are several passages in
no's to each of the 13 outcomes.
If a match is found, then the
a 'no" answer to the 'land' the program In Fig. 4 which are expert's answer Is given.
0 question if the user were thinking identical to that in Fig. 1. so start If no match is found, the
O of the features of a hovercraft. with the serial decision-making computer first tells you this, thei.
at But like this system or not, It is
the way many human experts
program in your computer, a n d
delete or overwrite lines 220 to
goes through a routine (lines 420
to 500) to determine which set of
CL
work. Not only that, the program 800, a n d the knowledge base expected yes/no replies in Its
I have given you provides an 2000 to 2120. There is slight knowledge base most closely
expert system 'shell', to which modification required to the matches the replies given by the
other knowledge bases c a n be questions (lines 1000 to 1090) a n d user. To do this, it goes through
attached. Fig. 3 contains an to line 5020. The commands in each possible outcome,
example. This is an alternative italics In lines 300 a n d 310 are, checking the expected
knowledge base which allows again, optional on the QL, a n d response, with the one given,
you. using the same program, to the string joining operator in a n d awards a score, d e p e n d i n g
O determine the name of one of these lines should be replaced on the match. So, 1 is a d d e d to
by '+' if you are using a the score if a 'yes' answer was
a.
111 the body's axial or
appendicular bones. Lines 800 Spectrum. given, when one Is appropriate
oo to 3130 replace the transport DATA line 800 now contains for thai particular item a n d
10 REMark S i m p l e E x p o r t S y s t e m f l o a t on t h e s u r f a c e "
2 0 REMark U s i n q p a r a l l e l d o c t s i o n - w k i n q 1 0 7 0 OATA " D o e s i t h a v e f i x e d w i n q s "
3 0 REMark lOOO DATA " I s i t Hind p o w i ' r e d "
40 REMark D a v i d N o w o t n i k 1090 DAIA "Can i t t r a v e l b e l o w t h e s u r f a c e o f
SO REMark J a n u a r y , 1907 water"
6 0 REMark 1 5 0 0 Rl-Mar k A n s w e r s
lOO REMark I n i t i a l i s e »< T i t l e 1 5 1 0 DATA " t r a i n "
110 LET x - 2 0 0 0 1 5 2 0 DATA " m o t o r blke"
120 RESTORE I READ t » 1 5 3 0 DATA " b i c y c l e "
130 C L S l P R I N T t t 1 5 4 0 DATA " c o a c h "
140 PR I N I : P R I N T 1 3 3 0 OATA " c a r "
irso PR I N I " 1 w i l l a s k y o u a s e r i e s o f " 1 5 6 0 DATA " a e r o p l a n e "
160 PR I N I " q u e s t i o n s . A n s w e r h i t h y " 1 5 7 0 OATA " h e l i c o p t e r "
170 PRINT " f o r y e r . o r n f o r n o f o r " 1 5 0 0 DATA " g l i d e r "
m o PRINI " e a c h one u n t i l I p r o v i d e " 1 5 9 0 DATA " b a l l o o n "
170 PR I N I " y o u w i t h t h e s o l u t i o n . " 1 6 0 0 DATA " y a c h t "
200 P R I N I : PRINT 1 6 1 0 DATA " s h i p "
2 1 0 REMark 1 6 2 0 DATA " s u b m a r i n e "
2 2 0 REMark Initialise 1 6 3 0 DATA " h o v e r c r a f t "
2 3 0 READ a n s w , q u v v t 1090 REMark
2 4 0 DIM s » ( a n s w , q u e s t ) 1900 RLMark K n o w l e d g e Base
2 3 0 RES1ORE 2 0 0 0 2 0 0 0 DATA " 1 l O l l O O O O O "
2 6 0 FOR J - l TO a n s w : READ s S < j ) : NEXT j 2 0 1 0 DfiTA " l O l l O O O O O O "
2 7 0 LET r RESTORE lOOO 2 0 2 0 DATA "IOIOOOOOOO"
2110 FOR j " l TO q u e s t 2 0 3 0 DATA " l O O l l O O O O O "
2 0 3 GO SUD 5 1 4 0 2 0 4 0 DATA "lOOlOOOOOO"
2 9 0 INPUT zti LET c h ° O i I F i t - " " IHEN GO TO 2 9 0 2 0 3 0 DATA " O O O l 1 1 0 1 0 0 "
too I F z * ( H » " y " OR / ' » < n - " Y " THEN LET r « = r * V I " : 2 0 6 0 DATA " O O O l 1 1 0 0 0 0 "
LET c h - 1 : P R I N I " y e n " 2 0 7 0 DATA " O O l O O O O l l O "
3 1 5 I F c l i > 0 THEN GO TO 2 9 0
f.o"
7 0 0 0 DATA "OOOOOIOOIO"
2 0 9 0 DATA " O O O O I O I O I O "
2 tOO DrtTA " O O O I I O I O O O "
320 NEXT j 2 1 l O DATA " 0 0 0 1 1 0 1 0 0 1 "
330 REMar k P e r f e c t M a t c h ? 2 1 2 0 D A I A " l O O l lOOOOO"
340 DIM q t a n a w ) 2 9 0 0 REMar k
3 5 0 FOR j - l TO a n s w S O O O REMark P r o v i d e t h e a n s w e r
I/O
3 6 0 LET q ( j ) - 0
Listing 1
requirements (or this is to be
a b l e to get hard c o p y of graphs
of fairly complex m a t h e m a t i c a l
functions Now if the g r a p h you i'ass 1 errors:
want to plot is fairly simple,
there's no problem. You c a n just 10 * D +
write a program to d r a w it on 20 #C-
screen, a n d then COPY the 30 ; R o u t t n e for c o p y i n g s c r e e n line 2 1 to p r i n t e r
result. But the screen resolution 40 ; A n y g i v e n p i x e l Has i t s s c r e e n c o o r d i n a t e s x a n d y
50 ; h c l d in t h e C a n d B r e g i s t e r s r e s p e c t i v e l y
of 256x176 pixels is too coarse for 60
the applications I have in mind, 65368 70 ORG 6 5 3 6 8 iStart of UDG area
a n d so some way of getting 65368 80 LD A. 3
higher resolution h a d to be 65370 90 CALL 0 1 6 0 1 ;Select thn p r i n t e r for o u t p u t
found. 65373 100 XOR A
The a p p r o a c h I a d o p l e d was 65374 1 10 LD D.A ;Clear D register
65375 120 LD C , A i C l e a r C r e g i s t e r (x c o o r d -0)
fairly obvious: instead of d r a w i n g 130 L O O P )
65376 LD B . 8 ( I n i t i a l i s e B r e g i s t e r <y c o o r d = 8 )
the "y" axis of the g r a p h 65378 140 L 0 0 P 2 DEC B tNext pixel row down
vertically on the screen, I turned 65379 150 PUSH BC
it through 90 degrees a n d drew 65380 160 PUSH DE ;Save r e g i s t e r s
it horizontally, so that the "x" axis 65381 170 CALL POINT tSaec as POINT (c.b)
b e c o m e s vertical (with x 65384 180 CALL FP A ;Resu1t off stack into A r e g i s t e r
increasing downwards). The 65387 190 POP DE
g r a p h is then plotted eight 65388 200 POP BC ; R e c o v e r r e g i s t e r s
points at a time (le. eight 65389 210 CP I lis t h i s p i x e l ( c . b ) s e t ?
successive x values) to line 21 on 65391 220 CALL Z . S E T B I T ;If s o . t h e n s e t b i t 7 o f D
230
the screen, the whole screen 65394
240
RLC D ;Rotate D r e g i s t e r by o n e bit
b e i n g scrolled upwards by one 65396
250
INC B
65397 DJNZ L O O P 2 ; L a s t p i x e l ? If n o t , d o a n o t h e r
line between the plotting of o n e 260
b a t c h of eight points a n d the 2 7 0 ;At t h i s p o i n t u c h a v e a b y t e r e a d y t o p r i n t in D
next. In this way you c a n get 65399 280 LD A, D
any resolution you like a l o n g the 65400 290 RST 16 ;So p r i n t it o n c e . . .
x-axis, if necessary plotting a n d 65401 300 LD A, D
scrolling many screenfuls of 65402 310 RST 16 ; . . . a n d o n c e a g a i n
graphics before the whole 65403 320 LD D . 0 ; C l e a r D r e g . r e a d y for n e x t s c a n
process is finished. Naturally, 65405 330 INC C ;Next pixel c o l u a n to the r i g h t
though, you'll never see the 65406 340 LD A. C
350
entire g r a p h on screen at once, 65407
360
CP 0 ; A r e w e o f f t h e r i g h t e d g e o f screen'''
because the early parts will 65409
370
JR N Z . L O O P 1 ;If n o t , b a c k f o r a n o t h e r b y t e
have scrolled off the top of the 6541 1
380
RET ;Back to B A S I C
screen by the time the thing has 390 SETBIT
6 5 4 12 SET 7,D iSet bit 7 of D register
finished. 65414 400 RET
4 10
What we n e e d then, is a 8910
420
POINT EQU 022CE ;tROM>
m e l h o d of transferring just a 1 1733 FP A EQU U2DD5 ;<ROM>
single line of graphics d a t a (line
Pass 2 errors: 00
21 in this case) from the screen
to the printer, so that we c a n Table used: 73 fron 249
d u m p it out continuously in
22 ZX C o m p u t i n g Monthly • M a r c h 1987
the screen one pixel at a time,
Graphs
Listing 2 gives an example
a p p l i c a t i o n of this process, the
important part being the
subroutine at line 200 which
employs all the little tricks we've
just been discussing. The
program as a whole will
produce a graph of the function
defined in line 3 (which is of no
importance except as an
illustration), a n d Figure 1 shows
the final printed result.
Incidentally, the machine c o d e
is so short that it's hardly
worthwhile loading it in
separately — in fact line 1000
Pass 1 errors: 00
10 * D +
20 *C-
30 i R o u t l n e for p r i n t i n g a v e r t i c a l s t r i p o f screen 8
40 ;pixols w i d e , s t a r t i n g at the pixel w h o s e x-coord so m u c h of the printer h a n d l i n g
50 ; is h e l d in a d d r e s s X C O U N T to BASIC a n d there are two
60 reasons for this. First, given the
65368 70 ORG 6 5 3 6 8 ; S t a r t of U D G a r e a m a c h i n e c o d e routine to transfer
65368 80 LD A, 3 the data, it's the a c t u a l physical
65370 90 CALL #1601 ;Se)ect printer
65373 XOR A
process of printing which takes
100
65374 1 10 LD B. A the bulk of the lime, so that
65375 120 LD D,A ;Zero the B and D r e g i s t e r s there's very little to b e g a i n e d by
65376 13® LOOP1 LD A.(XCOUNT) writing the remaining bits in
65379 140 LD C , A i S t a r t l n g p o s i t i o n in C r e g i s t e r m a c h i n e code. Second, with the
65380 150 LOOP 2 PUSH BC subroutine as it stands you c o n
65381 16® PUSH DE ;Save r e g i s t e r s fiddle about with It easily. You
65382 170 CALL P O I N T : E q u i v a l e n t to P O I N T < c , b ) might, for example, d e c i d e to go
65385 180 CALL FP A iResult off stack into A register for only two passes of the print-
65388 190 POP DE h e a d rather lhan three, In order
65389 200 POP BC ; R o c o v e r r e g i s t e r s
1 ;ls t h i s s c r e e n p i x e l s e t ?
to speed up the printing — a n d
65390 210 CP
65392 220 CALL 2 , S E T B I T ; If s o t h e n s e t b i t 7 o f D
It you d o you'll n e e d to c h a n g e
65395 230 RLC D ; R o t a t e D r e g i s t e r by o n e bit the counter in line 200 (FOR h =
65397 240 INC C ; H o v e to next pixel on the r i g h t 0 TO 1), a n d to c h a n g e the line
65398 250 LD A.(XCOUNT) feed in line 230 to 22/216".
65401 260 ADD A.8
65403 270 CP C ;Have uc done 8 p i x e l s y e t ? Stripper
65404 280 JP N Z . L 0 0 P 2 ;If n o t t h e n p r o c e s s t h i s o n e
290 So much, then, for high
300 ;D register now h o l d s a byte ready to print resolution g r a p h plotting. Is there
65407 310 LD A. D any other use for Ihis i d e a of
65408 320 RST 16 ; S o p r i n t It o n c e . . . printing strips of screen in
65409 330 LD A, D d o u b l e density dots? There
6 5 4 10 340 RST 16 i . . . a n d o n c e a g a i n
654 I I D,0 ;Clear D register
certainly is. How would you like
350 LD
6 5 4 13 36® INC B ; H o v e u p t h e s c r e e n by o n e p i x e l a variable density screen c o p y
65414 370 LD A. B routine so that you c a n
6 5 4 15 380 CP 176 :Are we past t h e t o p of t h e screen'' compensate for the wear on
6 5 4 17 390 JP N Z , L O O P 1 ilf n o t t h e n g e t a n o t h e r b y t e your printer ribbon? You would?
65420 400 RET ;Back to BASIC Then read on!
4 10 SETBIT The Kempston "E" Interface
65421 420 SET 7.D ;Set bit 7 of D register allows you to get two kinds of
65423 430 RET screen c o p y — an e n l a r g e d one
65424 440 XCOUNT DEFB 0 ;x c o o r d o f left e d g e of strip which is fine for most purposes,
8910 450 POINT EQU B22CE ;(ROM)
a n d one of "normal" size which
1 1733 460 FP A EQU 82DD5 ;(ROM)
is OK but c o u l d be better. This
Pass 2 errors: 00 latter is a single density screen
d u m p (which looks rather ghostly
Table used: 86 froi 256 when your r i b b o n is worn) with a
quite b a d l y distorted aspect
just pokes it in from BASIC when does this for the Kempston "E" ratio to boot. If we take
the program runs Just a c o u p l e interface, (b) Lipe 20 is n e e d e d c o m m a n d of the printer
of further points a b o u t the listing: only if your printer is normally ourselves, a n d scan the screen
(a) You need to instruct your set to give automatic line feeds in strips (treating e a c h strip
interface to turn off the tokens with a c a r r i a g e return. m u c h as we d i d in the graph
before proceeding, a n d line 10 You may wonder why I've left plotting example), we c a n
improve matters considerably.
Figuro 2. Variable density screen copy There's some a d v a n t a g e to be
(o) Minimum (b) Maximum
g a i n e d by scanning the screen
In vertical strips rather than
horizontal ones in order to get a
more a c c e p t a b l e aspect ratio,
a n d as before, it's only
necessary to h a n d l e the transfer
of d a t a from screen to printer in
m a c h i n e code. Listing 3 gives
the assembler program we
need. Though similar to Listing 1.
it differs in some important ways
namely (a) It transfers d a t a from
a vertical strip eight pixels wide
a n d 176 pixels high; a n d (b) We
n e e d to tell it which strip to
transfer by poking a suilable x
co-ordinate into 65424 (XCOUNT)
Again, the c o d e itself is so short
that it's readily POKEd in from
within a BASIC program, a n d I've
Incorporated it in this way into
Listing 4.
Listing 4 is a self-contained
TROJAN
CAD-MASTER
THE ULTIMATE IN G R A P H I C S T O O L S
MAIL ORDER
ADVERTISING
British Code ot Advertising Practice
Advertisements in this publication are required to contorm to the
laAAp
SUPERB GRAPHICS SOFTWAR British Code ot Advertising Practice In respect ot mail order
advertisements where money is paid in advance. Ihe code requires
PLUS advertisers to fulfil orders within 28 days, unless a longer delivery
period is stated Where goods are returned undamaged w>lhin seven
A TOP QUALITY LIGHT PEN days.the purchaser's money musl be refunded Pleaso retain prool ol
postage/despatch, as this may be needed
Discover the exciting world of creating your own
graphics on screen. Mall Order Protection Scheme
• FREEHAND DRAW - 5 pen thicknesses inc. Quills II you order goods Irom Mail Order advertisements in this magazine
• PAINT BRUSH - for the artistic touch and pay by post in advance ol delivery. Argus Specialist Publications
Lid will consider you for compensation if the Advertiser should become
• FILL ANY SHAPE - use 16 colours and 11 patterns insolvent or bankrupt, provided
• GEOMETRIC SHAPES - circtes, boxes, tnangles, lines (1) You have not received Ihe goods or had your money returned
& banding. and
• DYNAMIC RUBBER BANDING on all geometric options. (2) You write to the Publisher of this publicaiion, summarising Ihe
• PIN-POINT FUNCTION - for pixel accuracy on all functions. situation not earlier than 28 days Irom theday you sent your order
and not later than two months Irom that day
Plus many more too numerous to mention in this ad. All these Please do not wail until the last moment to inlorm us When you write
features in the Program -f a top quality Light Pen and an we will tell you how to make your claim and what evidence ot payment
Instnjction booklet in one reasonably priced package. Easy to use is required
for creating colourfuli pictures or technical drawings. Ideal lor use We guarantee to meet claims trom readers made m accordance wiih the
by all ages of micro users. Full back-up service from above procedure as soon as possiblo alter ihe Advertiser has been
declared bankrupt or insolvent (up to a limit ot £2.000 per annum (or
manufacturers. Available at good dealers or direct any one Advertiser so altecled and up to £6,000 per annum in respect ol
from Trojan Products. all insolvent Advertisers Claims may bo paid tor higher amounts, or
Please state which Micro. when the above procedure has not been complied with, at the
discretion ot this publication but we do not guarantee to do so in vie w ot
the need to sot some limit to this commitment and to learn quickly ol
readers' difficulties)
This guarantee covers only advance payment senl indirect response to
Micro Computer Software & Accessories an advertisement in this magazine (not. for example, payment made in
Send cheque/P.O. to: response to catalogues etc . received as a result ol answering such
TROJAN PRODUCTS advertisements) Classified advertisements are excluded
Dept Y. Com. 2,166 Derlwyn, Dunvant,
Swansea SA2 7PF Tel: (0792) 205491
TRADE ENQUIRIES WELCOMED
GRAPHICS
shortly before Ralnbird released
Art Studio and, b e i n g incredibly
sensible, Rainblrd m a d e Art
Studio c o m p a t i b l e with the
mouse (though you don't have to
buy Art Studio as well since the
mouse comes c o m p l e t e with its
own b u n d l e d graphics software,
AMX Art). The mouse Interface
Here it is, the ZX guide use it with both Kempston plugs into the Spectrum just like
interfaces a n d the +2's built in a joystick Interface, Into which
to the best in graphics joystick socket. Of course if you the mouse is p l u g g e d . A g o o d
don't have a Plus Two you'll value-for-money feature Is that
equipment for the need... the mouse interface also
includes a printer interface
Spectrum. Kempston Joystick which c o u l d save you some £30
If you haven't already got one.
Interface £6.95
Almost as old as the Spectrum
Art Studio £14.95 Itself is the Kempston Joystick
Interface, more or less the de
Trojan Ligliht Pen £14.95
Unless you're g o i n g to stick to Not as flexible
le as a mouse, but
BASIC (not a g o o d idea) the first taclo standard for the Spectrum. less expensive, light pens have
thing you'll n e e d when you start This latest m o d e l trom Kempston the virtue of allowing you to
experimenting with graphics is a is small, neat, a n d very 'draw' directly onto the surface
g o o d bit of software, a n d , with Inexpensive. of your monitor or TV screen. This
one possible exception, c a n be useful If you're trying to
Rainbird's Art Studio stands h e a d AMX Mouse £69.95 draw curves, wiggly lines etc.
a n d shoulders above everything Everyone's got a joystick (haven't which can't easily be drawn
else. Despite the wretched they?) but the more ambitious using keyboard or joystick
Lenslok anti-piracy device. Art a m o n g you might want to splash control, as the pen allows you to
Studio is a fast a n d flexible icon- out on a mouse. Most 'real' draw freehand. Trojan's pen
driven p a c k a g e that will help
you squeeze the best out of the
Spectrum's graphics capabilities.
It's also a v a i l a b l e In two versions
tor both 48K a n d 128K machines
(although the 128 version costs
£24.95).
Compliment LQ £199
Part of Saga's Compliment word
processor p a c k a g e this is an
excellent m a c h i n e that's as
g o o d as some much more
highly p r i c e d printers. Obviously
g e a r e d towards wordprocessing
rather than graphics, but still
c a p a b l e of g o o d quality screen
dumps.
Citizen 120D £235
Starting to get a little pricey, but
this is about as g o o d as most
home computer owners will
need. There is a very g o o d letter
quality m o d e for printing text,
a n d it's c r a m m e d with
international character sets a n d
self-diagnostic tests, a n d takes
single sheets of p a p e r or
perforated printout paper. Some
of these features are luxuries,
rather than necessities, but if you
c a n afford it you're not likely to
have to buy another printer very
soon.
fpREflT
IRAPHICS
27 ZX Computing Monthly • March 1987
Hot on the heels of The
Advanced Art Studio
comes Audiogenic's
graphics package for
the 128 and Plus 2.
New features
Unlike the e n h a n c e d version of
Art Studio, which uses the 128's
additional memory mainly for
fast data storage/retrieval a n d
which has relatively few new
facilities for actually creating
graphics, the new Icon Graphix
p a c k a g e features a number of
options which were absent from
the original. Mind you, the
original Icon Graphix lacked
certain features that c o u l d be
found in both Art Studio a n d The
Artist (such as text handling a n d
'cut a n d paste' commands] so
the u p g r a d e d version has been
brought into iine with what we've
alt c o m e to expect as standard
from graphics packages these
days.
The layout of the screen
display remains unchanged, a time c a n be held In memory). the paper a n d ink within the
with the central drawing area The other new commands are cutting a n d to then surround
surrounded by a border m a d e mainly for 'cut 'n paste', allowing any solid areas with either a
up of the various FILL patterns you to define small sections of black or white outline
and, along the bottom of the the screen which c a n be 'lifted d e p e n d i n g on the nature of the
screen, icon symbols for the up", moved around, rotated, drawing. This might sound a little
graphics commands. This Icon reflected a n d otherwise abused. pointless but It actually creates
menu now has an a d d e d As I mentioned these c a n be a kind of 'polarised' effect that
feature though — a PAGE Icon, found on ordinary 48K makes even simple drawings
which when selected calls up packages, so while their look more Interesting, a n d it c a n
pages 2 a n d 3 of rhe menu inclusion now is a g o o d Idea it's b e used repeatedly to build up
containing the new commands. not exactly a giant leap forward. some unusual shading effects
The FILL. PEN. a n d shape which might otherwise take
forever to produce If they h a d to
commands (for drawing boxes,
lines, circles a n d ovals) were all
Trace be drawn conventionally.
standard on the 48K version but One new feature which is quite This TRACE c o m m a n d Is the
the new commands include original Is the TRACE c o m m a n d . highlight of the package, and,
some for a d d i n g text to your Once you've defined a window a l o n g with the Icon menus
pictures (and there is an (or a 'cutting' as the manual (which I found simpler to use
impressive variety of fonts calls it) you c a n use this than on Art Studio or The Artist) Is
included on side two of the c o m m a n d on whatever Is drawn one of the areas where It scores
tape, although only one font at within it. What it does Is to invert over the competition. However
s Col-
PUSH LOAD +
PAGE SAVE our
H o i
"Type" Hide 121
| Bold Outline Clear
PUSH
PAGE
LOAD +
SAVE 3 Coll
our | Undo Shapes Magnify "Type" F i x f f f
_
DISCIPLE
John Wase plugs in a
standard BEEB-type disc Interface
connector, a second joystick
the utilities program supplied on
cassette. After answering various
port a n d network connector, a n d prompts, you are ready to format
new multi-purpose on the lett-hand end, the inhibit a disc. Two surprises: firstly the
a n d snapshot buttons. disc is not n a m e d ; you have to
interface. I a p p r o a c h e d the system with n a m e it on the label; secondly
some trepidation, b e i n g preju- a small c o d e program c a l l e d
d i c e d through long familiarity "systems" Is also saved on the
Disciple with the Opus system. So at first I
didn't like the rather creaky
disc at the same time. A c o l d
start involves switching on
Rockford Products plastic box; a 128K Spectrum+2 computer, Inserting disc a n d
£73.70 ( + VAT) overhung this rather a lot, a n d I typing RUN. when the systems
was g l a d I h a d left on the b i g program is loaded. This c a n be
feet which I n e e d with Ihe a bit irritating but does ensure
F = o r several weeks I h a d b e e n Discovery, tor they just supported that the system c a n b e u p d a t e d
anticipating Its arrival. At last a In the right places the overhang to c o p e with alterations in other
cryptic message c a m e — "a from the Disciple. A standard 48K systems. There is provision for one
disciple will shortly arrive at your Spectrum was less lucky a n d further auto-running program on
house". It was on Its way. n e e d e d a cassette temporarily any one disc.
My delay in receiving this w e d g e d in front of it. The first two Disciple comes with a truly
Interface was d u e to a technical Disciples h a d rough h a n d l i n g in comprehensive array of com-
problem: the NEC ROM version the mail a n d the snapshot mands. LOAD D1"proaram". tor
of the Spectrum gave trouble switch was d a m a g e d in e a c h instance, works, as well as micro-
with their first issue, a n d the ROM case; Rockfort tell me that more drive commands. So does SAVE
in the Disciple h a d to be re- robust switches are now b e i n g d1 " p r o g r a m " SAVE D l - p r o g r a m "
written. Advantage was therefore used, a n d that the p a c k a g i n g is saves a n d then also gives you
taken of this to Incorporate b e i n g modified. Whilst none of the short directory or catalogue,
several improvements into the this improved my confidence, as which numbers e a c h file, tells
system, a n d it is this version, I used it a n d gradually got used you what It Is a n d the start
version 2, which I tested. Disciple to it, I b e g a n to like it a n d address a n d length if It is code.
comes complete with Instruction a p p r e c i a t e its many virtues. This allows you to use the very
manual, guarantee a n d a cas- short syntax LOAD p6. when
sette. As the picture shows, the number 6 in the list is l o a d e d
interlace itself is a fong, flat from the last disc In use. All the
plastic box on which your Hooked c o m m a n d s one would expect
Spectrum sits, a bit Interlace The m a n u a l contains a lot of are there, including wild c a r d
One-ish in shape, with a n e d g e useful basic information, but tiles (to ERASE numbersl.
connector on top to connect the lacks anything detailed on numbers2. numbers 3 eta, enter
Spectrum a n d the customary m a c h i n e code, although it ERASE DTn*"). A well thought out
through-port on the back. To the mentions that the hook codes system.
right of this are the Joystick port are the same as those tor micro- In a d d i t i o n to the disc
a n d network connector, with the drives. I a m told that by the time Interface itself, one or two other
printer interface on the e n d of you read this, there will be a little gizmos are Incorporated.
the box. To the lett are a new, ring-bound version of the Clearly a i m e d at the games
Instructions which will have player is a snapshot button; this
provision for containing compre- takes a c o p y of what is in
hensive information on m a c h i n e memory, a n d , In this case, saves
code. The first operation is to It direct to disc as a "snapshot
connect everything up a n d l o a d file". This is the only type of file
mre
quality games and utilities for
publication. If you have a top
notch game or a useful utility for
the Spectrum or QL why not
send it to us for appraisal on
cassette or microdrive complete
with a iisting if possible.
There is also our new feature
Short Cuts to showcase your
practical, novel or imaginative
short routines with cash prizes for
published listings. For longer
programs we pay competitive
rates, and if you have an idea
for an article or series for ZX —
drop us a line or phone Bryan or
Cliff on 01-437 0626 to talk it over.
32 ZX C o m p u t i n g Monthly • M a r c h 1987
In BARS m o d e enter b a r 1 as:
EAR LINE 211220. Initialise a n d run it for a
N-N-N-Nineteen effect.
3. Echo c a n b e s i m u l a t e d by
" l a y e r i n g " the sound. Set u p the
sounds like this:
N - STA - L E N - Dl - D E
0 - 0 0 0 -004—FO —01
1 - 0 0 2 -004—FO —01
2 - 0 0 4 -004—FO —01
3 - 0 0 6 -004—FO —01
4 - 0 0 8 -004—FO —01
5 - 0 1 0 -004—FO —01
6 - 0 1 2 -004—FO —01
7 - 014 -004—FO —01
Enter bar 1 as 01234567. Initialise
a n d run it.
4. The sound m a y also b e used
as part of a more c o m p l i c a t e d
s e q u e n c e using other sounds (ie.
a d r u m beat).
Sequencing a Tune
Figuro 1. Sampling set-up S e q u e n c i n g a tune poses a
p r o b l e m b e c a u s e w h e n the
musical) Instrument p l a y e d o n The e x a m p l e bar in step 2 will sounds p i t c h is c h a n g e d its
keys 1-8 in the key s p e c i f i e d by p l a y sounds 1,1.1.3,4,1,3.2 In that length in time is also c h a n g e d .
the K key from the SOUNDS order. When c o u n t i n g the beats This m e a n s that the rhythm goes
mode. it counts s o u n d 1 four times a n d out the window. As the p r o g r a m
0 toggles r e c o r d i n g of lunes 3 twice. Bars are split into eight doesn't have a timer another
ON/OFF 9 exits the sub-mode. parts. I prefer to leave the m e t h o d has to b e used:
In the Playback s u b - m o d e a counter OFF but it Is there for a
Set u p sounds 0-7 thus:
tune r e c o r d e d in Record c a n b e purpose.
replayed by t a p p i n g out the N - STA - L E N - Dl - D E
rhythm on the 0 key. 9 exits. Progs Mode 0-000-008-FO-OO
1 — 008 —008—FO —08
This m o d e is c o n t r o l l e d by keys 2 - 0 1 6 —008— FO—16
Bars M o d e O a n d E: 3-024 -008-F0-20
This m o d e uses the following O — Run/Initialise (sequence). 4— 032 —008—FO—28
keys: E - Toggle STOP/REPEAT. 5-040-008-FO-36
6— 048 —008—FO—44
Hold d o w n any key on the 7— 056 —008—FO—48
0 - Run/Initialise (bars). bottom row to stop a s e q u e n c e
E - Toggle Stop/Repeat. from p l a y i n g . Sample the s a m e sound
C - Toggle b e a t counter Bars c a n b e strung together in (presumably a r e c o r d e d sound)
ON/OFF u p to 64 steps. This is for longer, into e a c h area. Now c h a n g e all
more c o m p l i c a t e d s e q u e n c e s delays b a c k to 00.
Hold down any key on the a n d for quicker editing. These d e l a y settings are In
bottom row to stop the s e q u e n c e the key of C (at a guess) a n d
looping endlessly (Ihis h a p p e n s Entering steps: represent the notes C,D,E,F,G,A,B
when repeat is ON). 1. Position the cursor under the a n d C A d d 4 to a d e l a y for a
value to b e e d i t e d . flat a n d subtract 4 for a sharp.
When the b e a t counter is ON,
any bar entered that does not 2. Press 0 to edit a n d enter the
contain the right n u m b e r ot n u m b e r of the b a r you want.
Enter 0 to signify the e n d ot the
Example Rhythm
beats (Ie. w h e n the total BTS
value ot every s o u n d in the bar sequence. It you m a n a g e d to take all that
Is not the s a m e as BEATS/BAR) will 3. Enter any other steps you want in you are ready for your first
be rejected. This bar must then 1o enter. d r u m rhythm using MINI-STUDIO.
either be entered correctly or 4. Press O a n d then I to initialise.
Press O a n d then "r" to listen to 1 Enter SOUNDS mode.
deleted by just pressing ENTER. 2. Set u p sounds 1-3 like this:
In this m o d e eight bars (lists of the sequence.
sounds) c a n b e e d i t e d a n d Whenever a n alteration Is m a d e 1-OOO-OOS-FO-OI
stored. These c a n b e p l a y e d in either PROGS or BARS m o d e 2-003-003-F001
back in order in this m o d e or in r e m e m b e r to re-inltialise them. 3-006-003-FO-01
a more c o m p l i c a t e d s e q u e n c e 3. Input or l o a d a bass d r u m
from PROGS mode. Using a Sample s o u n d into 1.
4. Input or l o a d a snare d r u m
Entering bars: O n c e a s a m p l e has b e e n
sound into 2.
1. Move the cursor under the bar c r e a t e d several things c a n b e
5. Input a b l a n k (silence) into 3.
to be edited a n d press 0. d o n e with It:
6. Enter BARS mode.
2. Type In your bar. (Eg. 11134132). The s a m p l e c a n b e used as a 7. Turn the b e a t counter off
The numbers are the numbers of musical instrument In PLAY (press C).
Ihe sound samples that you set mode. 8. Enter Ihe following bars:
up in SOUNDS mode. 2. The s o u n d c a n b e put into a
13132313 13332333 13232322 13132133
3. Enter any another bars you simpler s e q u e n c e o n its own. It
33132133 11112111 33112111 13222223
want to enter. you have s a m p l e d some s p e e c h
4. Press O a n d then enter T to as: O-OOO-Old-FO-OI Ihen you 9. Initialise.
initialise. c o u l d set u p sounds 1 a n d 2 as 10. Enter progs m o d e a n d enter
5. Press O a n d then "r" for RUN shorter versions ot 0:— these bar steps:
to listen to your stroke of musical 1-000-002-FO-01 1213425362736873
genius 2-000-Q04-FO-01 11. Initialise a n d run this.
C : = T O G G L E C O U N T ( O N ) S T U D I O © 1 9 8 6
E i = T O G G L E E N D ( S T O P ) M . P i I i a
0 = R U N / I N I T I f l L I S E S E Q U E N C E S
0 G 0 0 0 O 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
F i g u r e 2. E x a m p l e o f t h o s c r e e n d i s p l a y ,
Listing 1
PI-PII 123 IF I N K E Y » - ' 3 ' AND y < V A L '14
43 IF *(a*PI/PI,PI/PI)fVAL '10 • AND y > I N T P I T H E H GO S U B V A L
0' THEN PRINT PI-PII "160*: LET y-y-VAL ' 4 ' : GO S U B V
30 PRINT s ( a » P I / P I , P I / P I ) t " - • ! AL '160'
2 REH MINI-STUDIO ! IF »<a*PI/PI,VAL *2*I<VAL *I0* 130 IF INKEY«-'6' AND x<VAL '10
3 CLEAR VAL " 3 3 7 9 1 L O A D mm
C THEN PRINT PI-PI| ' THEN GO S U B V A L ' 1 6 0 " : LET
ODE 31 I F » < a * P I / P I , V A L ' 2 ' K V A L ' x*PI/PIt GO S U B V A L '160'
10 L E I k - V A L " 8 * : LET k»-*2212 100* THEN PRlNf PI-PI| 132 I F I N K E Y * - ' ! ' THEN GO SUB
2 2 1 " : LET i e - * C D E F G A B * : LET d-PI 32 PRINT •(a+PI/PI,VAL , 2 , l | VAL '300*
-PIS LET n-PI-PIS LET p*-VAl. *20 33 IF s l a + P I / P I , I N T P D - P I / P I 133 IF 1NKEY««.'2' THEH 00 SUB
* : LET p y - P I - P r : DIM c»(VAL 'fil- THEH PRINT "-BA--J VA1. '310'
ls DIH d(VA1 *e*,VAL ' 2 * 1 5 LET t 37 IF s t a + P I / P I , I N T P I I - P I - P I 137 IF 1NKEY»-'B* THEN GU SUB
-PI-PI: LET m » - * r > ' : LET i 1 - P I - P I THEN PRINT *-FO-"| VAl '900-
S LET b a r - V A L ' B ' S LET b l k - V A L " 38 IF s(a+PI/PI,VAL *4•)<VAL ' 130 IF 1NKEY»-'I' 'I H E N GO TO V
4*: LET xI-VAL '14*: LET yl-PI-P 10* THEN PRINT PI-PIl At '910*
IS L E T • - P I - P I : DIH »(VAL '10*,V 3 9 PRINT » ( * + P l / P I , VAL " 4 " U 139 IF lNKfcY»-*k* THEN liU SUB
AL • « • ) : DIH p«<VAL " B - . V A L *8*> 60 PRINT * / " I « f a * P I / P I , V A L ' 2 ' VAL '930*
5 LET x - P I / P I S LET y - I N T PI 1/blkt: LET b«-STR« t*(a»PI/PI,V 140 I F l N K E Y » - * 7 " AND x >Pl/PI T
2 0 FOR a - P I / P I TO V A L * 1 0 " : LE A L *2 m>/btfclI GO S U B VAL '197*: HEN GO S U B V A L " 1 6 0 ' : LET x«x-P
T eta,VAL *2')-VAL *4*S LET «<a, NEXT a I / P I I GO S U B V A L *160-
VAL • 4 " I - I J NEXT FOR a-PI/PI 63 IF +I-PI/PI THEN LET f1=P1 143 IF INKEY«-*0* THEN GO SUB
TO V A L - A 4 - ! L E T c « f a l * " 0 * : NEXT -Pit PRINT OVER P I / P I I AT x , y t * _ VAL "170"
•
•S R E T U R N 147 IF I H K E Y * - " • THEN GO TO V
32 0 0 SUB VAL *V30* 70 PRINT AT V A L ' I 3 ' , P I - P I j : F AL *200*
33 C L S : P R I N T AT 17,201'STUDI OR a-PI/PI TO V A t •8* 148 I F I N K E Y « - * 1 * THEN GO SUB
O l 9 8 6 " I AT 18,231 -H.PI 1!#• 80 a/VALIF * 2 " INT < a/VAL '2* VAL "600*
3 3 P R I N T AT PI-PI,PI-PI»*N:-ST ) THEN PRINT p » < a l I 14V IF IHKEYe-'o* 1 HEN GO SUB
A-LEH-DI-DE-BTS* 90 IF a/VAL • 2 ' O I N T (a/VAL *2 VAL '608'
36 PRINT OVER PI/PHAT PI-PI, •> THEN PRIHT PAPER VAL ' 3 " ! p * 1 3 0 GO TO V A L '110'
P I - P I I * _ • (a) I 151 I F • < x , I N T P I ) " P I - P I THEN
37 PRINT PAPER VAL * 6 * | A T VAL 92 IF a/VAL '4*"INT (a/VAL *4* P R I N T AT x , y I " F O * t A T * , I N T PI|!
•11 PI-PI! M-B/BAR: • |b«r J* I - I t THEN PRINT : PRINT LET b«-STR» s < x , P I / P I > : FOR d-PI
NPUT L-LUAD K-KEY 2-HLK/B:•IbIk 9 3 HEX I a /PI TO I N T P I - L E N b « : P R I N T ' 0 ' I
f * O-OUTPUT S - S A V E C | l « « k > | ' ) 94 IF f.pi/pi THEN RETURN S NEXT d : P R I N T * f x , P I / P I > : GO 6
" I AT V A L " 2 " , V A L •24•J"5/6/7/8* V6 BEEP VAL '. I",VAL "12*: PRI UB VAL ' 1 6 0 ' : RETURN
I AT I N T P I , V A L "24"|• FOR • I AT N T AT PI-PI,VAL *2I"I"MODE:"| PA 132 IF » ( x , I N r P D - P I / P I 1 HEN
VAL * 4 * , V A L •24*1'CURSORS*(AT V PER VAL ' 6 ' r I N K VAL *2'J'SOUNDS P R I N ( AT X , y | ' B A * | AT x . I N T P l f .
AL ' 6 " , V A L ' 2 4 ' S P A C E • I AT VAL •t OO S U B VAL '160' LET b « - S T R * « ( x , P I / P I ) : FOR d-PI
•7',VAL ' 2 4 ' | • FOR • 1 AT VAL " 110 IF INKEY»-'0' AND y-VAL '11 /PI IU 1HI P l - L E N b « : PRINT *0'|
8 ' , V A L " 2 4 " I ' MODES ' I AT V A L M 9 ' THEN OO S U B V A L ' 1 6 0 ' : LET y- : NEXT ds P R I N T a ( x , P I / P I ) : GO S
• f P I - P I C O-RUN/INITIALISE SEQ V A L * 1 4 * S OO S U B V A L '160' UB VAL M 6 0 * S RETURN
UENCE8 1 1 3 I F I N K E Y » - * 8 ' AND y < V A L ' I I 160 PRINT AT x , y I OVER P I / P I f _
4 0 P R I N T AT P I / P I , P I - P I I : FOR ' THEN GO S U B V A L ' 1 6 0 ' : L E T y « •S BEEP VAL *.01",VAL "12": RETU
a-PI-PI TO V A L ' 9 ' 5 P R I N T AT a * P y * V A L " 4 " : GO S U B V A L -160* RN
I / P I , P I - P I I PAPER VAL * 6 * I INK V 120 I F INKEY»-'3' AND y - V A L '14 170 IF y-INT PI THEN LET b-PI /
AL "2"In(: PRINT IF »(a*P - THEN GO S U B V A L '160': LET y- PI
I / P I , P I / P I X V A L '10' THEN PRINT VAL " I I " : GO S U B VAL *I60' 173 IF y-VAL '7 m THEN LET b-VA
34 ZX C o m p u t i n g Monthly • M a r c h 1987
L "2" 3 0 8 I F a - P I - P I THEN P R I N T AT V 6 0 5 I F 3 ( x , V A L " 4 " ) >P1 - P I "IHEN
176 I F y - V A L " 1 1 " AND s ( x , I N T P AL * l f l * , P I - P I I * E - T O G G L E END ( S T O POKE VAL " 6 5 0 3 0 " , V A L " 6 " : POKE
D - P I - P I THEN LET o(x,PI/PI)=s( P) • VAL " 6 5 0 3 2 " , V A L " 1 6 " : POKE VAL *
*pPI/PII+s(x,VAL - 2 " ) : LET six,I 3 0 9 I F s - P I / P I THEN P R I N T AT V 6 5 0 J J " , V A L " 2 5 4 " : POKE VAL " 6 3 0 0
NT P I ) - P I / P i : GO SUB V A L "151": AL ' 1 8 ' , P I - P I ) ' E - T O G G L E END ( R E P 3",VAL " 1 3 3 " ( x , P I / P I ) : POKE VA
RETURN EAT) • L " 6 5 0 0 3 " , s ( x , V A L " 2 " ) : POKE VAL
177 I F y - V A L M i ' AND s i x , I N T P "63031 *,s(x,VAL "4">
3 1 0 BEEP VAL ' . 0 1 ' , V A L ' 1 2 ' : PR
D - P I / P I THEN LET s(x,PI/PI)-s( I N I AT x l . y l l ' 6 0 7 BEEP V A L " . 0 1 " , V A L " 1 2 " : PR
PI/PI)-st*.VAL • 2 * ) : LET s(x,l 3 2 0 I F I N K E Y * - " 8 " AND y l < V A L '2 I N T AT V A L " 2 1 " , P I - P I I PAPER VAL
NT P I I - P I - P I : GO SUB VAL "151": 3 * (HEN P R I N T AT x l . y l j " •6"I" PRESS A KEY
RETURN • : LET y l - y l + V A L ' 8 ' : GO TO VAL • : PAOSE P I " P i : RANDOMIZE
178 I F y - V A L ' 1 4 " THEN LET b=V •310* USR VAL " 6 3 0 0 0 " : P R I N T AT VAL " 2
AL ' 4 * 3 3 0 I F I N K E Y * - " 3 " AND y l > P I - P I 1",PI-PI I,,: RETURN
179 BEEP VAL " . ( t l * , V A L " 1 2 " : IN THEN P R I N T AT x l . y l t " ': 6 0 8 I F • ( x , I N T P I ) - P I / P I THEN
PUT " I s ( x , b ) : P R I N T AT x , y j : I LET y l - y l - V A L * 8 ' : GO TO VAL '3 POKE V A L " 6 3 0 6 7 " , V A L "43"
F b - V A l " 2 " AND s ( x , b ) > V A L '120* 10* 609 IF a ( x , I N T P I I - P I - P I THEN
t HEN GO TO VAL • 1 7 9 * 3 4 0 I F I N K E Y » - ' 7 * AND x 1 > V A L '1 POKE VAL " 6 3 0 6 7 " , V A L "35"
180 I F b - V A L " 4 " AND s ( x , b ) > V A L 3 ' THEN P R I N T AT x t , y l | * 6 1 0 I F • ( x . V A L " 4 " > - P I - P I THEN
* 6 4 * UR b - V A L " 4 " AND m ( x , b X P I • : L E T x 1 — x 1 - V A L ' 2 ' : GO TO VAL FOR h - V A L " 6 3 0 8 9 " TO V A L " 6 3 0 9 2
- P I THEN GO TO V A L " 1 7 9 " "310" POKE h , P I - P l : NEXT h : POKE VA
181 I F * ( x , I N T P I I - P I / P I THEN 3 3 0 I F I N K E Y » - " 6 " AND x X V A L '1 L "63060",VAL "133"*s(x,Pl/PI>:
IF a ( x , P I / P I ) - s < x , V A L "2'XPl-PI 3 " THEN P R I N T AT x l , y l l " POKE V A L " 6 3 0 6 2 " , s i x , V A L "2"): R
THEN GO TO VAL " 1 7 9 " ' : L E T x 1 - x 1 • V A L • 2 ' : GO TO V A L A N D 0 M 1 2 E USR VAL " 6 3 0 4 8 " : RETURN
1B2 I F « ( x , I N T P I ) - P I - P I THEN "310"
IF s ( x , P I / P I ) + s ( x , V A L "2")>VAL * 3 6 0 I F I N K E Y * - " ' THEN GO TO V 613 IF s ( x , V A L "4 * ) > P I - P I THEN
1 2 0 " THEN GO TO V A L "179" AL " 8 0 0 " POKE V A L " 6 3 0 8 9 " , V A L " 6 " : POKE
183 I F i ( K , b ) < V A L " 1 0 " THEN PR 3 6 2 I F I N K E Y « - " » " THEN LET s - N VAL " 6 5 0 9 1 " , V A L " 1 6 " : POKE VAL "
INT P I - P I I OT « : GO TO V A L '300* 6 3 0 9 2 " , V A L " 2 3 4 " : POKE VAL " 6 5 0 6
1B4 I F b - V A L ' 2 * AND s i x , V A L "2 i " ,VAL " 1 3 3 " • • ( x , P I / P I ) : POKE VA
3 6 3 I F I N K E Y » - ' o ' THEN GO SUB
• X P I / P I THEN GO TO V A L "179" L ' 6 3 0 6 2 " , s ( x , V A L " 2 " ) : POKE VAL
VAL " 7 0 0 *
1B6 I F b - P I / P I AND s l x . b X V A L ' "63090",six,VAL "4"): RANDOMIZE
3 6 7 I F I N K E Y « - " c " THEN LET t-N
108- OR b - V A L m2m AND s ( x ( b K V A L USR VAL " 6 3 0 4 8 " : RETURN
OT t : GO TO VAL "303'
• 1 0 0 ' THEN PRINT P I - P I I 7 0 0 INPUT "R o r I ? " I L I N E 1 *
3 7 0 I F I N K E Y « - " 0 " OR • - V A L "2"
187 I F b - V A L * 4 * THEN PRINT s ( )HEN INPUT LINE p * ( ( ( ( x l - V A L * 702 POKE VAL "63119",d+(s-PI/PI
x,b) 11")*VAL "2")+yl/VAL "8">-VAL "3 >
189 I F b - V A L * 4 * THEN GO SUB V ' ) : L E I - f - P I / P l : GO SUB VAL "330 7 0 3 I F l « - " r " THEN : P R I N T PAP
AL * 1 6 0 * t RETURN * : GO BUB V A L " 7 0 " : LET f-PI-Pl ER 6 1 A T 2 1 , 0 1 • PRESS A
I V 0 I F b - V A L * 2 * THEN PRINT s ( 4 0 0 GO TO V A L " 3 2 0 " KEY " : OUT V A L "234",V
x , V A L " 2 " > : P R I N T AT x . V A L "17") 3 0 0 INPUT * B / B A R ( 1 - 8 ) I " | b a r AL " 3 1 " : POKE VAL " 6 3 1 1 6 " , V A L "2
s i x , V A L " 2 " > / b l k i : GO SUB V A L " 1 5 0 2 I F b a r C P I / P I OR b a r > V A L '8* 3 3 " : POKE V A L " 6 3 1 1 7 " , V A L "90":
V 6 ' : GO SUB V A L ' 1 6 0 * : RETURN THEN GO TO V A L " 5 0 0 " PAUSE P I - P i : R A N D O M I Z E USR V A L •
195 P R I N I s ( x , b > : GO SUB V A L * 1 5 0 4 BEEP V A L V 0 1 " , V A L " 1 2 " : PR 6 3 1 1 3 " : P R I N T AT VAL "21",PI-PI,
6li m: RETURN INT PAPER V A L ' 6 * I AT VAL • 1 1 • , V ,: RETURN
196 LET b » - S T R » ( » ( x , V A L '2*1/b AL " 8 " I b a r : RETURN 7 0 7 I F ! • < > • ! • THEN RETURN
Ik) 3 1 0 INPUT "BLK/B:"iblk 7 1 0 LET s p - P I - P I : LET c - V A L "23
197 FOR c - P I / P I TO V A L "6"-LEN 3 1 2 I F b l k O P I / P I AND b l k O V A L 2 9 6 " : FUR a - P I / P I TO VAL " 8 " : Lfc
b » : P R I N T • " > : N E X T c : RETURN " 2 * AND b l k O V A L " 4 " AND b l k O V A T d(a,PI/PI)-c-VAL " 2 3 2 9 3 " : FOR
199 RETURN L * 8 * THEN GO TO VAL " 3 1 0 " b - P I / P I TO VAL " 8 "
7 0 0 BEEP VAL " . 1 " , V A L " 1 2 " : PRI 314 PRINT PAPER V A L " 6 " I AT V A L 711 IP p * ( a , b ) - * • OR p « ( a , b ) > *
NT PAPER VAL * 6 * i I N K V A L " 2 " I A "12",VAL ' B ' l b l k : LET fl-PI/Pi: •" (HEN LET s p - s p t P I / P l : 0 0 TO
T PI-PI,VAL '26*I'PLAY " : GO SU GO SUB VAL " 4 0 " : BEEP VAL ".01* VAL "743"
B VAL " 6 0 8 * , V A L " 1 2 * : RETURN 712 LEI d-I(a-1)*8>»b-sp
202 PRINT PAPER VAL " 6 " ] I N K P 3 3 0 I F t - P l / P I THEN LET b - b a r : 7 1 3 I F s ( V A L p * ( a , b ) + 1 . 3 1 - 0 THE
I - P I J AT V A l - 2 0 * , V A L "0"|"1-PLAY GO TO V A L " 3 8 0 " N POKE c , s ( V A L p«<a,b)+l,l>
/RECORD 'TAT V 720 IF s(VAL p * ( « , b ) + l , 3 ) - l THE
3 6 0 I F p » ( ( ( ( x ! - V A L " I I " ) #VAL *
N POKE c , s ( V A L p*(a,b)•1,1)*133
AL " 2 1 " , V A L "0")
"2-PLAYBACK 2")*yl/VAL "S'l-VAL "3"1-" 723 LEI c—c•1
• : PAUSE P I / P i : " THEN GO 10 VAL "580"
7 3 0 POKE c , • ( V A L p«(a,b>*l,2>
PAUSE P I - P I : L E T 1 I N K E Y * 3 6 1 L E T b - P I - P I : FOR a - 1 TO 8 :
733 LET c - c + 1
2BS I F ! • - • ! * THEN PRINT PAPE IF p * ( ( ( 1 * 1 - 1 1 t # 2 1 + y l / 8 ) - 3 , a ) • "
H VAL " 6 " t I N K P I - P I ) AT V A L '20'
737 POKE c , at VAL p « t a , b ) M , 4 )
* I HEN NEXT A
738 IF •(VAL p * ( a , b ) • 1 , 4 ) < > 0 TH
,PI-PI)" I-6-NOTES 9-EXIT 3 6 2 I F a - 9 THEN GO f O VAL " 5 7 0
EN POKE c | ( P E E K c)+128
• I AT VAL * 2 1 • . P I - P I I *
0-TOGGLE RECORD O N / O F F ": 363 IF p«((((xl-ll>*2)•yl/8»-5, 7 3 9 LET c - c + 1
LET a - U S R VAL - 6 3 3 0 0 * : I F a<VAL •l-"«" THEN OO TO VAL "380" 7 4 3 NEXT b : NEXT a
•Aseee' then poke a,pi-pi 3 6 3 L E T b - b + s ( ( V A L p « ( ( ( ( x 1 - 11 I 7 4 6 I F s - P I - P I THEN POKE VAL *
206 I F 1 * - " 1 " THEN GO TO VAL * *2)+yl/8)-3,a))+1,2)/blk: NEXT a 63119",d
7 4 7 I F s - P I / P I THEN POKE VAL "
202* 3 7 0 I F b O b t r THEN BEEP VAL " .
i * , v a l " - 1 2 " : l e ' t f - p i / p i : go su 6 3 1 1 9 " , d + P I / P I : POKE c*PI/PI,VAL
2 1 0 I F l » - " 2 " THEN PRINT PAPE
M VAL " 6 " I I N K P I - P I t A I VAL "20" H VAL " 7 0 " : L E T t - V A L " 2 " : GO TO
" 128"
, PI-PI I ' 0 - P L A Y B A C K NUTE 7 3 0 I F a - V A L " 9 " THEN LET a - V A
VAL "370*
• I A f VAL * 2 1 P I - P I T * L *S"
3 8 0 B E E P VAL " . 0 1 " , V A L " 1 2 " : RE
9 - E X I T PLAYBACK NODE *: TORN 7 3 3 FOR a — P I / P I TO VAL " 7 " : LEI
HANUUHIZE USR VAL ' 6 5 4 3 8 ' : GO TO 6 0 0 INPUT " S U R E V ' l L I N E s « : IF d <•,VAL " 2 " ) - d ( a + P I / P I , P I / P I ) -d
VAL ' 2 0 2 * • • < > * y " THEN RETURN ( a , P I / P I » ! , NEXT a
2 2 0 P R I N T AT VAL "20",PI-PI,,,, 601 IF s ( x , I N T P I 1 - P I / P I THEN 736 L E I d ( V A L " 8 " , V A L "2")-(c-V
J 0 0 BEEP VAL ' . I ' , VAL ' 1 2 ' : PR I POKE V A L " 6 3 0 1 0 " , V A L "43" AL " 2 3 2 9 5 " > - d ( V A L *7*,PI/PI)-d tV
NT PAPER VAL ' 6 * 1 I N K V A L '2'IA 602 IF s i x , I N T P I I - P I - P I THEN AL " 7 " , V A L "2")
T P I - P I , V A L * 2 6 * I * BARS' POKE VAL " 6 3 0 1 0 " , V A L "33" / 6 0 BEEP VAL " . 0 1 " , V A l ' 1 2 " : RE
3B3 I F t - P I - P I THEN P R I N T AT V 603 IF s ( x , V A L " 4 " ) « P 1 - P I THEN I URN
AL * 1 7 ' , P I - P I | " C - T O G G L E COUNT (0 FOR a - V A L " 6 3 0 3 0 " TO VAL "63033 8 0 0 BEEP VAL " . 1 " , V A L " 1 2 " : PR1
Ml • - I POKE « , P I - P I : NEXT * : POKE VA Nl PAPER VAL " 6 " J I N K VAL "2"IA
30V I F t - P I / P I THEN P R I N T AT V L *6300J•,VAL M33"+«tx,PI/PI): T PI-PI,VAL "26"I"PROGS"
AL * 1 7 ' , P I - P I | ' C - T O G G L E COUNT ( 0 POKE V A L " 6 5 0 0 5 " , s ( x , V A L "2"): G 8 0 2 P R I N T AT VAL *20",PI-PI|c«<
FF)" O IO 6 0 7 TO VAL " 3 2 " M A ( VAL "21",PI-PI)
Listing 2
2 3 0 DATA 33,24,96,126,87,62,43, 42,203,1279
203,676 4 9 0 DATA 79,40,43,203,87,40,44,
2 6 0 DATA 122,32,8,62,33,93,122, 203,739
198,674 5 0 0 DATA 95,40,45,203,103,40,46
3 REM M i n i S t u d i o MC L O A D E R 2 7 0 DATA 133,87,123,30,43,254,1 ,62,634
10 C L E A R 4 « 4 : FOR a - 6 3 0 0 0 TO 6 22,30,862 5 1 0 DATA 239,219,254,203,103,40
3 4 8 8 S T E P 8 : L E T d » 0 : FOR b - a TO 2 8 0 DATA 36,234,33,126,87,62,31 ,43,203,1304
a * 7 : READ c : L E T d - d + c : POKE b , ,30,681 5 2 0 DATA 93,40,44,203,87,40,43,
c : N E X T b ! READ c : I F d < > c THEN 2 9 0 DATA 32,234,203,122,40,5,62 703,737
GO TO 3 0 ,7,743 0 3 0 DATA 79,40,62,203,71,40,60,
13 NEXT a 3 0 0 DATA 30,32,234,122,30,38,23 24,379
20 PRINT 'SAVING* 4,33,855 3 4 0 DATA 206,38,170,255,24,33,5
3 0 SAVE *MSCODE*CODE 63000,496 3 1 0 DATA 126,203,127,32,14,30,6 8,171,975
4 0 STOP 3,234,871 3 5 0 DATA 233,24,28,58,172,255,2
3 0 P R I N T " T H E R E I S AN ERROR I N 3 2 0 DATA 30,66,254,50,67,254,36 4,23,839
THE C O D E , P L E A S E CHECK D A T A * ,68,839 5 6 0 DATA 38,173,235,24,18,58,17
6 0 STOP 3 3 0 DATA 234,24,20,203,191,30,6 4,233,1013
1 0 0 DATA 243,33,0,133,6,4,197,6 6,234,1062 3 7 0 DATA 24,13,38,173,255,24,8,
,622 3 4 0 DATA 62,6,50,65,254,62,16,5 58,6I5
1 1 0 DATA 0,197,33,6,8,219,234,2 0,563 5 8 0 DATA 176,255,24,3,58,177,25
03,922 3 3 0 DATA 67,234,62,254,30,68,23 3,30,998
1 2 0 DATA 119,40.4,203,193,24,2, 4,229,1238 3 9 0 DATA 66,234,243,213,197,203
203,790 3 6 0 DATA 197,213,203,24,254,209 ,24,234,1438
1 3 0 DATA 131,203,11,16,240,113, ,193,225,1320 6 0 0 DATA 193,209,241,203,66,40,
6,1,723 3 7 0 DATA 16,138,201,35,94,203,1 132,24,1128
1 4 0 DATA 16,234,193,16,228,193, 23,43,873 610 DATA 23,231,201,203,66,40,4
1 6 , 2 2 2 , I 138 3 8 0 DATA 40,133,24,4,203,91,254 ,22,812
1 3 0 DATA 231,201,0,0,0,0,0,0,45 ,201,972 6 2 0 DATA 0,24,4,14,1,22,233,62,
2 3 9 0 DATA 62,62,219,254,230,31,2 382
1 6 0 DATA 243,62,231,219,234,230 38,31,1127 6 3 0 DATA 239,219,234,203,71,40,
,31,238,1308 4 0 0 DATA 40,242,201,0,0,0,0,0,4 248,193,1469
1 7 0 DATA 31,87,33,0,133,6,4,197 83 6 4 0 DATA 23,233,6,233,2,12,62,2
,491 4 1 0 DATA 0,0,33,0,132,126,22,0, 31,844
1 8 0 DATA 6,0,197,33,94,6,0,203, 313 6 3 0 DATA 183,40,3,195,23,253,22
349 4 2 0 DATA 95,1,253,90,233,9,214, ,0,723
1 9 0 DATA 67,40,6,62,31,211,254, 224,1123 6 6 0 DATA 24,249,49,41,33,29,21,
24,693 4 3 0 DAI A 4 0 , 2 4 0 , 2 1 4 , 3 1 , 2 0 0 , 3 4 , 9 13,439
2 0 0 DATA 4,62,7,211,254,203,11, 2,234,1103 6 7 0 DATA 3,1,6,253,14,1,62,239,
16,768 4 4 0 DATA 233,33,126,50,95,254,2 581
2 1 0 DATA 238,6,0,16,234,193,16, 29,205,1229 6 8 0 DATA 219,234,203,79,200,203
226,949 4 3 0 DATA 91,234,225,33,62,62,21 ,71,32,1261
7 2 0 DATA 62,231,219,234,230,31, 9,234,1202 6 9 0 DATA 243,10,30,66,234,214,0
238,31,1296 4 6 0 DATA 230,31,238,31,192,24,2 .200,1039
2 3 0 DATA 146,32,3,193,16,209,23 14,0,960 7 0 0 DATA 197,203,24,254,193,12,
1,201,1033 4 7 0 DATA 0,0,0,0,243,22,0,62,32 121,214,1220
2 4 0 DATA 193,231,201,33,235,90, 7 710 DATA 231,200,24,226,0,0,0,0
6,63,1094 480 DATA 247,219,234,203,71,40, ,681
36 ZX C o m p u t i n g Monthly • M a r c h 1987
ABSORBER
o
The closing d a t e for entries is Computing, No 1 Golden Square, London W1R 3AB
April 10th.
pnnn
options tor one player a n d two shelling out money (or is you PSSST is a variation on the
players (stroke and matchplay). are desperate (o get a Golt shool "em up style In which you
choice ol clubs from a b a g of simulation into your software have to spray worms with a
13. a n animated golfer whack- collection but with only nine number of spray cans while
IJUUIJ
ing the ball off the tee a n d holes, its a p p e a l may fall olf Trans Am was a n early driving
powermeter to adiust the length very quickly. gome. Neither ol these gomes
of shot.
The display design attempts I u p i'UP
to cram everything onto a 0O754.5 O O * 14C o o o o o c
single screen. The overall view
ol the fairway on which you
choose the direction of the ball III
Iiuul)
could just as well have been
put on a separate screen,
leaving more room tor the main
golfers eye view screen display.
LUULi
success
00 LEAGUE You start off In ihe murky
depths of Division 4 obscurity
CHALLENGE a n d by buying players, training
hard a n d selecting a strong
Atlantis Software
£1.99 team, you hopefully rise to glory
In the First Division.
This g a m e (alls into Ihe "so b a d Your form c a n be decidedly
It's g o o d category". It's a foot- quirky, surprise defeats followed
ball manager type game, so It by a run of victories after your
the lure ot l e a g u e tables a n d players suddenly gains lots of
learn selection problems holds stamina a n d fitness points for no
server all but one of them load no fascinalion, read no further. apparent reason, league Chal-
in under 16K as they were pro- If you've stayed on you c a n lenge will certainly win no
<
duced in the days when Ihe 16K be initiated Into the mysteries ol awards but if you c a n excuse
Spectrum was still going strong). a strange new g a m e — "Zom- the graphics, the time It will take
Ultimate's very first game was
o Jelpoc, a simple but highly
bie Laserbali". When League
Challenge attempts to capture
to gulae your team to the top
will justify the budget price.
£ US Gold have just released two
addictive shoot 'em up in which
you have to collect fuel pods
the b i g match atmosphere we
are treated to some very o d d
compilation tapes of old Ulti- a n d treasure on o number of g r a p h i c s i n d e e d . Hulking
mate gomes, both entitled planets all ol which are swarm- shapes lumber across the pitch
Master Games (and with only ing with deadly aliens At the aimlessly like zombies but just
a the track listing allowing you to lime, Jetpac was h e a d a n d when you think they ore totally
tell the two apart). The first of the shoulders above any other lifeless a laser b e a m darts out
two contains the first (our games g a m e for the new Spectrum
15881) - w *
ol one of the zombies boots a n d
O that Uitimate ever produced, m a c h i n e with smooth, fast ani- tries to zap the u n d e a d goal-
UJ which were themselves mation a n d g o o d sound effects keeper. He misses a n d it's a
I showed Jetpac to someone
O. amongst the first proper arcade
games ever produced (or the who didn't see It when It first
goal. These bizarre graphics
d e c i d e your league a n d c u p
CO Spectrum ( a n d II m e m o r y c a m e out a n d their reaction
LM
monsters to avoid, all by resort-
ing to the fiendish strategy of >,iv.i\vI',.i'.. i'.. i'.. I'.,p.,n. i'..i<;i',. i'.. !>,. i',.i'...y.: IUIM.IVi'..'*.•;'\> 1'.
jumping left a n d right. As Manic '•'••••V' , - v ''' v , '-•••+ • * ' ..'I'll
Miner clones g o its fairly aver-
a g e — the graphics are a little
on the small side but it's clear
e n o u g h what's g o i n g on, a n d
Alternative Software is the latest some ot the obstacles require a ' * « ift U1 * ". •''.
company to start p r o d u c i n g bit ol thought lo get past. * I, iiraF>it*v7w)
ti» 1'.« I* t'U'^J'',- h•),''V
1/ti,'
budget software, a n d so tar Henry's Hoard isn't g o i n g to MttcuLtfu ^ i',. t i w t'.. MK! i'.; i<_; i',: >•.
their releases for the Spectrum set the world alight, but I've fit IUif>
hove been passable versions ot always h a d a weak spot for
pretty o l d a r c a d e games. platform g a m e s (they're so
Henry's Hoard, possibly the besl m u c h more refined than those
ol their first b a t c h ol games is a nasty shoot 'em ups). so it gets
return to that o l d tavourlte, the
platform g a m e [how long is it
since you've p l a y e d one ol
a modest thumbs-up.
i.; |i.:'tv> fV *
'. • " V<; '. i < VI }\t •\i ,•ti > *.
m
:t'.;l<. (>. il; us i'.i1
m wi', i»
those?).
It's a 50 screen g a m e In
which you have to send Henry
(o small sprite with wiggly legs)
oft In search of items of treasure
scattered around the various I *
rooms. As is the way with these
gomes there are lots ot little
pnnnft HENRV'S HOME
spikey o b j e c t s , stairways,
moving walkways a n d d e a d l y
liuulJ
b l a c k o b l o n g that blots out his power. This leaves you tree to ex- nondescript monsters in yet
Immediate surroundings. How- plore Ihe platforms a n d rooms another completely silent plat-
ever, you haven't long lo admire ol Ihe Castle Graystoke until you form screened a r c a d e adven-
this a m a z i n g breakthrough In find Orko with the correct in- ture.
Spectrum graphics, you are gredients a n d defeat Skeletor. Another wasted licence.
attacked by o n e of Skeletor's Unfortunately, neither the
minions, Before you c a n say g a m e p l a y or the graphics cap-
When US G o l d b o u g h t the "you don't mess with He-man' ture the atmosphere ot He-man
licence for ihls hit TV series it you've d e s p a t c h e d it with a or the rest of the Masters of the
was u n d e c i d e d w h i c h type ot single blow a n d a d d e d one to Universe crew a n d your joystick
game w o u l d best suit the your "skulls c r a c k e d " total. This or keyboard c o u l d b e control-
heroic battles of He-man. The total lies below Ihe main screen ling anybody or anything (even
result Is two games. This a r c a d e display a l o n g with the state of a pumpkin) while you battle
adventure a n d a Scoff Adams your b o d y shield, the objects
style adventure. you carry, your sword stalus a n d
Skeletor, arch-enemy of He- the selt explanatory countdown
man has found the all-powerful of the moons till doom.
lllearth stone a n d has over- The way to the castle is short
thrown Castle Grayskull. You but hazardous a n d lies beyond
have to enter the castle llnd Ihe two spiked pits complete with
stone a n d defeat Skeletor a n d deadly electrical pulses
tree the land. b e a m i n g across them. Well
Orko tried to trap Skeletor in timed leaps will lead you to the i. ' W
an imprison cell which back- key a n d then the castle but mis-
tired trapping Orko in one of the time one ol the three jumps you
castle's stone pillars. You must must make a n d your quest -i t'51>( i>t
find him a n d give the right in- comes lo a n abrupt end.
gredients that he will use to turn Inside the castle you are met
your sword into Atom Smasher! by even more nosiies that leap,
On screen. He-man is repre- tly, j u m p a n d fire at you but
sented by a feeble yellow c l a d most c a n be d e s p a t c h e d by
figure that is surrounded by a ycur fully c h a r g e d sword ot
m-mmmm
K
Saving fhe world isn't going
wrtmmm
to be as easy as it sounds as
[
SC IU
7 IOO
population. You lly over Ihe i.tCH©
scrolling surface ot the planets, »F J b Z
wn.nnDt
a v o i d i n g trees a n d other
objects in order to blast the
«fc Pa
computers' control centres, a n d
h tS
XCEL was originally released as after e a c h b o m b i n g run there's
a full price game about a year a Gataxians style wave ot
until you get Ihe hang ot It, but
a g o a n d II didn't exactly set
the world alight, however as a
attacking aliens.
The action Isn't as tost a n d AGENT X It's all so fast a n d furious that it's
tun anyway
budget litle it's worth a look ft turious as some other shoot *em Mastertronlc
ups. a n d at times the g a m e £1.99 The next sections of the
looks a little doted, but there g a m e take you Into the m a d
are about 300 planetary loca- This turned out to be a pleasant professor's lair, where you have
tions to blast your way through surprise — another Masterlronlc lo take on the security men
so at least there's a fair bit ot c h e a p l e that compares well (using a n exlremely sllly-looklng
variety In the g a m e Mind you. with many ot the expensive flying kick manoeuvre) a n d
I d i d tind it a bit Irritating that
e a c h time you get killed you
g ames thai were churned out
>r Christmas.
then Into confrontation with the
prof himself as he tries to brain
hove lo go right back to the Agent X loads in several you with anything that comes to
start of a particular sequence parts, e a c h piece of c o d i n g hand.
(rather lhan carrying on from being a different stage In the It's all rather silly really, but
where you got killed), which gome, a n d so the g a m e man- the graphics are good. Ihe
means that you c a n find your- ages to pack qulle a lot into just g a m e Is nicely presented a n d
R f f w H I • i H Ml* 4*T>fVQMBS,|uC> £1.99's worth of cassette. The the programmer's clearly kept
self g o i n g over the same
you're into shoot 'em ups. The screens over a n d over again. g a m e starls with a furious car his tongue well Into his cheek,
g a m e has a few bells a n d Still, the g a m e is nicely pre- chase as Agent X sets off in hot making this Mastertronlc's best
whistles atlached in the form ot sented a n d at £1.99 Is much pursuit of the k i d n a p p e d Presi- budget g a m e for months.
some icons, but these don't better value than when it was dent. The g r a p h i c s In this
really shift the emphasis ot the first released. sequence are excellent — a
5 g a m e trom much other than
straightforward alien blasting.
large a n d nicely detailed 3D
representation of a highway
with various vehicles travelling
Ihe action lakes place on a in both directions a n d getting
group of planets which are con- In the way.
trolled by Sentinel computers
a n d it's up lo you to fly from The action is a bit chaotic,
planet to planet b o m b i n g a n d getting through Ihls section
everything In sight in order to Is more luck that Judgement
return control to the human
S
< its way through the maze
s
maze is hard enough without
Firebird the need to m a p (to make sure
£9.95 you don't run around in circles)
The Queen of the hive must be a n d avoid or blast the nasties
slain a n d it's your job to d o it In that are naturally out to get you.
Firebird's latest twist to the maze These include swarms ot elec-
OS g a m e The Queen is In Ihe
middle of a three dimensional
tronic insects, giant demonic
jailers a n d spikes, webs a n d
hive that turns a n d spirals stings that block your path.
O through eight complex a n d en- Contact with any ol these
iangied levels. will drain your energy that c a n
tou pilot a versatile electro- be replenished in you have two
to
Q . mechanical Grasshopper ship or more energy pylons that can
that runs, jumps a n d crouches be found in the maze to re-
LUJj1
A software 'legend 1
from U.S. Gold?
Crystal Castles
U.S. Gold
£8.99
GOOD
So you have to slowly d o u b l e
b a c k a n d line him up precisely,
before g o i n g down the path. By
this time, of course, every
Scroll Rolocalo
Font
9899 REM S c r o l l R e l o c a t e
R. Glavas has been a regular 9900 INPUT " S t a r t A d d r e s s " J s
contributor from the start, his
offering this month is a variation 9 9 1 0 TOR n=1 TO 7: READ a,fc: LET
on a frequently used theme, that
of a redesigned character set. a = a i s ! LET b = b • s
What we liked about this set was
that it was c h a n g e d subtly, 9 9 2 0 POKE a , b - 2 5 6 * I N T ( b / 2 5 6 ) : P
giving a more square effect. OKE a * 1 , I N T ( b / 2 5 6 )
Simply enter Ihe program a n d
RUN it. the character set resides 9925 NEXT n
at address 55000.
9930 DATA 1 0 , 1 2 0 , 2 7 , 1 4 4 , 3 0 , 1 5 9 , 5
9 , 1 6 1 , 7 0 , 1 5 9 , 7 3 , 1 6 1 , 1 2 6 , 0
Reflections
Versatile Input on the wrong line) a n d GO SUB
The above mentioned Mr. Batts the routine, for example:
supplied us with a p r o g r a m in a Being a b l e to position a n input 100 PRINT AT 5,10:'ENTER YOUR
previous issue c a l l e d reflections prompt a n d then a c c e p t NAME '|:GO SUB 9000
which reader Stephen Carr has characters a n d display them The resultant entry will b e
modified a n d improved. Another immediately after the prompt returned in variable iS. The
attractive way of presenting short ANYWHERE on screen a n d not variable z$ is used by the
text messages. just at the bottom of the screen routine to act as a temporary
c a n give your program a input string, the DELETE key will
professional touch. delete a character a n d the
Rolloctlons
Andrew Smith of Cleveland ENTER key terminates the input. A
provides us with a means of nice bit of well error t r a p p e d
I REM Reflections d o i n g just that. BASIC
10 L E T Y - 0 The subroutine is l o c a t e d at And so o n c e a g a i n we reach
20 B O R D E R 0 lines 9000 plus but c a n be the e n d of another collection of
30 P A P E R 0 renumbered to suit your own small, but beautifully formed,
40 INK 7 needs. To use It set the screen programs. All that remains is to
30 CLS position a n d provide a prompt nominate our Short Cut of the
(ensure you e n d wilh a month. The prize goes to Mr.
6 0 P R I N T " T y p e in a w o r d u p t o
semicolon else the input will b e Nelll for his Mirror program.
ton • " • l e t t e r s l o n g
70 INPUT A* Input 9 0 0 0 REM INrUT
80 CLS 9 0 3 0 LET i « = " •
7 0 IF L E N A O 1 0 T H E N G O T O 6 0 9 0 4 0 PAUSE 2 0 : P R I N T 07CR l j {
100 P R I N T I N K 0J A T 0 , 0 ( A « CIIRW GJ
110 P L O T 0 , 7 5
9 0 5 0 LCT z « = I N K E Y « : I T z * = " " THE
120 D R A U 2 5 5 , 0
130 L E T D - L E N A * * 0 N GO TO 9 0 4 0
140 L E T X ™ 1 2 7 - < D * 3 / 2 > 9 0 6 0 DEEP . 0 0 5 , 3 0
ISO T O R S - 0 T O D*fi 9 0 7 0 I F z * = C H R « 13 THEN P R I N T "
160 F O R T - 1 6 8 T O 1 7 5 " t C H R * 3 ! : RETURN
170 I F P O I N T < S , T > - 1 T H E N G O S U 9 0 G 0 I F z«=CHRfc 12 AND LEN i t t ) 0
B 240 THEN LET i * = i « < TO LEN i * 1 ) : PR
100 L E T Y - Y » 5
I N T " " } C H R « GJCHRS 8 | I CNR* 6
190 N E X T T
200 L E T Y - 0
I : GO TO 9 1 2 0
210 LET X - X + 3 9 0 9 0 I F z * - C H R * 12 OR zC Z" "OR
220 N E X T S z « ) " z " THEN GO TO 9 1 2 0
230 S T O P
240 TOR L - 3 TO 1 S T E P 1
9 1 1 0 LET i « = i « i r ® : P R I N T z
CltR* 8
o
o
250 CIRCLE X,75«Y,L 9 1 2 0 I T I N K E Y « = Z ® THEN PAUSE 5 :
260 CIRCLE X,75-Y,L P R I N T OVER H " _ " J C H R « 0 | ! GO TO
270
200
NEXT L
RETURN
9120
9 1 3 0 GO TO 904.0
x
00
/ 1 «2
Cobra a n d tend to d i s a p p e a r just when
Ocean you n e e d them most.
£7.95 C o b r a Is a very fast, very well
a n i m a t e d g a m e that's hard to
master at first simply because
Sylvester Stallone you are confronted by so many
bizarre c o m i c hatchet men.
converted into fun You are given a minlscule
three lives to start out with a n d
cartoon character . . . a d d i t i o n a l lives c a n b e
o b t a i n e d at 10,000 points a n d
Strange but true as further u p the high score table.
The game, which c a n b e
Ocean unveil an off- p l a y e d with keyboard or joystick,
is really enjoyable a n d a r c a d e
beat spin-off they are m a d e up of obese fans who are looking for
wrestlers, o l d ladies touting something a little bit different
T h i s Is a movie spin off g a m e lethal bazookas, knife throwing will not b e disappointed.
that stands up in its own right, assassins a n d the like This Is not Unfortunately the I m a g e created
perhaps because It bears so to mention the turbo c h a r g e d by the film Is misleading.
little similarity to the original prams that ram Cobretti a n d Stallone on the inlay cover with
film. sap his energy. his laser sighted m a c h i n e gun
Cobra, a vigilante c o p movie, If all this sounds a bit wacky, a n d the hard m a n phraseology
with Stallone as the star, was a wait for the plot. Okay . . . "Crime is a disease. He's the
failure by Rambo standards Cobretti has to rescue fop cure", look a bit silly o n c e you've
although If c o n t a i n e d the by fashion m o d e l Ingrid Knutson got the Stallone figure
now standard quota of mindless from the clutches of the evil s c a m p e r i n g up the platforms
v i o l e n c e O c e a n have m a d e no Night Slasher. All right so far but after the beefburger.
attempt to make a c a r b o n c o p y In order to d o this he's got to find It m a y well hove b e e n the
8 a m e of the film a n d In fact
obra is a tongue In cheek
send up with a ludicrous plot,
weapons which are h i d d e n
Inside beefburgers at certain
points in the three p l a y i n g areas
intention to send the whole thing
up a n d that's fine but those who
like their destructive blasting
absurd characters a n d carloon (city, country a n d a factory). untainted by any form of fun
logic Quite why a knife, pistol, a n d h a d better stick to the film.
The cop. "Cobretti" Is a laser sighted m a c h i n e gun are
musclebound chunky sprite who c o n c e a l e d In this way is a
Is Initially a r m e d only with a mystery. Anyway shaking off the
devastating headbutt which if mince from the weapons,
he connects send his enemies Cobretti must rescue Ingrid a n d
i;
w i n g i n g off screen In the completely d e c i m a t e the
direction they c a m e on. As tor attackers before progressing to
these legions of psychopaths, the next section. The weapons
/ \ / \ / \ / \ A /
5 I ^t ' J i I
§ /\/\/\/ /'V /
•cs- V'i
ft Y, ft*. | „:-'
11 j? # M & V « f< l
o
UJ &$ F. & lUt
A
vri'i.L o i n j j i n j s^ w ; KtlMfcKlt &KOOL UOi-ISG r4
£L
CO
44 ZX C o m p u t i n g Monthly • M a r c h 1987
It's time to test your
space pilot prowess at
the Academy.
ACADE
(mm
T O R P E D O D FTT H C O M P U T E R
T H P G E T RFTNGE: YDS
TPRGET SPEED: Kts
&NG L E OR I B O U : DEG
LEHD ANGLE ; D e g
THRGET COURSE: DEQ
1
the worrying expert destroyers.
The g a m e cassette is
a c c o m p a n i e d by two instruction
sheets that e x p l a i n almost
a everything from the control keys
to convoy routes, tactics a n d a
submarine c o m m a n d e r s ' spotters
O g u i d e to J a p a n e s e shipping.
a. When these sheets are f o l d e d
there's barely room for the g a m e
cassetle In the box!
Brian Beckett with news
ot Digital Precision's a b o u t the c o m p e t i t i o n e m e r g e c o n s i d e r a b l e effort to p r o d u c e
r e g u l a r l y from b o t h sides a n d s u p o r t i n g d o c u m e n t a t i o n that
new flirbocharge are likely to Increase as time will e n a b l e n o n - p r o g r a m m e r s (or
goes by. A l t h o u g h it m i g h t prove those less familiar with all the
Compiler. a bit c o n f u s i n g to a l l those t e c h n i c a l ins a n d outs a n d
p o t e n t i a l customers out there, it various specialist lingo) to get
C o m p i l e r Wars" d o e s not star promises to b e l o a d s of fun for the best out ot it. There are
Harrison Ford, neither d o e s it reviewers b o r e d with s t a n d a r d PR d e t a i l e d e x p l a n a t i o n s of some of
feature overly c u t e robots or releases. the b a c k g r o u n d maths a n d
assorted other h u m a n o l d s . Obviously we'll b e l o o k i n g at s u p p o r t i n g functions w h i c h
aliens, Jedl or whatever. Nor is it Turbo w h e n it does c o m e out u n d e r l i e w h a t is g o i n g o n a n d
a c o m p u t e r g a m e in the strict but, for a sneak preview, here m u c h of the m a n u a l is c l e a r l y
sense — a l t h o u g h it c e r t a i n l y is a r e s o m e of the (many) features a i m e d at those not intimately
in a wider o n e — but it promises Digital is promising. N o r m a l l y I'd a q u a i n t e d with the QL.
to be Just as a m u s i n g a n d hesitate a bit before writing Professional software p a c k a g e d
probably just as l o n g lasting. A a b o u t a p r o d u c t I haven't seen for all users is a virtue that
while ago. Liberation Software yet but. as Digital r e g u l a r l y c o m m e n d s itself a n d Digital
released QLiberator, a releases h i g h q u a l i t y p a c k a g e s (which always takes this
superBASIC c o m p i l e r to c o m p e t e tor the QL. I h a v e little d o u b t a p p r o a c h ) deserves full marks
with Digital Precision's long- that the p r o d u c t will live u p to its for d o i n g this as a matter of
standing a n d very well r e c e i v e d promises. First of all. Turbo will course. The Turbo m a n u a l excels
Supercharge. Both sell at £60 b e multi-tasking (as is in this respect.
and although QLiberator lacks QLiberator) a n d — a real favour If you want another QL to p l a y
some of supercharge's finer to the user — will lack that a r o u n d with the n e t w o r k i n g
features and Is generally slow It infernal lenslok security system facility ( w h i c h has sort ot d i e d a
Is a good product which f o u n d o n Supercharge. It d e a t h ) or simply b e c a u s e you
attracted a lot of interest. promises to b e m u c h faster t h a n haven't yet got a r o u n d to b u y i n g
In the meantime, Digital was Supercharge a n d Is s a i d to b e one. I've seen them for sale at
developing Turbocharge. This far m o r e user-friendly with a n £100 o n the High Street. Push it a
son-of-Supercharge, m e g a - extensive m e n u a n d built-in bit a n d you c a n p r o b a b l y get
compiler is d u e for release at flexibility of use. It will adjust for o n e for a fair bit less if the
any t i m e A c t u a l l y It's b e e n d u e m a n y structural faults in the retailer has gotten sick of the
(or release at a n y t i m e tor a programs under compilation t h i n g o n his shelves ( a n d I
while, a n d s o m e reviewers have a n d list corrections m a d e . If suspect most have) a n d wants to
taken to n e e d l i n g the c o m p a n y you're w o r k i n g with a n get rid of it. More importantly, it
a bit. A c c o r d i n g to Digital. Turbo u n e x p a n d e d QL. lengthy o u g h t to b e time to g o s h o p p i n g
wilt b e significantly faster t h a n p r o g r a m s a r e c o m p i l e d in tor a b a r g a i n - b a s e m e n t m e m o r y
Supercharge a n d h a v e m o d u l e s as w o u l d b e e x p e c t e d e x p a n s i o n and/or disc interface.
numerous a d d i t i o n a l features but there a r e a n u m b e r of A l t h o u g h most (but by no m e a n s
and refinements, d e s i g n e d to features d e s i g n e d to minimise all) of the QL software is
justify the p a c k a g e ' s sub-title of the d r a w b a c k s a n d difficulties of d e s i g n e d for a n u n e x p a n d e d
the " e n c y c l o c o m p l l e r " . Turbo will the task. Turbo tasks will b e a b l e m a c h i n e , just a b o u t all the g o o d
sell for £84.95 w h i c h I n c l u d e s to b o t h r e a d a n d write Into other stuft works a lot better or easier
Turbo Toolkit, a p a c k a g e of over Turbo tasks. Error w a r n i n g s will with extra RAM. There's a lot of
60 new c o m m a n d s d e s i g n e d to b e r e p o r t e d by line,, statement c o m p e t i n g m e m o r y expansions
extend a n d otherwise a n d position. This Is just the b a r e o n the market a n d most of the
supplement Superbasic. Turbo surface of what's p r o m i s e d but c o m p a n i e s are p r o b a b l y
Toolkit is a v a i l a b l e now (for gives a hint of what's c o m i n g b e g i n n i n g to flirt with the i d e a of
£24.95) but there doesn't seem over the horizon in the g e t t i n g rid of a n y surplus stock
much point In b u y i n g It yet if (hopefully) very near future. as the market starts to d e c l i n e .
you're at all Interested In g e t t i n g I have, however, seen the At the last c o u p l e ot
the Turbo c o m p i l e r w h e n It's manual which, although nobody Microfairs. I n o t i c e d q u i t e a tew
ready. Digital has sent m e the is g o i n g to g o out a n d s p e n d M e d i c disc Interface/extra RAM
manual so Turbo must b e a b o u t £85 for a b u n c h of A4 sheets, is m o d u l e s in service. M e d i c m a d e
d u e since they never bother to a n impressive feature in its o w n a n excellent p a c k a g e but sadly
write me unless they're a b o u t to right. The w h o l e t h i n g is s o m e ran into difficulties but
release s o m e t h i n g (I didn't even 350 p a g e s ( i n c l u d i n g the Turbo it looks like some of the o r i g i n a l
get a Christmas c a r d ) for m e to Toolkit m a n u a l ) a n d is very well stock of m o d u l e s has surfaced. If
tell you about, written in a r e a d a b l e a n d you get a c h a n c e to get o n e
In the m e a n t i m e , the war of humorous style. There a r e s o m e c h e a p l y ( a n d I wouldn't p a y
words is h e a t i n g up. Digital has c a r t o o n s a n d a glossary ( w h i c h m u c h lor o n e now) get it
apparently b e e n a n n o y i n g I n c l u d e s a d e f i n i t i o n ol b e c a u s e it's p r o b a b l y the best
Liberation Software by constantly "reviewer" that makes u p for in d e s i g n e d QL e x p a n s i o n
referring to QLiberator as a a c c u r a c y w h a t it lacks in b a s i c p a c k a g e I've seen. You will have
"pseudo-compiler". Digital has h u m a n kindness) c l e a r l y to tind s o m e o n e to m a i n t a i n or
responded with a d e n i a l d e s i g n e d to a m u s e as well as repair it but, II you c a n get it
(possibly at a lawyer's request) Inform. The point is that Digital c h e a p e n o u g h . It's well worth it
slating that the term is simply a obviously wants to sell its as l o n g as you m a k e sure it
technical o n e referring to the p r o d u c t to as w i d e a c i r c l e as works to b e g i n with.
"pseudo c o d e " Interpreted by possible a n d has g o n e to a
QLiberator c o m p a r e d to the
"true 68088 c o d e " p r o d u c e d by
"Irue" compilers like (surprise) CO
Q [COLUMN
Supercharge a n d the u p - c o m l n g
compller-to-end-all-compilers, s
Turbo. The funny bit was that this UI
gentlemanly qualifier was
printed In a t y p e f a c e a n d layout Z
so small that It p r a c t i c a l l y takes
a high resolution m i c r o s c o p e to
reaalt at all. Beastly remarks 0
49 ZX C o m p u t i n g M o n t h l y • M a r c h 1987
SPEC WORD Listing
puzzle game by
Hewson.
Impossaball
Hewson
£3.95
BMX Simulator
Codemasters
£1.99
hlle BMX r a c i n g m a y not have
SIMULATOR
the same status or g l a m o u r as
motorcycle or g r a n d prlx racing,
w h e n it c o m e s to c o m p u t e r
simulations BMX c o m e s into Its
own. Formula o n e r a c i n g
simulations are often a bit of a
let down, your s p e e d o m e t e r m a y
b e saying 240 m p h but the r a c e
a c t i o n doesn't reflect It, but with
BMX racing, a simulation c a n
get closer to the real t h i n g a n d
the Intricacy a n d skill involved
required to n e g o t i a t e the course
m a k e It I d e a l for those w h o want
to use their joystick for more t h a n
mindless z a p p i n g .
BMX Simulator is a n excellent
g a m e that is surely destined to
b e c o m e a b u d g e t hit. There are
seven different courses, seen
from a n o v e r h e a d view a n d
these offer a multitude of
d a u n t i n g features b e c o m i n g
harder with e a c h successive s e q u e n c e where your rider a n d b e e n built in to p e p u p the
track. To q u a l i f y for the next bike part c o m p a n y In after-race d e b a t e on w h o cut u p
track you must c o m p l e t e the s p e c t a c u l a r fashion. Restarting w h o o n the final b e n d ; there Is
course within a given time limit the r a c e c a n b e a p r o b l e m with a n a c t i o n r e p l a y function w h i c h
— this is fairly generous for the a d e l i c a t e t o u c h n e e d e d to will p l a y b a c k the race, or, if you
first course but b e c o m e s more steer yourself clear of the o b j e c t are really into d e t a i l e d analysis,
stringent with track two. you've run into, otherwise you you c a n also w a t c h the w h o l e
There are options for o n e or crash a g a i n . . . a n d a g a i n . . . r a c e a g a i n in slow motion, I'm
two player games. When The two player g a m e brings not sure how often these w o u l d
p l a y i n g the c o m p u t e r rider It's out the full potential of the b e used after the novelty has
gratifying to find that he's very simulation a n d most importantly worn off but they are clever
fallible a n d wipes out fairly there are options to p l a y with a d d i t i o n s nonetheless.
oflen, 'though he does have the two joysticks (KempstonlSinclair) Above all, BMX Simulator Is
a d v a n t a g e in that whenever you this was a wise d e c i s i o n as very realistic a n d the bike reacts
c o l l i d e with him you are always a n y o n e p l a y i n g the k e y b o a r d fo the terrain exactly as It w o u l d
the o n e to g o flying. Crashing Is o p t i o n w o u l d b e at a real o n a real track — the ramps,
illustrated by a n i c e a n i m a t e d disadvantage. Two options have turns, b u m p s a n d water splashes
are not just there for d e c o r a t i o n ,
they c a n b e used for your
advantage.
BMX Simulation will a p p e a l to
a l l those w h o like r a c e g a m e s
even if the i d e a of BMX r a c i n g
seems a bit t a m e Everything
a b o u t the game's presentation is
highly professional from the
g r a p h i c s to course d e s i g n -
another g a m e to a d d to
Codemasters' increasingly
impressive track record.
i L
S ^ P s l . l I T
David Nowotnik tests a Objects c a n be built up by
d r a w i n g lines between two
screen. With large objects, this
c a n be quite time consuming. In
new 3D graphics points. A number of 2D (circle,
box, polygon) or 3D (sphere)
particular, multi-colour displays
are re-drawn quite slowly
package for the QL. shapes are drawn automatically
at the cursor position, with sizes
c o m p a r e d to monochromic
objects. Therefore, to save time,
specified by the user. Several Viewpoint allows the user to
Viewpoint d r a w i n g aids are included, such temporarily turn off the multi-
Rubicon Computer as the a d d i t i o n of axes and/or a
c a l i b r a t e d grid. Two vertices
colour facility. The resultant red-
on-black display c a n be
Systems (coordinates) previously defined redrawn m u c h faster.
£19.95 c a n be joined by a simple join For the more experienced
c o m m a n d . The mirror i m a g e of user, Viewpoint has a number of
• f you have ever b e e n an object c a n be p r o d u c e d , help facilities to a i d object
fascinated by the ability of with the user defining the p l a n e construction, such as listing
computers to display three of the 'mirror'. And, text c a n be (screen and/or printer) all stored
dimensional images, then a n a d d e d ; this text remains fixed on vertices or surfaces of the object
excellent new software product Ihe screen display, a n d does not under construction.
for the QL will permit you to try move if the viewing position of For a printer screen dump,
out the concepts for yourself. the object is c h a n g e d . Viewpoint has the relevant
'Viewpoint' is a m a c h i n e c o d e control codes built In tor Epson
program which allows you to Mirror Images a n d Seikosha printers.
construct 3D wire objects, then If you d o not have a printer
display the object in two Pressing 'F2' brings a search c o m p a t i b l e with either of these
dimensions (the monitor screen). facility into play, in which the printers, then the codes relevanl
Objects c a n be viewed from computer seeks the nearest to your printer c a n be entered
different viewpoints, a n d you defined vertex from the current as a set of 4 blocks. Unfortu-
can zoom In a n d zoom out, cursor position. The search area nately, there is no way of saving
change Ihe perspective, achieve is only a 9 x 9 grid of the world these codes, so if you d o have
some h i d d e n line removal, a n d coordinates, which, in effect, to enter special codes, you must
save a n d l o a d object d a t a to means that the cursor has to be d o so every time you use
and from microdrive or disc virtually on the vertex point for it Viewpoint. During review. I h a d a
A printer d u m p of the screen to be found. A b u g In the review few problems with achieving a
display is also possible, a n d c o p y meant that the program printer d u m p on my Epson RX80.
Fig. 1 shows the screen d u m p on crashed if a search was This turned out to be related to
an Epson printer of just o n e of requested when no vertices h a d my printer's d i p switch positions.
the example objects supplied yet b e e n defined; this b u g the So my Epson turned out to be
with Viewpoint.
The product comprises a
single microdrive c a r t r i d g e a n d
a 20 p a g e 5" x 3" manual. It is •1EUPO JN i
demonstration of the simplicity
of use of Viewpoint that this
small m a n u a l more than
adequately covers the operation
of the program. The program is
menu-driven, with options
a p p e a r i n g in the menu window
at the base of the screen. Five
main menus are available, -- i - • ——_
obtained by pressing one of the
function keys.
While the program itself is & 1 "5"S6
easy to use. 3D graphics, In RUBICON
concept are rather tricky. Here Compu t e r Sy •: » ?
there are new buzz words to
understand; world coordinates,
spherical polar coordinates,
cartesian axes, vectors, angles O Scroondump ot a jet aircraft example from Viewpoint
and O. Built in to Viewpoint Is a n
option to have some of these
terms displayed graphically. This suppliers promise to remove in ( a c c o r d i n g to Viewpoint) non-
can be d o n e at any time, even
while you are constructing an
all future copies. Each line or
shape c a n a p p e a r in any user
Epson c o m p a t i b l e ! It was a
simple matter to cure the fault cc
object. Pressing 'F3' a n d 'c' defined colour on Viewpoint's ( c h a n g i n g one switch position),
displays a simple c u b e in three b l a c k background. Switching but worth noting if you are using
dimensions, while 'F3' a n d 'a' between QLs 4 a n d 8 colour Viewpoint a n d experience a
displays the axes of a spherical modes c a n be a c c o m p l i s h e d similar problem.
polar coordinate system. Within within the program, diagrams Overall. Viewpoint is a n
these training options, you c a n b e i n g re-drawn to the same impressive package, and. at a
play around with vector R, a n d scale as soon as the m o d e has RRP of £19.95, provides excellent
angles O a n d O. O n c e you have been changed. value for money.
gained a feel for these, you c a n In moving the view position Rubicon Computer Systems, 11
return to constructing your own
object.
relative to the object, the object
has to be re-drawn on the
Bannerdale Road, Sheffield
S7 2DU. 0
57 ZX C o m p u t i n g Monthly • March 1987 57
THE VALUE
OF
Pete Cooke, a u t h o r ot
Tau Ceti a n d A c a d e m y ,
lets us in on some of his
m a c h i n e c o d e secrets.
Having got this table into
Listing 1
memory screen addressing now
b e c o m e s m u c h easier. To get a
screen byte address we only
I REM l o o k u p t a b l e f o r s c r c e n a d d r e s s e s . . . Check. CLEAR x x x x x before runninq
n e e d a short segment of c o d e
10 L E T l o o k u p - 6 3 0 2 4 ! REM #FEO0 i n h e x tike the one in (Listing 2).
20 FOR n - 0 TO 1 9 H REM N u m b e r o f t c r v e n L l n e s o n S p e c t r u m In fact we c a n d o even better
30 LET a " I N T ( n / 6 4 ) i REM 1 / 3 * r d s o f screun than this by ensuring the table
40 LET b " * n - 6 4 * a : REM line* within a block starts at a multiple of 256 bytes.
30 LET c - I N T < b / Q ) i REM c h a r a c t e r clocks
60 LET d " b - B » c i REM l i n e w i t h i n character block
In that case the low byte of the
70 LET a d d r e * K - 1 6 3 8 4 + 2 0 4 B * a + 3 2 « t . + 2 5 6 » d table's address is always 0
80 POKE ( l o o k u p + 2 * n > . o d d r o s s - 2 5 6 * I N T (addi ess/256> (Listing 3).
90 POKE U o o k u p + 2 * n + l ) , I N T Uddross/'256i Although this looks as long as
95 POKE a d d r e s s . 2 5 S i REM s h o w s t a b l e b e i n q g e n e r a t e d . . . d e l e t e later' Ihe first version there are several
100 REM p o k e i n t h e b y t e s i n l o w h i q h o r d e r improvements. First the DE
110 NEXT n
120 STOP
register pair is not used. Second
130 SAVE " y t a b l e " C 0 D E lookup,384 most of Ihe instructions are
single byte instructions which
operate m u c h faster a n d take
I » n e of the most effective 95 POKE ADDRESS,255 up less s p a c e on a Z80.
techniques in m a c h i n e c o d e is fills the first byte of e a c h line of Finally here are 2 simple
the lookup table. In Basic lookup the screen as the program examples using the Ytable
tables correspond roughly with calculates it's address. lookup, the first is a fancy clear
single-dimension arrays holding When the program has screen (this won't touch the
tables of data, for example:— finished type GOTO 130 to save attributes) (Listing 4) a n d Ihe
10 DIM A (20) the table. second is a routine to pixel
20 FOR N=1 TO 20 I normally store a table like scroll a window upwards (Listing 5).
30 READ A(N) this as high in memory as The b e a u t y of lookup tables
40 NEXT possible but if your assembler is for screen addresses is that, with
50 DATA < whatever you w a n t > stored at a high address then the table in memory, graphics
In m a c h i n e c o d e lookups are c h a n g e the value lookup to routines b e c o m e m u c h more
m u c h more c o m m o n as they somewhere safe below il (it's best straightforward a n d dozens of
give a way of evaluating to use a multiple of 256 for routines in a long program c a n
complex functions w i t h o u t reasons e x p l a i n e d later). use the same table.
writing masses of complex code.
Two g o o d examples ot the use of
lookup tables that spring to
Listing 2
o
mind are SIN tables a n d SCREEN
ADDRESSES.
10 ORG •cooo
z
20 ENT ttCOOO
3 0 YT A B L E E O U ttFEOO ; W h a t e v e r l o o k u p i s
5
o
90 *
w a t c h i n g a SCREENS l o a d i n g will 100 G E T A D D L D L.6
have seen that the display lines
at
1 10 LD H, 0
are stored in a non-sequential
fashion a n d a great d e a l of time 120 ADD H L , H L ; 2 b y t e s in e a c h t a b l e
Q. a n d eflorl is n e e d e d to write a 130 LD D E , Y T A B L E j B a s e o-f t h e t a b l e
last a n d efficient routine lo work 140 ADD H L , D E ; F r o m o-f-fset i n t o t a b l e
out the screen address of any 150 LD A , ( H L ) ;F'ick u p l o w b y t e
line. 160 ADD A , C ; A d d o n c o l u m n o-f-fset
A m u c h simpler way is to 170 LD E , A ; I n t o l o w b y t e o-f D E
Ot generate a lookup of screen 180 INC HL ; P o i n t HL to hiqh b y t e
addresses in memory. I normally
use a short BASIC program to d o 190 LD D . ( H L ) ; P i c k it up
O this. (Listing 1). 200 EX D E , HL ; T r a n s f e r to HL
UJ As a n a d d i t i o n a l check thai 210 RET ; Done
Q. the program is working the 220 s
00 line:—
Listing 4 440
430
460
470
: a l l t h e above t e s t a c o u l d
tbe cut out in a f i n i s h e d
! p r o g r a m where you a r e s u r e
t t h a t t h e window s u e
in or.G «LO0<1 480 l i s alwovr. l e n a l .
20 L"Ni iiC-'Oi'
30 wrc-.H' : Mlin t c i " IbOhm is 490
40 y TAfeLC EOU 500
50 510 LD L.B ipick up the y s t a r t
60 l E r a m p l e 1. 320 LD H.O : i n t o HL
7o i U s i n u G( T A D D t o r .. t * n t . v L I l - a i t - I ' O C t i 530 ADD HL.HL (times i t bv H to
80 : < A 1 1 r i b u l e t . n o t touched> 540 ADD HL.HL (convert to a p 1 ::e 1 00s
90 t 550 ADD HL.HL (
l u O FANCY LD B , 192 s No o f t c r e « n 1 m u t , 360 t
no LD C.0 570 ADD HL.HL sand double this to
120 i 380 sIndex into the viable
130 F .LOOP PUSH tfC ( S a v e t h e c u u n t e r 590 EX DE.HL (switch to DE as no ADD IX.hl
131 DEC B ; A * DJNZ o n l y l o o p - , t o [«•] 600 1
140 CALL CETADD : H L » a d d r e s t . o f line o 1U LO IX.vrABLE
170 LD B C . 3 1 : One l e i t . t t u r i n o o f b v t e * / l i f n » 620 ADD IX. DE tPoint IX to thc>
1B0 ( 3 2 U y t o ^ o n e a c h l i n t / 630 :r1gh t place tn the ytable
190 LD C.L 640 EX DE.HL ;qnt DE back
200 LI) D . H ; C o p y HL i n t o DE 650 t
210 INC D t t O E 16 d e s t i n a t i o n f u r L D l f c ft60 LD A,!> ;now convert character
220 LD (HL).O : C l e a r the l e f t m o s t bvte 670 ADD A,A (depth into number
230 LDIR (And c o p v i n t o t h e o t h e r 32 08O ADD A.A (of pixel lines
240 POP t<C ( G e t line c o u n t e r b a d 690 ADD A,A
230 700 DEC A twe move one less than this
260 HAL 1 ; A b h o r t d e l a v . 710 LD D,A ;put t h i s counter into &
270 DJNZ r LOOP (L.Oof u n t i l clone 720
IBO RET 730 (
290 /40 Now B NO Of P1K«1
300 &ETADD LD L,B 750 lines to move
310 SLA L 760 C = X s t a r t poi Of
320 LD A,YTABLE/»10O 770 the window
330 ADC A . 0 700 E - Width ot th*
r.4o I.D H.A 790 window
330 LD A.(HL) l)W IX Points to th*
360 ADD A.C aio position in the
370 INC. L 820 Ytable
380 LD H, ( H L ) 830
o
390
400
LD La A U40 ; the loop below moves each pixel lint* UP 1
RET 850 PIXSC1 PUSH bC :save these registers
Z
410
: 860 PUSH DE las they are corrupted by
870 : t h i s loop
880 LD B,E iget width into b for inner loop
Listing 5
890 LD A,C (9et byte position
900 ADO A. (IX) tof s t a r t of this
910 LD E, A ; p t ::el 1 ine to
920 LD D.CIX+l> t DE rog palr
930 LD A.C (and byte addross m
10 0R(j NC000 <
20 ENT 0C000 940 ADD A,(IX+2) (Of s t a r t of line below
3 0 YTABLE EOU :Whatever
«FE00 l o o t up is 950 LD L.A | i n t o HL register
at
O
40 I 960 LD H,CIX+31 (pair
50 t T h e s * 1 i r i f i f o r m a 9.70 t
O
60 I s h o r t t e s t f o r t h e 980 P1XSC2 LDI (copy (HL) to (DE>
70 t r o u t i n i ' . 990 DJNZ PIXbC2 (for width ot window
00 t 1000 t
90 LD BC.N0208
1010 INC IX (step pointer to ot
100 LD DE,*lO10
1020 INC IX incxt line
110 CALL P1XSCR
1O30 POP DE a .
120 RET
1040 POP BC (restore both req's
130 t
1030 DJNZ PIXSCl (back to move ne»t line
140 iPlxol Scrol1 a window
1060 1
130 I upwui'dt. . . .
1070 LD A.C ( t h i s is byte address of
160 I
1080 ADD A,<IX) (bottom l e f t hand corner
170 t Entrv B ystjrt
1090 LD L,A (Of the window ot
LD H, (IX+11 1 Into HL
O
I lOO
180 I C KtUrt
190 ( D Depth
1 1 10 LD B,E ( width to £> again
200 i Width
1 120 PIXSC3 LD (HL1,O ( f i l l bottom line
210 t
e 1130 INC L (with zero's 111
DJNZ PIXSC3
220 ( A l l hiliMmi'tCr'S i n
2 3 0 ; C h l i * A c t « r P o s 1 11 t i n s
1 140
1130 RET 1 finished.... a.
i/>
; ACROSS;
various times throughout the
course of the weekend. (Once
a g a i n I have b e e n asked to
l e a d one or two of these
discussions. I h o p e to have the
c h a n c e to meet many of you at
that time.)
•POND:
TI-IIEI One of the more popular
events which c o u l d have used
more time last year was a swap
meet in which participants
c o u l d swap any form of
software/hardware which they
wanted. As last year,
arrangements have b e e n m a d e
to assure that there will be no
Illegal c o p y i n g of copyright
software. Those c o m i n g to
Indianapolis should be
Mark Fendrick previews was the first a n n u a l Midwest
Tlmex Sinclair Computer Fest
p r e p a r e d to bring those Items
which have b e e n gathering
America's largest hed in Cincinnati. Ohio.
Vendors who a t t e n d e d this
dust, a n d possibly m a y be
lurned Into something you c o u l d
Sinclair show. event all c a m e away from
Cincinnati with the feeling that
use. This m a y be the opportunity
you have b e e n waiting tor to
irstly I want to answer those ot there still is a great d e a l of obtain that product you never
you who have written to ask why interest amongst the Sinclair purchased before It was taken
this c o l u m n has not b e e n computer owners In keeping off the market.
a p p e a r i n g every month. This was their units viable. A few new The date for this o n c e a year
not because Bryan h a d asked products m a d e their event is the weekend of May 2nd
for less columns, but because of a p p e a r a n c e at this show, a n d a a n d 3rd.
the situation c o n c e r n i n g the number of exlremely well For more information
Sinclair market here in the attended lectures rounded out c o n c e r n i n g the show Itself,
United States, In short, since the weekend's schedule. All i n c l u d i n g rates for tables for
Sinclair has left our part of the predictions of the long a w a i t e d dealers, absentee a n d user
market, a n d Amstrad has no demise of the Sinclair computer groups, contact show organizer
interest in promoting Sinclair in the States were o n c e a g a i n Frank Davis; 513 East Main Street;
technology in North America, put to rest. Peru Indiana 46970. Please
nothing much has h a p p e n e d . include a SASE to help defray
The number of Sinclair dealers Mid West Fest the costs of postage. I h o p e to
has remained about the same see all of you there In
— or even h a d Its numbers While other shows were p l a n n e d Indianapolis.
reduced. New sales of Sinclair across the country, none ever I have a number of new
computers — mostly the QL — got ofl the d r a w i n g board, but software p a c k a g e s which have
continue to b e to current the Second Annual Midwest arrived recently which I will
Timex/Sinclair owners who have Timex Sinclair Computer Fest has report on In the next few
d e c i d e d to u p g r a d e from their been announced. columns. A m o n g the programs
T/S 2068. Frank Davis, one of the are music composition tor the T/S
There are sfill a handfull of organizers of last year's 2068, a number of new
new products b e i n g developed, smashing success has informed telecommunications products for
but not In sufficient numbers to me that this year's gathering will the entire product line, a n d a
a p p e a l to new home computer be even b i g g e r a n d offer more step in the direction of desktop
buyers, a n d lack of IBM to the dealers a n d e n d users publishing on the QL. I have
compatibility turns most than the first fest. b e e n Informed that there are a
potential customers off. The The site tor the 1987 affair will few products which will b e
microdrives which were Sir be the Holiday Inn North in released In the next few months,
Olive's personal favorite have Indianapolis, Indiana. This a n d as soon as I receive my
proven unreliable a n d many location has many improvements review copies I will give you my
computers which test out fine by over last itme. Since many Impressions.
the dealer arrive at the mail attendees c a m e by way of air For those of you who want to
order customer In a n (more than h a d ever b e e n let me know a b o u t new products
unworkable condition. expecled) the long drive from that you have heard of, or new
But before you all start the airport cost many more for a p p l i c a t i o n s that you have
thinking that I have given u p on the taxi ride than the airfare. The discovered, let me remind you
the Sinclair computers, let me Holiday Inn is not only m u c h how to get in touch with m e By
assure you that nothing is further closer to the airport, but the mail I c a n b e r e a c h e d at:
from Ihe truth. More than three hotel supplies a shuttle services Mark L. Fendrick
years a g o I promised that North from the airport, Post Office Box 2392
American Sinclair computerists square feet of show s p a c e Secaucus. NJ 07094 0992
will always be a b l e to find d e d i c a t e d to the show as USA
support here, a n d rather than o p p o s e d to the 2400 which was Electronically I c a n b e found
dwelling on what Is not. we shall taken up in Cincinnati. There will on THE SOURCE (BCA632),
seek out all the new h a p p e n i n g s be tables available for vendors CompuServe (76417.3264); DELPHI
a n d report on them here in ZX a n d users groups so that all (MARKFENDRICK); by n a m e on
C o m p u t i n g Monthly. possible aspects of the Sinclair MCI MAIL or via telex (via WUI)
Last year one event proved c o m p u t i n g community will o n c e 6502163495. (Products for review
more of a shot in the arm than a g a i n b e represented. may b e sent to the above
any other h a p p e n i n g . That event Because the lectures a n d address as well — hint).
, IMimx
your way, For the lirst time
Ultimate b e g a n to I n t r o d u c e
mm series of o b s t a c l e s that n e e d e d
to b e m a n o e u v r e d past (floating
1 u#
gas bubbles a n d swinging
B ropes), a n d g a v e the S a b r e m a n
the a b i l i t y to j u m p so that the
m g a m e involved m o r e t h a n just
shooting monsters a n d
c o l l e c t i n g objects. Now you h a d
to stop a n d think a b o u t where
OCT V Vil s you were g o i n g a n d how to get
aid
there, a n d this a d d e d a n extra
\ a i k V i J? e l e m e n t of difficulty to the g a m e
W W / /
that h e l p e d m a k e it even m o r e
addictive.
/ At this point you'd expect the
(oucth a n d tinai g a m e to b e
Knight Lore, w h i c h was the next
g a m e that Ultimate p r o d u c e d as
welt as b e i n g the fourth in the
Sabre M a n s e q u e n c e (and my
personal all-time favourite).
Unfortunately Knight Lore has
a l r e a d y b e e n i n c l u d e d on
another c o m p i l a t i o n , so this o n e
jumps forward to Alien 8. the
g a m e w h i c h c a m e directly after
Knight Lore.
Alien 8 is Ihe robot w h i c h you
control in a n attempt to save a
s p a c e ship from p l u n g i n g into a
star A b o a r d the craft are the
records a n d last survivors of a
d y i n g planet who put
themselves into c r y o g e n i c
suspension while their ship
sought out a new h o m e world.
But of course c o m p l e t i n g your L i 0 f I t c r
lask involves getting past the
strange creatures w h i c h
Alton 8
p o p u l a t e the ship, a n d finding
your way through the d e a d l y
traps w h i c h o c c u p y the
f 05 cryogenic chambers
By the time they p r o d u c e d
Alien 8. Ultimale's reputation was
at its height, With its two most
recent g a m e s they h a d
p e r f e c t e d a style of 3D g r a p h i c s
that were revolutionary, a n d
w h i c h has more or less b e c o m e
a d o p t e d as the 'standard' way
of presenting 3D graphics:
V Movie, Batman, Sweevo's World.
Nexus, Prodigy a n d m a n y other
g a m e s are simply variations on
the format that Ultimate
pioneered, a n d Alien 8 has still
to b e bettered in its c o m b i n a t i o n
of p r o b l e m solving, difficult
obstacles, a n d d e t a i l e d
graphics.
Sadly. Ultimate never really
progressed from this point a n d
Undeiwurldo while they've p r o d u c e d some
g o o d g a m e s since they've b e e n
u n a b l e to get b a c k to the p e a k
that they r e a c h e d with the
g a m e s on this collection.
V a c r o l H v Because these g a m e s were so
+ influential, p e o p l e who have
only gotten into c o m p u t i n g In
the last c o u p l e of years are
JI T .I M E . likely to b e more familiar with
the large n u m b e r of g a m e s that
o o o : 4 9 have c o p i e d Ultimates originals,
but these g a m e s are still a m o n g
000155 the best ot their various types, so
this c o m p i l a t i o n is worth getting
if you're at all interested in
arcade/adventures.
1 V-> v-> /
cl-i
P5
M . '•IP
Alic A t a c
ULTIMATE G A M E S
SUBSCRIPTION SAVINGS FOR YOU!
Name
Address
ZX C o m p u t i n g Monthly • M a r c h 1987
96 PAPER 7:INK OrBORDER 0: l o a d e d . When the whole The Writer text file, the m a x i m u m
CLSiCLEAR 25631:LOAD " a r t 2 " jram is l o a d e d , use the number of characters per line
CODE BREAK key to g o to BASIC a n d must b e 60. not 64 as stated in
enter POKE 64034,1. the h a n d b o o k . A full Artist II
SAVE "artistli" LINE 96:SAVE "art2" (You c a n n o t j u g g l e with the screen still covers 32 characters,
CODE 26000,39536. bit-image d a t a in this program so you will n e e d to take a c c o u n t
as they are transmitted by of the fact that a screen takes
Pagemaker l o a d i n g A with a number, slightly more than half the width
followed by RST 10H. To c h a n g e of the page.
The separate Pagemaker has the the 0 d a t a , you would n e e d to If you wish to use the Page-
same bit-image error. If you have r e p l a c e a one-byte Instruction, maker. you will have a copy of
a Kempston E interface, ignore XOR A, with a two-byte one. The The Writer, a n d those with a
Ihe Instructions in the h a n d b o o k d a t a in the m a i n program is Kempston E interface will also
lor making a customised copy, h e l d in a t a b l e of values w h i c h have found that this does not
and p r o c e e d as follows. are easily c h a n g e d ) . work. This Is because, despite
Load the Pagemaker from the You c a n now save a back-up the h a n d b o o k , the c o d e in The
tape. As soon as the Instructions c o p y of the program with: Writer is for Kempston S. To get a
for customising a p p e a r on Kempston E g o i n g with it, you
screen, stop the t a p e a n d use SAVE " p a g e m a k e r " LINE 20: n e e d the bit of c o d e in figure 1,
the BREAK key. (i.e. before the SAVE "fonts" CODE 29696,3072: a n d to l o a d it into the program
blocks of c o d e are loaded). SAVE " s c r c o d e " CODE at 47714.
Change the number of LINE 20 47000,1275: SAVE " s c r d u m ^ 1 I don't normally think it is a
to LINE 21. A d d CODE 64000,107: SAVE "write- reviewer's j o b to d e b u g
l o a d " CODE 39700,45. c o m m e r c i a l software, but this
20 COPY:REM CHR$ 0 suite is so useful that It is worth
Your customised Pagemaker will the time a n d effort to get the
Enter GO TO 20, start the tape, work perfectly, except that you programs working properly.
and the blocks of c o d e will be must remember when m a k i n g
A
Spectrum +2 Machine
Language for the
Absolute Beginner
Melbourne House
£8.95
^SSML
peppered with short routines, but routines w h i c h achieve
most of them simply show that if something a n d show the reader
you l o a d a c o u p l e of registers how to b u i l d on the examples to
with numbers a n d a d d or make their own routines This
subtract them, you get the right chapter, a n d the sections on
answers. The beginner might b e m e m o r y p a g i n g , will be useful
forgiven for thinking thai you to anyone, even the more
could d o most of this In half the experienced machine code
time with a calculator. user, who is new to the 128K a n d
There Is a n excellent chapter +2. Despite the title, I think Joe
on hex, binary a n d d e c i m a l Pritchard is more familiar with
arithmetic, a n d it shows clearly the 128K model, b e c a u s e he
how to c a l c u l a t e the conversions talks of a m p l i f y i n g the sound via
from one to the other, w h i c h Is the ear/mic sockets which, of
just as well. Most of the course, the +2 does not have,
examples are in d e c i m a l , there a n d there Is no mention of the
Is a d e c i m a l loader a n d no hex +2's sound socket.
loader, but the tables of If you are new to the 128K or
opcodes a n d instructions are in +2, then get this book. If you are
hex a n d there Is no conversion a m a c h i n e c o d e novice, buy it
table. It seems a certain recipe for its clarity, but get another at
for disaster to expect the the same time with better
beginner to c a l c u l a t e conver- examples. This o n e tells you all
sions between conventions. a b o u t Z80 instructions but
There is a s p l e n d i d chapter nothing m u c h a b o u t
on Interrupts w h i c h makes the programming.
use of vector addresses
absolutely clear, but a g a i n the
examples only show how to a d d Carol Brooksbank
65 ZX C o m p u t i n g Monthly • M a r c h 1987
STREAMS
AND
If you thought that you
couldn't use the ZX
Printer with your new
128 then Toni Baker can
CHANNELS
prove you wrong.
V his article contains not one, if you don't have a Spectrum 128 c o m m u n i c a t e freely with a QL
but two new channels which you then you don't n e e d this new via the Local Area Network
c a n use on your Spectrum. The c h a n n e l of course, because you a v a i l a b l e from the ZX Interface
first is a channel which enables c a n use the ZX Printer anyway. One. Of course c o m m u n i c a t i o n
users ot the Spectrum 128 (or the The second Is not really a between these computers via
128+2) to be a b l e to use the ZX new c h a n n e l at all, but a the network is already possible,
Printer — or some other modification to a n existing a n d David Nowofnik has recently
c o m p a t i b l e printer such as an channel. It enables the b e e n d o i n g a n excellent series
A l p h a c o m — even in 128K mode. Spectrum to be a b l e to in ZX C o m p u t i n g on that very
task. It Is not my intention to
Figure 1 d u p l i c a t e any ot his material,
but merely to remove a c o u p l e
ix • oo (2 bytes)t Z_HIIKT Address of channel "Z" output. of deficiencies In the channel
IX • 0? (2 bytes)l REP0HT_J Address or channel "I" Input. Itself. We'll return to this later,
IX • 04 (1 *yt«)i Z_KAffi S u » of channel (1« "Z"). meanwhile back to the ZX
IX • 05 (2 bytes) t Z_IIO Constant 12J4H identifies new channel. Printer.
IX • 07 (2 bjrtes)t Z_CL0SE Address of close buffer routine.
IX • 09 (2 bytes)i Z_LEH Length of channel Info (ie 010E).
IX • 0B {1 byte)t Z_FLACS Various flags. Channel Z
The program as such begins at
Bit 7» Set if leading apace not reqd for keywords, reset otherwise. address B544. If this seems a
Bit 61 Not used. rather arbitrary address to you
Bit Rot used. then I should explain that the
Not used.
reason it starts at B544 is that all
Bit 4t
the c o d e follows on from the stuff
Bit it Set If IKVtSSE status to ON, reset otherwise. In last month's article (which ran
Bit 2i Sat If 0 V W status ia OK, reset otherwise. from BOOO to B543). Indeed, some
Bit It Set If exactly two additional parameters required, reset otherwise. of the subroutines developed
Bit Ot Set If exactly one additional parameter required, reset otherwise.
last month will be used In the
routines given here.
The trick to using the ZX
IX • OC (1 byte) t Z_XCOCRD X coordinate of print poon In buffer.
Printer on the 128 Is to avoid any
IX 4 OS (1 byte)s Z^wiDTH Width of buffer (ie 20h). possibility of erasing or
IX + 0E (lOOh bytes)t Z_BUKKE* New printer buffer. corrupting the OLD printer buffer
(addresses 5B00 to 5BFF) — this Is
ORG B544 because the memory in this
Z_CL0SE
range Is used by the 128 to store
DD7B0C LD A,(Z_XCOORD) At" x coordinate within buffer.
various p a g i n g subroutines,
17 AND A system variables, a n d a n
ce RET Z Return lnacdlately if buffer empty. alternative m a c h i n e stack for
use when accessing the vast
banks of p a g e d memory. If we
CRC B549 c a n arrange things so that we
DDE5 Z_ HEVtIKE PUSH IX c a n avoid corrupting this
El POP KL KLi" address of channel Info.
memory then the g o o d old ZX
Printer c a n still work normally.
010E300 LD BC.OOOE You see, all of the ZX Printer
09 ADD KL, BC HLt points to new printer buffer. software in the ROM was written
rj DI Disable intsrrupto. before fhe advent of the 128 a n d
is not c o m p a t i b l e with the
0608 LD B.Ofl requirements of the new
C5 Z_ NL_LOOP POSH BC machine.
CD7JB5 CALL B575,Z_COP*_LINE Output next row to ZX Printer. AH we really need to d o then
CI POP BC is to create a NEW printer buffer
DJNZ Z_NL_LOOP Output all eight rows.
somewhere in memory, a n d use
10F9
fhe new buffer instead of the old
o
6p Z_CHR_1 LD L, A must contain the stream number
2600 LD H,00 to which the c h a n n e l is to be
ADD HL, HL
a t t a c h e d a n d the subroutine will
z
29 d o the rest. It makes use of
s
29 ADD HL.KL another subroutine from last
29 ADD HL, HL article - the OPEN NEW routine
s<
ADD KL,DE HLi points to required' graphic form.
which will o p e n user defined
19 channels
DD7E0C Z_CHR_1 LD A , (Z_XC0CRD) A m current x coordinate in buffer.
FE20 CP 20 Channel Q
o
PUSH HL
E5 When c o m m u n i c a t i n g with the
OC CC49B5 CALL Z, 2_NEVLING Print a newline if buffer full. QL via the normal network
c h a n n e l you will notice a
o
D1 POP DE DEi points to graphic form.
OT7E0C LD A,(Z_XCOORD) At" current x coordinate in buffer.
c o u p l e of problems The first Is
that on the Spectrum the c o d e
oc 5C
DD770C
INC A
LD (Z_XCOOHD),A
A:* new x coordinate.
Store in system variable.
for "enter" is OD (thirteen),
whereas on the QL the c o d e for
a C60D ADD A,0D "enter" Is OA (ten). This means
LD C,A that, for instance, PRINT AS on
4P
the QL c a n n o t be m a t c h e d by
0600 LD B, 00 BCia displacement to posn In buffer. INPUT AS on the Spectrum, nor
DDE5 PUSH IX vice versa. It is normally
El POP HL HL: points to channel information. necessary to use PRINT
AS;CHR$(13); on the QL in order
ADD HL, BC HLi points to current ponn In buffer.
09 that the Spectrum m a y use INPUT
O 0608 LD B, 08 A$. Conversely. INPUT A$ on the
LU
a. EB Z_CHH_LOOP LX DE,HL D E m current buffer position; QL needs to be m a t c h e d by
PRINT AS; CHRS 10; on the
co
HLl points to graphic form.
Spectrum.
Printer Tip
IMSIII;
If you have a 128K and a HRS
printer, entering, either as a
direct command or as pro-
gram lines the commands FORMAT
p;300 and POKE 23391.3002 will enable
Ihe printer tor LUST. LPRINT and COPY
The copy is double height and the
/erky, and STOP barely worked until Ihe —2 eliminates the /oin between lines. It
Out In The C o l d machine warmed up. However. I got on is also advisable to re-enter or re-run Ihe
with more important things ,.. commands after each job because Ihe
Does your Spec/rum feel Ihe Tasword 3 duly arrived on disc — no tirst COPY line may (but not always) be
cold? My +2 does! As soon as problems: N and M line trom Ihe word a little squashed
I had bought m y n e w toy, I goi Well, that's not unreasonable Tas- K.S Schimmel. Nottingham
rushed to try it out, switched on. tried lo word 2 uses interrupt mode 2 to scan the
type things in ... Capital N and
M (or NEXT and PAUSE if K cursor was
capital keyboard;
mode 3. "Maybe
Tasword 3 uses interrupt
the beast reacts dif-
Writing G a m e s
selected) retused to work, although "n" ferently in the two modes" thought I I have had a Spectrum 48K+
and "m" were quite all right. Capital
was tine, but STOP (symbol shitt and A)
A And once again,
things.
got on with other
E tor live months and looked at
several computer magazines.
also tailed. Rushed back with my new Shortly after, Tasword +2 arrived, also I picked up a copy ot ZX recently
loy to Evesham Micros (bless 'em). Just on disc. This time. I was, and am m real and was impressed with the amount of
the same problem, but it soon vani- trouble. Although it uses interrupt mode varied programs in the magazine
shed they had a hot-air tan heater /us/ 3. lust like Tasword 3, but this time in 128K What I have in mind is lo produce a
u n d e r the counter: Ihe fault seemed to mode. Ihe results are quite different. "M". game of my own and I greatly appre-
disappear when the thing warmed up "N" and STOP" are fine. But. instead, the ciate Ihe utility programs. May I say
We tested their new cold stock, which "cursor-up" key takes almost an hour to again lhat I find your magazine excel-
also behaved in the same curious way. come to fruition! I guess this is a prob- lent and I will be placing a regular
tor a minute or two, no "M", no "N", then lem which is worse for me than most. I order.
litlully as it warmed up. then all right . keep my +2 in a cold, cold garret. PS Are there are any books you
Now, "N" and "M" are associated Back to Evesham Micros (Ihe long- could recommend on writing games?
with extra circuits which include several suffering Cotteridge branch, this time) Ian Barrass. Hull.
diodes and provide single-key entry Further new (and cold!) slock (totally
comma and lull stop: I've modified key- different, much later batch) was tested Two tilles on Ihe ZX shelves thai
boards in this way in the past. So I with their rather smaller power supply, may be of interest are How to
guessed that perhaps the diodes had with mine, with my Discovery unit: as Wnle Spectrum a n d Spectrum
a strong temperature coefficient, and many combinations as were possible. + Games Programs by W Simisler
their characteristics changed drastic- No dilference. they behaved just the (published by Bernard Babani) which
ally w / i e n the Spectrum was turned on. same as mine. concentrates on writing computer
However, it wasn't loo much bother, and Help! Does anyone know what's versions of traditional b o a r d games
I didn't worry too much. going on? Do Ihe old 128's behave in a n d Spectrum Gamesmaster by Kay
I did notice that tor Tasword 2 there Ihe same curious way? Ewbank, Mike James a n d SM Gee
were rather similar effects, but not as I guess I'm going to have to keep my (Granada Publishing) which shows how
bad. So. on loading this in. I found that +2 warm in future! to master Ihe rudiments ol Frogger a n d
al tirst capitals M and N were rather John Wase. olher simple a r c a d e games. — Ed
73 ZX C o m p u t i n g Monthly • M a r c h 1987
LD E,A article, a n d supply a simple
ADD HL,DE program of the "Kingdom" kind
POP DE for those who want something to
work on to use as a driver for
JR RET their graphics. The listing is
FILl : IMC DE ;routine to f i l l fcytno
given in Program 3. The purpose
LD A,(DE) of the g a m e is to a c c u m u l a t e
LD R,A £100,000 by astute, if somewhat
RACK: LD (HL),255 shady trading practices. The
IMC HLHL scenario is the South China
DJNZ RACK Seas, but c o u l d lust as easily be
JR RET smuggling a l o n g the Cornish
coast, or whatever. Your ship c a r
hold 50 units of cargo, the
PROGRAM 3 buying/selling price of which
fluctuates. You start with £500 of
1 REM T f l d t f from iot) tv qaq-lNT (RND*q> PRINT 80,"YOU C your own. plus £5,000 you have
o . . floods ari o n l y i t I I ";q PAUSE 1 0 0 INP
10 PPINT TPAOEP I N P U T "Lih 0 UT , [ borrowed a n d must ultimately
is the Cat-lai n ? " , n t CLS £150 LET b = b + P * q LE"L<.'«U+< IF pay back. Interest is a d d e d to
37 LET i $ . LET laO LET P*="G" THEN LET g = g - q this whenever you c h a n g e ports.
t = 5 0 0 : LET y a S O O O L E T UaSO LE ££io IP p ® a " A " THEN LET a * a - q
• 9=0: i_ET »iO LET i iO LET u =0 £ £ £ 0 IP Pt>"$" THEN LET i = » - q Oh yes. You may run into storms
L E T taf L E T l«l co sue soop £ 2 3 0 IF p » a " U " THEN LET w s w - q
55 CO SUB 9 3 0 0 £2*0 IF P$="0" THEN LET OSO-Q en route a n d lose part of your
100 P P I N T AT O , 1 0 ; n s Bam £ 1 4 . 5 IF b> 1 0 0 0 0 0 A N D y « 0 THEN GO cargo.
»" b+y,i» "Bflfrcwtd TO 9 0 0 0
» yj£» CtC» i P J C f ' . W . l l
11 0«".' , I j • •General C a r g o
"LOCJ £ 3 0 0 CO T O 9 5
3010 LET t . t + 1 LET i » I N T <y+.l>
The program, which will run
O r » » " , « , i » " S i l t , " , ! , I S "Uhi£»y LET y«y + i LET as listed, is in a very simple
V S I OPIU»",O,S» PRICES 3 0 2 0 I N P U T AT 0 , 0 ; " P o r t s l.Hong
format with a simple text screen
S-. r.f-al 5 , p (1>, j » " S'«S I";p i-or.g Singapore S.Macao A.Ba
£ i t fi: U 1";P(3) St ^ 1 s r, i o » 3 . Sti a n g h a i " ; l display. As listed it takes up
•V » " , P * 4 > , t » ' i u a P ( 5 > , 3 0 5 0 GO S U B 9 9 0 0 : I F R N D > , 2 5 THE
some 3K, but this c o u l d be
11 N GO T O 9 7 0 0
ii
110 PPINT
},$»ii"'r
"'OPTIONS Buy 2.St
Borrow"
3 0 9 0 GO T O 9 5
a 0 £ 0 INPUT B o r r o w or EkpayiR)*
shortened considerably using
flNC- l » H "tc * the byte-saving tricks I
120 INPUT "Choott your opliort 404.0 I F C » S " B " THEN CO TC 4500 demonstrated earlier In this
1 7 0 0 0 TO : # 1 0 0 0 •1050 I N P U T "HOW •och" series. There are a few error
1000 I N P U T Uh»l JO y o u w a n t " •1030
55
L E T y ay - p LET b = b - » CC TO
checks. Writing these in is a
P t
1 0 - 0 ^ £ T p u p 111 A N D p | « " 0 " " ' P ' 4,500
4530
I N P U T "HOW
LET y = y + n
»ych? ";«
LET bab+» CO TO
g o o d p r o g r a m m i n g exercise. I
£ S N D P i = " A " I • ( p i 3< A N D o f 5 " <
- t ' i : AND P $ = " U " P • ( p ( 5 » AND P S a 95 leave it to your imagination to
"0" i 9005 CLS P P I N T "YOU c a n r i l i r t a d d the scenes using picsave,
1075 PPINT 8 0 , "Vow car. a f r o r c t . " I l h »100,100. You t o o l M i
INT P>» PAUSE 1 0 0 IMPU »OVt", C'l" AND t < > l » STOP compactor, or any o f the other
T ,
q
INPUT HOW t j n v JO y o u want 9710 PPINT 30,"STORM""
0 INPUT ,
PAUSE 10
I F R N D c . S T H E N CO T O techniques I've e x p l a i n e d
1 1 5 5" L E
—T LET b=b-<q+P' 9730 earlier.
1170 IP P S a ' G - THEN LET gag+q c.74,0 O P I N T a o , " M a i r y o u r cargo t
1100 IP p » s " A " T H E N L E T a =.a+q S lost" PAUSE 100 INPUT ,r LET One last bit of help, though,
1190 IP P $ « " 5 " T H E N L E T i = i +<i 9 =INT <g/2> LET a aINT (a/2) L
with PRINTS a n d INPUTs. Printing
I" P » « " U " THEN L E T W aw + q ET S • INT "i/2>: LET WSINT hi/£i .
i £ 1 0 IF P » a " 0 - T H E N L E T 0 ao + q LET.0'IHT <o/2»: LET y=50-'9+a+ to the screen (with speech
OC T O 9 5 t +w+0) GO T O 9 5
0 INPUT 'Uhat do yov war.t to 9 7 3 0 P R I N T 8 0 , " S T O R M OUER. ALL 0 bubbles if you wish) is quite
1 ' , Pt .K." PAUSE 1 0 0 INPUT , GO T O easy. Simply use
* V * 0 I P RNC> , 7 T H E N PRINT so IC
•ry - buyc j - PAUSE 100 Inpu 9 ? 0 0 D I M p 151
<15+1'
LET P ( 1 ) a I N T
LET p (2) a 1 0 * INT
<RND
( P N D * 14- +
PRINT AT r, c; " t e x t "
CO T O 1 0 0 5 I LET P ( 3 ) = 1 0 * I N T 1RND* 7 0 0 + 3 0 ) where r=the row, a n d c = t h e
£050 lET p j ' p ' l l ANC' P » a " G " + 'p'
£ AND P L A " f l " ) + I P ( 3 ) AND P S « " S " »
L E T P <4.) - 1 0 0 4 I N T
ET F l S ' a l O O + I N T
(RND+26 + S)
(RNDf91+10' PET
L
c o l u m n you wish the text to
•„ 0 ..
p( i . A N D P S B - - U " ) * IP ' S i A N D P t = UPN " appear.
9 9 0 0 L E T l t > ( " H o n g K j o n g " «ND 1=1
£120 INPUT "HOW «any to J t l l " + ' S i n g a p o r e " AND i*2>•<"Macao" For inputs you'll n e e d to use a
q AND i s 3 • t " B a n l o n . " AND
1 l = 4 i «• < " 5 subroutine to simulate the
21"0 I" q >1 AND RND>.7 THEN LET h t t j h a r 1 AND l a 5 » RETURN
normal input routine, but
wherever you want on the main
by a d d i n g up all the c o d e 65305, PEEK 23670: POKE 65306, screen. A d d Program 4 to your
lengths you noted, a n d a d d i n g PEEK 23671: POKE 65326, c: INK main driver program, a n d set r
67. (This Is for the m a c h i n e c o d e c-INT (c/8) '8: PAPER INT (c/8): a n d c to the row/column you
you'll need later to " u n c o m p a c t " RANDOMIZE USR 65301: RETURN wont the input characters to
them). Let's call the answer T. where variable a Is the d a t a appear, before you c a l l the sub-
CLEAR PI, then l o a d in the first start of the picture you want to routine. C o d e 12 Is delete (see
c o m p a c t e d c o d e to address T call (noted when you m a d e the p.163 of your manual) so CHR£ 8
using one long c o d e length), a n d c is (cursor left) is used to b a c k s p a c e
LOAD "title" CODE T the b a c k g r o u n d attribute value before printing the replacement
Load in subsequent used in the compactor program character. C o d e 13 in line 9995
c o m p a c t e d codes, a d d i n g the (49 in my earliest example). is the c o d e for ENTER, so the
length of that c o d e to the Table B gives an annotated subroutine returns.
previous address, a n d noting Ihe disassembly of the m a c h i n e Now a w a y to the pixel paper,
new l o a d address. So if the Tirst c o d e so that readers who want a n d get sketching!
c o d e was 2000 bytes long, the smaller/two-tone/line drawings
next would l o a d in at T+2000, wilh no filled areas, (AND who
a n d so on.
Hopefully, when all the codes
understands what they are
doing!) c a n alter the m a c h i n e
PROGRAM 4
are in you'll have 67 bytes left c o d e to operate over less of the 10 pem i n p v t sgt-rovir i
11 PEM r«rou, t«Colv"n
below the start of the udgs. Load screen/ignore the attributes/ 9000 PPINT - C
in the data from Table A, ignore 255s a n d so make it run 9010 FOR 0=1 TO £0 RIE'T ,
9020 IF I N K E Y * * " " THEN :-: TC
reading across e a c h line, with: faster. (Program 2 will also n e e d 0
FOR f=65301 TO 65367: INPUT i: adaptation. Refer to the REMs). 9 0 3 0 I P CODE INKEVFALI -HE'4 I S W
EN • $ C THEN PRINT CHP» 3 C
POKE f,l: NEXT f HPJ 3, LET a»=a»> TO L£M i » - l
Now save the whole d a t a a n d Kingdom came ' GO TO 9010
904-0 IP CODE INK EV SALE THE'I CO T
m a c h i n e c o d e block with SAVE 0 9010
9050 IF CODE LNI-EY»A!3 TM£;: P£TU
"title" CODE T. 65368-T. Next time we'll be looking at P><
9 0 6 0 I-ET ITALNKERT IF : j A 0
To use this c o m p a c t e d c o d e make strip-cartoon-type :»D : s • " 2 " THEN _ET n = C M P t
A
ICOD
in your programs you need to adventure graphics, "Redhawk" E iS + 32'
9070 LET i t > i l 4 i ! PRINT i t EE
have a subroutine such as: slyle, but before I g o I'll keep the EP . 1 , 1 4 ; GO T O ? 0 1 0
9999 RANDOMIZE a: POKE promise I gave in a n earlier
76 ZX C o m p u t i n g Monthly • M a r c h 1987
E L P L I N E preservatives! A n d now at
s p e c i a l sale prices — every
w h e n you arrive t h e n SAY TO solution must go! If you h a v e a
8ARD "SHOOT DRAGON". If he's nasty Boggit p r o b l e m , troubles
not, g o east, wait for a few with vampires in Dracula, or are
I've b e e n h a v i n g a little new- moves ( w e a r i n g the r i n g m i g h t u n a b l e to ring that b e l l in
year c l e a n o u t d o w n here, a n d help), then east a g a i n a n d he H u n c h b a c k — well M i n d p l a y
I've d i s c o v e r e d s o m e t h i n g of a s h o u l d b e there. (TM) c a n help.
b a c k l o g of o l d p r o b l e m s to b e A d a m Cochrane needs help Yes, your super, s o a r a w a y
d e a l t with. Sincere a p o l o g i e s to in Denis T h r o u g h The D r i n k i n g ZXCM has d e v i s e d this simple
a n y o n e w h o has h a d to wait for Glass The i m p o r t a n t t h i n g is not system — even the hamster
a reply: I s h o u l d h a v e c l e a r e d to g o out t h r o u g h fhe w i n d o w to c o u l d use it!
the system by the time you r e a d start with. Dress, take the letter, Step 1: Take a pen.
this, so y o u will not h a v e to wait r a d i a t i o n suit a n d Cherry Step 2: Fill in Ihe coupon.
so l o n g in future. Blossom, move the sheets from Step 3: Send it oft lo the address
P. Logue from A b i n g d o n asks M a g g i e ' s Den to your own, take below.
how to p a y tribute to Nero in a n d w e a r the teeth, then out into Follow those a n d before you c a n
Roman Eureka. Anthony Dunn D o w n i n g Street a n d BUY TICKETS. say Sid, your posers will have
kindly supplies the answer: K. Thain wants to b o a r d a b e e n solved. Please r e a d the
simply HAIL him. Another q u i c k i e train in D o u b l e Play's The small print n o w . . .
from Mick Hitchman, w h o n e e d s M o r e b y J e w e l s I've never British correspondents, p l e a s e
Ihe words to c l i m b out of the lifl p l a y e d this, so I'm i n d e b t e d to enclose a stamped, addressed
in Interceptor's A f t e r s h o c k , o n c e the h e l p of Cheshire's J o h n e n v e l o p e if you want a personal
he has r e m o v e d the c e i l i n g Hunter. In the g a r d e n of your reply rather t h a n wait s o m e
p a n e l . Er. CLIMB OUT OF LIFT... house. GET ENVELOPE (it's sticking months (or the m a g a z i n e to
D a v i d Brown of Standord-Le- out your door), a n d OPEN it. G o c o m e out. If you are w r i t i n g from
Hope w o u l d like to enter the to the railway station, GET a n d a b r o a d , just e n c l o s e a n
Ivory Tower in Ocean's Never READ TIMETABLE, G O TOILET. USE e n v e l o p e — I'll a d d the postage.
Ending Story. As far as I know, it's TOILET, U, N, SHOW TICKET. ENTER I try to r e s p o n d within two
impossible in Part O n e — you PLATFORM a n d BOARD TRAIN. "K" months but I c a n lake l o n g e r (on
certainly d o not n e e d to. A1 the is also stuck in K-Tel's C a s t l e the other h a n d you m i g h t
start ol Part Three you'll find C o l d i t z , w h i c h a g a i n I have not receive a n i m m e d i a t e reply). I
ourself outside it - UNLOCK p l a y e d , but w h i c h a g a i n J o h n ONLY DEAL WITH ADVENTURES. Not
DOOR with the g o l d key from Hunter helps with. USE GRENADE a r c a d e g a m e s ; or t e c h n i c a l
part two (found west from the in the p a s s a g e of rats. Avoid the p r o b l e m s (write to Crosswires
torture c h a m b e r } . Thanks to r a d i o room, you don't n e e d to a b o u t those); or a r c a d e
Charles J a m e s for a Never visit it to c o m p l e t e the g a m e . adventures ( G a r g o y l e g a m e s
Ending solution. J o h n also h e l p e d a r e a d e r out i n c l u d e d , not even Heavy o n The
Peter Davies — w h o d e s c r i b e s with Runes Of Zendos (the solu- M a g i c k ) . Please put the n a m e of
himself, q u i t e a c c u r a t e l y , as "the tion is too c o m p l i c a t e d to print the g a m e you're writing a b o u t
hermit w h o is still p l a y i n g P l a n e t here) so m a n y thanks i n d e e d . o n b a c k of the envelope. A n d
Of D e a t h " — wants to know how PLEASE don't write letters asking
to get the mirror without HELP! for g e n e r a l solutions — I just
b r e a k i n g it. From the c a v e r n its A n y b o d y out there solved Vera don't have the time to write
housed in, g o to the a d j o i n i n g Cruz or Q u e s t p r o b e 3? Please these out for everyone. (They c a n
wind tunnel, a n d take a n d w e a r s e n d m e a solution if you have b e o b t a i n e d , however, from
the gloves you'll find there. With — I'll b e h a p p y to h e l p with c l u b s like Adventure Probe —
these, p i c k u p the m a n a n d a n o t h e r g a m e in return. see this month's introduction).
d r o p him. As a result, he'll b e The address is: M i n d p l a y , ZX
removed from the mirror, so you Wave goodbye to C o m p u t i n g . No 1 G o l d e n
c a n shoot h i m without i n c u r r i n g
b a d luck.
adventuring blues . . . Square, London W1R 3AB How
m a n y other m a g a z i n e s solve
Some H o b b i t q u e r i e s next. with new system. Helpline your p r o b l e m s like this AND
Someone c a l l e d a u t o m a t i c No a d d i t i v e s or l e a v e your h a n d s silky smooth?
" V a n d e p e o l t o m " from B e l g i u m
wants to l i n d the m a g i c r i n g In
the dark, stuffy passages. From
the Goblin's d u n g e o n , g o west Title:
out the window, then SW. D, WAIT
lor the g o b l i n to a p p e a r . N, SE
a n d E. Les A c t o n trom the Iste of Company:
Wight has b r o k e n t h r o u g h the
spiders' w e b to the Elves'
C l e a r i n g . "How d o I g o t h r o u g h Problem:
the m a g i c d o o r ? " You n e e d to
wear the ring, then EXAMINE
DOOR. Keep WAITing a n d
w e a r i n g the r i n g alternatively;
eventually Ihe d o o r will o p e n as
a n elf sweeps by. G o NE
i m m e d i a t e l y this h a p p e n s ,
before the d o o r closes a g a i n . ) c a n h e l p solve:
N o r w e g i a n Sam M a c D o n a l d
wishes to kill the d r a g o n without
anyone's help. I think this is Name:
impossible: you n e e d to p i c k u p
Bard a l Lake Town (literally! — Address:
CARRY BARD). Then h e a d to the
dragon's treasure hall, a v o i d i n g O
him o n your way. II he's there <
77 ZX C o m p u t i n g M o n t h l y • M a r c h 1987
Lisa with a blue crayon. First up. RAMSAVE.'LOAD Is standard
my traditional moan: Ihe gra- on Quilled games, so Its omis-
SILICON
Rainbird
DREAMS phics are truly abysmal. Blotchy,
often unrecognisable and. In
sion Irom a ma|or release is
disappointing At least II could
this collection, so simple in hove been included in the texl
£14.95 design as to render Ihem even only version, using some ol the
more pointless than in Ihe past. memory (reed by removing the
The screenshots here d o not d o graphics, its absence wouldn't
them Justice — you have lo be be so b a d it conventional tape
close to the screen (or Ihe lull l o a d i n g was not so drawn out.
impact In Ihe case of Eden, Ihe The security device — giving
graphics are worse than Ihose you a p a g e a n d line reference
included on its original release! from Eden Song a n d asking you
I always thoughl the Spectrum's which word it refers to — Is not
attribute problems were to as Irksome as Lenslok; however,
b l a m e (or Ihe pics' dreadlul* you have lo d o this every time
ness. but the Atari ST screenshols you RESTORE from tape, which
shown on the p a c k a g i n g are (or most advenlureers I suspect
almost as useless. Why Rainbird will be often, as d e a l h lurks
allow this sloppiness in what Is round every corner. Why not just
supposed to be the cream of ask (or a word at certain key
a n d .-.lit . British adventures is beyond me: points In the game?
" f 1 in K 1 rn b er u 4 , h 1 1 j f I «'. r , Ihough at least I see ST users will
p c e p tO d 1 • . **
be getting digitised Geoffrey As with JOD, I musl express
Uh a t n o " ou r Dawson graphics on the next how disappointed I a m thai Ihe
• ou re be s 1 d £ j i. t r j t o<» 1. 1 d e r 1n joint release. Forlunately, potential ol these games has
a rn a d o w •;< 1 t r b r i g h t 'j n
expanded, <1 versions of
text-only not been realised. I sincerely
f 1.0 in e r j . E 1 t ? « r r 10 1* t h . 6 3 t , e a c h adventure are provided h o p e Level 9 will lake notice o(
$ ou th . «t e i t j r» d 1 11a The quality ol Ihe text is so much some ot Ihe criticisms — they
The i \ y h o o • ii-:e nd 1g 1 xn . better In these versions that they are meant lo be constructive.
Uh ^ t n o w " E VAI 1 C G U N T E P feel like different adventures. That said. Ihe p a c k a g e offers
ft r a d 1 H i O ri i t j t I I I . Certainly they are much more improved versions ol three
U h a 1 r 1 OM U
atmospheric a n d they are excellent adventures at half the
easier, since the strange tech- original cost. Individually Ihey
nology is explained better. would have been Monster Hits
— so together they are, loo.
Following "Jewels o( Darkness" I searched Ihe box carefully Presentation Is poor: all text
last year, this Rainbird oflering on receipt — surely Telecom is printed in yellow on black in
is another collection ot three haven't finally listened to all the the normal Spectrum character
revamped, repackaged Level 3 criticisms? Yes they have — to set. which makes a n untidy
adventures This time the games Ihe unending gratitude ol ad- mess. Why no colour, or better
are in Ihe science-fiction genre, venlurers, the d r e a d e d Lenslok spacing a n d a more r e a d a b l e
a n d tell the extraordinary lale has been scrapped! Otherwise, character set? Still no l o a d i n g
of Kim Kimberly. In Snowball, I experienced a powerful leel- screen either. Instead ot a n
you play Kim and. re-awoken Ing of deja vu when reviewing atmospheric picture to set the
from deep-freeze storage, musl Silicon Dreams. It contains mood we have "Level 9" printed '
save the eponymous space- almost exactly the same un- in several ditlerenl colours —
craft trom crashing into a star necessary laults as Jewels Ot (his looked crude even when I
Return to Eden finds you crash Darkness, as well as thai game's first encountered it several years
landing on the planet of the g o o d points. ago
same name, h a v i n g b e e n All three adventures are
wrongly accused ol sabotag- large, a n d full of ingenious
ing the Snowball. Fight through puzzles. One of the games
Ihe alien jungle, then survive alone would keep most people
Ihe deserted tuture city ol o c c u p i e d for months. Vocabu-
Enoch, built many years ago by lary is large a n d complex sen-
a d v a n c e d robots preparing lor tences are allowed. A highly
Ihe colonists' arrival. It's now in readable instruction booklet
a precarious state a n d staffed also includes a novella — "Eden
by d r o i d s hostile lo your Song', which far Irom being
intrusion. Worm In Paradise, set some overblown epic laden
a century later, sees you as a with silly names is unexpectedly
citizen ol Enoch, an extreme humorous, if not entirely in the
right-wing state run by robots, in style ot the games.
which all musl conform a n d
Kim is worshipped, Lenin-style But the p o t e n t i a l for a Exits are n o r t h . eait., = o U t h.
Challenge Ihe system, and save masterpiece has a g a i n been a n d <•' € s t • • o <j c ;»n ; e d tree.
Ihe world! wasted through silly errors: like Uhat n o w C L I M B T PEE
painting the smile on the Mona I t ' s t o o S in O O t h .
Uh a t n ow~ EXAM T P E E
fin app i t tree. Hanging from th<
tree 1 £ an apple.
Uh a t n o w I
v ' o u o w n n o t h i n*a h » a l l '
Uh a t n o w GET PIPPLE
I t ' s out of reach.
Uh a t n o w ~ EAST
WINTER WONDERLAND/
IJh I n o w " I.
Vou omn no t h i n g .
i=tnd y o u r ^ M t a r a n 9 a h P » t
THE LEGEND OF
g own .
U h - a t n o ' i i " ^ i-i
APACHE GOLD
1 Medallion Graphic Adventures {Incentive)
V Ou r e 1 n a u rwin9 east £7.95 e a c h
corridor be . » d t j re e n
Light® h 'H w rs t o v 1 t. E These two a d v e n t u r e s a r e than your average Quilled
ttad north thiough 1 dO O
an d e.it. reviewed together b e c a u s e piece?
v o u can h * ar g u i * c their laults are similar; a n d A p a c h e Gold sees you as
U h a «. n ~ N they're the first I've seen wrillen cowboy Luke Warm (groan), in
with Incentive's Graphic Adven- search of the treasure buried
ture Creator, so are they better with an Indian Chiet. The writer
/
The Advertising Standards Authority.
We're here to put it rightJ
ASA Ltd., Dept. Y. Brook House.Torrington Place. London WCIF. 7HN
This space istk mated in the interests of high standards nl advertising
Mb
machines. Mind you, it's not
m
always a case of converting
down onto the poor little
Spectrum. Rainbird's
collaborations with Level 9 (the onwards a n d upwards through a shuttled me into the computer
Jewels of Darkness a n d Silicon whole range of machines a n d room where I met Gary (also ex
Dreams trilogies) started on the are d o i n g very well in both C+VG) a n d Paul ("our resident
Spectrum a n d have moved America a n d Europe. wiz — he does manuals a n d
things"). The Spectrum version of
the g a m e wasn't yet complete,
but Paul {"he's the resident wiz,
I'm the orch-wiz") b o o t e d up the
graphics for the A m i g a version
to show me.
Pete Sweasey, our resident
advenlure fiend, will be pleased
to hear that L9 have a d o p t e d a
totally new style (or their g a m e
graphics in Knight Ore. They've
commissioned a number of
pieces of original artwork a n d
digitised them. The result, on the
A m i g a anyway, is pretty
impressive, with some pictures
that look almost impressionistic,
a n d others that have almost
photographic clarity of detail
(fingers crossed they won't look
too b a d on the Spectrum).
Knight Ore is d u e out for the
Spectrum shortly, as is the 128
version of M a g n e t i c Scrolls'
adventure. The Pawn. In the
meantime though I d e c i d e d that
I should get b a c k a n d tidy up
my own desk in case the safety
officer d r o p p e d by.
The arcade conversion • " h i s Is the g a m e that everyone official Gauntlet is by far the
has b e e n w a i t i n g tor. During a most enjoyable a n d a d d i c t i v e of
set to make converts of wait (or the official version of them all.
Gauntlet from US Gold, the rest The original a r c a d e g a m e
us all. of the software industry has c o u l d b e p l a y e d by u p to four
d e v e l o p e d a n overwhelming players. On the Spectrum of
compulsion to p r o d u c e Gauntlet course, this is whittled d o w n to
Gauntlet Imitations. This chorus of "send in two (thankfully both c a n play
US Gold the clones" has brought us Storm with a joystick) but it is the
(Mastertronic), Dandy (Electric option of cut a n d stash
£9.95 & Dreams) a n d Druid (Firebird). teamwork as you clear d u n g e o n
So, has the market b e e n after d u n g e o n of nasties that
saturated to the extent that a d d s a whole new dimension to
Gauntlet is a n anti-climax? The p l a y i n g a Spectrum game. You
short answer is no. Despite w o u l d expect this two player
a p p r o a c h i n g the g a m e with mis- option to slow d o w n the a c t i o n
givings that it c o u l d b e but surprisingly there is no loss of
d i s a p p o i n t i n g (given the hype its s p e e d a n d the a c t i o n is
received) I c a n report that the frenetically fast.
W W
if
2- ?
llHjS'
W a S K S i T -
t" tZ . Sjffi —
HBE1
H f j 6>^ .1
mn
mmm ^ J
nKHn!liWU«r!ir!ir!<r<i£.J
t i l !
m
lfr-0
A? U
fJL
A
lrr-0
THOH the Wdrrior THYRA Ihe Valkyrie
l i t 1 t
O
LU
£L
CO
DISCOVERY
COLUMN
Advice for Discovery
Disc owners from John
Wase
• suppose I've asked tor it, but own commands. It you look at programs on it. As you can't
over the last few months quite a the Spectrum's memory map. direct the Ihing to start half way
few enquiries have b e e n m a d e you will see that the Spectrum's through a secfor, you c o u l d only
a b o u t the c a p a c i t y of Discovery, ROM occupies the first 16K. save one program, which you
principally, I suppose, because I Discovery ROM o c c u p i e s the first c o u l d access instantly. Moreover,
mentioned that it is possible to 8K, a n d is switched in a n d out I guess lhat you c o u l d make this
a d d a Double Sided Double alternately with the Spectrum program almost 250K long by a
Density (DSDD) 5.25" drive. So, to ROM. As you know, the Spectrum bit of fiddling about. Imagine
get things straight, let's look at ROM c a n be PEEKed to see d i v i d i n g the thing up into o n e
just what there is inside that what's in e a c h address, but if byte sectors. You would n e e d a
black metal box. you try to POKE a value into a n c a t a l o g u e miles long for the
address, it takes no notice. thing to read, a n d whilst
The Drive Similarly, the discovery ROM e c o n o m i c a l up to a point,
contains unalterable information. access times would b e
As fitted to all standard This m e t h o d of operation is enormous. So the c h o i c e of
Discovery units, this is a 40 Irack exactly like interface 1: however, sector length, etc, is a
single sided three a n d a quarter discs are o p e r a t e d instead ol compromise between speed
inch drive, known in the microdrives, a n d . as the c o d e is a n d waste. Discovery is pretty
computer trade as a 'quarter written rather differently, the reliable, has reasonable access
m e g a b y t e drive'. The tracks are hook codes w h i c h operate from speeds, a n d wastes relatively
recorded as concentric circles. m a c h i n e c o d e are different. So little ot the disc.
The mechanism reads 40 tracks the two are c o m p a t i b l e from
on just the one side of the disc any BASIC program, but not in
So any old three a n d a half inch respect of m a c h i n e code. Second disc
disc which has at least 40 tracks
a n d which is the right shape to Formatting When a second disc is a d d e d ,
fit the mechanism will do. If you the drive m e c h a n i s m printed
insert a n 80 track disc (that is One of my correspondents circuit b o a r d has provision to
merely one in which the oxide recently was very uptight e n a b l e one to configure it as
particles are so small a n d the b e c a u s e the c a p a c i t y of a disc 2. a n d a Random Access
thing so precise that it is quarter m e g a b y t e drive is only Memory (RAM) c h i p has to b e
possible to put tracks m u c h 178K. This, he growled, is grossly a d d e d inside Discovery. This is
closer together than the 40 track misleading. And so it is, but b e c a u s e the default values in
disc without there b e i n g there is a g o o d reason. Ihe Discovery ROM all refer to
interference between o n e track Information recorded on a Disc 1. 40 track, single side. The
a n d the next) the mechanism is casssette t a p e is recorded RAM c h i p o c c u p i e s the memory
only a b l e to record 40 tracks on sequentially: you have to grind locations immediately above the
it. through the lot until you c o m e to Discovery ROM a n d is p a g e d in
There is a power supply unit what you want. A disc with it: on sensing the presence
i n c l u d e d on Discovery's circuit immediately accesses your of the RAM chip, the ROM
b o a r d which powers both chosen program. This is b e c a u s e empties its default values into
Discovery a n d Spectrum. The e a c h track on the disc is further the RAM chip. RAM. unlike ROM
power supply which c a m e with d i v i d e d up by the o p e r a t i n g c a n be altered: it c a n be POKed
early Spectrums h a d so little system into sectors or blocks, as well as PEEKed. If you r e a d n
power to spare that there was a c c o r d i n g to a set p l a n d i c t a t e d a DSDD disc in drive 2, assuming
not always e n o u g h to work by the software (the firmware on that that is the mechanism
Opus's early Spectrados systems, the Discovery ROM), the Directory which you have p l u g g e d In
so in some cases these would or C a t a l o g u e of the d i s c This there, then the firmware senses
not work: fhe Discovery was a directs the drive to r e a d so that the drive is not 40 track a n d
refinement of this system a n d its many sectors, or, alternatively, to single sided, a n d the default
PSU now has plenty of power to save to so many sectors at values for drive 2 are adjusted in
spare. particular locations. The number the RAM to m a t c h those of the
The interface contains a r e a d of sectors used is arrived at as a disc r e a d in. Before you c a n use
only memory (ROM) w h i c h compromise. Imagine a disc such a system you must have a
intercepts error messages a n d is d i v i d e d up into only o n e sector, disc to r e a d in or a program to
p a g e d in on receiving one of its a n d i m a g i n e trying to save 1K configure it, h e n c e the frustration
1 = MUSIC M 1 9 —
DRAUGHTS P 1 17 f i l l G 1
2 = DARTS A 1 10 = p a P 1 18 = 1i s t e r U 1
3 = t r a f -fie S 1 1 1 = < < DOOM > > A 1 19 — T.O.H. P 1
4 = HEXCONV u 1 12 = u t i 1 U 1 20 = di sm8kuti1 U 1
5 = f r u i t s 1 13 = d o d g e m s A 1 21 = MOON M 1
6 = j ackpot s 1 1 4 ss r a t c a t c h A 1 22 = make4 P 1
7 = bouncer A 1 15 — l i f e P 1 23 = coindrop A 1
B —
T. K i t 48k U 1 16 = g u a r d i a n M 1 24 = drawer G 1
Figure 2
85 ZX C o m p u t i n g Monthly • M a r c h 1987
25 TAB Fields U 1 67 = CADMASTER G 4 109= ARTstudio G 6
26 —
ackack A 1 68 = estel1 G 4 1 10= super cat U 6
27 ss headread U 1 69 = • XO P 4 1 1 1 =test M 6
28 = stickdraw G 1 70 = clock M 4 1 12= mouse S 6
29 = Tasword <r > M 2 71 = sort U 4 1 13= draw G 6
30 = pati erice S 3 72 = TRICK M 4 114= shi pt G 6
31 = SHUNTING P 3 73 = noise gen M 4 115= cardl G 6
32 = engine G 3 74 = roadrunner A 4 116= copypri nt U 6
33 —
edi tkey U 3 75 - 3d maze P 4 117= i roner2 G 6
34 = toolkit U 3 76 = eg li 4 1 18= di scli ster F 6
35 = mysterybox P 3 77 = ti ck—tock G 4 1 19= DISASM48 U 6
36 = BETALISTER F 3 78 = EXPLODE G 4 120= ani rnator 2 G 7
37 = BANDIT S 3 79 = EXBASIC M 4 121 = tasword M 7
38 = organ M 3 80 = mandala S 4 122= TLW2(1ast) M 7
39 —
fade G 3 81 = Wi ndowdem G 4 123= 78recds2 F 7
40 = DATA(beta) F 3 82 = betachar M 4 124= DISCLIST F 7
41 —
waves G 3 83 = contmusi c M 4 125= Di scs4 F 7
42 —
dice S 3 84 = shi p* G 4 126= di scs1 F 7
43 = circle G 3 85 = BETALISTER F 4 127= controls M 7
44 = Beta Basic M 3 86 = BETADISCLR F 4 128= /8recds h /
45 = BETADEMO M 3 87 = thick char U 4 129= wr i te M 8
46 = BETADATA F 3 88 = futuristic U 4 130= ADDR F 8
47 PUZZLE P 3 89 = f actors M 4 131 = wordmanage M 8
48 = bri ckyard A 3 90 = TV TEST G 4 132= DISCLIST F 8
49 = ex am.mem U 3 91 = 2;<Hei ght M 4 133= di scs F 8
50 — zoom G 3 92 = deleter U 4 134= di scs2 F 8
51 — datacalc F 3 93 = capypr i nt U 4 135= di scs3 F 7
52 = YS TITLE G 3 94 = ARCHER A 4 136= DISCLIST3 F 8
53 —
CLS G 3 95 = super cat U 4 137= di scs3 F 8
54 —
c1earscrn G 3 96 = Golf S 5 138= renumb U 4
55 = •flash G 3 97 = DARTS A 5 139= ZZZ
56 —
explode G 3 98 = Accounts F 5 140=
57 — udgdef G 3 99 = ki tchen A 5 141 =
58 —
SDUND M 3 100= EFFECT M 5 142=
59 — en 1arger G 3 101 = CHR.LEFT G 5 143=
60 = di sclister F 3 102= DISSEMB U 5 144 =
61 —
alarmc1ock U 3 103= MC AID U 5 145=
62 = wordsearch P 3 104= UDG edit U 5 146=
63 = letter sq P 3 105= arrows G 5 147=
64 = gol f s 4 106= soli tai re2 S 5 148=
65 — Beta Basic M 4 107= TABCALC F 6 149=
66 TROJAN G 4 108= TABDATA F 6 150=
which it's filed. Lines 65 to 85 Lines 230 onwards contain a what it sets out to do. Perhaps a
direct the program to lines 100 number of LPRINT options for complete d a t a base will follow.
(new entries, additions, which line 7 is essential if you Who knows?
corrections): 145 (pick any have a printer.
number; what's the entry?); 190 Errata
(pick entry by title, so that you Inverse print
c a n find which disc it's on, list The program in last month's
programs, etc, of any particular This program therefore c o u l d column for the modification to
category, list what is on any form a basis for your own GENS 3 has a b u g in it: the
particular disc): 380 (SAVE random access program. In this following program line will
routine); finally 95 (STOP). particular listing, Jim has m a d e correct it. 308 IF b$(3 TO
In line 105 are Jim's titles — he things more difficult tor himself 5)="CAT" THEN CLS : CAT 1 :
says it's fatal to have a by inserting inverse printing PRINT 0;"Any Key to Return":
miscellaneous file! The POKEs in directly into the listing — it looks PAUSE 0: LET f = USR((PEEK
lines 195 a n d 220 are to lock good, but I can't easily make it 23670+256* PEEK
a n d unlock caps shift; show u p in Ihe printout, whereas 23671)—2514"(A=( PEEK
unfortunately Jim h a d used both INVERSE 1 always does (do 23670+256* PEEK
capital a n d lower case "p" in please remember this when 23671J+6291)—1857*A
line 105, a n d didn't feel like submitting programs). PEEK23670+256* PEEK
putting all the entries in again. Nevertheless, the program does 23671J+6291): GO TO 65
other's interface. I know XRI have a real- I used Ihe software supplied with it.
Midi matters time p a c k a g e but they have not yet
sent us a copy to review.
Now after a little use it has
working and I would like it repaired.
stopped
I
Dear Sir, XRI are at 10 Sunnybank Road, tried to telephone Rotronics but I
As a new reader to your Sutlon Coldlield, West Midlands (Tel. 021 cannot get a reply and the GPO tell me
magazine I seek advice 382 6048) a n d Iheir system costs around there is nothing wrong with the line.
which has possibly been answered £108. Could you please tell me If you know
before Being the owner of a Spectrum+ whether this company has ceased
128, having climbed the ladder Irom trading?
the ZX81 & Spectrum 48K. my main Also could you tell me the address
reason for purchasing the 128 was tor ol lamleco Computer Sys which is on a
the inbuilt MIDI interlace. Mode muddles label on the back of the printer.
Having a MIDI equipped synthesizer Thank you, yours faithfully,
Dear Sir.
I am Interested in information on the D.H. Pipe. London NW10.
I have a Spectrum coup-
MIDI port. ie. which pin is what and
led to a single Opus Discovery I'm afraid that Rotronics are no
what is needed so that a connecting
disc drive and since recently, a Spec- longer trading, having
lead can be made between the 128
trum 128K +2 which works beautifully. recently gone Into liquidation
and the synth. It appears that there are
There is however, one problem, and that Your best bet is to contact one of the
three connections used at the synthe-
is that the sound is interfered with by a many repair companies, ol which
sizer MIDI port but I do not know what
loud drone for which my supplier has M a n C o m p a n d Video Vault are highly
these are either.
no remedy. recommended.
On another note, are there any inter-
I do not like the way In which there
laces for the 128 which would enable
is no warning in 128K mode as there is
Ihe Commodore printer MPS801 and/or
in 48K mode that Ihe computer is in
Ihe disk drive 1514 to be used.
CAPS LOCK or GRAPHICS modes I was
King regards,
A. Holmes, Exeter.
disappointed in the 128 and I gather
that other readers have encountered
Hard lines
difficulties. I congratulate Toni Baker on Dear Sir.
Last thing first. To my know- Ihe article Keypad Not Required which I have recently bought an
ledge there are no interfaces I read with interest. Opus disc drive for my 128K
which will allow the connec- Hoping to hear from you, Spectrum, and whilst I am happy with
tion of Commodore equipment lo the W.R. Luyks. Netherlands. its performance. I have noticed that it
Spectrum. Commodore went their own causes a slight interference on the TV
way a n d produced peripherals to their I a m afraid there is nothing I screen.
own standards a n d which were incom- c a n do about Ihe lack ol This consists ot faint horizontal lines
patible with just about everything else. CAPS LOCK or GRAPHICS flickering up and down the screen and.
I would slrongly r e c o m m e n d leav- mode indication a n d the drone seems although the interference is slight, once
ing Ihe MIDI port alone as lar as DIY Is lo be a mystery. I aet the impression that noticed it can become maddening.
concerned. I must admit as to only you u p g r a d e d from a standard 48K I would be grateful if you could ex-
having rudimentary knowledge ot it. Spectrum to Ihe 128 +2 a n d I wonder plain the likely cause and how to get
bul preler to buy ready m a d e units if you modified the Discovery? rid of it. Perhaps I have the disc drive too
instead of spending hours slaving over Opus produced an upgrade ROM lo close to the TV?
a hot soldering Iron! replace the existing 48K one for the dis- Yours faithfully,
Cheetah Marketing Ltd. 1 Willow- covery. I tried it out a n d it worked with- Philip A. Clark. Newcastle.
brook Science Park. Crickhowell Road. out any p r o b l e m , i n c l u d i n g any
SI. Mellons, Cardiff. (Tel. 0222 777337) will unwanted sound effects If you have not ^ ^ You are right, this is one of
sell you such a c a b l e lor £9.95. Most fitted the ROM u p g r a d e then I suggest those things that c a n drive
larger branches ot Boots also stock their you contact Opus a n d d o so forthwith, you mad! However there is not
wares. If the u p g r a d e has b e e n done or if m u c h you c a n do a n d I suspect that It
The MIDI port is very limited a n d all the Opus was supplied specifically lor is due to one of the components of your
you are likely to be a b l e to d o is send the 128K then I suggest you try the Opus Spectrum suffering a small, non fatal,
Ihe PLAY strings out lo your synlh. To d o with another 128 a n d if the fault persists h i c c u p Sir C, in his wisdom, used com-
anything more interesting, such as fhen Ihe tault is in Ihe disc drive a n d it ponents which olten were only jusl on
record, arrange a n d sync equipment should be returned for checking a n d the operational side of the specifica-
together you need a unit with al least repair. tion. Any slight c h a n g e Irom the usual
IN. OUT (possibly THRU) sockets a n d a If there are no unwanted sounds with m o d e of operation could cause such
clock or sync device. another Spectrum then your computer irritating effects.
As you have a real synlh, I would has a fault a n d that should be checked Bul before you give up hope, chang-
slrongly advise you lo invest in a sep- a n d repaired. ing the position as you suggest, not only
arate MIDI interface a n d software, ol the Opus but also of e a c h ol the other
Cheetah do a very impressive looking components that make up your system,
MIDI interlace p r i c e d at £44.95. in relation to e a c h other may ease the
EleclroMusic Research Ltd. ot 14
Mount Close. Wicktord. Essex SS11 8HG Rotronics runaround degree of the effect a n d perhaps cure
It.
Q
(Tel. 0702 335747) produce the PER- Dear Sir, I would also suggest thai you try
FORMER which in my opinion Is the best A few months ago I pur- cleaning the e d g e connector at the
real time p a c k a g e a n d costs around chased a DX85 printer 7froi
*
Irom back ol Ihe Spectrum with a cotton bud
£120. whilst XRI syslems a n d Iheir MICON Rotronics ot High Wycombe, Bucks. At d i p p e d in Isopropylalcohol or some
Interlace have Ihe best step time soft- first I could not get the machine to work "pure" clear, or using a n eraser to
ware available. Unfortunately the two using Ihe various commands In the gently remove any dirt. You c a n lose
are not software c o m p a t i b l e with e a c h manual, bul it worked really well when nothing by experimenting!
L i n e a g e : 48p per w o r d . ( V A T i n c l u s i v e )
S e m i d i s p l a y : £9.50 per s i n g l e c o l u m n c e n t i m e t r e +
^ ^
01 - 437 0699
V A T . R i n g for i n f o r m a t i o n o n series b o o k i n g s /
discounts ( m i n i m u m 2.5cm). Send your requirements to:
NICOLA BATY
All advertisements in this section must be prepaid.
Advorlisements are accepted subject to the terms a n d c o n d i t i o n s A S P Ltd., 1 G o l d e n Square,
printed o n the advertisement rate c a r d (available o n request). London W1
ACCESSORIES
r
H(.H o l 111*111 ' CONFUSING ISN'T IT? COMPUTER REPAIRS S C O T L A N D ' S No 1
COMPOSITE VltM.O ? Tift ol Ihe problem sotvers Wo luvt the experience and expertise mnhnpnts. M m ) wrmcrt Snclw ctmoulm
to wlm« on ill jtpecti ol computer iMpUy problems eg Since »* nMucton ol Bk M O
For home and personal computer repairs
Specially lasl Spectrum service
GKKEN SCKtl.N ' * RGB OUTPUT MODULE tor Spectrum 16 or «K Much Don't km* money on e-Jnutes-ntiepM&nciw
lediimed — owes mooitoi quality pictures — oo dot crawl COTfuVn It erce OJCMI rcltf. putt lifour • Same day tor most fault*
TTL • ANALOGUE ? CJSJi • I hour >1 rtelivvivd personally
• NEW * BRIGHT SOX — Allows lull use ol the bright I k > % on eaUf VAT najedvroltatf toMtfmcfur?* • Open 6 day I .1 week
COMP SYNC ? jru'ooue incut monitors and monitor-TV's to produce full colour Repirs qujr»n[«d for 3 fflorltis • froo tiiiDiitui
BRIGHT > piletle Only lot Speclium 128 (79 95 SpKtVTI (It ftncNfls • Upgrades Membranes amf PS U %
am C4P ft £7 :iC) t* <0rwn) oai (it Wrerum • 3 mm warranty on » o r l tlnne
SM for OV —jf Uo-vtnr ltd Shtti Wjrn 19 "6 nc tarts Also BBC CON OFIICartd PERIPHERALS
odopt electronic/ |?0 SUHUNGC10SE BVCKHUBSr mill {SSUIG9MN Tel 01 KM Vartm tti»flcpim
Nettmlll (U75rcfom MICRO-SERV
95 Deerdykes View
HC f?J 00 - parti WesHleld Industrial Area.
MAKE S O M E SPECTRUM CeNCe !Mn fl9» - pam Cumbernauld G66 9HN
Simple Computer Controller for S P E C T R U M RESET S W I T C H - U VrnwK E ip.fr, rr K t ftS95 Scotland
i,tachmery and Models ustng ymjr Sinclair Prevents d a m a g e to your Cj7Hi*TSrtj«rspejsrtrt*r Tel: Cumbernauld (02367) 37110
Spectrum Trade, schools and club discount Qiven
A little black boi which plugs nto the computer when power plug pulled br SfKil' Jrx5e Prxr
npantton socket ol any Spectrum and m and out O n l y £3.49 Inclusive Cll!»S<«t«®Cf*0*Clf 0
enables you lo drive two smalt to medium I V. Semen ol Cmtndfe lid
Mnpper moles (up 10 ? A MPs per phase) Cheque or P 0 to Central Elect- French'storiCHtrtgc CM JNP
or up 10 ( OC motors relayl limps or any ronics St Andrews St. Greenock mora 3113/1 SPECTRUM REPAIRS
ottwf DC device PA15 1HG. Other accessories
S*mple to Program and bui'l by an engin- From £3-£19 incl. all parts, labour
eering firm lor it* own us* You can use it Wrile tor Iree list SINCLAIR SERVICE CENTRE
tor CMC turning milling or coordinate
• fully Guaranteed Fast Repair Sorviqo and 3 month Guarantee.
drilling
Reliable Prototype still running alter ihree • Approi 24hr Turnaround Phono lor spociol postal ratos
• Eli av cost or send machine w>tn tt
years use
We provide Interface instructions,
software, hints and enamples Price I12S
SERVICES (return p&p) lor free estimate
• Perioral c.ii'ors welcome
MICRO FARE
• nc carriage and VAT Power supplies nnd OUANTUM
296 Gloucester Road. Horfield,
Stepper Motors available We will be 33 CITY ARCADE. COVENTRY CVt 3HX Bristol
pleased lo quote for larger units STOP Tel; (OT13) 24631
P R PRODUCTS. PARK Mill. Tel: 0272 46575
HOBSON STREET MACCLESFIELD. PLAYING GAMES
CHESHIRE SK11 &8E Ut» vow compute I0 m4ka raonty lurti yeui totby
Tel (0e?S) 22800 nto a tan* bawd ncenw M sod psrt I n * SPECTRUM REPAIRS
opportunities lo ctifi in on Iftj IrtmnJoui martft £14.95 inclusive ol labour ports and p i p .
PLAN YOUR
High fjrrwvji uvty posuWt 0p«r to »~> amattui Fust reliable service by qualified engs . ADVERTISING
R I N G 01-437 0699 FOR nwo Uttr and fl*r«t Wrrt» for I'tv detaris average repair 24hr« 3 m o n l h s guaran-
Westlink P r o m o t i o n s (ZX) tee For help or advice nng B U D G E T W I T H ZX
D E T A I L S OF O U R H. S. Computer Services. Unit 2. COMPUTING. RING
108 George Street The Orchard. Walton, Preston.
SERIES D I S C O U N T S E d i n b u r g h EH2 4LH. Lancashire Pfl4 1BE. Tel: (0772) 632686 01-437 0699 N O W
EXPIRY
£ FOR INSERTIONS D A T E ..
SOFTWARE E UTILITIES
S P E C T R U M TAPE and
CHEZRON SOFTWARE
(Depl 303) 605 Loughborough Road UTH DUO PIUS
Blrslall LEICESTER LE4 4NJ SM ire most tmttk 41k Sprttrjn uthty pDgrv
B0NADANNCR — Programmers' Unleash DRIVE T R A N S F E R UTILITIES to dtt-gn and pnnl you own buiirett t :<rwr\i'
Ihe (>o*i!i ol siting graphic* on your ttatmnrry krifrtwto-. uttptt cnSsn ttbm *
Spectrum Create title pages teat nrtvon- TU8 — ESSENTIAL for ALL Spectrum 48K or Plus owners — pouos Create the in^i on »r«i -v
lure graphics program headers elc lhal recj-fd 'omit I f'ff *" <*» eop>t you nen)
print instantly from Basic or machine our tape utility tor backup and drive conversion » Library el ?5fltfwteflorti rrUJm lotqn
code Simple operaten lor last loaders — actuate even * over 46K (tone and rale measurer) afubett
Al |ust 13 50 why hesitate' it our demo • Integrated header reader. manages headerieu dock* • Fist eoe»Wtoet«0<toi teinodity andtnatrne*
program doesn t convnce thai BONA- e D*«Hw wi>th
«i cte'fcy loaders
' — converts COMPLETELY 10 normal lor tapetoed(pkA easy drive tranaier tonti
BANNER <s useful to you JUST RETURN wntiTPWj • Ary Miter portion aa> be tcoM nmri or
THF WHOLE PACKAGE FOR A FULL Pkit many othertearur*n — a ufugur product! MNd
REFUND" COST only £6.99 on tape OR £7.99 on m/drivo cart. • Baifunct<incrciMaanyaw>aboio(9nyltKk'
new
T R A N S F E R PACK 2 — FOR TAPE TO DRIVE T R A N S F E R • Grcpr<i«» JK cjrtlr r-oi fit tor logo«rvgn
• load t uw try SCflf f W r'om rctf prc^-jr-
BUDGET SPEECH synthesiser' Package ol programs including TU8. other utilities, allows drive • P mftaiangifi a thotr e> II WW
48K Spectrum Just load and your transfer ot many programs
• Dew ta£e« up to 4 * T m vjv
key vtects caurttF Utwr option
Spectrum can lalk through it s o w n • Detail* given on transfer o* 40 programs • Cfcxr <4 6M»r<rt properi>oniKy i<ot«l
loudspeaker 100% software - No * Manages virtually al ekeky leaders Bylesthopper'ipWer. header reader etc Anttn
Sate name & dnve sysipm (« g m'dnve. Opus doe. etc). • Pnce£4G0
hardware needed C3 95 from
ONLY £11.99 on tape OR £12.99 on m/drtvo cart. OUKPT I t
SMB Software PO Box 38 INFORMATION SHEETS £t each (up 10 No IB a/Mabte) rduM manytop20 has — SAE lor lot
Inverness IVI tGA OVERSEAS add Et Europe C2 others K» each UPDATE SERVICE - SAE lor details Alt thr tttm Arpi iw rw need lor |CU
PROGRAMS CARRY OUT MONEY BACK GUARANTEE (not updateaj Sprctmr1 Leake oihn view Art
DUWPr - a «r«vi dixrp GfhifftATOP.tc-Mltitf*
machiv etdr rrlocatn it and sum it ready tor yev
RACING LERM. DEPT ZX. 11 BEACONSFIELD CLOSE, WHITELEY BAY, » «•' r you progim No need 10 iRkrnmJ
awrrtln (irt! tortow t* m u rrcnevrd
SOFTWARE TYNE AND WEAR NE25 9UW. viKnon now intlu)«
• Wrdew Ajtv Of mtle ;u»r J meet bo» t^umn
S In-
MAKE RACING • O^tcral autwutc tow via omrmrat-on
• Hande l s the W M win or it* AtpUy
PROFITABLE • Se!«ct (rem ip to 7 (Vftn! frri fcr-iiv-i
With our top-class program
• S»Vtt tiw tp to9w*flhiard9 l»>flh!sof Oitpn
Lnsi season 40% profit
No rncmg knowledge needed
SOFTWARE • fab to any peul«n re. "r ra(»f
« Utctivv rodr can be (xnit im! vytnr «i >AW
For full details and results • Vrrtcal or udrwiyt dwrps ttor bf t«'r".|
write to: u«-onpf
BRIMARDON COMPUTER
RACING SERVICES. WD Software Me itytr to you aritttn »wtT frrf out any were
p«r-or ti* «i drmity NtO in a chMt or ti
48 Pierremont Road. FOR THE OL: «oe« Tuti yeu S«rti<r t>k> jt eVti-or>c
Darlington, DL3 6DH. 'i^irb tor awifinc trvf^pn t.Bnj m
JOSS base £13 terms or wn-eg (herr rem
Forgot that tedious, time-consuming syntin' Jus! move the cursor and press SPACE lor ail • Fi • or v.rrr WV5W I VC r» eSt>
your hie commands Cursor key* Or your |Oyst ick allow you to access microdr iv es (up to 81 • 1'flry or ?5 rVVrA- Mi ndudng lowgn
and lloppy discs (as many as our interlace allows) with upto ISO Meson each1 Scroll and itr<tiii
print directories. COPY DELETE or PRINT any rue MMoCl TV or Monttor mode before > Up so w 'on!-, irjy br m«4 on rich irr
TO ADVERTISE IN LOADing or RUNnmg any program Vou only use the keyboard to set Ihe DATE or label a
di-wiCO »wn FORMATlirirj Easy lo us« with Psion and olher software No silly k in-, to
• Fast fert^WcnTrt'torL' rorjtyjndr'rj-rr**
lentt
loam - JOSS will TELL yon what it s going to do' Programmer s toolkit and mass copying • Sni gfe ottodt*intfrtitfwactm)nd imm<ing
OUR NEWEST printing utilities also supplied Specify microdrivo-only. Micropcipheral or CST- • true p epwmeal ipMmg jn( r^t nr ••< ' ar»on
compatiWe disc versions • IftK 1 r* lion any wwyt drt<e rvj* Of*
SECTION RING Ret OL7 base £7 DM*
• Pnnt teit as totrC Or od>i m 'M* to pretir
1300 uselul QL relerencea win ARCHIVE 2 search print program Too long tor lust one
NICOLA BATY ON cartridge, so it you have Fk-IQLS pjM pa/ 2 arid eitra media cost lo update
• OcttV em-.t, p.mt
• Pr.rt-ng it
N10 nwJ lonti
raikrt »i4i uw
Mdv Extension Cable £5.50 . F>r<rft»
01-437 0699 Eight inches long, allows addition ol oitramicrodnvos to your OL Twist it to put their slots
lacmg you
FOR THE OL: SPECTRUM; BBC: ELECTRON NfW tiv vwy te.i no iwrtin and irantcr
pxlagr tor St*t''l•', It«<trei!«iiy vptahlf
PRINTER WD Morse Tutor
Written lo leach amateurs, now used by professionals too1 Absolute bog inner, or
base £4 pewfrtiV and '.i', to uw and »rc*n intimtod tone*
[Mr la bo wrrCM titvr C .v tofrrvrSifportt
SERVICES stretching your speed to tSwpm. you won't I ind anything with more helpful features Wh.it
else can oiler too random sentences as well as all the basics'' Disc version unsuitable lor
m<m» ws w OPUS DS l COVfR*
• Fjl IOTBI (mflpiOtHW My* Bj.tor
BBC 8< • TMcokmHwdr'orpopflyaod^nentrdtoutr
PRINTER OWNERS FOR THE SPECTRUM: ccdr
WorDfinder (Microdrive/disc only) base £8 • Seath & itplace Bo l ck cepy (Me* 1 mvr
Save Money on Printer Ribbons
Hnve your ribbon re-inked at less For CHEATING at crosswords Finds m-ss-ng letters, solves, anagrms 13.000 word • UrtmtMt t j» Him rode * 10k pages
vocabulary, so too long lo share a cartridge 10-leler word ending in ATE' No problem • trtuii macros lor raty to creport wx/tr
than half the price ot a new one Tradewind base £3 csdr
STANDARD PRICE Sailing, trading strategy game with graphic surprises > brgt tmjrirr- « vt ledftW • «lud»i«
ANY MAKE £ 1 . 5 0 OPUS"
Jersey Quest base £3 • Inctudr •««« lilts wntwi with most crhtr
Send your ribbon and £1.50 tor Toil adventure in time Background ol Jersey folklore Irom Stone Age to Bergerac lUnld^n
For export: • Wiri'H Vatim up to 9 bukponti wtglt
t a i l service to: Hwrvj nc
K&M COMPUTERS QL hardware and software from many sources Ask tor iisbquolahon • rid tjtill, w.t, 1 trrAconn « «
ORDERING ADD COST OF MEDIUM. POSTAGE £1 OUTSIOE EUROPE HOW (I)
40 Falrslead. Birch Green. Mdv or 5.2S" floppy £2 3.5" floppy £4 Cassette £0 • Coindown brnkt atiir -»' iKftx of pauet
Skelmertdalr. L a n c i WNfl 6RD.
Payment
Ihrnu^i a loop
• Library oi uvU i*"r pmgnni tor ik handing
By ACCESS EurocardMasterCard or STERLING (UK bank cheques. Eurocheque*, drafts • Pk» til 50 HOW r>fn»">« or Opus wrveel
or International GIRO) To
FABRIC RIBBON RE-INKING
WD Soltwsro (ZX), Hilltop. St. Mary, Jersery. C.I. tol: (0534) 81392 A* Bradway Sc'rwiit pogm & wt fpun
'Introductory Offer' (omptlb'r p'lttrs lB"<T»r 5Br M T Shr-«
£1.50 Cmtroruci C( | vi H .VM, Kemptien Taarar
Sent) ribbons • prepayment to Wot. A-jtmrvr Imtrlaot I 7X IPywtm andOpui
•vttrlaeei
ALADDINK, (Dept ZXC), Pr«s art lor caatttts ( mtu l Or P»P n f.ic{r
4 Hurkur Crescent, Eyemouth. QL/SPECTRUM UTILITIES! NEW ZX81 SOFTWARE Games, P*rjt Jddtl VttrmcreftiMcartndgr f? SOOpa i
Berwickshire, TD14 SAP. due t ? 00 a.TTMl pcntjgr Unodn'-nn
Tel: 08907 SOWS
Wide range ol business/practical utilities, adventures, books, our Crtv«uS vtnom (ehtrt at^ieprutrl C? 00
As seen in Crossfire Feb 117 programs available SAE/IRC tor ZX81 Users Club and much more
details (slate Micro). S D Micro- Send SAE lo: A.CV.. 1 Foxwell Brriwiy Sottwri (ZX|.
systems (ZX) PO Box 24. Hilchin, Square. Southlieids. Northampton 33. Ct«lM Ami. JtafllaM. S17 4K
Herts. NN3SAT
01-437 0699
- RESULTS
m j
THE BETTER LETTER
Modifications to the Tasword TWo: Improved
Tasword character set character set
POKE 41764,1 PUKE 41764,7
by John Wase and
•B": 41714,7 ' 41715,5 POKE 81716,7
Colin Laycock •c 1 : 11733(7 <17}<,7
41716,7 <1731. J <1734,7
V i 6l7l»,7or 1 (11744,7 <1743,7
•I'l 41745.< or 1
iim.i 117*7,7 <1754,7
^ * o t h Tasword 2 a n d Tasword 3
utilize the same 64-column "K'T <1 74},7 41741,I
character set: Tasman software <17<8,2 <17»,(T 1
<1776,4
didn't alter it (or Tasword 3; they 61771,2
merely c h a n g e d the location. In V i "<irf!;i" <1777: A <1771,1
both cases, therefore, Tasword's 6178},3
actual on-screen letters c a n be "E'i No c h a n g e
c h a n g e d if one wishes: In this
example many ot the lower case •l1! <1755,4 617*4,1 <1745,5
61796,2 61797,2 61798,7
letters have been redefined
Figure 1 to provide a character •n't 61 £65,5
set which has m u c h improved No c h a n g e
legibility when c o m p a r e d with
the original Tasword tetters. <1111,7 <1111,7
V i 414J4,7 61129,7
Tasword 2 V« 61814,7 (1617,7
For Tasword 2. all you have to dc *F*! i\U'17l"ot 1 <1641,4 or 4
is to enter BASIC alter l o a d i n g • ' 41856,-7 61652,7 61854,7
a n d d o the POKES listed in
Figure 2. To save the new •t1! ilflU, J
character set, select the "save • u « . No c h a n g e
Tasword" option from the m a i n lv». No c h a n g e
menu, a n d the c o d e thus saved
• v ».
includes the new characters.
Tasword 3
No c h a n g e
fns n
GROWING ?AW
APR/AN, HOLE
PROGRAM BY L E V E L 9
" T h e G r o w i n g P a i n s of
A d r i a n Mole*'
TV series, the g a m e aNows you l o help Adrian with day-to-day decisions. It's a
text-based g o m e with beautiful illustrations . m d your aim is to moke Adrian as
popular as possible through your answers to multiple-choice questions. This
(our part game c o v e r s 18 months in the life ol aspiring intellectual. Admin, and is
available (or 7 different computers.
BBC B v e r s i o n is n o t Illustrated.
COMPUTER FORMAT
Sptictrum 48 12BCASS
Commodore64 I?(1CASS
Anwtrad CPC CASS
BSC B CASS
MSX04kCASS
AUHI400 OOOXL XE CASS
Ami.tr.nt CPC 6128 DISC &
PCW B2S6 8S12 DISC
ATARI-ST £14-95 COMMODORE £8-95
AMSTRAD £8-95 SPECTRUM £7-95
COIN-OP COIN-OP