'-soon.Markalsowantsto nowwhyVenturesisnot
ilidi><
JDowric,fromAyrshire, accusedme ofgettingmyfacts wrong about havingtoproduce cartridgesforQuestprobeon theTexas.Well,I'm nogreat expertonthe subject,andIdid phrasemy explanation alittle misleadingly,butcertainlyas farasQuestprobeisconcerned, Alsay cartridge is the only way.
You should havenoticed 1am dealingwithlessarcventures thesedays,andundermy stricterdefinitionTechnician Ted doesnot really qualify,no matterwhat Hewsonsay.But seeingasweprinted themap.1 thought1hadbettercomplete the tasklist.Richard Burtonof Cornwalltakesupthestory from(he7th task, theCanteen.
Theyare: Photocopier,Board-room,SliceSurfaceAbrasion, LaserSliceSeparationPlant, Bay7.MicrochipMounting Furnace,Tea Machine,Power
Extraction,Matthew'sLair,We CallHimSirandTheWage
wheretogonext—well, accordingtoMichaelAdler fromDurham, you needtogo leftfromtheUnionPicket Line.Ihavenotcheckedthese
.-.hm,;>thelp with.New ZeaTander Dwayne CarnachanwroteinApril, askinghowtomovetheboulder in"TheCatacombs".The problemis,hedoesnotsay whichcompanymakesthe game,orwhichcomputerhe owns, so1am unabletohelp, since 1haveneverheard ofit.If anyHCWreaders can, please write in.Anotherplea 1cannot answerisfromJimCrierin Ayrshire.He cannotfindthe mousetoscarethe
elephant Acornsoft'sSphinx e.Sadly1have never
—socanyouhelp?
John Rundle from Aldershot, vhos. >.ei>
helpline these days, has se ausefulcompletesolutionti Level9-sexcellentLordsOf Time,manythanks.Heis ofthemanystuckwithMikro Gen'ssuperbadventure.The Wiich'sCauldron,whit' -JohnWilsonfromRochdale has sentmoresolutions,forTi NaNog andKnight'sQuesi whicharesuperbly writtenan
youwanthelp,cangive help, c
Writelo:Ventures,F Computing Weekly, No.l den Square,LondonW1R3AB
"Chessgameitisnot!"YourComputer
THE CHESS GAME
Commodore64 -NowAvailable -RRP£7.95
"Brilliantlydeigned opening screen...
Perspectiveaiiimiitimi ,uulspritedesign are ccellent...A verv clever,indoriginalprogram
Commodore Horizons
Istronglyrecommend this game whether you understand chess or not."Home Computer Weekly An arcade extravaganza from MicroClassie."
Your 64 1HFFIVESTAR REVIEWS CONTINUE...
HomeComputer Weekjy -Commodore Show ProductsReviewWeek-The chess game rated top );,im t ' -PopularComputing Werkly - Rated equal toplorweek -CommodoreHorizons -Top two bcilgame - top graphics -Commodore Computing International Five star graphics -PRIORITYORDER SERVICE Inw
El'OMI'UTlNCiWHLKl.YftAupuMI'JKJ
Banishsilencefrom your programming by following Jason Robinson's music routinefortheBBC
thisinlcrrupldri' :210.thenumber
Variables ion &.10 ion&1\
*T7 d"ra"OT°fCU"el"UU
IIOMI-COUi'lTING WTLKI.Y6A
o o o a.
Twistthe night away withthis ponto theAmstrad
gamefor
fairdeal?The onlywayto find oulisloplay afewhands of L pontoon.Atleastyou can be sureit'sgolnothingupits Twenty-oneisagraphical computerversionofthecard game Pontoon, Theobjectof Twenty-oneistogelcloneto twenty-onewithoutexceeding it.You dothisby addingthe facevaluesofthecards,you cantwistextra cards, but ifyou exceedtwenty-oneyoubustand thecomputerautomatically wins.When youthinkyou have enoughyou"stick".T' thenplays ii.hand
Verlablml petsnumberof aces player ha.s IOTAI.v,.urmlal DOTAL eamputnstotal XAND Vused for positioning eSlnlea
kof card FOR/NEXTloops
I330 NEXT I 540DOTAL ~" DOTAL * T
D0TflL'"=21THEN 590 -ACE5-1THENDOTAL -DOTAL
3CATE 37,9:PEN 0:PRINT DOTAL -dotal>2iThen 720
"TI =1THEN X=X*7:¥-5JGOTO
t-:''c
"-5THEM GOTO 750 TAL=TOTAL THEN 7B0 SE**«.»
E1.25jPEN2:PRINT'
:IFT>400 THEN GOTO
6BO T-T+ 120ELSE 630
ITH AFl 710 T-T+
E1.23:PEN 2:PRINT' 120ELSE 710 D, .r-T
.
„™»™*«m,
•^\Bi
970 PRINT Dt 9B0 NEXT
1030 LOCATEX 1030 PRINT b*
1050 PEN 3 RETURN
:L20letsuir-pr
IFCfiRD-1THEN CARE»="1"
THEN CARD*-"3"
CARD*-"4"
C0RD*-"5"
C0RD»-"6"
THFN CARD*="7"
MCARD*="11"
1CARD**"13"
THEN CARD=10 IFcard=!
IFr-ara-l RESTORE
TF.«„',-.
5=226 S=237
IFSUIT=T S=22B
IF"»J="s' B»=CHRS(s)
1540 C*(l)» CHR»<150H
02
ffl
<
Howtoget INtoandOUTofyour micro isthebasisofthisweek's instalment ofourSpectrum machine codeseries from Diana& Terry Smith
lookaiilit-l\andOlT very s
I.They rwaytc HASHcounterpart:
explainedintheSpectrum manual.Theyare themeansby whichtheCPUcaninterface TheuseofIN and'OUTis determinedtoalarge extentby thecomputerhardware.As explained inthemanual,there are65536possibleI/Oor InpuL/Outpuiportsthaithe ZSOmicroprocessorcanuse, but thewiringoftheSpectrum issuchthatonlya veryfeware
Thereisafairly comprehen-sive setofIN andOUT instruc-tionsbutyouareunlikelyto needthemall.unlessyouarcan
whyareyou readingthis?
Let'sbeginby lookingat[he instructionIN,whichcanbe thoughtofasthecounterpartof PIIK.Roththese
-portaddressforINanda memoryaddressTorPEEK.
Theybothreturnan8bit IN A,(C)toread thekeyboard.
Thislooksat[heinputport addressedbvthecurrent value of(heBCregisterpairand copies [henumberalthisport into[heAregister .Fig. 1shows 1hekeyboardlayout.
i,[he lawbyteof
the p. s.thei
254.Thevalue of the high byte (B)determines whichhalf row ofthekeysisread.For
IandCi wimple,i:
254,INA,iU)willscankeys QWERTandreturn wiih oils to4 of[heArctisierSETor RESET, depending011which of the fivekeysarc depressed. Ifa keyispressed,itresetsits corresponding iliaihiiis.ci?!.Sou wcles oftheAregister,aselbit1 ihel.)keywasnot pressed,
ling1provide 1simulates [he a-Skctdilov.(Our3year oves-tinsoriel)Ioiulllic 11address30000
>r[heloader estminjta
programgiven Thisexample1 1hefirst
1III-ROM 01apoint whichcanbemoved by keys 5,6,7and8.Thex value isheld intheEreyisierandthe y value intheDregislerwhilelite keyboardisbeingchecked.The coordinatesarethen transfer-red to theBCregistersforthe ROMrouline.Afterthai,[he HALTinslructionisused[0
'BitBitIBit3Bit3Bit*IBit4Bit3Bit2BitI8..F
QIIIlIIHBIlIIITJITJlTJlTJ [U