Vol. 4, Issue 1, August 1983

-r======;;- IGH SCORES (; ...... -·····----·�-- .ft ·. ·- .

I I .. , , PRESS TO START SAME IJEL:-- �Xf !) j�') ·auuen••• s...... srrr··•••••·= • ••......

Also in this issue: SOFTWARE: PROGRAMMING: • Aristocrat Colour More Arguments for Machine •Compound Multiplication Language Subroutines and Long Division Level I True or False • DEFUSR Function Level l/ REVIEWS: •Single Key Menu Model 3 Typing Tutor •Starshoot Levell Pyramid 2000 • Startrek Colour HARDWARE: The Dreaded Reboot ***** ABOUT MICR0 -80 *****

EDITOR : RYSZARD WIWATOWSK I ASSOCIATE EDITORS : SOFTWARE CHARL IE BARTLETT HARDWARE EDWIN PAAY

MICR0 -80 is an international magazi ne devoted to the Tandy TRS-80 Model I, Model II I and Colour mi crocomputers , the Dick Smi th Sy stem 80/Vi deo Genie and the Hitachi Peach. It is avai lable at the followi ng pri ces :

12 MONTH SU B. SINGLE MAGAZ INE ONLY $ 26 -00 $ 2-50 CASSETTE PLUS MAGAZ INE $ 65-00 $ 4-00 (cass. only ) DISK PLUS MAG AZ INE $125-00 $10-00 (di sk only )

MICR0 -80 is available in the United Ki ngdom from : U.K. SUBSCRIPTION DEPT. 24 Woodhill Park, Pembury , Tunbridge Wells , KENT TN2 4NW

MAGAZ INE ONLY £ 16 -00 £ 1-50 CASSETTE PLUS MAGAZ INE £ 43-60 £ N/ A DISK PLUS MAGAZ INE £ 75-00 £ N/ A

MICR0 -80 is available in New Zealand from: MICRO PROCESSOR SERV ICES, 940A Columbo Street , CHRISTCHURCH N. Z. Ph 62894 MAGAZ INE ONLY NZ$ 43-00 NZ$ 4-00 CASSETTE PLUS MAGAZINE NZ$ 89-00 NZ$ 5-00 DISK PLUS MAGAZ INE NZ$175-00 NZ$15-00

MICR0 -80 is despatched from Australia by ai rmai 1 to other countries at the followi ng rates : ( 12 MONTH SU B ) MAGAZ INE CASS + MAG DISK + MAG PAPUA NEW GU INEA Aus$40-00 Aus$ 83-00 Aus$ 143-00 HONG KONG/SINGAPORE Aus$44-00 Aus$ 88-00 Aus$ 148-00 INDIA/ lJAPAN Aus$49-00 Aus$ 95-00 Aus$ 155-00 USA/MIDDLE EAST/CANADA Aus$55-00 Au s$102-00 Aus$ 162-00

Special bulk purchase rates are also avai 1ab 1e to computer shops etc. Please use the form in thi s issue to order your copy or subscri ption.

The purpose of MICR0 -80 is to pub 1 ish software and other information to he1p you get the most from your TRS-80, Sy stem 80/Vi deo Geni e or Peach and its peri phera 1 s. MICRO­ SO is in no way connected wi th any of the Tandy , Dick Smi th or Hitachi organisations.

** WE WILL PAY YOU TO PUBL ISH YOUR PROGRAMS ** Most of the 1nformat1on we publlsh 1s prov1ded by our readers , to whom we pay royalties. An app 1 i cation form contai ning full detai 1 s of how you can use your mi crocomputer to earn some extra jncome is included in every issue.

** CONTENT ** Each month we pub 1 ish at 1east one app 1i cations program in BASIC for each of the mi cro­ computers we support. We also pub1 ish Utili ty programs in BASIC and Machine Language. We publi sh articles on hardware modi fications , constructional articles for useful peri ­ pherals , articles on programmi ng techniques both in Assembly Language and BASIC, new product revi ews for both hardware and software and we pri nt letters to the Editor.

** COPYRIGHT ** All the maten a I pub1 i shed in thi s magazine is under copyright. This means that you mu st not copy it, except for your own use. Thi s app 1 i es to photocopyi ng the magazine itself or maki ng copies of programs on tape or di sk.

** LIABILITY ** The programs and other articles in MICR0-80 are publi shed in good fai th and we do our utmost to ensure that they function as descri bed. However , no 1 i abi 1 i ty can be accepted for the failure of any program or other arti cle to function sati sfactorily or for any consequential damages ari sing from thei r use for any purpose whatsoever. VOLUME 4, NO. 1 (AUGUST, 1983 ) MICR0-80 PAGE 1

***** CONTENTS *****

REGULARS

EDITORIAL 2 INPUT/OUPUT - LETTERS TO THE EDITOR 2 MICROBUGS 10 USERS GROUPS 10

DEPARTM::NTS

KALEIDOSCOPE 3

PEACH BOWL 4 GROUP ONE 5 FORM THREE 5

PROGRAI't1ING TRUE OR FALSE? 6 MORE ARGUMENTS FOR MACHINE LANGUAGE SUBROUTINES 7

REVI B-IS PYRAMID 2000 8 TYPING TUTOR 9 HARDWARE THE DREADED REBOOT 9 SCfTWARE 12 &18 ST ARTREKI II II I II I II I I• I I II II II II II II I II II II II I II II I I II I II I I I II � cc

STARTREK I II II I I II II I II II •I II II II II I I II I II II II II I I II I II I II II I II I PEACH 12&22

ARISTOCRATI II I II I I II II II II II II II II II I I• I II I I II II I I I • II I II II I II Icc 12& 21

ARISTOCRAT II I II I II II I II I II II I II I II I I II I II II I II II II II I I I II II I II I PEACH 12& 25

URANIUM CORE II •I I •I I •I II II II I II • I I II • II II II I II II •I II I II I• I I I II I L2/16K 12& 2 6 &28 s 1 NGLE KEY MENU,••••••••• I •••••••I ••• , ••••• I ••••••• , ••, I••• I •••M3D 1 sK 13 DEFUSR I II I I II I I II II I II I II I II I II II I II I II II II I II I I II II II I II I I I II I L2/4K 15 &30 COMPOUND MULTIPLICATION AND LONG DIVISION�,,,,,IIIIIIIIIIIIIIIIL2/4K 16& 31

STARSHOOTI I II I I II I I II II II I II I •I I II II I I I II II I II II II II I I I II I I I II IL114K 17 & 32

MICR0-80 PRODUCTS CATALOGUE CENTRE

INDEX TO VOLUME 3 33

NEXT MONTH'S ISSUE 35

CASSETTE/DISK EDITION INDEX 36

ORDER FORM 36

MICRQ-80 Is REGISTERED BY AusTRALIA PosT - PuBLICATION No. SBQ2207 AUSTRALIAN OFFICE AND EDITOR: MICRQ-80 P.O. BOX 213 GOODWOOD, SOUTH AUSTRALIA, 5034 TEL. (08) 211 7244 U.K. SUBSCRIPTION DEPARTMENT: 24 WOODHILL PARK, PEMBURY,

TUNER I DGE WELLSI KENT TN2 4NW PRINTED BY: SHOVEL& BULL PRINTERS, 379 SOUTH ROAD MILE END, SA.I 5031 PUBLISHED IN AUSTRALIA BY; MICR0-80 433 MORPHETT STREET

AOCLAIDE, S.A. I 5000 VOLUME 4 NO. 1 (AUGUST 1983) MICR0-80 PAGE 2

***** EDITORIAL *****

As we begi n vol ume four of MICR0-80, a number of profound changes have taken place in the area of personal computers of particul ar interest to our readers. Production of the TRS-80 Model I stopped 1 ong ago and the System-80/Vi deo Genie is a 1 so no 1 onger being made . The introduction of the Model s 4 and 12 wi 11 no doubt see an end to the production of the Model s 2 and 3. But despite thi s, the most popular computer in the Austra1 ian home is sti 11 the Mode 1 I or System- 80 and the majority of our readers own 16K Leve 1 2 cassette-based systems. Di sk users and Mode 1 3 owners compri se a 1 arge proportion of the remai nder fo 11owed by a sma 11er number of Co 1 our Computer and Peach owners. What then can our readers expect from MICR0-80 in the comi ng months?

Firstly, a wi de variety of programs to run on your computer includi ng games, uti lities and appli ca­ tions. More articles on programming techniques, hardware projects and topics of special interest such as the techni ca1 aspects of di sk dri ves and operating systems , at vari ous 1 eve 1 s to suit the begi nner and the more advanced user. Critical reviews of both software and hardware products avai 1 ab 1 e for your computer and as many hints, tips and useful facts to he 1 p you 1 earn more about your computer as we can squeeze into the magazi ne. As a measure of our sincerity, we are putti ng the fi ni shi ng touches on a free software offer to a 11 our new subscribers and those renewi ng thei r subscriptions (starting wi th thi s issue). For our Group One and Form Three readers, the Software Li brary has been revi sed and improved wi th the addition of several new programs. A comp 1 etely new Software Library has been deve 1 oped for our Co 1 our Computer readers and Peach owners wi 11 get a choice of one of three commercially avai 1 ab 1 e games !

BUGET COMPUTERS

At the moment , the interest of computer manufacturers is focussed on the potential ly very 1 arge domestic market . Al though this section of the community is eager to learn more about the personal computer , it is a 1 so very re 1 uctant to out1 ay too much money to buy one. Therefore, the recent trend has been to offer a very low cost entry into computing like the VZ-200 pri ced at $199. So it is not surpri sing to see Tandy introduce the MC-1 0 Co1 our Computer into the U.S. market for just under $US120.

A sma 11 er , 1 ess powerful machine than the TRS-80CC, the MC-1 0 • s mai n features are its compact size, co1 our graphics and sound. Inside it features the Motoro 1 a MC6803 processor, 4K of RAM (which can be expanded external ly by an extra l6K) and an 8K BASIC interpreter in ROM. Although the cassette and RS232 ports rnaintai n hardware compati bi 1 i ty wi th the TRS-80CC, the different Mi crocolour BASIC and the di fferent processor prevent direct software compati bility. I expect that when re 1 eased in Austra 1 i a, the price of the MC-1 0 wi 11 be comparab 1 e wi th that of the VZ-200.

Unfortunately, the advantages of low-pri ce are offset by the general lack of good qual ity software . No matter how impressive the hardware , without software it is of little use to anyone. It wi ll a 1 so be interesting to see the price of software for these machines - at around $25 per game , it would require the purchase of only 8 games before you exceed the price of the machine itself!

- 0000000000 -

***** INPUT/OUTPUT *****

From: M.�J. Moore - Oxl ey, Qld.

I would appreciate your publ ishing thi s pl ea for hel p in the "Input/Output" section of your magazi ne in the hope that a reader may have overcome the probl em that I have been experiencing.

I have a System 80 to which I have attached a TC8 Cassette via a Syspand 80 bus converter . The system wi ll only enabl e switching of the remote cassette motor and not transfer of programs or data. The TC8 has been tested and operates perfectly on the TRS-80 . I removed the Syspand 80 and connected the TC8 directly to the System 80 , but the result was the same .

It would appear that I have a sof+ware probl em with the dri routine for the TC8 . Can anyone please help?

(At a guess, I would say your probl em is rel ated to the cassette port differences between the System 80 and the TRS-80 , parti cularly in the treatment of bit 2 (see letter p.5 July '82 issue) . Perhaps one of our readers can provi de a solution to this problem - Ed. )

From : P. Bunyan - Jervi s Bay, A..T.

I am in the process of bui ldi ng the joystick interface control ler and was wondering if the interface can be used as a Centronics para lle 1 interface for a pri nter or a seri a 1 interface. I think it would be good to have an arti cle about thi s in MICR0-80 . In the meantime, could you give me some information as to how the joystick interface could be used to control a printer?

{I presume that you are referri ng to the "Joystick and I/0 Ports .. project by A 11an Dent, in VOLUME 4� NO. 1 (AUGUST� 1983) MICR0-80 PAGE 3 which case the answer is •No•. Thi s joystick interface is not suited to such an appli cation and A 11an doesn • t recommend trying to use it in thi s way. However , I agree that it wou 1 d be good to have a construct i anal arti c 1 e on a Centronci s pri nter interface in the magazi ne. Any takers? -Ed. )

From: K. W. Glasson - Karalee , Qld.

I have noti ced from time to time in MICR0-80 a few one 1 i ne programs and I thought you may be interested in one of my 110ne 1 i ners... I ca 11 it a Mosaic Generator for reasons whi ch are obvious once you • ve run it. It he1 ps some peop1 e to re 1 ax just as you can do by staring at an open fire or by watching fi sh swimmi ng around an aquari um.

Mi ght I add a suggestion that when the time 1 apse between your acceptance of a program and its appearing in MICR0-80 exceeds say 6 months , that the contributor be approached for any new infor­ mation concerning the program pri or to its going to press. In my own case, I submitted a program called 11Loan Calculation Package.. and its acceptance for publication was a source of pride. However , its appearance in MICR0-80 some 18 months 1 ater was a source of embarrassment. During the interim I had improved it in many ways and your magazi ne could have had the improved version for the asking.

Here is the 110ne li ner .. -

10 CLS : FOR S = l TO 5: FORD= 1 TO 100: X=RND (63) : Y = RND(23) : SET (X,Y): SET (127-X,Y): SET (X,47-Y) : SET (127-X , 47-Y ): NEXT D: FOR F = l TO 500: NEXT F: NEXT S: GOTO 10 hope you li ke it.

(Thank you for your suggestion and I • m sure our readers wi 11 find the one-1 i ner interesting. A 1 though what you propose has meri t, we beli eve that it wau l d not be pract i ca 1 to imp 1ement. Most , if not all , of the programs that we have on file are at 1 east six months o 1 d and we wou 1 d need to contact the authors for every program to be pub 1 i shed. The updated version (if any was avai 1 ab 1 e) would have to be tested and the accompanying descri ption a 1 tered where requi red. Assumi ng that no problems ari se, thi s procedure would at least double the amo unt of time spent in the preparation of each program and i nevi tab ly 1 ead to production de 1ays - an into 1 erab 1 e situation. -Ed. )

From: Gavin Daniels

I have recently purchased an expansion unit and di sk dri ves for my System 80 MK II and I am finding it difficult to put all my system programs from tape to di sk. Could you please help remedy thi s prob 1 em by speci fyi ng a particular program wh ich can do it, or is it possi b 1 e to change the listi ng of the System Copier on the MICR0-80 cassette so it wi ll save to a di sk?

Is it also possible to change all my machine language programs li ke ASYLUM wh ich save data to cassette to save it to disk? If so, could you please send me the modifi cations for the following programs : ASYLUM, ADVENTURE 9, EDITOR ASSEMBLER PLUS , ZMON , CUBE , HOUSEHOLD ACCOUNTS VERS 3. 0, HELLF IRE WARRIOR , BMON , ROBOT ATTACK, GALACTIC EMPIRE , etc.

Please note that the games GALACTIC EMPIRE (Broederbund software ) and HELLF IRE WARR IOR (Dunjonquest) are written in BASIC.

(Di sk operating systems , li ke DOSPLUS and NEWDOS80 , provide uti lities for exactly thi s purpose, viz. TAPE and LMOFFSET respecti vely. These do not , however , re 1ocate machine 1 anguage programs in the true sense of the word. They rather di sp'l ace the program so that it can be LOADed from DOS and add an appendage that is executed first and which moves the program to its correct location in memory before passing control to it.

Modifyi ng machine 1 anguage programs intended for cassette systems so that they save and 1 oad data from di sk is possible , but not recommended. A much more expedi ent method is to buy the di sk versions of these programs from the ori gina1 vendor. To save and 1 oad data from BASIC programs is somewhat easier but depends on the given program. The Software Library booklet li sts modifi cations for the di sk version of Household Accounts as an example of how it can be done. Note that there is a correction to these in Microbugs (August 182 issue). -Ed. )

- 0000000000 -

EPART ENTS

***** KALE IDOSCOPE *****

Thi s month's programs for the Col our Computer ( Ar·i stocrat and Startrek) show some ways to get around the limiting text di splay. Although we have received one or two programs from our readers, VOLUME 4, NO. 1 (AUGUST, 1983) MICR0-80 PAGE 4 we hope to see a lot more in the near future.

Here are some more hints you may find helpful on your Colour Computer.

Don 't be alarmed or di scouraged if your program produces a syntax error for no apparent reason. Evidently , there is a bug in the BAS IC ROM that sometimes causes a program using the PCLEAR state­ ment to be stopped wi th a syntax error the first time it is RUN. The cure is simply to RUN it agai n. If you get another syntax error , then you 'd better look closely at the line in question.

Although most of the machines in Australi a should contai n Version 1.1. ROMs , some very early or imported machines may contai n Version 1.0 ROMs. There are rumours that the latest machines in the U.S. have 1.2 ROMs and there may be a few here in Australi a. To check exactly which ROMs your Colour Computer contai ns, type 'EXEC 41 175 (Enter) •.

If you find the green background colour a bit hard on the eyes then try the followi ng:

POKE 359,57 : SCREEN 0,1 (Enter)

Thi s changes the background colour to orange reasonably permanently. However , if for some reason your computer appears to lock up, then type (even if it doesn 't appear on the screen ):

POKE 359,126 (Enter)

What has happened is that the screen displays the graphics page and doesn • t return to the text page as it would under normal circumstances.

0000000000 -

***** PEACH BOWL *****

Two more programs for our Peach users thi s month - Ari stocrat and Startrek. Ori gi nally submitted for the Model l, they have been modified to run on the Peach. However, a few of our Peach readers have sent in programs and we expect to publi sh some of these next month.

In September 1982 issue, we publi shed a program for our disk users called Sector Editor. Although thi s program is a very useful utility wi th which to explore and repair di sks , it has the drawback that the BASIC screen display routi nes are very slow. Well , one local user by the name of Geoff Drury developed a modificati on to the original program to speed up the di splayi ng of information. What takes up a lot of time is the conversion of the binary sector data into di splayable ASCII data and if thi s can be done by a machine 1 anguage subroutine rather than in BASIC, the process is sped up enormously. Below is a li st of the modifi cation. Try it and see the difference.

50 SCREENO,,O:: CLEAR 4096+128::MCODE$=STR ING$ ( 120, "#") 52 MCADDR=256*PEEK+PEE K"END" THENPOKE ADR,VAL<

II �- PRINT CMD$ : ON INSTR<1 %,"DZCQ", CMD$) GOTO 110,860,980,1370

1999 �

PRINT/DISPLAY SECTOR DAT A

2000 CODEADDRH=PEEK:COD DELETE LINES 2000 TO 2140 EADDRL=PEEK

- 0000000000 - VOLUME 4, NO. 1 (AUGUST, 1983) MICR0-80 PAGE 5

***** GROUP ONE *****

For our Level l users thi s month we have Starshoot and Compound Multi pli cati on and Long Divi sion, whi le for our Level 2 readers we present Uranium Core and a utility to provide the DEFUSR statement in non-disk systems.

Reader John Smi th has sent in these hel pful hints :

In some games and competi ti ve computer acti viti es it is useful to have a limited time for input. Thi s faci lity is not avai lable as a BASIC function in the TRS-80 machines , al though it is avai lable in Assembly on the Model I I. Thi s latter doesn • t help peop 1 e like me who haven • t yet 1 earned how to use such strai ng symbolism ( ! ) , and is no hel p to Mode 1 I and Node 1 I I I owners, who, I bel ieve, have no such faci lity. So I wrote the followi ng BASIC routi ne to so 1 ve the prob 1 em. It is quote short and simple. Most of the listi ng here is REMarks, making the listi ng self- explanatory. I trust it may interest your readers.

100 " ***** "TIMETRY" ***** 110 " J.D.SMITH, HAWTHORN, SOUTH AUSTRALIA 120 " <<<<< 6th. March, 1982. >>>>> 130 "This is a means of limiting the time allowed for input to a programme. 140 ,. 150 REM >>>NOTE<<<: In Level II BASIC the apostrophe (") may be used 160 " instead of the word "REM". For Level I you have to do a bit more typing

170 ,. 180 "**********Set the parameters********** 190 ,. 200 SEC = 10 "Time in seconds allowed for an input to be made. 210 LM=4 "LM is the limit on "no entry" loops. 220 TD=SEC*46 "TD is the time delay count. Multiple will depend on 230 clockspeed of computer. This suits Models I & III. 240 " For Model II use a factor of 100 instead of 46. 250 TC=0 "TC is the count of cycles with no entry at all. 260 270 "**********This is the time-input loop********** 280 ,. 290 PRINT"YOU HAVE" SEC "SECONDS TO ENTER A NUMBER OR WORD" 300 TM=0:A$="" 310 I$=INKEY$:TM=TM+1:IF TC=LM THEN 380ELSE IF TM=TD THEN 370ELSE IF !$=""THEN 3 10 320 IF l$=CHR$(13>THEN 470"Note:CHR$(13> is . 330 PRINT I$; 340 A$=A$+I$ "A$ is used to build up the input string. 350 " A string is needed for INKEY$. For numerical input use VAL

There are various things you can do with two-word sentences. You can go, get, drop, look, take, climb, throw, etc. If you're not sure what you have collected, you can take 'inventory' and 'score' will tell you how badly you are doing.

There are apparently about 30 rooms and one 10 room maze. I didn't get much further than about 6 rooms, but time was not on my side and I didn't make a map, which was stupid. Was it my imagin- VOLUME 4, NO. 1 (AUGUST, 1983) MICR0-80 PAGE 9 ation or did the rooms change round the second time I played it?

If you are desperate you could try peeking into the game to find out how it works and what a11 the right words are, but then what is the point of playing it?

This is an adventure game. It is hard for some and easy for others, but it will certainly keep you entertained for a long time to come.

- 0000000000 -

***** MICROSOFT TYPING TUTOR ***** A Review by A.F.J. Bell

This cassette based program requires 16K, and comes from the producers of the BASIC used in the TRS-80, and of such great programs as EDTASM Plus and ZBUG. My copy cost $19.95.

It comes with an excellent 20 page manual which simply and clearly explains what the program does and why, how to set the program up, and how to use it. It also has some hints on good typing.

At the beginning of the program one is offered the options of learning letters, numbers, or symbols. After the computer sets itself up, one is offered the option of "Typing Tutor" or "Practice Paragraph ...

If one chooses Typing Tutor, two blocks of four randomly chosen characters will be displayed on the screen with the cursor underneath showing that one has to type the indicated 1 esson. The lessons are set out so that the easiest characters are practised first. At the end of the blocks a new 1 esson is generated, depending on the results of the previous lesson. That is, if one is typing a given character accurately and quickly, then it is removed and rep 1 aced by another character. After 10 1 essons the computer gives a progress report, and then a11 ows the options of slower, same, or faster response, or of Practice Paragraph. If Practice Paragraph is chosen, the computer wi11 generate a several 1 i ne paragraph using only the characters a1 ready practised, and one types the characters displayed just as in the Typing Tutor option. At the end of the Practice Paragraph one1s results are analysed and displayed, and the options of Typing Tutor and Practice Paragraph are again allowed.

I found this an easily understood and enjoyable to use program, and had no difficulty putting it on ESF wafer. Better still, it helped me to increase my speed and accuracy. I strongly recommend it.

- 0000000000 -

HAR WARE

***** THE DREADED REBOOT ***** by R.G. Burgin

I wonder how many of us have been typing away on a Model I TRS-80 only to suddenly have the disk drive start up and have the whole system reboot for no apparent reason? Of course, there is always a reason. It is just that us mere mortals have a little more trouble finding it than the computer gods who write the magazines but fail to give us answers we can access.

My system on 48K, LNW expansion, MPI B92, and Dick Smith Printer under NEWDOS 80 V2 gradually deve 1 oped the dreaded reboot to the point of being almost unusab 1 e. I be 1i eve the prob1 em is almost unknown if the keyboard is used alone. It certainly never happened to me when I only had l6K. It seems obvious that the more that is hung onto the system, the more prone it is to trouble. Well, Tandy did introduce the Model III for some reason, didn1t they? I don1t think they really care about RFI or the Model I wouldn1t be, would it?

OK, the increased number of bits and pieces in an expanded system wi11 unfortunately add to the number of spontaneous reboots; after a 11 , there 1 s more for the odd cosmic ray to hit. It only takes one bit in the 48K of RAM to be a little doubtful and bingo! Even if it doesn1t reboot, the CPU is off in never never land, ignoring the keyboard.

You and I can 1 t do anything about the acts of God like the above, but you sure can take the steps I took to ease my problems. The first area to look at is the push on edge card connectors tying the system together. Good practice says that all the contacts should be gold-plated to prevent corrosion. After a 11, we are dea 1 i ng with radio frequency currents at very low power levels so corrosion is almost guaranteed. So why didn1t Tandy gold-plate the connectors? It wouldn1t be too expensive when the PCB was bare. After all, the plug makers can do it and their prices aren1t too bad. VOLUME 4, NO. 1 (AUGUST, 1983) MICR0-80 PAGE 10

You can pull everything to bits and clean the contacts with a pencil eraser - it works, for a whi1 e. Don• t forget the disk drive and printer connectors. KEEP OUT of the disk drive - its makers weren • t so fruga 1 - the contacts here are gold -p1 a ted. If yours aren • t, have a good think about what the rubbings from the eraser could do inside before having a go.

If you read any of the American magazines on computing, no doubt you will have seen methods of gold-plating the contacts of existing PCB•s. Forget it! To buy the chemical needed would cost in the region of $400.00 in Australia plus some gold. I know, I spent a small fortune in phone calls to find out.

There is advertised in the American magazines another fix called Gold Plug 80 for about $10 US per plug for which I very nearly sent off the money. But would I get it sent to a foreign country, and even if it is a reputable company, how long would it take? The solution, however, is a lot nearer to home than that. Strangely (? - Ed.) it was MICR0-80 themse1 ves who so1 ved my prob1 em. I was in their office having a quiet snoop and decided to have a bit of a grizz 1 e about the problem when they suggested I go and see Grantham Pty. Ltd., in Gilles St. Adelaide.

These good people produced a connector strip of 80 gold flashed contacts which can be cut off at the desired 1ength and solde red to the existing contracts. The strip is coded S-700 QQ 170 and was less than $25 when I got mine. I have had no further reboots caused by bad cable connectors since fitting these gold contacts. Power line surges have been the cause of some further problems but if the Editor is willing, we might be able to discuss that another time.

(Certainly. By the way, Grantham Pty. Ltd. is now known as Magmedia at the same address - Ed.)

- 0000000000 -

***** MICROBUGS *****

A1 though we make every effort to ensure accuracy in the materia1 we pub1 ish, inevi tab ly errors and omissions will occur. In this section, we print corrections to those bugs that have been reported.

CHECKSUM Vol. 3, No. 11 October 1982 pp.3l-32.

The source 1 i sting printed in the magazine is for the disk version of the program. The Level 2 version should have the following changes made:

(1) in line 250, the Origin should be 41E2H. (2) in line lOOG, the Origin should be 428AH.

MOVIE FOR MODEL 3.

The modified version of MOVIE for the Model 3 that appeared on the October 1982 cassette was not the fi na 1 version and does not work on the Mode1 3. This month the cassette inc 1 udes the correct copy of MOVIE for Model 3 users. The October 1982 disk contained the final version and is not affected by this correction.

- 0000000000 -

***** USERS• GROUPS *****

The fo11 owing is a 1 ist of User• s groups of which we are aware. Many are interested in a wide variety of computers. For further information about any of the groups, contact the person in­ dicated. If you have a group not mentioned here, please let us know so that ,it can be included in this section. ** AUSTRALIA **

AUSTRALIAN CAPITAL TERRITORY

CANBERRA GROUP NORTHERN & WESTERN SUBURBS COMPUTER USERS GROUP Cont: Bill Cushing Cont: David Coupe, Tel: (03) 370 9590 10 Urambi Village, Kambah, 2902. Meet: CPM Data Systems, 284 Union Rd. Meet: 3rd Thurs. monthly, 7.30pm Moonee Ponds. Alt. Thurs. 7pm. Urambi Village Comm. Centre. Crozier Circuit, Kambah. PENINSULA COMPUTER GROUP Cont: George Thompson, 3 Patterson St. NEW SOUTH WALES Bonbeach, 1196. Tel: 772 2674. BLUE MOUNTAINS OF N.S.W. Meet: 2nd Tues. monthly, Chisholm College, Frankston. Cont: Greg Baulman Tel: Home (047) 51 3221 · Meet: 1st Fri. monthly, 7.30pm Springwood Civic Centre. VOLUME 4, NO. 1 {AUGUST, 1983) MICR0-80 PAGE 11

TRS-80 SYDNEY EASTERN SUBURBS USERS GROUP QUEENSLAND MAPPER CP/M USERS GROUP TRS-80/SYSTEM 80 COMPUTER GROUP Cont: Dan Lawrence Cont: Lance J. Lawes, 21 Rodney St. Lindum G.P.O. Box 2551, Sydney, 2001. Tel: {H){07)396 2998 {W){07)268 6811 WOLLONGONG GROUP Meet: lst Sun. monthly 1:30pm at Lindum Progress Hall, Lindum Rd. Lindum, 4178. Cont: Paul Janson P.O. Box 397, Dapto, 2630. COMPUTER OWNERS GROUP COMPUTERTOWN CAMDEN Cont: Betty Adcock, Tel: (07) 263 4268 Cont: Keith Stewart, TOWNSVILLE GROUP P.O. Box 47, Camden, 2570. Cont: Townsville Amateur Radio Club NEWCASTLE MICRO USERS GROUP Meet: 2nd Tues. monthly, State Energy Serv. HQ., Green Street, West End. Cont: Dennis Jackson, Tel: {049) 63 1910 SOUTH AUSTRALIA Meet: Last Wed. monthly 7.30pm, Hall, Cnr. Fowler and Ogen Sts., Hamilton Sth. ADELAIDE MICRO USER GROUP PEACH USERS GROUP Cont: Rod Stevenson, 36 Sturt St. Adelaide. Tel: 51 5241 between 9-4. Cont: 120 Lawson St. Redfern,N.S.W. 2016 SYDNEY PEACH USERS GROUP NORTHERN TERRITORY Cont: 261 Northumberland St. DARWIN GROUP Liverpool, N.S.W. 2170. Cont: Tony Domigan, P.O. Box 39086, Winnellie, 5789. VICTORIA NT COMPUTER USERS GROUP BALLARAT COMPUTER USERS GROUP Cont: Mr. Harmon Venner, President, Cont: John Preston, Tel: {053)31 4363 96 Freshwater Rd. Jingili, Darwin, N.T. Meet: lst Wed. monthly at 7.30p.m. Various venues - refer above. WESTERN AUSTRALIA EASTERN SUBURBS USERS GROUP CPU - THE CLUB FOR PEACH USERS Cont: John Fletcher Cont: Brendan Butcher, Tel: {09) 367 5880 Tel: Home {03) 737 9544 Bus {03) 89 0677 {9-4) PERTH •so USERS GROUP Meet: 4th Wed. monthly, 7.00pm. Kingswood Cont: C. Powell {09) 457 6849 College, 355 Station St. Box Hill. Meet: lst Tues. monthly, 7.30pm. Comm. Rec. GEELONG COMPUTER CLUB Hall, MacDonald St. Yokine. Cont: P.O. Box 6, Geelong, 3220. TASMANIA Meet: 2nd Thurs. monthly, Tybar Engineering Hampton St. Newton. DEVONPORT COMPUTER INTEREST GROUP MICROCOMPUTER CLUB OF MELBOURNE Cont: John Stevenson, Tel: {004) 92 3237 Cont: MICOM, P.O. Box 60, Canterburay, 3126 NORTH-WEST TASMANIAN USER GROUP Meet: 3rd Sat. monthly, 2.00pm. Burwood Cont: Rod Mcleod, Tel: Home {004) 372064 State College, Burwood Hwy. Bus. {004) 301611 ** UNITED KINGDOM **

COMPUTERTOWN NORTH-EAST NORTH WEST TRS-80 USERS GROUP Cont: c/o Claremont Pl. Gateshead, Co. 2 Cont: The Secretary, Tyne & Wear NE8 lTL. 40 Cowlees, West Houghton Tel: 0632-770036/643417/679119/559167. Bolton, BL5 3EG. COMPUTERTOWN UNITED KINGDOM OWNERS PROGRAM & INFORMATION CO-OP Cont: Dave Tebbutt, c/o 14 Rathbone Pl. London WlP lDE Cont: Derek Higbee, 12 Shelley Close, Ashley Heath, Ringwood. INTERNATIONAL TRS-80 LEVEL I USER GROUP Tel: Ringwood 6720. Cont: Mr. N. Rushton, 123 Roughwood Dr. TRS-80 EDUCATIONAL USERS GROUP Northwood, Kirley, Merseyside, L33 9U9. NATIONAL TRS-80 USERS GROUP Cont: Dave Futcher - Head Teacher, Beaconsfield First & Middle School, Cont: Brian Pain, 40A High St. Stoney Beaconsfield Rd, Southall, Stratford, Milton Keynes. Middlesex. NEWCASTLE PERSONAL COMPUTING SOCIETY WEST HERTS 80 USERS GROUP Cont: John Stephen Bone - 0632 770036 Cont: Terry Bradbury, 20 Spruce Way, NORTH-EAST TRS-80 USERS GROUP St. Albans, Cont: Barry Dunn, 8 Ethick Tee. North Herts. Craighead, Stanley, Co. Durham DH9 6BE. Tel: Park St. 73663. Tel: 0207 30184. VOLUME 4, NO. 1 {AUGUST, 1983) MICR0-80 PAGE 12

** NEW ZEALAND ** AUCKLAND WELLINGTON

Cont: Ron Feasy, Bus. 799366 Home: 469455 WELLINGTON SYSTEM 80 USERS GROUP Meet: lst Tues. monthly, 7.30pm N.Z. Solenoid Co. Ltd. 28 Kalmia St. Cont: Murray Trickett, Tel: 724-351 {W) Ellerslie, Auckland. 662-747 {H) Meet: 2nd and last Tues. monthly.

- 0000000000 -

SOFTWARE

***** STAR TREK (Colour) by R.O. Edwards *****

This game of Star Trek has comprehensive instructions built into the game which need not be repeated here. The Colour Computer version has a couple of modifications in it that were necessary due to the small screen size. All of the computer responses to your actions will scroll across the screen in a small window; this response wi11 only be rep1 aced when you take any action that requires a new response. A 1so, the Ga1 axy Map, (being about three times the width of the norma1 screen), can only be viewed a portion at a time. Think of your screen as a window and using the arrow keys, move this window 1 eft and right to view the required portion of the Ga1 axy map page. One further note for the Colour Computer version: the program has a POKE that gives text on an orange background. If the program terminates by its intended means, the ori gina1 va1 ue at the POKE address will be restored. If you should 'BREAK' the game, then it will be necessary to perform the following:

POKE 359, 126

This will restore the green background; failure to do this could cause the computer to appear to lock up; if it does, you can still blindly type the above (though nothing will appear on the screen until you press ENTER). This will restore the screen to normal.

- 0000000000 -

***** THE ARISTOCRAT (Colour) by R. Dyball *****

The Aristocrat is a poker machine for the Colour Computer and the Hitachi Peach. In each version you start with a credit of $10; to start the game you press the space bar. To start a new game you press ENTER/RETURN. The Colour Computer version has coloured blocks instead of letter symbols; the colours correspond to the symbols in the following manner:

YELLOW = 10 {TENS) BUFF J {JACKS) BLUE Q {QUEENS) RED = K (KINGS)

BLACK = A (ACES)

The payouts for each version are the same. The Co1 our Computer version has sounds for the ree1 s turning, the handle being pulled down and the coins dropping into the tray. The Hitachi version has a simple tone that is sounded when the reels stop spinning. In each version play continues until you run out of money.

- 0000000000 -

***** URANIUM CORE - LII/16K by D.S. Stevens and B. Thomas *****

NOTE: This program is strictly for Level II.

Uranium core is set sometime in the future. Earth is rapidly running out of natural resources. Your mission is to retrieve the uraniurn cores found in the second universe and return them to our universe via the universe interface. Your mission will be deemed unsuccessful if no cores are present in the pod bay.

Your ship is the new 'Vectored Probability Shift Pod' and it uses V.P. shifts to move. To slow forward movement, you must se1 ect reverse. Likewise with up: se 1 ect down to s1 ow movement {and vice-versa).

You have only one life, so be careful! Watch out for unstable neutrino webs and black holes! VOLUME 4, NO. 1 (AUGUST, 1983) MICR0-80 PAGE 13 PROGRAM BREAKDOWN.

Lines 1 0-120 Program title and authors, system type input. 140-150 Print @ position conversion. 160 Move player. 490 Unsuccessful mission. 500 Successful mission. Calculate new fuel, reset velocity, increment level. 550 Explosion routine. Print 11Game Over ... 580 Read machine language data and create strings, define variables. 700 Start game, draw screen. 780 Calculate new core position, set black hole if necessary. 850 High scores. 880 Print high score congratulatory message, wait for player to input name or initials. Calculate player•s position in high score array. 890 Print high score table. 1000 Print title page and await input (for instructions or game). 1230 Print instruction page and await input (to start game). {No input, so go to title page again).

The program uses SET (X, Y) co-ordinates and these are converted to give ?@ position. There are three machine language subroutines used by this program. The explosion routine is memory dependent so this routine may not be put elsewhere, but the sound and inverse screen routines are re 1ocatab 1 e code, so you may move them if they conflict with any routines you like to have in your computer. Don• t forget to rest the memory size!

1) EXPLOSION ROUTINE resides from 32305 to 32651 2) SOUND ROUTINE resides from 32688 to 32716 3) INVERSE ROUTINE resides from 32717 to 32767

STRING DATA

LB$ = Long �lank WB$ = Web

UT$ = Uranium Core Title = - - P$ �layer•s Ship

VB$ = Vertical Border UC$ = Uranium Core

HB$ = Horizontal Border BH$ = Black Hole

TB$ = Iop �order B$ = Blank

VARIABLE DATA

Cl = Arrow key location SC Score

C2 = a.�t! keys 1 ocation PX Player•s X position

C3 = Start of screen memory PY Player•s Y position

C4 & C5 = USR entry points PP Print position {calculated from PX I Inverse constant for C4 and PY)

M Sound constant for C4 XV = X Velocity

EX Explosion constant for C4 YV = Y Velocity

LV Level FP = Fuel Pointer

GF = Grapple Flag.

If you have any queries about this program, please don•t hesitate to contact me. HAVE FUN! !

- 000000000 -

***** SINGLE KEY MENU - MODEL 3 DISK by S.J. Turtle *****

NOTE: This program is strictly for Model 3 Disk users and requires NEWDOS 80.

This is one for those people who get ca11 ouses on their fingertips from typing in a11 those DOS commands so necessary to get anything out of their machines.

When correctly set up, this program displays a list of up to 16 of your most commonly used programs and/or commands with a pointer which can be moved up or down to point to any one.

All the user needs to do is to move the pointer, using the up or down arrow key to the required command and press {ENTER) .•. the command is then executed as if it had been typed in a� NE�DOS 80 READY. Pressing the (CLEAR) key restores the usual NEWDOS 80 READY command mode, wh1ch 1s also the default after any DOS command has been executed.

The correct setting up of this routine requires that you are fami1 i ar with, and have avai1 ab1 e VOLUME 4, NO . 1 (AUGUST, 1983 ) MICR0-80 PAGE 14 an editor 1 assemb 1 er and SUPERZAP as some minor cnanges must be made to two system programs , namely SYSO/SYS and SYSl/SYS.

The fi rst thing to do is get MENU into your machine, either by typing in the source code through an edi tor/assembler or by loading it from a MICR0-80 di sk or cassette. I would recommend typi ng in the source code and saving it as it is necessary to use the editor/assembler to write your own commands into the menu •••more about that 1 ater . Save the source and assemb 1 ed object code to di sk •..it is necessary to have object module on the system di sk.

***** BEFORE GOING ANY FURTHER make a backup copy of your system disk and use it to make the system program changes on , as any errors wi ll render it useless until they can be repai red using Superzap. *****

Next enter SUPERZAP •.•.•••••• 1) Type DFS (ENTER ) 2) Respond to FILESPEC? with SYSO/SYS 3) Respond to RELATIVE SECTOR #? wi th 8 4) Type MOD92 (ENTER) 5) Change 01 00 B2 48 to 01 FA B2 4B and save the change to di sk 6) Move to the next sector •••FRS 9 7) Type MOD8D (ENTER ) 8) Change 00 00 00 00 00 00 01 00 BO 4C 00 to 01 05 00 F2 C3 40 00 01 FF Bl 4C and save these changes to di sk. 9) Press X to return to SUPERZAP menu. lO )Exit SUPERZAP and REBOOT THE DISK.

Now re-enter SUPERZAP and ••• 1) using the method in 1 to 3 above go to sector 1 of SYSl/SYS. 2) Type MOD2A (ENTER) 3) Change C3 40 00 to C3 00 F2 and save to di sk.

You can now exit SUPERZAP •••

If a 11 is we 11 you shou 1 dn ' t notice anything ! However , if you have made an error there are three most 1 ikely symptoms - fi rst the screen wi 11 go b 1 ank except for NO SYS in the top 1 eft corner (you probably messed up number 5) or SYSTEM PROGRAM NOT FOUND repeatedly after a successful boot or constant reboots (you probably forgot number 8) .

When NEWDOS 80 READY appears type MENU or LOAD MENU/CMD and press (ENTER ) then when NEWDOS 80 READY returns press (ENTER ) agai n and the menu should appear .

If you have made any mi stakes wi th zapping the system programs , you probably won 't have made it thi s far , so any faults from now on are most likely in MENU/CMD itself.

You will, of course, want to change your menu to suit yourself . Thi s is best done using the editor/assembler - you wi ll find in the source code all the commands in DEFM statements ORIGi nated at F2FOH - by changi ng these to what you want and reassemb 1 i ng the program you can inc 1 ude any DOS command string that is permi tted under NEWDOS 80 , up to 40 characters long which is amp 1 e for most , if not all , needs .

To change the program it is only necessary to alter the MENU/CMD program. You never need to change the system programs once they have been set up, and the disk wi 11 sti 11 operate quite happi ly wi thout the menu resident , provided you never overwrite the three byte jump at F200

..• for this reason I recommend using an AUTO chain routine that sets HIMEM to FlFEH and auto­ mati cally loads MENU/CMD .

HOW IT WORKS

SYSl/SYS is the overlay module which is used to 'interrogate ' the DOS commands and act upon them. It usually jumps to a ROM li ne input routine at 0040H from 4E24H . SYSl/SYS is only in the system when a DOS command is entered . In order , therefore , to permanently change this vector to the MENU routine, it is necessary to change SYSl/SYS itself - that is, the second of the two zaps - we alter the jump to 0040H (C3 40 00) to F200H , the entry point of MENU (C3 00 F2). Now we are left wi th a problem . If we try to boot the disk wi th that change only control wi ll jump unconditionally to F200H every time, whether anything is there or not , hence constant reboots.

To overcome thi s situation we make a change to SYSO/SYS whi ch is the module 1 oaded first to set up the DOS vectors and the entire DOS envi ronment . Thi s change consists of p 1 acing three bytes at F200H to branch contra 1 back to 0040H unti 1 we get MENU Loaded - thi s is the fi rst of the zaps .

A quick note here about di sk fi 1 e formats to en 1 i ghten the now totally confused novices - each block of code on a disk file contai ns a header of 4 bytes to tell the computer •••

1) where to put it, and VOLUME 4, NO. 1 (AUGUST, 1983) MICR0-80 PAGE 15

2) how many bytes to put .

i.e. in our zap 01 05 00 F2 C3 40 00 means ....

01 - this is a new section 05 - there are 5hex bytes i ncl udi ng the two address bytes (the maxi mum is OOhex which equa 1 s 256)

00 F2 - where to put it ••.the address in LSB/MSB format, i.e. F200H C3 40 00 - the code to be put, i.e. JP 0040H

The other four bytes 01 FF Bl 4C were needed to load the next block , one byte of which we borrowed for our zap .

For anyone who would like to know more about disk files etc., I would recommend •TRS-80 DISK AND OTHER MYSTERIEs• by H.C. Penni ngton , which describes al l types of di sk fi les in great , yet easy to understand detai l. (It is avai lable from MICR0-80 for $27.00 and wel l worth every cent).

The only other zap to SYSO/SYS is to al low for the 6 bytes we borrowed from the last block.

The operation of MENU/CMD itself is fai rly straight-forward and I won •t di scuss it in detai l. The program listing documentation covers most of it. Basically the DOS routine at 4E24H jumps to F200H , the entry poi nt for MENU whi ch tests for a key input . If the key is anything other than (ENTER) it saves it and jumps to ROM at 05E3H to get the rest of the command and then continues as if MENU was not resident . If the key is (ENTER) it clears the screen , writes the menu and wai ts for up or down arrows , (ENTER) or (CLEAR). The arrows move the poi nter in the appropriate direction , the (CLEAR ) key clears the screen and returns control to the DOS routine by jumping to 0040H , the ori gina1 branch in the una 1 tered DOS, whereas the (ENTER) key causes MENU to 1 oad the command to which the poi nter is poi nting into the input buffer at 4225H and then jumps back to DOS at 497BH , where it usual ly would after getting a command from the keyboard . DOS then continues as if the command had been typed in normal ly unti l it agai n arrives at 4E24H where the cycle starts agai n.

When in the menu mode it is possible to enter the usual command mode simply by pressing (CLEAR ). After each command is completed the system is in this command mode. To enter menu mode simply press (ENTER) before any other key .

To change your menu, load the source code into your editor/assembler and alter the DEFM statements at the bottom of the 1 i sting . A 1 ways p 1 ace a DEFB OFFH after the 1 ast DEFB 00 byte to mark the 1 ast line of the menu, whether you have 16 entries or not . Thi s is to stop the poi nter at your last one and save it tryi ng to point past the end of the screen .

- 0000000000 -

***** DEFUSR - LII /4K by Roger Bowl er *****

NOTE : Thi s program is strictly for Level II only.

Thi s arti cle descri bes an extension to Level II BAS IC which should be of interest to anyone who makes USR cal ls from BASIC but particularly to those with a future move to Disk BAS IC in mi nd .

If you ever upgrade your tape-based TRS-80 to a disk system, you wi ll be pleased to find that Disk BASIC is general ly 11Upward compatible.. with Level II BASIC - that is to say, any program written according to the rules of Leve 1 II BASIC wi ll normal ly run unchanged under Disk BASIC. Thi s is very useful , because it means that you won •t have to make any al terations to your exi sting programs to make them work on a di sk-based TRS-80 system.

There is, however , one annoying exception to this rule, and it affects programs which cal l machine­ code (11USR11 ) subroutines. Level II BASIC and Disk BASIC use different methods for defi ning the entry address of a machine-code routi ne. Under Level II BAS I C, you have to break the USR routine•s address into its least-signifi cant and most-significant bytes, and POKE these val ues into locations 16526 and 16527 (decimal ) respectively, whereas Disk BASIC provides you with the somewhat more elegant DEFUSR statement .

The fol lowi ng example i 11us trates the two methods of defining the entry address of a USR routine starting at address 7DOO (32000 decimal ).

Level II BASIC ...... POKE 16526,0: POKE 16527,125

Di sk BASIC •...... DEFUSR=320 00

What this means is that before you can run your Level I I programs under Disk BASIC you have to go through them and convert a 11 the POKE 16526 etc . lines into DEFUSR= statements. If you forget to do thi s, then not only wi 11 the program not work, it is quite 1 ike ly that the POKE • s wi ll cause internal errors in the interpreter. VOLUME 4, NO . 1 (AUGUST , 1983 ) MICR0-80 PAGE 16

The ideal solution to thi s problem would be to provide Level II BASIC with the capabili ty to handle the DEFUSR statement. Then you could write all your programs using DEFUSR , in the knowledge that they will work equally well under either BASIC. In fact, thi s turns out to be simpler than it sounds; it can be done by adding as 1 itt 1 e as 16 bytes of machine code to the Leve 1 II interpreter .

The first program 1 i sting shows the assembly source of the code necessary to interpret DEFUSR statements . (If you are not interested in how it works, you can skip the rest of this paragraph, whi ch gives a brief out 1 i ne of the routine • s i nterna1 1 ogi c) . The Leve 1 I I interpreter takes a call to location 41 58H whenever a statement beginning with DEF is encountered in a BASIC program . Normally this location contai ns a jump to a routine which issues the ?L3 ERROR message, but we shall overlay it with a jump into our routine instead . When the call is made, the HL regi ster poi nts to the location within the BASIC program which follows the word DEF . Our routine first checks that the next two words in the program are USR and = (?SN ERROR is issued if not), then it eva1 uates the expression fo 11owi ng the =. The integer va1 ue of this expression is stored at locations 408E/FH (decimal 16526/7), thus defi ning the USR entry poi nt. Finally , a return is made to the Level II interpreter wi th HL poi nti ng to the end of the statement . Most of the processing is done by ROM calls which are more fully described in MICR0-80 's LEVEL II ROM REFERENCE MANUAL . It is the power of these ROM calls which makes the DEFUSR routine so compact .

To implement DEFUSR, all you need to do is to poke the 16 byte program somewhere untouched by Leve 1 II (I suggest 4040-404FH whi ch are used by Di sk BASIC for storing the date and time), and place a jump instruction to it at 41 5BH. The BASIC program shown in the second program 1 i sting will do this for you . Lines 20 to 50 store the machine code in 1 ow RAM 1 ocati ons 4040- 404FH and 1 i ne 60 a 1 ters the 1 ast two bytes of the JP instruction at 415BH to jump to 4040H . Run thi s program once , and the computer will remai n set up to accept programs contai ning DEFUSR statements (although you will have to rerun the program each time you power on the computer).

The third program li sting is included as a demonstration to allow you to try out DEFUSR. All it consi sts of is the machine code from the 'white-out • program (gi ven as a sample USR routine in section 8 of the TRS-80 Level II BASIC Manual) but the POKE 16526 etc . line has been replaced by a DEFUSR= statement . To use this program, power up the computer with a MEMORY SIZE of 31999, run program 2 to enable OEFUSR , then run program 3. The result is not particularly exciting but no doubt you wi 11 have p 1 enty of programs of your own which wi 11 benefit from DEFUSR in a more spectacular way .

- 0000000000 -

***** COMPOUND MULTIPLICATION AND LONG DIVISION - LI/4K ***** by C. Stobert

This program was developed to generate problems for practice in long division and compound multi­ pli cation using conventi onal layout and procedure.

The introduction is sketchy as only 20 bytes of memory remai n. No short cuts have been taken wi th punctuation so some extra memory may be found this way , though I prefer to •• stay with the book11 •

The program selects numbers and presents them in calculation format and the answers are entered in turn as per conventional procedure .

Each sequence consi sts of ten separate prob 1 ems and any treated incorrectly are repeated . The 11mark .. calculation is accurate for reasonably few errors as the counters calculate only the number of 11turns .. and .. total correct .. .

Li nes 5-120 Presents nomi nal introduction and selects type of problem to be processed . 200-270 Presents varyi ng approvals if solution is correct . 280-350 Presents varyi ng persona 1 introductions to break the monotony (not as grand as L II with sound but LI-4K does have its limi tations). 400-460 Selects the operating numbers for multiplication problems and breaks them into their component units , tens, etc . for placement in the operating format . 470-520 Places the numbers in the screen format and completes the detail with appropri ate underlinings and operating sign. 560-640 Places the input prompt at the appropriate operating p 1 ace in the format and then after each input replaces numbers removed by the scroll . The program loops until all four input lines have been completed . The last input includes the units, tens, etc . components of the attempted result . 3 4 650-660 Accepts input of x10 and x10 components as appropriate . 670-680 Calculates result of input and compares wi th correct result . 690-720 Assigns program to problem repeat , new problem or conclusion as appropriate. VOLUME 4, NO. 1 (AUGUST , 1983 ) MICR0-80 PAGE 17

800-840 Conclusion sequence. 900-940 Data 1 i nes for 1 ocati on of format 1 ayout and 1st - 4th input 1 i nes respective 1y. 950-990 Subroutine to replace inputs removed by scrolling. 1300-1340 Subroutine for input of answer sequence for long divi sion problems. 1400 Removes multipli cation data locations to allow access to Data for long divi sion oper- ations. 1410-1465 Selects divisor and di vidend and breaks them into component units , tens , etc. 1470-1 590 Places worki ng numbers in location on the operating format. 1600-1650 Completes format with appropriate separating li nes. 1680 Inputs first portion of quotient (hundreds ). 1690 Inputs fi rst entry calculation and remainder. 1700 Transfers next number down from dividend. 1720-1780 Sequences input to final remai nder calculation proceeding as above. 1800 Calculates final remai nder. 1840-1850 Calculates answer and compares with the correct result. 1860-1890 Directs program to new problem etc. 2000-2060 Data for long di vi sion operating loc ations.

- 0000000000 -

***** STARSHOOT - Ll/4K by M. S. Young *****

This program is an Ll /4K version of the game as in MICR0-80 July , '81. The object of the game is to get a pattern of stars as shown below from the initial position, by shooting stars. Only stars can be shot. A star is shot by entering the number of its position. When a star is shot the pattern wi ll change, depending on which star is shot.

* * * 2 3 * * * 4 5 6 * * * 7 8 9 Start End Layout

The above layouts are on the screen throughout the game for reference.

EXPLANATION OF PROGRAM

The board for the game is stored in an array A ( 1) - A { 9). The va 1 ue depends on if a star or a dot is in that position {1 or -1 respecti vely). A "second" array is used to store the pri nt positions A{ll) - A{l9) for positions 1-9. The actual positions on the screen are READ from the DATA in line 9999.

Lines 1001 - 1009 make the changes for a shot in positions 1-9. The line is selected in line 580 with ON S GOSUB .... Lines 2000 - 2050 pri nt the board and determi ne the position of the game. Vari ab 1 e E is used for the status of the board.

If E = 7 {8 stars and 1 dot ) AND the centre position A{5) is a dot , the game is completed (Line 620 ).

If E = 9 { 9 dots no stars ). This is also an end of the game , as no stars are 1 eft to shoot {Line 600).

Lines 3000 - 3160 pri nt the instructions.

Lines 4000-4060 pri nt the layouts.

The game can be completed in 11 moves , but bad shooting may clear the board and end the game. Good Luck !

The line numbers may look rather odd , but there is a reason for the numbers used.

The mai n program starts at li ne 500 and other sections start on li nes 1000, 2000, 3000 and 4000.

I find it easier to fo 11ow the 1 ogi c used in a program if the 1 i nes are numbered in thi s way rather than starting at li ne 10 wi th an increment of 10.

- 000000000 - **** STAR TREK **** 190 X=G :B= 410 PR I NTG>31 1,"COMMANDS: ";:PRINT < INT< < X -K > * 10) :S=G - INT374, "1 P 0 COLOUR COMPUTER I Ql ,Q2) /10> *10 HASERS ";:PRINT@406, "2 PHOTON c 200 FORI=1T08: FORJ=1T08:Q(I,J>=O ;:PR I NTG>438 ,"3 SH I ELDS "; :PRINT@ ::: 10 � ** STAR TREK ** IT1 :NEXTJ, I:FORI=1T03: K=0:NEXT 470, "4 DAMAGE ";:PRINTG>502, "5 MA 20 � ** R.O. EDWARDS ** ..;:. 210 Q(S1 ,S2>=1: IFK>O THEN FORI=1 P ";: RETURN 30 � ** 31 REDESDALE RD ** TOK : GOSUB940: Q(R1 ,R2>=2: K=R 420 PRI NTG>310, " 3 "; :PRIN :z 40 � ** IVANHOE 3079 ** 0 1:K=R2: K=200:NEXTI T:G>339, " 4: 2";:PRI NTG>37 1, 50 �MOD IFIED FOR THE COLOR 220 IFB >OTHENGOSUB940:Q(R1 ,R2> =3 *=* "; :PRINTG>403, " 5 COMPUTER BY MICR0-80 230 GOSUB860 :IFS>OTHEN FORI=1TOS ---*---1";:PRINT@435, " *= * 60 CLEAR3000 : RESTORE: CLS : PR I NT:i>2 :GOSUB940:Q=4:NEXT "; : PRI NT@467, " 6 : 8 ";: )> 01, "STAR TREK": GOSUB1380:FORI=1T c 240 IFD <2> >0 THEN FORI=Q1-1TOQ1+ PRI NTG>499, " 7 ";: RETURN Ci) OlOOO : NEXT c 1:FORJ=Q2- 1TOQ2+1:Z$=RIGHT$ 430 GOSUB420:MX=1:SD$=BL$+"SET C U) 70 MX=1 : BL$=STR ING$ C20, " ">:SD$= -i >,3> :NEXTJ, I OURSE <1-9) "+BL$ : PL=334 : GOSUB990 " BL$+ "* * * * * * * * * *"+BL$ 250 CLS: PRINTG>O, "SHORT RANGE SCA :C=QQ: IFC< 1THEN390ELSE IFC >9THEN 80 CLS :PRINTG>192, "DO YOU WANT IN N" : FORI=1T08: PR INTG>I* 32, ""; : IFD < 430 1.0 STRUCT IONS , ?" :GOSUB 1030: IF 00 1>>0 THEN FORJ=1T08: PR INT MID$(" 440 SD$=BL$+"WARP FACTOR <.1 - 1 w Q$="Y"THEN1110 .EAO* " ,Q+1,1>;:NEXTJ 2) "+BL$ : PL=332: GOSUB990 :W=QQ: IFW 90 PRINT:G>224, "NO OF KL I NGONS, 1 260 ON I GOSUB290, 300,310,320 ,33 <=OTHEN390ELSE IFW>12THEN440 -5 ";: GOSUB980: N=VAL 1 AND D <=OTHEN SD$=BL N$ ): IFN< 10RN>5THEN90ELSE CLS: PRI 270 PR INTI$; :IFD <1><=0 THEN SD$= $+ " WARP ENGINES DAMAGED, MAX SPE NTG>229 ,"CREAT ING GALAXY":Q=1.8[N BL$+ " SHORT RANGE SCAN INOPERABLE ED WARP 1"+BL$ :FORI=1T01000: NEXT 100 K9=0: B1=0:K1=0:TO= +2 "+BL$ :GOT0390 0> * 100:T=TO:FORI=1T08: FORJ=1T08: 280 GOT0390 460 CLS :T=T+1 :IF T>TO+T9 THEN 104 R= RND <500) /Q 290 PRINT"STARDATE ";T:SP=416: Q= OELSE FOR I =OT05 : D=D+.5: IF 110 K=O: IFR<20THEN K=1:K1=K1+1:I Q1-1 : GOSUB370 :RETURN D >5THEN D=5ELSE IF D <-5 FR< 1 0THEN K=2: IFR<5 THENK=3 3: 300 PRINT"CONDITION "C$:RETURN THEND=D+.5 ...... 120 K9=K9+K:B=O: IF RND <0> >1-N/50 n 310 PRINT USING"QUADRANT #:#";Q 470 NEX T: IF RND <50> =K* 1 00+B+RND<9> :Z$O THEN SD$=B >=" ":NEXTJ, I:KO=K9: IFK1>600RK 0 1,S2:RETURN L$+"*** SH IELDS HELD ***"+BL$ EL 1<3THEN100 330 PRINT"ENERGY "E; :Q=Q1+1 :SP SER=RND <6>-1:D=D+D/100:SD$ 140 Q1=RND<8> : Q2=RND <8> :IF INT +" DAMAGED ***"+BL$:D= (Q1 ,Q2) /100> >0THEN1 40ELSE IFB1<> 340 PRINT"TORPEDOES"P:RETURN 0 1 THENI=RND <8> : J=RND <8> :G=G 350 PRINT"SHIELDS "D:RETURN 480 N= INT :E= INT :IF +10 360 PRINT"KLINGONS "K9: RETURN E< 1THEN1 040ELSEQ (S1 ,S2>=0: X=S 1 :Y 150 CLS: T9=K9*3:S1=RND <8> : S2=RND 370 IFD <2> >0 THEN PR I NTG>SP, USIN =S2: GOSUB760:FORI=1TON:S1=S1+X1: (8) G"*###*###*###* ";G,G96, " PRESENT STARDATE"T 2> ,G;ELSE IFQ=Q 1 THEN SD 490 IFS1<.50RS2< .50RS1 > =8. 50RS2 :PRINT"AS COMMANDER OF THE U.S. S $=BL$+"LONG RANGE SCAN INOPERABL > =8. 5THEN530 • ENTE-RPRISE YOUR MISSION IS TO E"+BL$ ELSE PRINT 500 IFQ , INT >>1 RID THE GALAXY OF THE DEADLY 380 RETURN THEN SX$=STR$ (S1> :SY$=STR$ CS2> :S KL I NGONMENACE, TO DO THIS, YOU M 390 MX=1: PRI NTG>384 ,"LONG RANGE S D$=BL$+" ENTERPRISE IS BLOCKED BY UST DESTROY THE KLI NGON INVAS CAN" ;:PRINTG>328, " "; : PRI OBJECT AT SECTOR "+SX$+":"+SY$+ ION FORCE OF"K9"BATTLE CRUISE NTG>320,"COMMAND?";:GOSUB410: Z$ (Q BL$: S1=INT > 2+. 5) : FORI=1T01000: NEXT:GOT0520 170 PRINT"YOU HAVE "T9"SOLAR YEAR '3) 510 NEXTI :S1= INT :S2= INT S": PR INT"TO COMPLETE YOUR MISSIO 400 Q$=I NKEY$ : GOSUB1450:IFQ$=""T (S2+.5) N 5 THEN400ELSE IFA<4 AND A>O A 530 XO=Q1+W*X1:Q1=F IX : YO=Q2+ 180 FORI=OT05: READD$ CI>:D=5:N ND D <=0 THEN SD$=BL$+"**"+D W*X2: Q2=FIX : S1=FIX : IFS 1<1 THENS1=S1+8:Q1=Q1- 5) +" ":I$= STRI NG$ (21 ,45) :DA )> 390ELSE ON A+1 GOT0430,570,630,77 1ELSE IFS1 >8 THEN S1=S1-8:Q1=Q1+ Ci) TAWARP ENGINES, SECTOR SCANNER,DE IT1 0, 790 ,800 1 EP SPACE SCANNER ,PHASER CONTROL , 00 PHOTON TUBES ,SHIELD CONTROL MICR0-80 PRODUCTS CAT 1

UCTS CATA GUt: This catalogue contains a selection from the wide range of peripherals, interfaces, computers and software carried by MICR0-80 for your computer. If you don't see the item you want, contact us, we probably have it anyway! MICR0-80 has been supplying customers throughout Australia and the Pacific region by mail-order for 21h years. Our customers findthis a simple and efficient way to do business. You may place your order by telephone or by mailing the order form from any issue of MICR0-80 magazine. Generally, it takes about one week from receipt of order until despatch. You should allow 2-3 days for your letter to reach us and 7-10 days for the parcel to reach you, making a total turnaround time of 2112·3 week�. WARRANTY AND SERVICE All hardware products carry a 90 day parts and labour warranty either from the manufacturer Idistributor or from MICR0-80 Pty Ltd. In many cases, warranty servicing can be arranged in your own city, otherwise goods will be repaired by our own team of technicians in our Adelaide workshops. TRADE· INS AND TERMS MICR0-80 can accept your existing equipment as a trade-in on new equipment. We can also arrange consumer mortgage financing or leasing on larger hardware purchases. Contact us for details.

II for the Model 1. The LNW Expansion for the Model 1 comes fuily assembled in an attractive, heavy gauge steel case, complete with power supply and full documentation. High quality construction throughout, the Expansion 11 features a full 32K of 200ns RAM, RS-232-C and printer interfaces, gold­ plated connectors and a controller. PRICE $550 plus $10 freight

SOFTWARE: CHARM $55.00 plus $2.00 p&p AUTOPlOT $125.00 plus $2.00 p&p A programmable character generator for Autoplot enables you to make use of the designing character sets, symbols and high resolution capability of the LNW 80 graphic characters with a maximum of more easily, with the ability to produce ease and flexibility. hard copies on a suitable pri nter with bit mapped graphics.

AVAilABlE SOON: LNW Research corp. has announced the release of several new products for their ra nge of LNW80 computers:

• CP/M Upgrade Kit To upgrade LNW80 "kit computers" to 96K of RAM and provide CP/M operation. This kit consists of a CP/M adaptor board, 64K of RAM, installation instructions, CP/M2.2 diskette and LNW CP/M manual.

• LNW LDOS A new LDOS operating system for the LNW80 Model 2 providing software compatibility with the TRS-80 Model 3. users with the new CP/M upgrade kit will also be able to run the new LDOS.

• CP/M Plus CP/M Plus

lnt ucing the N LNWSO L2

The new LNW Model 2 is not just a microcomputer but a complete computer package that includes excellent hardware, extensive systems software and a ra nge of applica­ tion software. Manufactured by LNW Research corporation, the LNW Model 2 features: HARDWARE: SYSTEMS SOFTWARE:

• 4MHz Z80A microprocessor with 96K user LNWBASIC 4.0 - an extension to disk BASIC RAM. that allows full use of the LNW80s • 16K x 6 bits Graphics RAM, expandable to graphics capabilities through the 64K (four pages>. addition of powerful graphics • Printer, RS-232-C and cassette interfaces. commands such as CIRCLE, COLOR,

• 12K BASIC in ROM (Level 2 compatible>. DRAW, etc.

• support for single/double sided, DOSPLUS 3.4 - the fast, reliable and easy­ single/double density, 5V4" or 8" disk to-use operating system that pro­ drives. vides all the file control and disk • Full TRS-80 Model 1 compatibility. management you need for max­ • Hi-res colour (RGB> and B video & w imum benefit from your disk outputs. drives as well as an enhanced disk • Four Hi-Res Graphics Modes: BASIC. - B & W 128 X 48 - B & W 480 X 192 LNW-CP/ M - the CP/M operating system - 8 colour 128 x 192 opens the door to a whole new - 8 colour 480 x 192 world of software. LNW-CP/ M was • Three text displays Modes: designed to be compatible with - 64 char x 16 lines application programs written for - 80 char x 16 lines CP/M 2.2 and provides the user - 80 char x 24 lines with a 61 K system

APPLICATION SOFTWARE: 3. Electric Pencil - an easy-to-use word 1. LNW Small Business and Professional Ac­ processor. counting Series - including General 4. Microterm -an intelligent terminal pro­ Ledger, Accounts Receivable, Accounts gram for communications. Payable and Payroll ru.s.A. 5. Chart-Ex - allows you to transform your conventions). data into pie, line or bar charts on hi­ 2. Electric Spreadsheet - for financial plan- res display or printer with bit graphics. ning and forecasting.

The LNW80 Model 2 is perfect for the serious hobbyist or businessman seeking a higher performance, more reliable computer to replace his TRS-80 Model 1 without sacrificing a huge investment in software and programming experience.

LNW80 Model 2 computer ...... $2,850 rcomplete except for disk drives and monitorJ HI-RES Green Phosphor Monitor ...... $265 Super HI-RES Hitachi RGB Monitor ...... $1,250 TWo Single-sided 40 Track Double Density Disk Drives ...... $825 an cabinet with power supply and cableJ All prices include Sales Tax and are subject to change without notice. Prices are FOB Adelaide. Add $20 road freight anywhere in Australia. All equipment carries MICR0-80's Australia-wide 90 day warranty covering parts and labour. MICR0-80 PRODUCTS CAT 3

SCARFMAN THE WILD WEST SPACE ATTACK STRIKE FORCE

This incredibly popular game craze It's up to you to keep the West Steady your nerves, keep a sharp As the primary defender of a world of now runs on your TRS-801 It's eat or beautiful with Outlaws and rene­ lookout, and prepare for battle to cities under deadly alien attack. your be eaten You run Scrariman around gade Indians on all sides .. Even the save your city. Fiendish aliens are all weaponry is the latest rapid fire the maze . gobbling up everything in train has been captured by Outlaws around, and if thay destroy the city missiles. long range radar . and your path Try to eat it all before nasty with all the payroll on board. Can you lose. incendiary "star shells " Your force you clean up the Wild West? $26.50 monsters devour you Excellent high Price: field can absorb only a limited number speed machine language action game Price: $26.50 of impacts A complex game at from the Cornsoft Group With sound strategy, skill and reflexes from r Melbourne House Price: $17.95 Price: $26_50

Soar swiftly over jagged landscape, Asteroids float ominously around the swooping high and low to avoid screen You must destroy the obstacles and enemy missiles attacks asteroids before they destroy you ! (Big With miles of wild terrain and tunnels asteroids break into little ones) You to penetrate, you 're well armed with r ship will respond to thrust, rotate. bombs and multiple forward missile hyperspace and fire Watch out capability. From Melbourne House. for that saucer with the las Features sound , trainer mode and er! As reviewed in May 1981 Byte customizing program Magazine Price: $36.50 Price: $26.50

Your ship comes out of hyperspace As a vast panoramic moonscape under a convoy of aliens. You destroy scrolls by, select one of many landing every one But another set appears sights The more perilous the spot, the These seem more Intelligent You more points scored -- if you land eliminate them too Your fuel supply is safely You control LEM main engines dlm1n1shmg You must destroy two more and side thrusters One of the best sets before you can dock The space uses of TRS-80 graphics we have ever statiOn IS now on your scanner With seen From Adventure International sound 1 With sound Price: $26.50

Price: $26.50

METEOR MISSION II GALAXY INVASION DEFENSE COM MAND As your ship appears on the bottom of the maze . eight alien ships appear on the As you look down on your view. The invaders are back' Alone, you The sound of the klaxon is calling you' top, all travelmg d!fectly at you1 You astronauts cry out for rescue. You Invaders have been spotted warping defend the all important nuclear fuel move toward them and fire missiles But must maneuver through the asteroids toward Earth. You shift right and left canisters from the repeated attacks of the more aliens you destroy. the faster and meteors. (Can you get back to the as you fire your lasers . A few break thieving aliens, repeatedly An alien the remaimng ones become. If you gel space station?) Fire lasers to destroy formation and fly straight at you' You passes your guard, snatches a too good you must endure the .. Flag· the asteroids. but watch out, there place your finger on the fire button canister and flys straight off. Quick' 1 could be an alien Flagship lurking knowing that this shot must connect' You have one last chance to blast him Ship· W1lh sound effects Includes sound effects' With sound effects' · from the sky' With sound and voice Price: $26.50 Price: $26.50 Price : $26.50 Price: $2S.50 MICR0-80 PRODUCTS CAT 4

MICR0-80 now offers you the widest range possible in entertainment software. These programs are supplied on cassette for the Levei ii/16K TRS-80 Model l/111 (except as noted). They are also suitable for the System 80 but sound may not be available unless a hardware modification has been fitted to reverse the roles of recorders #1 and #2. Order yours now while stocks last!

DEFENCE PENETRATOR $20.95 JUNGLEBOY $2 1.50 DEFENCE PENETRATOR is based on one of the The ultimate challenge! Are your reflexes fast most popular arcade favourites of all time with enough to swing Jungle Boy from vine to vine? Can smooth graphics and sound effects. With realistic you swing through the jungle? Can you swim by the scrolling planetscape it's the best game yet. alligators? These are just some of the things you will find very challenging in Jungle Boy. DEVIL'STOWER $25.95 Aliens move in waves of 5 attackers with their robot scouts attacking you from the mountain, their war STELLAR WARP $20.95 machines and their protector ships putting up force Animation with superior fighter craft brings you an fields to protect them. Only your skill and fast even greater challenge. As your computer ad­ reflexes can save the plant. vances your level, the aliens become more dangerous and the harder it is to stay alive! BATLE STATION $2 1.50 The aim of the game is to defend your space station against the attack of four alien space ships. HOPPY . $2 1.50 The aim of the game is to get your frogs across the MORGOTH $20.95 busy highway without being squashed and then Morgoth is a unique action packed adventure across the river by means of floating logs and allowing you to wander through the enchanted turtles. dominion of Morgoth and collect the lost treasures of KAZARD KALLAHAN. But Beware! You must escape before the satanic Morgoth is aroused and PANIK $28.50 seeks yea! Your mission is to rid the galaxy of the Mzors forever. Mzors are half animal and half machine. KILLER BEETLES $2 1.50 Their leaders are very difficult to destroy and are The aim of the game is to dig traps. When a beetle capable of creating more warriors at will. Your fa lls in you must fill it in to bury them, before they weapons are your energy pistol, short range can catch you. transporter pack and your courage. STAR CRESTA $20.95 Star Cresta takes you beyond the limits of your com­ INSECT FRENZ¥ $2 1.50 puter and into the Cosmic void itself! Beware! Iron The aim is to stop the centipede from getting you, all clad concentration and lightning relfexes are re­ quired to destroy the evil empress. the time keeping an eye out for the giant spider.

JUNGLERAIDERS $2 1.50 The aim of the game is to defend your four bases ALIENCRESTA $2 1.50 from the marauding Jungle Raiders. Your skill all The aim is to defend your ship from numerous at­ the Jungle Raiders and they try to hit you with their tacks from an assortment of aliens. If you get hit spears or drag off all four of your bases. three times, it's all over.

ALIEN TAXI $28.50 Your goal is to pick up and deliver passengers to an DESERT PERIL $28.50 undergrmmd resort hotel. There is a fare at each of The Zagons have mined the desert and have put the 12 taxi stands on the first level and 12 more on killer satellites, drone bomber balloons, and flying the second level. dragons along the whole trail . The future of your planet's race depends on your skill and daring. KILLERGORILLA $2 1.50 Fou! completely different frames. Each one offering a d1fferent challenge, makes this one of the most RALLY RACER $20.95 complex and stimulating games ever written for a Drive through an action packed maze and try to hit TRS-80. The game keeps track of the top ten scores all the flags before Morgan the Mad motorist or along with a six character name for each score. Crazy Harry and his killer hoodlums catch you !

NOTE: As the prices of imported software may vary, these prices are valid for current stock only and prices are subject to change without notice. MICR0-80 PRODUCTS CAT 5

isk Storage with the

The LNDoubler is easily installed into your expansion interface and provides support for both 5 Y4" and 8" disk drives. Completely compatible with all the major Disk Operating Systems, the LNDoubler provides technically advanced, tested and reliable double-density operation with such features as:

• Analog phase lock loop data separation. as 5'' or 8" drives and a switch is • Precision write precompensation. provided for drive 0. • High quality PCB will all contacts gold­ • Supports any mix of 5" or 8" drives, single plated. or double density, single or double sided. • Drives 1-3 may be software selected

The LNDoubler will inrease the formatted storage capacity of each 40 track single-sided drive by 80% to over 180Kbytes for just over half the cost of one disk drive. With an 8 inch double­ sided double-density disk drive, you can have over one Megabyte of online storage! The LNDoubler 5/8 doubler with documentation is available for ... $285 plus $2.00 p.&p. NOTE: A sp ecial cable is required for 811 drive operation and 8" double-density opera tion requires a 3.55 MHz CP U speed-up modification.

now available .....

is the state of the art in Disk Operating Systems fo r the Model 1 and Model 3 offering an order of magnitude increase in flexibility and performance over its predecessor DOSPLUS 3.4 and yet is easier to use and more friendly with a Help fa cility explaining the syntax of DOS commands. The huge manual of over 350 pages describes the system in detail and is sectioned and tagged so that you can find what you want more quickly Far greater flexibility is offered by the introduction of device drivers that are external to the system and that can be tailored to your needs. Some of the features offered by DOSPWS 3.5 are ... • Single and double density support with density re cognition. • Improved file control fa cilities and date stamping of files. • A keyboard driver that offers single key entry • An extensive Job Control Language. • Complete and detailed technical system information. • Tw o versions of BASIC plus a BASIC label fa cility. • and much more. DOSPWS 3.5 REPRESENTS EXCELLENT VA WE AT $160 When ordering by MAIL please specify Model 1 or Model 3 and include S 2 for freight Run yo ur own bulletin board wi th ...

MICR0-80 BULLETIN BOARD SYSTEM $119.00 t $2.00 p&p MICR0-80 (!) is an advanced Bulletin Board System that can be configured to be public allowing anyone to use the system, to be private allowing only authorised access or to allow limited access to some users. As well as providing facilities for uploading/downloading program/data files and messages, MICR0-80 features multi-level system security, user passwords, provision for private messages and permanent user records, and automatically reclaims space when messages are deleted. MICR0-80 is provided with a minimum DOSPLUS operating system kernel. MICR(YfE�lVI 1.4 $119.00 t $2.00 p&p The intelligent microcomputer terminal package that provides many unique features such as Auto Dial and Automatic Transmission Time to send files to a remote site at any time, automatically. ' Microterm is provided with a minimum DOSPLUS operating system kernel and utility programs to upload and download both program and data files, and allows you to execute DOS commands without exiting the program. The input buffer continues to collect incoming data while going from terminal r mode to command mode. The Model 3 version is certified to operate at speeds up to 4800 baud and the Model 1 version up to 600 baud (with no nulls inserted). (M inimum Sy stem Requirements: 48K Model 3, 2 Drives, RS-232-C and Mo dem) All prices include Sales lax and are subject to change without notice. Some items are in limited supply. All equipment carries MICR0-80's Australia-wide warranty covering parts and labour. MICR0-80 PRODUCTS CAT S

OliVETTI PRAXIS 35 OUVETTI ET-111

$ $ plus $10 road freight anywhere in Australia plus $20 road freight anywhere in Australia

MICR0-80 has converted these OLIVETTI typewriters to work with the TRS-80, SYSTEM 80 or any other microcomputer with a Centronics parallel port. Now you can have the best of both worlds - an attractive, modern, correcting electronic typewriter which doubles as a correspondence quality Daisy Wheel printer when used with your microcomputer.

The PRAXIS is a portable typewriter, The f.T-111 is a large typewriter designed for private and light intended for heavier duty commercial use with an average and features a print speed print speed of 6.5 c.p.s. of up to 11. 5 c.p.s.

Centronics printer cableto suit TR5-80 or SYSTEM 80 ...... $3 9 MICR0-80 is an A-Grade Olivetti distributor and has been produci ng printer conversions for Olivetti daisy wheel typewriters for several years. Write or call for full details.

plus $2.00 p. &. p. plus $2.00 p. &. p.

Large volume means we can buy The MICRO-SO modification features true below­ better and can pass the savings the-line descenders, a block cursor and symbols on to you. There are our proven, for the 4 playing-card suits. Each kit comes with prime, branded 200 nanosecond comprehensive fitting instructions and two chips, guaranteed for 12 months. universal lower-case driver routines on cassette A pair of DIP shunts is also to enable you to display lower case. These required to upgrade CPU memory routines are self-relocating, self-protecting and in the TRS-80 - these cost an will co-reside with other machine language additional $4.00. All kits come programs (the second includes keyboard­ complete with full, step-by-step debounce and flashing cursor). Fitting requires instructions which include labelled soldering inside the computer and should only photographs. No soldering is be carried out by an experienced hobbyist or req uired . You do not technician. A fitting service is available in capital have to be an experienced cities for only $20.00 and a list of installers is electronic technician to included with each kit. (Specify TRS-80 Model I install them. or System 80 when ordering.)

All pr:es include Sales Tax and are correct at time of publication but are subject to changes without notice All eq uipment carries MICR0-80·s Australia-wide 90-day warranty covering parts and labour MICRO-SO PRODUCTS CAT 7

DISK OPERATING �STEMS & DEVELOPM NT OFTWARE

You can increase your programming productivity, the execution speed and 'user friendliness' of your programs by using an enhanced (DOS). Together with the other util ity software, you can get the most from your disk drives.

DOSPLUS 3.4 $149.95 NEWDOS80 VERSION 2.0 $185.00 (Specify Model l single/double density or Model Ill) (Specify Model l or Model Ill) A powerful DOS that provides many features and comes with a Newdos 80 suits the experienced user who has already used stand alone manual . With a high-degree of compatibility ·with TRSDOS, understands the manual and is prepared to learn the TRSDOS, DOSPLUS 3.4 is suitable for the first-time or somewhat complicated syntax of one of the most powerfulDOS ' s experienced user. available. With the correct hardware, Newdos 80 supports any mix of single- or double-sided, single or double density,.5" or 8" disk drives with track counts up to 96. It provides powerful, DOSPLUS 3.5 $160.00 flexible file handling in BASIC including variable length records up (Specify Model l or Model l II) to 4096 bytes . Definitely not for the beginner. DOSPLUS 3.5 is a powerful, sophisticated DOS intended for the experienced user. The system can be configured to suit your MASTER DISK DIRECTORY $20.95 requirements, provides greatly enhanced features over 3.4 and FIND THE PROGRAM FAST!! PAYS FOR ITSELF BY RELEASING new features like single-key entry,date-stam ping of files, a Help REDUDANT DISK SPACE!! MASTER DIRECTORY records the file and more. More user friendly than 3.4, DOSPLUS 3.5 comes directories of all your individual disks onto one directory disk. with a very extensive stand-alone manual . Then it allows you examine them, findan individual file quickly, list files alphabetically, weed out redundant files , identify disks with free space, list files by extension, etc., etc . This program is invaluable for the serious disk user and will pay for itself many times over. Not fully compatible with NEWDOS 80. ENH BAS $52.95 EN H BAS adds over 30 new commands and functions to your THE FLOPPY DOCTOR/MEMORY DIAGNOSTIC BASIC interpreter including high speed SORT, labels in BASIC, Model l II Disk$43.50 RESTORE to any line number, WHI LE-WEND for structured THE MICRO CLINIC offers two programs designed to thoroughly programming, SCROLL, LEFT, INVERT, DRAW and PLOT to give check out the two most trouble-prone sections of the TRS-80 - you ease of control over graphics, SOUND and PLAY to add the disk system (controller and drives) and the memory arrays . realistic sound effects and many more. Makes programming a Both programs are written in Z80 machine code and are supplied breeze! Available for Model l or Ill, disk or cassette - specify together on diskette for a minimum 32K, one disk system . which when ordering.

Note: For DOSes, include $2.00 for freight.

EN R IN

BOSKONE ALERT $25.50 STELLAR WA RP $20.95 You have total control of every aspect of your fighter and must Use your fighter craft to destroy the aliens who become more use your laser to destroy 9 Deathstars before the Earth comes dangerous as your level advances. Beware of the space mines. into range. In an emergency, activate Stellar Warp .

OUTLAND $25.95 DOOMSDAY MISSION $25.50 You must use your skills, reflexes and an array of weapons to You must disarm a number of nuclear missiles left by saboteurs defend your colony against the attacks of Xenos Star Raiders and on one of our space stations. Any direct assault on the station prevent its destruction . could launch those missiles. MICR0-80 PRODUCTS CAT S

C 80 DOT MATRIX PRINTER

Fe atures: • 80 cps bi-directional, logic seeking

• 40, 71, 80 or 142 characters per line

• Normal and italic alphanumeric, symbol and semi-graphic characters

• Unidirectional bit image graphics (8 x 640 or 8 x 1280 dot/line)

• Tractor and friction feed EPS N MX80 compatible control codes L $599

I L N u c MENT

We are expanding our range of disk drives to include the new L I I E MINI-FLOPPY DISK DRIVES

These half-height, 5Y4" disk drives represent the state of the art in both technological design and mechanical construction. With the characteric high quality of manufacture expected in Japanese products, these drives feature ultra-modern electronics, servo­ controlled direct drive motors and exceptional physical construction that provide extremely reliable, smooth and quiet operation in both single and double density. Tw o varieties will be available shortly: 40 track double sided and 80 track double sided. Please WRITE for further information.

OTHER PRINTERS AVAILABLE: EPSON RX-80 $995 Features: 100 cps, 6 character sizes, bit image and graphic modes. ITOH PROWRITER 85 10 $ 1150 Features: 120 cps, bit graphics and proportional printing. EPSON FX-80 $1399 Features: 160 cps, 6 character sizes, proportional printing, bit graphics.

All prices include Sales Tax and are correct at time of publication but are subject to change without notice. All equipment carries MICR0-80's Australia-wide 90 day warranty covering parts and labour. Add $10 road freight anywhere in Australia. 540 S2=FIX : IFS2< 700 X=XO: Y=YO: IFQCX,Y>=2 THEN FO 860 IFK>O THEN C$="RED" ELSEC$=" 1 THEN S2=S2+8:Q2=Q2- 1ELSE IFS2> RI=1T05: IFX=K AND Y=K GREEN": IFE<350 THEN C$= " YELLOW " < 0 8THEN S2=S2-8 :Q2=Q2+ 1 THEN K=0: SD$=BL$+">>KL I NGON 870 FORI=S1-1TOS1+1 : FORJ=S2-1TOS r c: 550 Q1= INT CQ1+.5) :Q2= INT CQ2+. 5 DESTROYED< <"+BL$ : GOSUB930:GOT07 2+1 :IFQ CI,J><>3 THEN NEXTJ, I:GOT ::3: I'TI >:IFQ1<10RQ2< 10RQ1 )80RQ2 >8THENQ1 40ELSE NEXT! 0890 � =Q 1-X 1:Q2=Q2-X2: SD$=BL$+" EDGE OF 710 IFQCX,Y>=4 THEN SD$=BL$+ "STA 880 E=3510:P=10:D=510:FORI =OT05: ..

GALAXY"+BL$ : GOT0550 R DESTROYED"+BL$::S=S-1: GOT0730 D=5: NEXT: C$=" DOCKED": IFK>O TH ::z 0 560 GOSUB860 :GOT0 190 720 SD$=BL$+"STAR BASE DESTROYED EN CLS: Q=1:PRINT:i>448, "STARBASE S 570 IFK< 1 THEN SD$=BL$+"NO KL I NGO CONGRATULATI ONS-TWI HIELDS PROTECT THE ENTERP NS IN QUADRANT "+BL$ : GOT0390ELSEQ T � � � "+BL$ : B=O RISE" ;:FORI=1T01000:NEXT: RETURN O$=" ":IFK>1THEN QO$="S" 730 Q(X,Y>=O:G=K* 100+B*10 890 IFK< 1 THEN RETURN ELSEQ=1:CL )> c: 580 SD$=BL$+" PHASERS LOCKED ON K +S S:FORI=1T03: X=K:IFX<=OTHEN9 G'> c: LINGON"+QO$+" NO OF UNITS TO FI 740 FORI=1T0500:NEXT:Q=O: GOSUB86 20ELSE GOSUB950 :H=H+10:D=D-H:HX$ (/) -1 RE? " +BL$:M X=1 : PL=332 : GOSUB990 :X= O: IFQ=1 THEN250ELSE PRINT:i>114,C$" =STRS : SX$=STR$ CK< I, 1>>:SY$=ST .. QQ: IFX< 1 THEN390ELSE IFE-X< 1 THEN5 ";:PRINT:i>241 ,P" ";: PRINT@305, K9 RS < K>:SD$=BL$+HX$+ " UNITS 0 80ELSE E=E-X ;:IFD<1>>0 AND PC< >O THEN PR I NT@ F ENERGY HIT ENTERPR ISE FROM KLI <.0 co 590 CLS: X=X/K: FORI=1T03: IFK PC-1, "." ; NGON AT SECTOR "+SX$+": "+SY$ w <1THEN620ELSE GOSUB950 :PRINT 750 IFD<2>< =OTHEN390ELSE PRINT@ 900 K =INT < X-X/4*RND <0> +.5) : 600 IFHO THEN DXS=STRS : SD$=SD$+" K >:SY$=STRS >:SD$=BL$ ) ; : GOT0390 SHI ELDS REMAINING = "+DXS+BL$ : +"SENSORS INDICATE NO DAMAGE ON 760 X2= COSC*.785398> :X1= GOT0930 KL I NGON AT SECTOR "+SX$+": "+SY SIN < *. 785398 ):RETURN 910 R=RND<6> -1 :H1=INT < <-D* *10+. 5) /10:H=INT <-D-H1 > 610 K=K-H:HX$=STR$ CH> : IVERTED TO SH I ELDS?" +BL$ : PL=332 : :D =D -H1 :E=E-H:HX$=STRS : SX$=STRS >:SY$=STR$ CK CI,2> GOSUB990: D1=INT CQQ) : IFE<=D1-D OR EX$=STRS : HY$=STR$ CH1 ) >:SZ$=STRS>:SD$=BL$+HX$+" D1 >500THEN390ELSE E=E-D 1+D:D=D1 920 SD$=" SHI ELDS DOWN, YOU LOST II ::3: UN ITS OF ENERGY HIT KL I NGON AT :PRINT@ 177, E" ";:PRINT:i>241 ,D" "+HX$+" ENERGY POINTS. "+EX$+ " LE ...... ("') SECTOR "+SX$+": "+SY$+" "+SZ$+ " ; FT l!< BEEN HIT ON YOUR "+DS+" :::0 0 780 PRINT:i>352 ,STRI NG$ C21," ">;:P FOR " +HY$+ " POINTS. ":NEXT: GOSUB96 LEFT "+BL$: IFK<1 THEN SD$=SD I O: IFE< 1THEN1 040ELSE RETURN co $+ " >>KL INGON DESTROYED< <"+BL$ :GO RINT@320 ,STR I NG$ C21 ," "):GOT0390 0 SUB930 790 CLS:PRINT:i>O, " DAMAGE REPORT ": 930 K=K-1 : K9=K9-1 : IFK9< 1THEN1 050 620 NEXTI:GOSUB960 :GOSUB860 :GOTO PR I NT@64, "DEV ICE ELSEQCK,K >=0: G(Q1,Q2)= 240 STATUS":PRINT:i>96, I$: FORI =OT05 :P GCQ 1,Q2) - 100: RETURN 630 PC=O: IFP< 1 THEN SD$=BL$+"BAD RINT@96+32*I,USING"% 940 R1=RND <8> : R2=RND<8> : IFQCR1,R LUCK , YOUR OUT OF TORPEDOES "+BL % +##.# ";DS ,D :NEXT 2> < >0THEN940ELSE RETURN $:GOT0390ELSE IFP=1 THEN SDS=BL$ :GOSUB970 : GOT0240 950 H= INTCX/ CSQRCC KCI, 1>-S1 >�2+ +"** LAST TORPEDO **"+BL$ 800 FORI=1T08 : L$ CI>="":NEXTI: CLS CK >>:RET 640 MX=1 : GOSUB420 :SD$=BL$+"TORPE :PRINT:i>O ,USING"GALAXY MAP AT QUA URN DO COURSE C1-9 >?"+BLS : PL=332 :GOS DRANT #:# ";Q1,Q2:PRINT:GOSUB840: 960 RETURN UB990 :C=QQ: IFC< 1 THEN390ELSE IFC> FORI=1T08 : L$ CI>=L$CI>+STR$CI)+" 970 PR I NT@480, "PRESS ANY KEY TO 9THEN640 ":FORJ=1T08: 1FI=Q1 AND =L$CI>+CHR$ C14 980 IN$=I NKEY$: IFIN$=""THEN980EL 660 FORI=1T0300: NEXT: IFPC< >O AND 3> ELSE L$ CI>=L$CI>+":" SE CLS : RETURN D ( 1> >O THEN PR I NT:i>PC-32, ". "; 810 LL=LENCZ $CI,J> >:IFLL<3THENZ$ 990 PR I NT=STR ING$ (3-LL, " ")+Z S INKEY$ OR X>=8.5 OR Y>=8.5 THEN SDS=BL 820 LS =LS+" "+Z $CI,J)+" ": 1000 Q1$=INKEY$: GOSUB 1450: IFQ1$= $+ "BAD LUCK YOUR TORPEDO MISSED " NEXTJ: IFI=Q1 AND Q2=8 THENL$ (1)= ""THEN1 000ELSE Q=ASCCQ1$) :IFQ=8T +BL$ : GOT0740 L$ (l) +CHR$ (143 > ELSE LS =LSCI>+ HEN990ELSE IFQ< >13THEN IFQ<46 OR II II 680 XO=INTCX+.5> :YO= INT CY+.5> :PC : Q )57 OR Q=47THEN1 000ELSEQ$=Q$+Q =*32+ CY0- 1 >+1: IFD<1> >0 THE 830 LS =L$(1)+" "+STRS :NEXT 1$: PR I NT@PL, Q$; PS; :IF LEN CQ$)(6T N PR I NT:i>PC-32 ,CHR$ C143> ; I:GOSUB850 :GOSUB 1390 : GOT0240 HEN1 000 690 IFQ CXO, YO> =OTHEN660ELSE IFD C 840 L$ (0) =" ":FORI=1T08: LS =L$ 1010 IFQS< >"" THENQQ=VAL CQ$) ELSE "'0 )> 1> >0 THEN PR I NT:i>PC-33 ,CHR$ C134) " +" "+STRS :NEXTI :LS =L QQ=O G'> II I'TI "CHR$ < 137) ; $(0) +" ":RETURN 1020 PRI NT@PL- 1 ,.QQ" ; : RETURN 850 L$ (9) =" ":FORI=1T08: L$(9) =L$ 1030 Q$= INKEY$ :1FQ$( >"Y"ANDQ$( 1.0 (9) +" "+STRSCI> :NEXTI:LS<9> =L >"N"THEN 1 030ELSE RETURN $(9) +" ":RETURN 1040 FORI=1T01000: NEXT: CLS:PR INT 1150 PRINT"WARP ENG INES: ":PRINT" 1250 PR INT"GALAXY SCAN O , " IT IS STARDATE"T" THE" :PRIN WARP FACTOR IS A REAL NUMBER ":P 5) :":PRINT:PRINT"THIS COMMAND SH < 0 T"ENTERPR ISE HAS BEEN DESTROYED RINT"BETWEEN 0 12 EACH WARP FA OWS A CURRENT MAPOF THE KNOWN GA I � c:: THE FEDERAT ION WILL BE CONQUER CTOR" : PR INT"WILL MOVE THE ENTERP LAXY. THIS IS UPDATED BY THE :3: 1"1'1 EDTHERE ARE ST ILL"K9 "KLINGON":PR RISE ONE ":PRINT"QUADRANT . EACH LONG RANGE SCANNERS .":GOSU ..j::>. INT"BATTLE CRUISERS LEFT ":PRINT .125 WARP FACTOR": PR INT"WILL MOV B970 "'

" ••.YOU ARE DEAD. ":GOT01 100 E THE ENTERPR ISE ONE":PRINT"SECT 1260 PR INT"PHASERS O, "IT IS STARDATE "T: PRINT"THE L 1160 PR INT: PR INT"EG: WARP .125 ENERGY AVAI L-ABLE CAN BE FIRED , AST KLI NGON BATTLE CRU I SER IN TH 1 SECTOR" :PRINT" WARP .5 THE ON BOARD BATTLE COMPUTER DIV E GALAXY HAS BEEN DESTROYEDTHE F 4 SECTORS" :PRINT" WARP 1 IDEO TH IS AMOUNT AMONG THE KL )::a c:: EDERAT ION HAS BEEN SAVED YOU H = 1 QUADRANT ":PRINT" WARP 5 INGON CRU I SERS IN THE QUA Cj) c:: AVE BEEN PROMOTED TO ADMIR = 5 QUADRANTS":GOSUB970 DRANT AND " V'l -i AL . YOU DESTROYED "KO 1170 PRINT"FOR EXAMPLE, IF YOU T 1270 PRINT"DETERMINES THE VAR IOU "' 1060 PR INT"KLINGONS IN "T-TO " STA RAVEL FROM: QUADRANT 1:1, SECTOR S DIRECTI ONS OF FIRE " :P RDATES ":F= INT *1000 ) :0 1: 1, IN DIRECTION 1 AT WARP 2 RINT "THE EFFECT I VNESS OF A HIT I 1.0 co NF/500+ 1GOT0 1090, 1080 , 1070 , 1070 YOU WOULD STOP AT QUADRANT 1:2, S" w 1070 PRINT"YOUR RAT ING IS"F"WHIC SECTOR 1: 1IN THE NEXT STARDATE. 1280 PR INT"MAINLY DEPENDANT ON T H IS ABSOLUTELY FANTASTIC HE DISTANCETO THE CRU ISER . EACH I TAKE IT YOU HAVE PLAYED BEFOR 1180 PRINT" ":PRI NTTAB<5> "** NOTE CRU ISER STARTS WITH 200 UNITS E! THAT IS BETTER THAN ONE KL ING **":PR INT"EVERY USE OF THE WARP OF ENERGY AND CAN FIRE AN AMOUN ON PER STARDATE !":GOT01 100 ENG INES TAKES ONE STARDATE. I T EQUAL TO HOWEVER MUCH IT HAS L 1080 PR INT"NOT BAD , YOUR RAT ING F THE ":PRINT"ENTERPR ISE IS BLOC EFT. ":GOSUB970 IS"F" IT COULD BE BETTER ":GOTO KED BY ":PRINT"SOMETH ING DUR ING 1290 PR INT"PHOTON TORPEDOES ." WITH 10 PHOTON TORPEDOES . ONE 1-1 n ER THAN "F" !":GOT01 100 1190 GOSUB970 :PRINT"SHORT RANGE TORPEDO WILL DESTROY WHATEVER :::0 1100 PR I NT448, "DO YOU WISH TO A SENSORS: ":PRINT"THE SHORT RANGE IT HITS. THE RANGE OF A PHOTON 0 I TTEMPT IT AGAIN, ?":GOSUB10 SENSORS OF THE" :PRINT"ENTERPR ISE TORPEDO IS LIM co 0 30 : IFQ$="Y"THEN60ELSE PRINT"O.K. DISPLAY A DETA ILED":PRINT"VIEW ITED TO " SEE YOU . ":FORI=1T01000: NEXT:CLS OF THE QUADRANT IT IS IN" 1310 PRINT"THE CURRENT QUADRANT . :POKE359, 126: END 1200 PR INT"THE ENTERPR ISE LOOKS THE COURSEOF A PHOTON TORPEDO I 1110 I$= CHR$ (34) : CLS :PRINT"THE LIKE � E" ":PR INT "ON THE SCREEN �-< S SET THE SAME WAY AS THAT OF T GALAXY IS DIVIDED INTO 64 ": PR INT KL I NGON BATTLE ":PRINT"CRUI SERS L HE ENTERPR ISE": GOSUB970 "QUADRANTS WITH THE FOLLOW ING ": OOK LIKE "A� ":PRINT"STARBASES LO 1320 PRINT"DAMAGE CONTROL ;:NEXT: PR I PR INT"THE LONG RANGE SENSORS OF THEIR STATEOF REPAIR. A NEGAT IVE NT ": "I:NEXT: PRINT" 1 2 3 4 5 THE ENTERPR ISE DISPLAY INFORMA STATE OF REPA IR INDICATES A DI 6 7 8" : PR INT"EACH QUADRANT IS SI TION AS TO THE CONTENTS OF THE SABLED DEV ICE. DEVI CES CAN B MILARLY ":PR INT"DIVIDED INTO 64 NINE CLOSEST QUADRANTS , THE CEN E DAMAGED" SECTORS ":GOSUB970 TRE BEING THE CURRENT QUADRANT 1340 PR INT"BY A SPACE STORM OR K 1130 PR INT TAB<5> "***DEV I CES***" LINGONS AND ANY DAMAGED DEVIC :PRINT"COURSE :":PRIN 1220 PR INT"THE ONES DIGIT REPRES E IS REPAIRED PARTI ALLY EV T"ANY REAL NUMBER BETWEEN 1 � 8. ENT THE":PRINT"NUMBER OF STARS ." ERY STARDATE .": GOSUB970 9" : PR INT"THE NUMBER INDICAT ING ·D 1230 PR INT" TENS STARB 1350 PRINT"SHIELDS '"'0 )::a T" 5---*---1 ":PRINT " * STARS. 108 = 1 KLINGON , 0 S THE KL I NGONF IRE WILL DAMAGE DI Cj) � 1"1'1 *" :PRINT" 6 : 8":PRINT" TARBASES AND 8 STARS. 2 = 0 K SABLE SECT- IONS OF THE SH I P. " N 7" : GOSUB970 LINGONS, 0 STARBASES � 2 STARS ": 0 GOSUB970 1370 PR INT"THE ENTERPR ISE7 S SH IE 60 BL$=CHR$ <128> : BX$=STRI NG$ (25� 220 RA=R- 1:RB=R-2: IFR= 1THENRA=30 LDS START AT 500 UNITS , WH ICHIS THE MAX IMUM. ":GOSU e"+BL$+"bar " +BL$+ "to"+BL$+"i nser 230 PR INT@172, CHR$>;:PRIN 0 r B970: CLS : GOT090 t"+BL$+"a"+BL$+ "coin"+BL$+BL$+BL T@ 140, CHR$ >;:PRINT@108,C c: $+ " press "+BL$+ "enter " +BL$+"for"+ 3: 1380 POKE359 ,57:SCREEN0,1: RETURN HR$ >;:SOUND100 ,1 I'T1 1390 P= 1 BL$+ "a"+BL$+ "new " +BL$+ "game " +STR 240 T=T-1: IFT< 1THENT=30 .j:::lo 1400 PRI NT@448, " PRESS ARROW KEYS ING$ (25, BL$ ) 250 TA=T-1 : TB=T-2 :IFT=1 THENTA=30 " TO MOVE THE MAPPRESS ENTER TO R 70 PV= 1 :TB=29 :z 0 ETURN";:FORX =OT09 :PRINT:i>32*X+32 , 80 A$="":R=RND <30) :S=RND <30> :T=R 260 PR INT@ 175,CHR$ (R(2,T> >;:PRIN MID$ (L$ ,P,32> ;:NEXTX ND (30) T:i> 143, CHR$ >;:PRINT@ 1 11,C 1410 IN $= INKEY$: I FIN$=""THEN1410 90 GOSUB690 HR$ >;:SOUND1 10, 1 100 PRINT@128,'" ';:PRINT US ING"## ):1 ELSE IN=ASC24THENP T@32 , 11 $";:PRINT USING"###. ##11;WA :SB=29 V'l -1 =P- 1 D; :A$= INKEY$: IFA$=" " THEN90ELSE 290 PR I NT@ 178, CHR$ THEN CLS : GOT030ELS T:i> 146, CHR$ (R (3, SA> >;:P INT:i>114,C R 1.0 1440 GOT01400 EWAD=WAD- .2: PRI NT:i>32, "$"; :PRINT HR$ >;:SOUND120, 1 00 w 1450 PRI NT:i>352,MID$ >+CHR$ >+CHR$ > RETURN 330 :REM 'CHECK IF JACKPOT II II 140 PR INT=iH 56 , ; : PRINT@188 ... 340 IFTR$=CHR$ <128 > +CHR$ <128 > +CH ";:PRINT@220, " ";:PRI NT@252 ,CH R$ ( 128)THEN PRI NT@453, " JACKPOT - R$ (254 ) +CHR$ (253> ;:PRI NT@284 ,CHR $50 - ";: FORD=1T0100:NEXT: 3: $(25 1)+CHR$ (247> ;:PR I NT@316,CHR$ ...... **** AR I STOCRAT **** PAY=50 : GOT0480 ("") <255) +" ";:SOUND150, 1:RETURN 350 IF LEFT$ (TR$�2> =CHR$ (128 ) +CH :::c II 0 150 PRINT=iH 56 , .. .. ; : PR INT@ 188, COLOUR COMPUTER R$ ( 128> THEN PR I NT@453, " JACKPOT I 00 "; : P RINT@220,CHR$ (254 ) +CHR$ <253 $20 - "= : FORD=1T0100 : NEXT: 0 >;:PRI NT@252,CHR$ (251 ) +CHR$ (247 ) PAY=20: GOT0480 ;:PRI NT@284,CHR$ (255)+" ";:SOUND 10 REM 360 :REM 'CHECK IF RUN 175, 1:RETURN 370 IFTR$=CHR$ <159) +CHR$ (207 ) +CH 160 PR INT@156, " ";:PRINT@188,CH POKER MACH INE R$ ( 175>0RTR$=CHR$ (175 > +CHR$ (191 ) R$ <254 ) +CHR$ (253> ;:PRI NT:i>220 , CHR +CHR$ <128) 0RTR$=CHR$ (207 ) +CHR$ (1 $(25 1 ) +CHR$ (247> ;:PR I NT@252 , CHR$ 75 ) +CHR$ (191 > THENPAY=4 :GOT0470 <255) +" ";: SOUND200 ,1: RETURN 380 X$=CHR$ >:Y$=CHR$ (R <2 170 [email protected]$ C254 ) +CHR$ (253 ,TA> >:Z$=CHR$ > >;:PR INT@ 188, CHR$ (251 ) +CHR$ <247> 390 :REM ' CHECK IF A SMALLER ;:PR I NT@220 ,CHR$ (255)+" ";:SOUND 20 REM (C) BOB DYBALL 16/02/81 PAYOUT 225, 1:RETURN 400 IFX$=Y$ANDY$=Z$ANDZ $=CHR$ (15 180 :REM ' DETERM INE APPROX. MOD IFIED FOR THE COLOR 9> THENPAY=2: GOT0470 HOW MANY TIMES EACH REEL TURNS 0 COMPUTER BY MICR0-80 410 IFX$=Y$ANDX$=CHR$ (159 ) THENPA VER SOMET IMES THE REELS W Y= 1:GOT0470 ILL TIP OVER JUST AFTER THEY STO 30 CLEAR 1000 : CLS : WAD=10: DIMR<3, 3 420 IFX$=Y$ANDY$=Z$ANDZ $=CHR$ (20 O> ,RP<3> :RP<1>=213:RP <2>=222: RP< p 7> THENPAY=3 :GOT0470 190 TK=RND <20) : PAY=O : KK=RND <25)+ 3) =230 :CP$ (1)="0" :CP$ (2) ="0" :CP$ 430 IFX $=Y$ANDY$=CHR$ (207 ) THENPA 25 : S1= -3> *3/5:S2= :-3> *4/5 $(6) =" ":CP$ (7) = CHR$ (92> :CP$ (8) 440 IFX $=CHR$ (159) THENPAY= .2:GOT 200 FOR RS= 1TO KK : IF RS>S2 AND T ="O" :CP$(9) ="0" :CP$ (10) ="0" 0470 K= 1 THEN240 ELSE IF RS >S2 THEN 2 450 IFX$=Y$ANDY$=Z $THENPAY=6:GOT 40 :REM 'DRAW THE POKER MACH INE '"'0 70 ELSE IF RS>S 1 THEN 240 ELSE R THEN READ IN THE DATA FOR THE RE 0470ELSE100: :REM 'GOTO 40 IF NO ):1 =R-1 : IFR<=1 THEN R=30 Ci) ELS PAYOUT I'T1 210 :REM ' IN 130- 140, 150-160, 17 50 CLS : GOSUB540 :FORR= 1T03 : FORP= 1 460 :REM ADJUST WAD N 0- 180 PRINT CHARACTERS ON THE RE __, T030 : READR :NEXTP: NEXTR ELS 470 WAD=WAD+PAY :FOR I=1TO PAY : A=R 610 PR I NT@ 178, CHR$ (175> ;:PRINT@O 80 LOCATE19, 10: PR INT"NO OF KL I NGONS , ( 1 ND <60) +60:NEXT: PAY=PAY*5: GOSUB68 ,11cr ed it11; :PRINT@32 , 11 $11;:PRINT U < -5";:GOSUB 1320: IFN< 10RN >5TH 0 O: GOT0 100 SING11###. ##11;WAD; : PR I NT@229 , CHR$ EN80ELSECLS :LDCATE 18, 10: PR INT11 CREAT ING 6 r c 480 WAD=WAD+PAY :PAY=PAY*5: 60SUB6 ( 159) ; II >: X : 0 1 II ; CHR$ ( 1 75 ) ; II ALAXY" : Q= 1 . 8-"'N 3: rr1 80 : 6DTD 100 II ; CHR$ ( 1 75 ) ; II II ; CHR$ ( 1 75 ) ; II : 30 II 90 K9=0:B1=0 : K1=0: MAX=20 : TO=FNR CRA> : TO=T ..j:::o 490 :REM �DATA FOR THE THREE REE ;:PR I NT@261 , CHR$ <159 > ;11 ";CHR$ <1 0+20 :TO=T0* 100: T=TO :FOR I=1T08 : FORJ= 1T08 : " LS 59 ) ; 11 X : 05 11 ; MAX=500 : R=FNR CRA> :R=R/Q ::z 0 500 DATA 159, 175, 191 , 128,207, 175, 620 PR I NTCHR$ <19 1> ;11 ";CHR$(191 ) 100 K=O: I FR< 20THENK=1 : K1=K1+1 � IFR< 10THEN 159, 191 , 159, 191 , 175, 191 ,207 . 159, ;" ";CHR$ <19 1);11 :3011 ; 1<=2: IFR<5THENI<=3 207� 159, 175, 191, 191 ,207 � 159, 159, 630 PR I NT@293, CHR$ (159> ;11 ";CHR$ K9 110 =K9+K:B=O : IFRNDC1>>1-N/50THENB= 10: - 175, 191 , 175, 191 ,207 , 191 , 175, 191 < 159 > ; 11 " ; CHR$ < 159 > ; 11 : 1 0 r u );:. B1=1 c 510 DATA191 ,175, 207, 159, 128, 159, n :2011; : PR I NT@325 ,CHR$ (207> ;" 11 ; 120 MAX=9 : R9=FNR CRA> :GCI,J>=K*100+B+R9: Z a"> c 207, 128, 175, 191, 175, 159. 175, 191 � CHR$ (207) ;" x :10 11 ; CHR$(128) ; $(I' J) =" II : NEXTJ' I:I600R1< 1 <3 V'l II -l 175,207, 159, 159, 207 , 159, 191 ,159� " ;CHR$ (128 > ;" X $20 11 ;:PR I NT@35 THEN90 " 207, 175, 175, 159, 191 , 159, 159, 191 7,CHR$ (207> ;11 ";CHR$ <207) ;11 ";CH 130 MAX=8:Q1=FNR CRA) : Q2=FNR :IFINTCGC 520 DATA159, 207, 175, 159, 128, 191, R$ (207) ; II :30 ";CHR$ (128 ) ; II "; Q1 ,Q2) / 100> >0THEN 1 30ELSE IFB1<>1THEN MAX= 1..0 .. (X) 175, 159,207, 159, 175, 191 , 128, 159, CHR$ <128 ) ; II ; 8: I=FNR : J=FNR :G=G+10 w 159, 175� 191,191 , 128, 175, 159, 191, 640 PR I NTCHR$ (128 > ; 140 CLS :T9=K9*3: MAX=8:S1=FNR :S2=FNR < 207 , 175, 159,207, 175, 159, 207, 175 650 PR INT" $50 " ;:PRINT@96, "paid 11 RA > : LOCATE7 ,6: PR INT"PRESENT STARDATE "T"A 530 :REM �DRAW THE POKER MACH IN ; :RETURN S COMMANDER OF THE U. S. S. ENTERPR ISE YOU E ,PUT IN THE PAYOUT LISTING. 660 :REM �IF YOU RUN OUT OF MONE R MISSION IS TO RID THE GALAXY OF THE D 540 �DRAW MACH INE y EADLY !;:PRINT@316, CHR$ (255> ;:PRI NT@28 WITHOUT MONEY �11:PR I NT@288 ,"YOU 150 PR INT"OF ";K9; " BATTLE CRU ISERS" :PRI 4, CHR$ (255> ;:PRI NT@252, CHR$ (255 ) HAVE JUST BEEN BOOTED OUT" :PRINT NT :PRINT"YOU HAVE "T9"SOLAR YEARS TO COMP ; : GOSUB 170 @324, " OF THE CLUB �":END LETE YOUR MISSION :SET :SET :SET < OR NI=1T025 :NEXT NI :NEXT NT : RETU 160 FOR I =OT05 : READD$ (I) :DCI>=5:NE X T: E=35 :::c X, 12, 8> :SET :NEXT: FORY=OT RN 0 OO : D=500: P=10:P$=CHR$ C95) +11 ": I$=STR I 013: SET<18, Y, 8) :SET <19, Y,8> :SET < 690 PR I NT@453,MID$ (BX$� PV, 2 1> ;:P (X) IN6$(21 ,45> : DATAWARP ENGINES, SECTOR SCAN 0 42, Y, 8> :SET <43, Y,8> :NEXT RINT@ 128, "";: PV=PV+1: I FPV=90THEN NER , DEEP SPACE SCANNER ,PHASER CONTROL ,PH 570 FORY=6T011:SET <20,Y, 8) :SET <2 PV= 1 OTON TUBES ,SHIELD CONTROL 1,Y,8> :SET <22,Y,8> :SET <23, Y,8> :S 700 RETURN 170 X=G(Q1 ,Q2) / 100: K= INTCX) :B=INT< * ET <26, Y, 8> :SET <27, Y, 8> :SET <28,Y, 10> :S=G (Q1 ,Q2> -INT *10 8> :SET <29,Y, 8> :SET <32,Y,8> :SET <3 180 FOR I=1T08 : FORJ=1T08:QCI,J>=O:NEXTJ, I 3,Y, 8 > :SET <34, Y, 8> :SET <35, Y, 8> :S :FOR I=1T03: KCI,3)=0:NEXT ET <38,Y,8> :SET <39,Y, 8> :SET <40,Y, 190 Q(S1,S2> = i :IFK>OTHENFOR I=1TOI< : GOSUB9 8> :SET (41 ,Y,8> :NEXT 40 : Q(R l,R2> =2 :K=R1 :KCI,2>=R2 :K 580 SET <22,8,6 > :SET <23, 8, 6) :SET < **** STAR TREK **** =200 :NEXT 26 ,8, 6> :SET <29, 8,6) :SET <32, 8, 6) : 200 IFB >OTHENGOSUB940 :QCR1 ,R2>=3 SET (33, 8,6) :SET <34, 8, 6) :SET <35, 8 HITACH I PEACH 210 GOSUB860 :IFS>OTHENFOR I=1TOS : GOSUB940 ,6) :SET <38,8,6) :Q =4: NEXT 590 FORX=8T020 :SET >0THENFORI=Q1-1TOQ1+1: FORJ=Q2- +33 , 12, 8) :SET=RIGHT$ (" "+STR$(GCI,J> >, 3, 8> :NEXT: FORY= 14T031:SET <8,Y, 8> 20 � ** R.O. EDWARDS ** 3) :NEXTJ, I :SET<9, Y, 8) :SET <52,Y, 8) :SET <53, Y 30 � ** 31 REDESDALE RD ** 230 CLS :PRINT11 SHORT RANGE SCAN "TA ,8> :NEXT: FORX=8T053 :SET : 40 � ** IVANHOE 3079 ** BC54 ) "LONG RANGE SCAN" : LOCATE7, 4:PRINTI$ SET :SET :SET >0THENFORJ=1T08 ,8> :SET ;:NEXTJ 600 PRINT@42, "aristocrat 11 ;:PRINT 60 RANDOMI ZE:DEF INTI,J,G,K,Q: CLEAR800 :RE 240 PR I NTTAB C27> ; CHR$(128> ;:PRINT@ 108,CHR$ (207) ;: STORE :CLS: LOCATE25,9: PRINT"STAR TREK" :FO 250 ON I 60SUB300, 310, 320, 330,340 , 350 , 36 PR INT@1 11,CHR$ (175> ;:PRINT@1 14,C RI=1T01000: NEXT: DEF FNR =INT *M 0, 370 -c );:. HR$(19 1>;:PRINT@ 140, CHR$ (159 > ;:P AX >+1 260 NEXT! a"> rr1 RINT@ 143, CHR$ (128> ;:PRINT@ 146,CH 70 CLS : SCREEN0, ,1:LOCATE19, 9:PR INT"DO YO 270 PR INT I$; I$ N R$ (175> ;:PRINT@ 172, CHR$<128> ;:PR U REQU IRE INSTRUCT IONS, CY,N) ?11:GOSUB 102 280 IFD<1><=0THENLOCATE8 ,8:PRINT"** INOP N INT@175, CHR$ (159 > ; O: IFQ$="Y"THEN1100 ERABLE **"; 290 GOT0400 490 CLS :T=T+1 : IFT>TO+T9THEN1 000ELSEFOR I= 670 GOSUB440 :LOCATE7 �14:PRINT"TORPEDO CO < 300 PR INT"STARDATE "T; :PRINT TAB < OT05 : D=D+.5: IFD>5THEND =5ELSE URSE <1-9 ) ?" ; ::PL=726 : GOSUB980 :C=QQ: IFC< 1 0 r 51 ):Q=Q 1-1 : GOSUB380 :RETURN IFD<-5THEND=D+.5 THEN400ELSEIFC >9THEN670 c: 310 PR INT"CONDITION "C$; : PRINTTAB :::::: 500 NEXT: MAX=50: RX=FNR :MAX=1 100: RY=F 680 GOSUB790: X=S1: Y=S2 :P=P-1 fT1 <51 > I$: RETURN NR : IFRXO AND D<1> >0T ..j:::o 320 PR INTUSING"QUADRANT #:# ";Q1� O:PRINT"*** SPACE STORM *** ";: IFD>O THE HEN POKE 1 344+PC-80 �46 .. Q2 ; : PR I NTTAB<5 1J:Q=Q 1:GOSUB380 :RETURN N PRINT"SH IELDS HELD ***"ELSE MAX=6 : R=FN 700 X=X+X 1:Y=Y+X2:IFX< . 50RY< .50RX >=8 . 50R :z 0 330 PR INTUSING"SECTOR #:#" ;51� R=D +D/100: PRI NTD$(R> ;" Y>=8 . 5THEN LOCATE7, 16:PRINT"BAD LUCK YOU S2 ; : PRI NTTAB<51 ) I$:RETURN DAMAGED ***"::D=O R TORPEDO MISSED";:GOT0770 340 PRINT"ENERGY "E; : PRINT TAB < 510 N=INT : E= INT :IFE< 1THEN 103 710 XO=INTCX+. 5> :YO= INT CY+. 5) :PC= < X0+1 >* - 51 J:Q=Q 1+1 : GOSUB380 :RETURN OELSEQ (Sl,S2)=0: X=S1 : Y=S2: GOSUB790 :FOR I= 80+ *2+1 :IFD <1> >0THEN POKE 1 344+PC-8 � 350 PR INT"PHOTON TORPEDOES"P; :PRINT TAB < Ci) 1TON:S1=S1+X 1:S2=S2+X2 0, 140 c: 51 > I$: RETURN 520 IFS1<:. 50RS2< .50RS1 >=8 . 50RS2 >=8 . 5THEN V1 720 IFQCXO,YO> =OTHEN690ELSE IFD<1>>0THENP -1 360 PR INT"SHIELDS "D:RETURN 560 OKE 1 344+PC-1 , 140 370 PR INT"KLINGONS LEFT "K9: RETURN 530 IFQ � INT > >1THEN LOC 730 X=XO: Y=YO: IFQ(X,YJ =2THENFOR I=1T05: IF 1..0 380 IFD <2> >0 THEN PRI NTUSING" * ### * ## ATE19, 10:PRINTUS ING"ENTERPR ISE IS BLOCKE X=KANDY=KTHENK=0:LOCATE7 , co w # * ### *";G�G(Q,Q2) ,G(Q� Q2+1> E D BY OBJECT AT SECTOR #:# ";S1 �S2:S1=INT < 16: PRINT" >>KL I NGON DESTROYED< <"; : GOSUB93 LSE IF Q=Q 1 THEN PR INT" ** INOPERABLE * S1-X 1+.5) :S2= INT =4THENLOCATE7 ,16: PRINT"STAR 390 RETURN 540 NEXTI :S1=INT=1 :: GOSUB860: GOT0220 750 LOCATE7 ,16: PRI NT " STAR BASE DESTROYED

":LOCATE7� 15: PRINT" 560 XO=Q 1+W*X1:Ql=F IX :YO=Q2+W*X2: Q2= •••CONGRATULAT IONS-TWIT ! � �";:B=O ":LOCATE7 �16:PRINT FIX : IFS1< 1THE 760 Q(X,Y>=O:G(Q1 ,Q2>=K* 100+B* 1 0+S ":LOCATE N S1=S1+8: Q1=Q1-1ELSE IFS1 >8THEN S1=S1-8: 770 FO RI=1T0500:NEXT: Q=O: GOSUB860 :IFQ=1T 7� 14: PRINT"COMMAND?" ;:GOSUB420: Z$ (Q1 ,Q2> Q1=Q1+1 HEN230ELSELOCATE43 ,6: PRI NTC$ " ";: LOCATE4 =RIGHT$ (" "+STRS >,3> 570 S2=F I X : IFS2< 1 THEN S2 2, 10: PRINTP " ";:LOCATE42� 12: PRINTK9; : IFD :::::: 410 Q$= I NKEY$ :IFQ$=" " THEN4 1 0ELSEA=ASC (Q$ ...... =S2+8 :Q2=Q2- 1ELSEIFS2 >8THEN S2=S2-8 :Q2=Q <1> >0ANDPC< >OTHENPOKE1344+PC-80 ,46 ('"") >-48 : I FA5THEN4 10ELSE IFA< 4ANDA>OAND 2+ 1 :::0 780 IFD <2><=0THEN400ELSELOCATE59 ,7:PRINT 0 D < =0THENLOCATE7, 14: PRINT"** "D$(A+2 580 Q1=INT (Q1+. 5) :Q2= INT 8 OR Q2 >8THENQ 1=Q1-X1:Q2=Q2 790 X2=COS< *. 785398 > :X1=-S IN <* 0 0400ELSE ON A+ 1 GOT0460,600, 660, 800� 810, -X2: LOCATE30. 11:PRINT"EDGE OF GALAXY":GO .785398) : RETURN 820 T0580 800 LOCATE7, 14: PRINT"ENERGY TO BE DIVERT 420 LOCATE55, 12: PRINT"COMMANDS: ";:LOCATE 590 GOSUB860 :GOT0 170 ED":LOCATE7, 15: PRINT"TO SH I ELDS?" ;:PL=73 52 , 13: PRINT"O SET COURSE" ;:LOCATE52� 14: P 600 IFK< 1 THENLOCATE7� 14:PRINT"NO KL I NGON 8: GOSUB980:D1=INT(QQ) :IF E<=D1-D OR D1>5 RINT" 1 PHASERS ";:LOCATE52, 15: PRINT"2 PH S IN QUADRANT � �";:FORI=1T01000:NEXT: GOTO 00 THEN400ELSE E=E-D1+D: D=D1 : LOCATE4 1,9: OTON TORPEDOES" ;:LOCATE52, 16: PRINT"3 SH I 400ELSEQO$=" ":IFK>1THENQO$= "S" PR INT" "E" "; : L OCATE43, 11:PRINTD" ":GOT ELDS ";:LOCATE52, 17: PRINT"4 DAMAGE REPOR 610 LOCATE7, 14: PRINT"PHASERS LOCKED ON K 0400 . T .. ' LINGON "QO$" , ";:LOCATE7, 15: PRINT"NO OF UN 810 CLS: LOCATE31 .4:PRINT"DAMAGE REPORT": 430 LOCATE52, 18: PRINT"5 GALAXY MAP"; RETU ITS TO FIRE?" ;:PL=789 : GOSUB980: X=QQ: IF X< LOCATE23, 6: PR INT"DEV ICE RN 1THEN400ELSE IFE-X< 1 THEN6 1 0ELSEE=E-X STATUS ":LOCATE23 ,7:PRINTI$"------" :FOR 440 LOCATE55, 12:PRINT" 3 ";:LOCATE 620 CLS: X=X/K:FORI=1T03: IFK<1THEN65 I=OT05: LOCATE23 ,I+8 :PRINTUS ING"� 52 , 13: PRINT" 4 : 2";:LOCATE52, 14: P OELSEGOSUB950 :PRINT � +##.#" ;D$CI>,D �K :GOT0650 AT QUADRANT #:# ";Q1 .Q2: PR INT:GOSUB850 :F II • ";:LOCATE52, 18: PRINT" 7 . 640 K=K-H:PRINTUSING"#, ### UN I OR I=1 T08 : PR I NTTAB < 13) I" ";:FORJ =1 T08 : IF 450 RETURN TS OF ENERGY HIT KL I NGON AT SECTOR #: # . I=Q1 AND ";H, K ,K:IF 40> ; ELSEPR INT" : "; 9> ? ";:PL=7 18: GOSUB980 :C=QQ: IF C< 1 THEN400E K">>KL I NGON DESTR 830 PRINT" "ZS9THEN460 OYED<< ":GOSUB930 D Q2=8THENPRI NTCHR$ (140 > ; ELSEPR INT" : "; 470 LOCATE7, 15:PRINT"WARP FACTOR <.1-12> 650 NEXTI : GOSUB960 :GOSUB860 :GOT0220 840 PRINT" "I:NEXTI: GOSUB850 :GOSUB960 :GO "'\j ?" ;:PL=789 : GOSUB980 :W=QQ: IFW< =OTHEN400EL 660 PC=O: IF P< 1THEN LOCATE7, 14: PRINT"BAD T0220 )> Ci) SEIFW>12THEN470 LUCK , YOUR OUT OF TORPEDOES" ;:FOR I=1T010 850 PRI NTTAB C16> ;:FOR I=1T08 : PRINT" "I:; fT1 480 IFW>1ANDD <=OTHENLOCATE7 ,16: PRINT" OO : NE XT: GOT0400ELSE IFP=1 THEN LOCATE7 ,15: :NEXTI : PRINT:RETURN N w WARP ENG I NES DAMAGED , MAX SPEED WARP 1"; PR INT"** LAST TORPEDO **"; 860 IFK >OTHENC$= "RED" ELSEC$=" GREEN ": IFE< :FOR I=1T01000: NEXT: GOT0400 350THENC$= "YELLOW " 870 FORI=S1-1TOS1+1 : FORJ=S2-1 TOS2+1 : IFQ < 1060 PR INT"YOUR RAT ING IS"F"WHICH IS ABS 1190 PR INT"THE ENTERPR ISE LOOKS LIKE "I$ < I,J><>3THENNEXTJ ,I: GOT0890 OLUTELY FANTAST IC! TAKE IT YOU HAVE PLAY "E" I$"0N THE SCREEN AND KL I NGON BATTLE C 0 I 880 E=3500:P=10:D=500 :FOR I =OT05:D=5: N ED BEFORE �THAT IS BETTER THAN ONE KL I NGO RU I SERS LOOK LIKE "I$"A" I$" , STARBASES LO c: EXT:C$="DOCKED": IFK>OTHENCLS :Q=1:LOCATE1 N PER STARDATE �":GOT0 1090 OK LIKE "I$"0" I$"AND STARS LOOK LIKE "I$ 3: 1"1'1 9, 10: PR INT"STARBASE SHI ELDS PROTECT THE 1070 PR INT"NOT BAD , YOUR RAT ING IS"F"IT "*"I$:GOSUB960 +=- ENTERPR ISE";:FORI=1T01000: NEXT: RETURN COULD BE BETTER ":GOT0 1090 1200 PRINT"LONG RANGE SENSORS: ":PRINT:PR " 890 IFK< 1 THENRETURNELSEQ= 1:CLS:FORI=1T03 1080 PR INT"THIS IS A PRETTY LOUSY SCORE , INT"THE LONG RANGE SENSORS OF THE ENTERP :z 0 :X=K:IFX<=OTHEN920ELSEGOSUB950 : H=H+ YOU CAN DO AHELL OF A LOT BETTER THAN "F RISE DISPLAYS INFORMAT ION AS TO THE CONT lO:D=D-H:PRINT:PR I NTUSING"#,### UNITS OF "�":GOT0 1 090 ENTSOF THE NINE CLOSEST QUADRANTS . THE C ENERGY HIT ENTERPR ISE FROM KL I NGON AT S 1090 LOCATE7, 16:PRINT"DO YOU WISH TO ATT ENTRE BE ING THE CURRENT QUADRANT ." ECTOR #:# ";H,K ,K EMPT IT AGAIN, ? ":GOSUB 1020 :IFQ$= "Y 1210 PR INT"THE ONES DIGIT REPRESENTS THE )::o c: 900 K=INT+a5> :IF D>O T "THEN60ELSEPR INT"O.K. SEE YOU . ":FOR I=1TO NUMBER OF STARS. ":PRINT"TENS Ci) c: HEN PR I NTTAB <23> ;:PRINTUSING"SHIELDS REM 1000: NEXT: CLS : END STARBASES. ":PRINT"H Vl -i AINING=###";D: GOT0920 1100 I$=CHR$ (34) : CLS: PR INT"THE GALAXY IS UNDREDS KL ING 910 MAX=6: R=FNR : R=R-1 : H1=INT < <-D* +.5) /50> *10+. 5) /10:H=INT <-D-H 1 >:D OW ING COORD INATES: ":PRINT" 1 2 3 1220 PR INT"FOR EXAMPLE: ":PRINT"215 MEANS 00 =D -H1 : E=E-H:PRINTUSING"SHIELDS ARE DO 4 5 6 7 8" : FORI=1T08: PRINTI ;: 2 KL I NGONS , 1 STARBASE,. AND 5 STARS. ": w WN, YOU HAVE LOST ### ENERGY POI NTS <#,# FORJ=1 T08 PR INT"108 MEANS 1 KL I NGON , 0 STARBASES, ## LEFT > ";H,E: PR INT"AND BEEN HIT ON YOUR 1110 PR INT" :"STR I NG$ (3,95> ;:NEXT: PR INT" : AND 8 STARS. ":PRINT "2 MEANS 0 KL I NGONS , "D$(R) " FOR"H1 "POINTS. ":D=O "I:NEXT: PR INT" 1 2 3 4 5 6 0 STARBASES, AND 2 STARS. ":GOSUB960 920 NEXT: GOSUB960: IFE< 1 THEN 1 030ELSERETUR 7 8":PRINT"EACH QUADRANT IS SIMILAR 1230 PR INT"GALAXY SCAN :":PRI N LY DIVIDED INTO 64 SECTORS ":GOSUB960 NT :PRINT"THIS COMMAND SHOWS A CURRENT MA 930 K=K-1 : K9=K9-1 : IFK9< 1 THEN 1 040ELSEQ "***DEV ICES***" :PRINT "C P OF THE KNOWN GALAXY. TH IS IS UPDAT I, 1> ,K >=0:G =G(Q1,Q2) -100 : RET OURSE : R2=FNR :IFQ (R1 ,R NG DIRECT ION START ING AT THE RIGHT AND RINT"ANY PORT ION OF THE ENERGY AVAI LABLE 3: 2><>0THEN940ELSERETURN GO ING COUNTER CLOCKWISE: " CAN BE FIRED , THE ON-BOARD BATTLE COM ...... ("") 950 H=INT -S1>�2+-S 1130 PR INT" 3 ":PR INT" 4 PUTERD IVIDES TH IS AMOUNT AMONG THE KL ING :::0 0 2) A2> >*<2+RND >>:RETURN 2 ":PRINT" 5--- ·---1 ":PRINT" 6 ON CRU I SERS IN THE QUADRANT AND DETERM IN I 00 960 LOCATE7, 18:PR INT"PRESS ANY KEY TO CO 8 ":PRINT" 7": GOSUB960 ES THE VAR I OUS DIRECTI ONS OF FIRE. " 0 NT INUE" ;:Q$=I NKEY$ 1140 PR INT"WARP ENG INES: ":PR INT:PRINT"WA 1250 PR INT"THE EFFECT IVENESS OF A HIT IS 970 IFINKEY$= ""THEN970ELSECLS :RETURN RP FACTOR IS A REAL NUMBER BETWEEN 0 AND MA INLY DEPENDANT ON THE DISTANCE TO THE 980 LOCATE35, 14: Q$= " ":QQ=O: Q1$=INKEY$ 12 EACH WARP FACTOR WILL MOVE THE EN CRU ISER . EACH CRU ISER STARTS WITH 200 990 Q1$=INKEY$: IFQ1$=""THEN990ELSEQ=ASC < TERPR ISE ONE QUADRANT. EACH .125 WARP FA UNITS OF ENERGY AND CAN FIRE AN AMOUNT E Q1$) :IFQ=8THEN980ELSE IFQ< >13THEN IFQ<460R CTORS WILL MOVE THE ENTERPR ISE ONE SE QUAL TO HOWEVER MUCH IT HAS LEFT. ":GO Q)570RQ=47THEN990ELSEQ$=Q$+Q 1$:LOCATE35 , CTOR. " SUB960 14:PR I NTQ$;P$; : IFLEN (Q$)( 6THEN990 1150 PRINT"EG: WARP .125 = 1 SECTOR" :PRI 1260 PR INT"PHOTON TORPEDOES : 1000 IFQ$< >"" THENQQ=VAL (Q$)ELSEQQ=O NT " WARP .5 = 4 SECTORS "Y"ANDQ$< >"N"THEN10 :PRINT" WARP 5 = 5 QUADRANTS ":GOSU YS WHATEVER ITHITS. THE RANGEOF A PHOTON 20ELSERETURN B960 TORPEDO IS LIMITED TO " 1030 FORI=1T01000: NEXT:CLS : LOCATE7 ,8:PRI 1160 PR INT: PRINT"FOR EXAMPLE, IF YOU TRA 1270 PR INT"THE CURRENT QUADRANT . THE COU NT" IT IS STARDATE "T" THE ENTERPR ISE HAS VEL FROM: ":PRINT"QUADRANT 1:1, SECTOR 1: RSE OF A PHOTON TORPEDO IS SET THE SAME BEEN DESTROYED THE FEDERAT ION WILL BE C 1, IN DIRECT ION 1 AT WARP 2 YOU WOULD ST WAY AS THATOF THE ENTERPRISE. ":GOSUB960 ONQUERED THERE ARE ST ILL"K9"KLINGON BATT OP AT " :PRINT"QUADRANT 1:3, SECTOR 1:1, I 1280 PRINT"DAMAGE CONTROL REPORT

LE CRU I SERS LEFT •••YOU ARE DEAD. ":GO N THE NE XT STARDATE m" D 4) :":PRINT: PRINT"THE DAMAGE CONTROL RE T0 1 090 1170 PR INT" "TAB <23> "** NOTE **":PRINT"EV PORT LISTS THE MA IN DEVI CES AND THE IR ST 1040 FORI=1T01000:NEXT: CLS : LOCATE7,6:PRI ERY USE OF THE WARP ENG I NES TAKES ONE ST ATE OF REPAIR. A NEGAT IVE STATE OF R NT " IT IS STARDATE "T"THE LAST KL I ARDATE . IF THE ENTERPR ISE IS BLOCKED BY EPA IR INDICATES A DISABLED DEVICE. DEVIC NGON BATTLE CRUI SER IN THE GALAXY HAS BE SOMETH ING DUR ING INTRA-QUADRANT TRAVEL ES CAN BE DAMAGED" EN DESTROYEDTHE FEDERAT ION HAS BEEN SAVE IT WILL STOP IN FRONT OF IT .": GOSUB960 AND ANY DAMAGED DEV ICE IS REPA IRED PART ""0

ESTROYED"KO"KLINGONS IN"T-TO " STARDATES" 1180 PR INT"SHORT RANGE SENSORS: ":PRINT"T !ALLY EVERY STARDATE. ":GOSUB960 1"1'1� 1050 F= INT *1000): 0NF/500+ 1GOTO HE SHORT RANGE SENSORS OF THE ENTERPR ISE N 1080, 1070, 1060 , 1060 DISPLAYS A DETA ILED VIEW OF THE Q +=- UADRANT IT IS CURRENTLY IN. " 1300 PR INT"SHIELDS :Y$=R$ <2,TA> : Z$=R$ (3�SA> RINT"SH IELDS WILL PROTECT THE ENTERPR ISE 130 FORD= 1T040 :NEXTD: RETURN 380 ' CHECK IF A SMALLER PAYOUT < FROM KL I NGON FIRE. IF SH I ELDS DROP THEKL INGON FIRE WILL DAMAGE AND DISABL NT" ";: LOCATE55, 9::PRINT" "; : LOCATE55,1 c GOT0440 3: E SECT IONS OF THE SH I P. " ["1"1 O: PRINTCHR$ (135) +CHR$ C135 ) ;::LOCATE55, 11: 400 IFX$=Y$ANDX$=" 10"THENPAY= 1:GOT0440 1310 PRINT"THE ENTERPR ISE' S SHI ELDS STAR ..j::>. PRINTCHR$ C138 ) +CHR$ (32) ;:LOCATE55, 12: PRI 4 10 IFX $=Y$ANDY$=" J"THENPAY=2 : GOT0440 TAT 500 UN ITS � WHICH IS THE NTCHR$ (138) +CHR$ (32> ;:RETURN 420 IFX$=" 10"THENPAY= .2: GOT0440 :z MAX IMUM. ":GOSUB960 :CLS: GOT080 150 LOCATE55, 7:PRINT" ";: LOCATE55, 8: PRI 430 IFX$=Y$ANDY$=Z$THENPAY=6 : GOT0440ELSE 0 1320 N$=I NKEY$: IFN$="" THEN 1 320ELSEN=VAL < NT " "; : LOCATE55,9:: PR I NTCHR$ <135) +CHR$ (1 80: 'GOTO 40 IF NO PAYOUT N$ ):RETURN 35 ) ;:LOCATE55, 10:PRINTCHR$ (138 ) +CHR$ C32> 440 WAD=WAD+PAY :PAY=PAY*5: GOT080 ;:LOCATE55, 11:PR I NTCHR$ C138) +CHR$ C32> ;:R 450 WAD=WAD+PAY :PAY=PAY*5: GOSUB5 10:GOT08 )::o ETURN c 0 G") 160 LOCATE55,7:PRINT" ";:LOCATE55 ,8:PRI c 460 'DATA FOR THE THREE REELS !./) NTCHR$ <135 ) +CHR$ (135 ) ;:LOCATE55 ,9: PR I NTC K,J. 10. -1 470 DATA 10, Q, K,A �J,Q, 10, K, 10, K.Q� " HR$ (138 ) +CHR$ C32> :;:LOCATE55 ,10:: PRI NTCHR$ J, 10, Q,K,K,J,10, 10,Q,K, Q,K,J,K,Q,K **** AR I STOCRAT **** <138 ) +CHR$ (32) ;:RETURN 480 DATAK , Q, J, 10,A, 10, J,A, Q ,K,Q, 10,Q.K,Q 1.0 CP 170 LOCATE55 ,7:PRINTCHR$ (135 ) +CHR$(135> ; ,J, 10, 10,J, 10, K, 10,J,Q ,Q, 10, K, 10, 10, K w HITACH I PEACH :LOCATE55,8:PRINTCHR$ (138 ) +CHR$ (32> ;:LOC 490 DATA10, J�Q, 10, A, K,Q, 10 ,J, 10, Q,K, A, 10 ATE55 ,9: PR I NTCHR$ C138 > +CHR$ (32> ;:RETURN ,10,Q,K,K,A,Q, 10, K ,J,Q, 10,J,Q, 10,J,Q 180 ' DETERI'1 INE APPROX. HOW MANY TIME 500 'DRAW THE POKER MACH INE ,PUT IN THE 10 ' (C) R. DYBALL : MODIFIED FOR THE S EACH REEL TURNS OVER SOMET IMES PAYOUT LISTING. HITACH I PEACH BY MICR0-80 THE REELS WILL TIP OVER JUST AFTER THEY 510 FOR I =37T087 :PSET :PSET :PSE 20 RANDOMIZE: CLEAR1000 : DEF I NTA-O,Q-V� X-Z STOP T :PSET :NEXT: FORI=9 :DEF FNRN =INT *MAX +1 i 190 PAY=O :MAX=25: KK=FNRN +25: MAX=5: S1 T0 18: PSET (37, I>:PSET <87, I> :PSET C53, I>:PS 30 CLS :WAD=10: D IMR$C3� 30> �RP<3> :RP<1>=21 =CKK+FNRN -3> *3/5: S2= -3 > * ET <70, I) :NEXT: FORI=1T03 : PSET <94, I+30 ) :PS 3:RP<2> =222: RPC3> =230 :CP$ (1)="0":CP$ (2) = 4/5: FORRS= 1TOKK: MAX=20:: IF RS >S2 AND FNRN ET C95, I+30> :PSET <95, I+30) : PSET <96, I+30) : "O":CP$(3) ="@" :CP$C4> = "/":CP$ (5)="-" :CP$ CRA> =1 THEN230ELSE IF RS>S2 THEN260ELSE 3: NEXT :FORI=18T032 : PSET (97, I>:PSET <9B, I> ...... (6) =" ":CP$ (7) =CHR$ (92) :CP$(8) ="0" :CP$ (9 IF RS >S 1 THEN230ELSE R=R-1 : IF R<=1 THEN 520 NEXT ("") )="O" �CP$(10) ="0" ;:o R=30 530 LINE <200. 45)- (400,75> ,PSET, B: LINE<18 0 40 'DRAW THE POKER MACH INE THEN READ IN I 200 REM PR INT CHARACTERS ON THE REELS 0,75> - <420, 130) ,PSET,B: LINE <220, 0} - (380 , CP THE DATA FOR THE REELS 0 210 RA=R- 1:RB=R-2: IFR= 1 THENRA=30 :RB=29 O> ,PSET:LINE<220,0>-<200.45> ,PSET:LINE C3 50 SCREEN0, �1:CLS: GOSUB5 10: FORR= 1T03 : FOR 220 LOCATE28 ,8: PR I NTR$ <1,R >;:LOCATE28 ,7: 80 , 0) - (400, 45> ,PSET: LINE<260 , 45 >-<260. 75 P= 1 T030 : READR$ (R, P> : IFLEN CR$ (R� P> > =1THEN PR INTR$<1,RA> ;:LOCATE28,6: PR INTR$ <1,RB> ; >,PSET:LINE <340,45) - (340,75> ,PSET R$ CR, P> =" "+R$CR, P> :ELSER$ = " "+R$ ( 230 T=T-1 : IFT< 1THENT=30 540 GOSUB140: GOSUB 150: GOSUB 160:GOSUB 170: R,P> 240 TA=T-1: TB=T-2 :IFT= 1 THENTA=30 :TB=29 LINE<420 , 100)-(436. 120) ,PSET,B 60 NE XTP : NEXTR 250 LOCATE37,8: PRINTR$(2.T> ;:LOCATE37 ,7:: 550 FOR I=1T03 70 LOCATE7, 20:PRINT" IF YOU WANT TO TRY A PR I NTR$ <2, TA> ;:LOCATE37 .6: PR I NTR$ <2. TB> ; 560 PSET <96, 14+I >:PSET (99,14+l) ::PSET < 96+ NOTHER GAME ANY TIME PRESS < 260 S=S-1 : IFS< 1THENS=30 I.14> :NEXT: FOR I =8T044 : PSET <31.I>:PSET <93 RETURN>"; :A$= " ":FOR I=1T01000:NEXT:LOCATE 270 SA=S- 1:SB=S-2: IF S= 1 THENSA=30 :SB=29 ,I>:NEXT: FOR I=38T041 : PSET <36�I> :PSET ;:L OCATE45 ,7: I>:NEXT: FOR I =32T093 : PSET ;:LOCATE45� 6: PR I NTR$ <3.SB> ; <38,43> ::PSET <86,43) : FORI=1T07 : PSET <30+I , NRN : T=FNRN 290 NEXT 8- I> :PSET <93-I ,8-I >:NEXT 80 BEEP : LOCATE17, 7 :PRINT"":;:PRINTUSING"# 300 'CHECK ON PAYOUT� IF LUCKY . ADD TOGET 570 FOR I =2T06 : PSET <81� l):PSET C82,I>:PSET ###" ; PAY ; :IFWAD=OTHEN630ELSELOCATE 17, 4: P HER THE 3 CHRS ON REELS <84, I> :PSET <85, I> :NEXT: PSET <83,2> :PSET <8 RINT"$" ;:PR INTUSING"###.##" ;WAD ; :A$=I NKE 310 TR$=R$ C1,RA> +R$ <2�TA> +R$ <3. SA> 3, 6> :LOCATE33, 1:PR INT"ARISTOCRAT" ;:LOCA Y$ : IFA$=""THEN80ELSE IFA$=CHR$ C13> THENCLS II 320 'CHECK IF JACKPOT TE28, 6: PRINT" J "; : LOCATE28, 7: PRINT " Q :GOT030ELSELOCATE17, 18: PR I NTCHR$ C31) :;:WA 330 IFTR$= " A A A"THENLOCATE7 .18: PRIN ;:LOCATE37,8 :PRINT" K "; :LOCATE28,8: PRIN D=WAD- .2: LOCATE17, 4: PRINT"$"; T"JACKPOT - $50 -" ;:FORD= 1T0100:NE XT: PAY T" 10 "; : LOCATE37, 7:PRINT" A" ; 90 PR INTUSING"### .##" ;WAD ; =50 : LOCATE7, 18:PRINTCHR$C13 1> ;:GOT0450 580 LOCATE37, 6: PRINT" Q ";:LOCATE45, 7: PR 100 'THIS LINE PULLS DOWN THE HANDLE .THE 340 IFLEFT$ CTR$, 6) =" A A"THENLOCATE7 ,1 INT" K "; : LOCATE45� 8: PRINT" J "; FOLLOW ING LINES PR INTIN THE DIFFERENT P 8: PRINT"JACKPOT - $20 -";:FORD= 1T0100:NE 590 LOCATE45, 6: PR INT" Q"; :FORI=11T014STE OS ITIONS XT: PAY=20 : LOCATE7� 18: PR I NTCHR$ (31> ;:GOTO P3: PSET <38, I> :PSET <52, I> :PSET <54, I>:PSET -c 110 FOR I =3T05 : PSET C83, I): N EXTI:FOR I =3T05 450 )::o (86, I> :PSET <69, I> :PSET<7 1, I>: P SET <86, I>: G') :PRESET <83, I>:NEXTI:FORI=1T014: 0N I GOSUB 1 ["1"1 350 'CHECK IF RUN NEXT: LOCATE18, 3: PRINT"CREDIT"; : LOCATE 17, 60 , 160, 160,150, 15(1, 150� 140, 140, 140, 130, 1 360 IFTR$=" 10 J Q"ORTR$= " Q K A"O N 4:PRINT"$" ;:PR I NTUSING"###. ##" ;WAD ; :LOCA 0'1 40 , 150, 160,17 0 RTR$= " J Q K"THENPAY=4 : GOT0440 TE25, 10 600 PR INT" 10 X X :1 Q Q Q :30" ;:L 270 IFP1=16THENVY=VY+2 < OCATE25� 11:PRINT" 10 10 X :5 K K K 280 IFP2= 1 6THENVX=VX-2 0 r : 30 " ; 290 IFP2=64THENVX=VX+2 c: 610 LOCATE25, 12: PRINT" 10 10 10 :10 ANY 300 IFBH=OTHEN330 3: ITl RUN :20 "; :LOCATE25, 13:PRINT" J J X :1 310 IFPX>CXTHENVX=VX-1ELSEIFPX 0 A A X $20" ;:LOCATE25� 14: PRINT" J 320 IFPY>CYTHENVY=VY- 1ELSE I FPY< CYTHENVY=VY+ 1 .. J J :30 A A A $50" ;:LOCATE7, 7: PRINT 330 PR I NT@937 ' CHR$ <181> ; If X II ; CHR$ ( 186) ; " II ; CHR$ <181 ) ; II y .. ; CHR "COINS PA ID";:RETURN $(186> ;" 11 ;:PRINT@951 ,VY; :PRINT@941,VX; 5 620 'IF YOU RUN OUT OF MONEY 340 PRI NT@2,SC; : FORL= 1T02 :0X=PX: OY=PY :PX =PX+VX/6:PY=PY+VY/6: IFPY 630 CLS : LOCATE15� 11:PRINT"YOU CANT PLAY <10RPY >13THENVY=VY*-1:IFPY< 1THENPY= 1ELSEPY= 13 350 IFBH=OTHEN390 )::> HERE WITH NO MONEY �":LOCATE15, 11:PRINT"Y c: OU HAVE JUST BEEN BOOTED OUT OF THE CLUB 360 IFPXCX+20RPY< CY-20RPY>CY+2THEN390ELSEPX=INT :PY G') c: !":END =INTCPY > t/') -I 370 IFPX>CXTHENPX=PX-1ELSEIFPXCYTHENPY=PY- 1ELSE IFPX=CXANDPY=CYTHEN560 � 380 X1=PX:Y1=PY: GOSUB150:PR I NT@PP,PS; : FORL=1T020:NEXT: GOT0370 00 390 IFPX< 1THENX1=INT : Y1=INT : GOSUB 150:PRINT@PP, BS; : GOT049 w 0 REM ** ESCAPE ** 400 IFPX>30THENPX=30 :VX=VX*-1 **** LII/16K URANIUM CORE **** 410 X1=INT

: Y1=INT : GOSUB150:IFPEEK < PP+C3) =174THENCB=CB+ 1 420 IFPEEK < PP+C3> =153THENPR INT@PP,PS; :X1 =INT :GOSU TRS-80/SYSTEM-80 B150:PRINT@PP,BS; : GOT0560 REM ***EXPLODES *** 430 X1=INT : Y1=INT PP,BS; : X1=INT :Y1=IN T : GOSUB150:PRINT@PP,PS; : POKEC4,M: POKEC5, 127:A=USR <395> 10 POKE 16561 ,48: POKE 16562� 126: DEFI NTA-Z: CLEAR200 :CLS 440 NEXTL: PRINT@2 , STR ING$ (6, 176> ;:PRINT@30,HS<1> ;:X1=RND (30> :Y1= 20 REM ********************************** RNDC13> : GOSUB150: IFPEEK =153THENQQ=PP+C3 :FORK=1T05 : POKEQQ, 3: 30 REM * U R A N I U M C 0 R E * 191 : POKEQQ+1 , 191 : POKEQQ, 188:POKEQQ+1 , 188: POKEQQ, 140: POKEQQ+1 , 140 ("'")...... 40 REM * * :POKEQQ, 128:POKEQQ+1 ,128:NEXTK ;;o 0 50 REM * BY PSIONIC SOFTWARE * 450 TT=TT+1 : T=T+ 1 :IFT>TLTHENT=O :Y1=RND <6> *2: X 1=RND <12> *2+6: IFX1< I 00 60 REM ********************************** 20ANDX 1>12THENY 1=Y1-1 0 70 REM * BY D.STEVENS + B. THOMAS * 460 I FTT=2THENTT=O : PRI NT;i>FP , " " ; : FP=FP-1 : I FFP=90 1 THENGOT0560 REM 80 REM * 406 SANDGATE ROAD , SHORTLAND * **NO FUEL EXPLODES **** 90 REM *NEWCASTLE� N.S.W . 28/ 1 /82-30/1 /82* 470 IFT=OTHENGOSUB 150: IFPEEK < >174THENPR I NT;i>PP , WBS ; 100 REM********************************** 480 GOT0 170 110 FORL=OT0960STEP64 :IFPEEK >RS-80 490 .I FCB=OTHENPR INT@133, "MISSION UNSUCCESSFUL. "; : FORL= 1 T0500 :NEX OR <>YSTEM-80? ";ELSENEXT T: PR INT@197, "URAN IUM CORE NOT PRESENT IN POD BAY . "; : FORL= 1T0500 : 120 AS= I NKEYS: IFA$="T"THEN1 30ELSE IFA$= "S"THENOUT254 ,255ELSEGOT0 1 NEXT:PRINT@261 . "YOU ARE REL I EVED OF YOUR COMMAND. "; : FORL= 1T01500 20 :NEXT: GOT0860 REM **** HIGHSCORES **** 130 FORK=1T015: PR I NT@L, " ";:FORS= 1T05:PRINTCHRS ;:NE 500 IFBH= 1 THEN X1=CX:Y1=CY: GOSUB 150: POKEC4 ,M: POKEC5, 127: FORL= 1TO XT: PR INT" U RAN I U M C 0 R E ";: FORS= 1T05 :PRINTCHRS ;:NEXT: FORZ=1T030:NEXT: L=L+1 :NEXT: GOT0580 510 GF=O : SC=SC+LV*CB*5: LV=LV+1 : VX=O:VY=O:PX=l : POKEC4 ,M: POKEC5, 12 140 REM *** CONVERS ION *** 7: A=USR <444 ) 150 PP= INT *2+INT *64-1 : RETURN 520 FP=CB*7+FP :IFFP >935THENFP=935 160 REM ** MOVE PLAYER ** 530 PR I NT@897, "FUEL : ";:POKEC4 ,M: POKEC5, 127:FORL=902TOFP :PRINT@L . 170 P1=PEEK : P2=PEEK CHRS<143> ;:A=USR (866> :NEXT: CB=O : BH=O 180 IS=INKEYS: IFIS<>" "ORGF= 1 THEN260 540 GOT0790 1 90 DL=10:Y 1=PY: POKEC4 ,M: POKEC5, 127:FORX 1=PX+1TOPX+5: IFX 1 >30THEN 550 REM* ****EXPLODE***** 220 560 POKEC4, E X:POKEC5, 126: POKE32524 ,PX *4-2 : POKE32525 ,PY*3: A=USR :GOT0220 >:POKE32524 ,PX *4-2 : POKE32525 ,PY*3: A=USR 210 PR I NT@PP , CHRS <140 l ;:A=USR <5041 > : NEXT 570 FORK= 1TOLEN :PRINT@470 , LEFT$ (60$, K) ;:FORG= 1T070:NEXT: NEX 220 IFGF=1THENDL= 100 T: FORK= 1 T0500 :NEXT: GOT0860 -c 230 ZZ= X1: IFZZ>30THENZZ=30 580 CLEAR2000 :FORL=3271 7T032767 :READD: POKEL,D:NEXT: FORL=32688T03 240 FORX 1=Z ZTOPX+1STEP-1 : GOSUB150:PRINT@PP,BS� :IFGF= 1PRINT@PP-2 , 27 16: READD: POKEL,D:NEXT: FORL=32305T03265 1:READD : POKEL,D:NEXT ITl� UCS ; ELSEPR INT@PP-2 , CHRS <140> ; 590 DATA 1 ,0,4,33,0,60, 126,254,32, 40, 17,254, 92 , 242, 238, 127, 11�62� N 250 A=USR C5041) :NEXT: GF=1 : CB=CB+ 1 0, 184, 32,2, 185, 200, 35, 195, 21 1� 127, 54, 191 , 195,221 , 127, 229 , 22 , 0,95 0"1 260 IFP1=8THENVY=VY-2 ,33, 63 , 1,237 , 82 , 125, 225, 119, 195, 221, 127, 255, 255 , 255 600 DATA205 , 127, 10,62, 1,14, 0,237 , 91 ,61,64, 69,47,230 , 3, 179,21 1,25 800 X1=CX-1 :Y1=CY : GOSUB150:PRI NT@PP �UC$; : X1=CX+1: GOSUB 150:PRINT@ < 5, 13, 40, 4, 16, 246,24,242,37,32,24 1 ,201 PP, UC$; : Y1=CY+1 :X1 =CX : GOSUB150:PRINT�PP ,UC$ ; :Y1=CY-1 : GOSUB150:PR 0 610 DATA33, 0,60,54, 128, 17, 1,60, 1,255,3, 237 , 176, 201 ,62, 198,24, 6, 6 INT@PP,UC$ ; r c: 2, 134, 24 , 2,62,70,50, 124, 126,122,6,255, 4,214,3,242 ,79, 126, 198,3,2 810 IFLV<4THEN820ELSEX1=CX-1 : Y1=CY-1 : GOSUB150: IFPEEK < PP+C3>=174T 3: ji"J 03 ,39,79, 104, 38,0,6,6, 4 1,16, 253, 22 , 0,203,59,48, 1, 12,25, 17,0,60, 2 HENBH= 1ELSEX 1=CX+1:GOSUB150: IFPEEK < PP+C3> =174THENBH= 1ELSEY 1=CY+ 1 ..j::> 5, 203, 33,203,33,203,33,58, 124, 126, 129,50, 124, 126 :GOSUB150: IFPEEK < PP+C3> =174THENBH= 1ELSEX1=CX-1 : GOSUB150: IFPEEK CP " 620 DATA203, 150, 203, 254,201,33, 12, 127,86, 35,94,6,31 ,35, 1 14, 35, 11 P+C3>=174THENBH= 1 :z 0 5,5, 194, 136, 126, 14, 0, 6,32,33, 12, 127,94, 35,86,35,62 ,128, 187,250, 1 820 IFBH=OTHEN840ELSEFORX1=CX-2TOCX+2:FORY 1 =CY-2TOCY+2 :IFX 1< 10RX 82 ,126 , 202, 182, 126,62 , 48 , 186,250, 182, 126,202 , 182, 126, 197,213, 229 1>300RY1<10RY1>13THEN830ELSEGOSUB 150:PRINT@PP ,B$; ,205,63, 126, 225,209, 193,5, 194, 151, 126,65,62, 1,211 830 NEXT: NEXT: X 1=CX :Y1=CY : GOSUB150:PRINT@PP ,BH$; 630 DATA255 ,62, 2,211,255 , 16,246, 0, 0,6,32,33, 12, 127,94, 35,86,35, 6 840 GOT0 170 )> c: 2, 128, 187, 250,0, 127,202,0, 127,62,48, 186,250,0, 127,202,0, 127,229, 850 REM *** HIGH SCORES *** G'> c: 213, 197,205, 67, 126, 193� 33 , 76, 127,22,0, 8ij, 25,25,209, 126, 131 ,95,35 860 GF=O :VX=O:VY=O :BH=O: CB=O:LV= 1 : Z=O: FORL= 10T01 STEP-1 : IFSC >HS THENZ=L " 640 DATA12,62, 14, 185, 194, 146, 126,201 ,62, 167,77,92,60, 88 , 84,48, 10 870 NEXTL: I FZ=OTHENZ=1:GOT0970:ELSECLS:PRI NT@O ,TB$; : PR I NT@960 ,HB $; :PRINT@O ,VB$; :PRINT@61,VB$ ; : PR I NT@77 ,UT$ ; � 4,40, 118,26, 104, 12,90,240 ,34, 240,20, 12,6,26,34, 40,51,48,73,48,90 co ,40, 104,26, 90, 12, 76,254, 48, 254, 34, 12,20, 26, 48,40, 62 ,48, 76, 40,90, 880 PR I NT@205, "** C 0 N G RAT U LA T I 0 N S **";:PRINT@327 ," w 26 ,76, 12,62,254 ,48, 12, 34,26, 62,40,76, 26,62� 12,255 THE INTERSTELLAR HIGH COMMAND WISHES TO INFORM" ;: PR I NT@386 �"YOU 650 DATA0, 0, 255 , 1,0,0, 1,254 ,0,2�5 ,255,0, 254 , 1,255 , 2,0, 1,1,0,2,25 THAT YOU HAVE ONE OF THE BEST MISSION RECORDS TO DATE . "; : PR I NT@5 5, 1,253 , 0,254 , 255,255 ,254, 1,254,2, 255 , 3, 0, 2 , 1,1,2,255 ,2,254, 1,25 26 , "PLEASE TYPE IN YOUR IDENT I TY-CODE "; 2, 0, 253 , 255,254 ,253, 2, 253 ,3,255,4, 0,3, 1,2, 2,254 ,2, 253 , 1 890 N$=" ": I$=INKEY$ : PRI NT:j)666 � CHR$ < 188) ; STR ING$ <6, 140) ; CHR$ ( 188) 660 G$= " PRESS TO START GAME" : R$=" PRESS FOR IN ;:PR I NT@730 , CHR$ (19 1> ;:PR I NT@737 . CHR$ C19 1> ;:PRINT@794 .STR ING$ C8, STRUCT IONS" : FORL=1T016: LB$=LB$+" "+CHR$ (26)+CHR$ (24) :NEXT: UT$=CH 131> ;:POKEC4, M:POKEC5, 127:FORL=700T0600STEP-5 :X=USR THEN IFLEN CN$)=0GOT0900ELSEN$=LEFT$ CN$, 670 UT$=UT$+ " "+CHR$ < 181 ) +CHR$ < 186) +" "+CHR$ < 151 > +CHR$ < 140) +CHR$ THEN900 1-1 (15 1)+CHR$ (167 )+" "+CHR$ (189 > +CHR$(176) :GO$= "G AME- 0 V E R" 920 IFI$=CHR$ (13> THEN950ELSEN$=N$+I$ :::0("") 0 930 IFLEN CN$> >4THENN$=LEFT$ CN$, 4) 680 DIMHS$(10> ,HS(10> : FORL= 1T015: VB$=VB$+CHR$ (191 ) +CHR$ (26) +CHR$ I 940 PR I NT@732, N$; : GOT0900 co <24) :NEXT: HB$=STR ING$ (62, 131> :TB$=STR ING$ <62, 176> :WB$=CHR$ (153 ) + 0 CHR$ (166 ): P$=CHR$ <166 ) +CHR$ (153 > : UC$=CHR$ (174 ) +CHR$ (157 > : BH$=CHR 950 POKEC5, 127: POKEC4 ,M: FORK= 1T030 : A=USR CRND C255 ) +270) :NEXT: N$=N $(183> +CHR$<187) :B$=CHR� <128 ) +CHR$ (128) $+ " ":N$=LEFT$ (N$,4> : IFN$= " "THENN$= "NONE" 690 C1=14400 : C2= 1 4368 :C3= 1 5360 :C4= 1 6526 : C5= 1 6527: I=205: M= 176: EX= 960 FORL= 10TO CZ+1 >STEP-1 :HS$ (L)=HS$ CL-1 >:HS=HS :NEX Z>=N$:HS=SC T: GOT0860 970 CLS: PRINT@O , STRI NG$ (64, 131);:[email protected]$ C63, 176) ;:FORL 700 REM ***** START GAME ***** =OT0896STEP64 :PRINT@L , CHR$ (19 1> ;:PRINT@L+63 .CHR$ (19 1>;:NEXT: POKE 710 LV=1 : SC=O :SN=5: PX=1: PY=RND <13> : XV=O : YV=O: T=O: TL=15: FP=935 :GF 16320 , 191 : POKE 16383 , 191 : PR I NT@49 , CHR$ <139 ) ; "HIGH SCORES" :; CHR$ <13 =0 5> ;:PS= 115 720 POKEC4 ,CS: POKEC5, 126:A=USR 980 FORL= 1T010: IFHS =OTHEN990ELSEPR INT@PS. HS$ ;HS(L) ; 730 PR I NT@O ,TB$; : PR I NT@960 ,HB$; : PR INT@O, VB$; :PRINT@61 . VB$ ; 990 PS=PS+64 :NEXTL: PS= *64+1 15: IFPS< 115THENPS= 115 740 PR I NT@897, "FUEL : "; : POKEC4 ,M: POKEC5, 127: FORL=902TOFP :PRINT@L , 1000 REM *** TITLE *** CHR$ (143 > ;:A=USR (866> :NEXT: FORL= 1T07: PRINT@937 ,STR I NG$ <16, 143> ;: 1010 PR I NT@755 ,CHR$ C139> ;STR ING$C6, 191):;CHR$ C135 > ;:PRINT@820 ,CHR A=USR C970) :PRINT@937, " VELOC ITY SCANNER "; : FORK= 1T070:NEXT: NEXTL $(130> ;STR ING$(4, 143> ;CHR$ (129 > ;:PRINT@879, CHR$ C136) ;STR ING$ (5, 1 750 PR I NT@453 , "UNIVERSE" ; : PR I NT:j)5 17, "INTERFACE ";: FORL=5 14T066STE 91 >;CHR$ C189 > ;CHR$C146> ;CHR$(16 1>;CHR$C190> ;STR I NG$ (5. 191) ;CHR$ ( P-64: PR I NT@L, "<== "; :A=USR C5067> :PRINT@L. " "; :NEXT: FORL=66T0834 132) ; : STEP64 : PR I NT:j)L , "<==" :;:A=USR <5067 ) : PR INT@L � II II ; NEXT 1020 PR I NT@944, CHR$ < 130) ; CHR$ < 143) ; STR ING$ <2. 191> : CHR$ < 159) ; CHR$ 760 FORL=834T05 14STEP-64: PR INT@L� "<== " ;:A=USR C5067) :PRINT@L. " ( 135) ; II II ; CHR$ ( 131> ; CHR$ ( 143) ; STR ING$ (2, 191 ) = CHR$ ( 159) ; CHR$ ( 129 "; :NEXT >;:PRINT@135,CHR$ (19 1> ;:PRINT@140, CHR$ C191 > ;:PRINT@199, CHR$ C191 > 770 PR I NT@453 ,CHR$ C200> ;:PR I NT@517. CHR$ C201 >;:X 1=PX:Y1=PY : GOSUB 1 ;:PRINT@204 , CHR$ C19 1> ;:PRINT@263 , CHR$ <191 ) ;:PRINT@268 , CHR$ (19 1) ; 50 :PRINT@PP,P$; :A=USR C531 ) 1030 PRI NT@327 ,CHR$ (143 > ;STR I NG$ C4, 176> ;CHR$C143) ;:PRINT@205 .CHR 780 REM *** NEW CORE *** $(160> ;STR ING$C2, 176> ;" ":;STR ING$(2, 176) ;" ";CHR$<176) ;CHR$ 790 CX=RND <10) +15: CY=RND <11)+1:X1 =CX :Y1=CY : GOSUB 150:POKEC4 ,M: POK <160 > ;CHR$ (144 > ;CHR$C176> ;" ";CHR$ (176> ;" ";CHR$<176> :; "'0 )> EC5, 127:FORL=1T07 :PRINT@PP� B$; : FORK= 1T050: NEXT: PR I NT@PP, UC$ ; :FOR 1040 PR I NT@269 , CHR$ (177 > ;CHR$ C140 ) CHR$(142> ;" ";CHR$(19 1);" "; G'> ji"J K= 1 T050 :NEXT: A=USR C1000) :NEXTL CHR$ ( 191 > CHR$ ( 140) ; CHR$ ( 176) ;" " CHR$ <19 1>::CHR$ ( 170) ; CHR$ ( 149) N ;CHR$ (191 ;" ";CHR$C191);CHR$ (13 >;CHR$ C140 > :;CHR$ C176) ;CHR$ C14 ""-' O> ;CHR$ (1 1> ;CHR$C19 1>; 1050 PRI NT@334 ,CHRS <13 1> ;CHRS <140> ;CHRS<176> ;CHRS<19 1>;STR I NGS <2 1260 PRI NT@837 , STR I NG$ <6, 191 >; CHR$ <183 ) ; "SPACE " ; CHRS < 187) ; STR ING ,131 >;CHRS <19 1>;" ";CHR$(13 1>;CHR$ (140> ;CHR$(191>;CHRS<170> ;CHR < $ <6, 191>;" PROBAB ILITY GRAPPLE ;CHRS<143> ;STR I NG$ <3, 176> ;CHR$(143> ;CHRS<197> ;CHRS <19 1>; RAME ONLY . ";: PRI NT@977 ,"PRESS TO START GAME" ; I c: 1060 PR I NT@460 , CHRS <176> ;STR INGS<2, 140> ;STR INGS<2� 131>;CHRS <137 > 1270 POKEC4 ,M: FORV= 1T0300: IS=INKEYS: IFI$=" "THENPR INT@ 1023, ""; :F 3: rr1 ;CHRS<132> ;:PRI NT@523 , CHR$ (190> ;CHRS<129> ;CHR$(199> ;STRI NG$ (4, 17 ORL=1T016:PR INT:A=USR :NEXT:GOT07 10 6> ;" ";STR I NG$ (3, 176> ;CHR$(144> ;" ";STR ING$<5, 176> ; .+::> 1280 PR I NT@984 , CHRS <200> ;:PR I NT@628, "AVOID"; : FORJ=1T0100:NE XT:PR 1070 PRI NT@587 , CHR$ < 175) ; CHR$ < 144> ; CHR$ < 198) ; CHR$ ( 191 >;" ";CH INT@984, "SPACEBAR" ;:PR I NT@628 ,CHRS<197> ;:FORJ= 1T0100: NEXT: FORK=3 :z R$ <191 > ; CHR$ < 1 7 6) ; CHR$ < 152 > ; CHR$ < 140) ; CHR$ ( 134 ) ; " " ; CHR$ < 1 91 > ; ST 0 OOT0304 :X=USR :NEXT: NEXT RING$(2, 176> ; 1290 POKEC4,EX:POKEC5, 126: FORK= 1T015:POKE32524.RND<127) : POKE3252 1080 PR I NT@652 ,CHRS <13 1> ;STR I NG$ <2, 140> ;STR I NGS <3, 176) ;CHRS <140 > 5, RND <47> :A=USR : NEXT: GOT0970 ;CHR$ (139 ) ;STR INGS<4, 176> ;CHRS <143 > ;" ";CHR$(130> ;CHRS<140> ;STR I ::.t> c: NGS<2, 176> ;CHRS<19 1> ;STRINGS<4, 176> ; Ci> 1090 FORL= 1T050: I$=INKEYS: IFI$=" "THEN7 1 0ELSE IFI$=CHR$ (13> THEN12 c: **** SINGLE KEY MENU **** (./) 10ELSENEXTL -i ... 1100 FORX=422T0678STEP64:PR INT@X, CHR$(19 1> ;:NEXT: PR INT@742, CHRS < MODEL III 143> ;:FORX=74 1 T0708STEP- 1:PR I NT@X , CHRS <140 ) ;:NEXT:PRINT@708 ,CHR$ "' co (143 > ;:FORX=644T01 32STEP-64 :PRINT@X , CHR$ (19 1>;:NEXT:PR INT@68, CHR w $(188> ;:FORX=69T0107: PR I NT@X , CHR$ (140 ) ;:NEXT: PR INT@ 108, CHR$ (188 ) 000 10 ******************************************************

; 00020 ****** MENU ••••••A COMMAND MENU ********** 1110 IS=INKEYS: IFI$=" "THEN7 10ELSEIFIS=CHRS <13) THEN 1210 00030 ****** FOR NEWDOS/80 V2.0 MOD III ********** 1120 FORX=172T0748STEP64: PR INT@X, CHRSC19 1> ;:NEXT: FORX=8 1 2T0770ST 00040 ****** (c) 1982 by S. J.TURTLE ********** EP-1 :PRINT@X , CHR$ (13 1>;:NEXT: FORX=706T066STEP-64 :PRINT@X, CHRS <19 00050 ****** HILL END , BR I SBANE ********** 1> ;:NEXT: FORX=2T046 :PRINT@X , CHRS <179 > ;:NEXT: FORX=110T08 14STEP64 : 00060 ****************************************************** PR INT@X , CHR$ (19 1> ;:NEXT: PR I NT@813, CHRS <176 > ; 00070 ORG OF200H 1130 IS=INKEY$: IFIS=" "THEN7 1 0ELSE IFI$=CHRS <13>THEN1210 00080 START LD A, OEH 1140 POKEC5, 127:FORX=81 2T0770STEP-1 : PRINT@X , CHRS <179> ;:NEXT: ZZ=1 00090 CALL 0033H TURN ON THE CURSOR OO : FORL=1T010: POKEC4, I:A=USR : POKEC4,M:A=USR <290) : FORK=1TOZZ:N 3: 00 100 CALL 0049H GET SOME INPUT � EXT: ZZ=ZZ-10: NEXTL : POKEC4, I 00 110 CP n ODH IS IT ? ::::0 1150 FORL= 1T010: A=USR : POKEC4 ,M: A=USR <290> : POKEC4, I: IF INKEY$=" 00 120 JR Z,MENU YES? THEN GO TO MENU 0 I "THEN7 10:ELSEIFINKEY$=CHR$ (13> THEN1210ELSENEXTL 00 130 PUSH HL NO? THEN GO GET MORE co 0 1160 PR I NT@478 ,UCS; : ID=1 :GD=-1 : Q=906:Q1=842: POKEC4 .M: FORL= 1 T0300 00 140 LD C, B FROM ROM ROUT INE. :Q=Q+GD: IFQ>91 10RQ< 899THENGD=-GD 00 150 JP 05E3H 1170 Q1=Q1+ID: IFQ1<8350RQ1 >846THEN ID=-ID 00 160 MENU LD A,OFH 1180 A=USR <304) :PRINT@Q, " ";GS; " ";:PRINT@Q1 ," ";RS; " "; :PRINT@P 00 170 CALL 0033H TURN OFF CURSOR S, HSS ;:FORK= 1 T020 :NEXT 00 180 CALL 01C9H CLEAR THE SCREEN 1190 PR I NT@Q+8 , CHR$ <200> ;:PRINT@Q1+8,CHRS<197> ;:PRINT@PS , CHR$ (19 00 190 LD HL , 3DOOH 6> ;:FORK= 1T020:NEXT 00200 LD (4020H> ,HL 1200 IS=INKEYS: I FI$=CHRS <13> THEN 1210ELSEIFI$= " "THEN7 1 0ELSENEXTL 002 10 LD HL ,TITLE 1210 POKE32524 ,60: POKE32525 ,22: POKEC4 ,EX:POKEC5. 126: A=USR :POK 00220 CALL 02 1BH PRINT THE TITLE E32524 ,60: POKE32525, 22:A=USR : POKEC4 ,M: POKEC5, 127 00230 LD HL , 3C 1AH 1220 FORL=OT062STEP2 :A=USR <1000 > :PRINT@L,LBS ;: PRI NT@L+1 .LBS ; :NEX 00240 LD (4020H> ,HL T: CLS : PR I NT:i>960 � STR ING$ <63, 176) ;:PR I NT@O , STR ING$ (64, 131> ;:FORL=O 00250 LD HL , OF2FOH T0896STEP64 :PRINT@L , CHRS <191> ;:PR I NT@L+63 , CHRS <19 1> ;:NEXT: POKE 16 00260 LD B,OO 320 , 191 : POKE 16383, 191 : POKEC4 ,M 00270 LOOP LD A, PRINT THE MENU ITSELF 1230 PR I NT@77 ,UTS; :PRINT@ 197. P$; " VECTORED PROBAB ILITY SH IFT P 00280 CP OFFH IF FFhex THEN NO MORE OD . "; :PRINT@268, "PILOT THIS TO RETR IEVE URAN IUM CORES. ";:PRINT@ 00290 JR Z,DOMENU 325 , UCS; " URAN IUM CORE . ";: PR I NT:i>396 , "RETURN THESE TO UN I VERSE 00300 CP 00 IF OOhex THEN NEXT LINE INTERFACE TO REFUEL. "; 00310 JR NZ,PRINT OTHERW ISE PR INT CHAR . 1240 PRI NT:i>453 , WBS; " UNSTABLE NEUTR I-NO WEB. "; : PRI NT@524 , "DANGE 00320 PUSH HL SAVE BUFFER ADDRESS ROUS . THESE EXPLODE ON CONTACT . ***********"; :PRINT@581,BHS ; " 00330 LD HL , <4020H > GET THE CURSOR POSITION BLACK HOLE. ";CHR$ <220) ;"* AVO ID *";:PR I NT@652 ,"HI-GRAV ITY WARP 00340 LD ,A AND WR ITE 00 TO SCREEN S SH IFT DR IVE OF POD . ***********"; 00350 EX DE , HL DE = CURSOR POS ITION '"'C ::.t> 1250 PRI NT:i>7 14, "THRUST CONTROLS -- >" ; CHR$ < 199) ; CHR$ < 183) ; " [";CHR 00360 POP HL GET BUFFER ADDR BACK Ci> rr1 $(187) ;" UP . ";CHR$(183> ;CHRS <92> ;CHR$(187> ;" DOWN. "; : PR I NT@79 00370 JR NEXTLN AND DO ANOTHER ONE 9, CHR$ < 183) ; "< ";CHRS < 187> ;" LEFt . ";CHRS < 183> ; ">";CHR$ < 187> ;" RI N 00380 PR INT CALL 0033H PR INT THE CHARACTER co GHT . "; 00390 INC B ADD ONE TO COUNTER 00400 INC HL INCREM. BUFFER POI NTER 00960 LD HL , 3C 16H IF YES THEN STAY THERE < 00410 JR LOOP GET NEXT CHARACTER 00970 JR DOMENU+7 GO TRY ANOTHER ONE 0 r- 00420 NEXTLN INC HL INCREM. BUFFER PO I NTER 00980 BLANK XOR A A=O c: AND SAVE IT. 00990 LD B,4 :s:: 00430 PUSH HL rr1 00440 PUSH DE SAVE LAST CURSOR POS . 01000 LOOP ! LD ,A � WR ITE 4 SPACES .+::- 00450 LD HL , <4020H > GET CURRENT CURSOR POS . 01010 INC HL .. 00460 LD DE, 40H 01020 DJNZ LOOP 1 :z 0 00470 ADD HL , DE ' MOVE DOWN 1 LINE 01030 RET ; THATS ALL ! 00480 LD A, L 01040 DRAW LD DE,POINTR 00490 SUB B ; MOVE BACK THIS MANY 01050 EX DE, HL 01060 LD BC ,04 )> 00500 LD L,A c: LD (4020H> ,HL ; AND RESET CURSOR POSN . 01070 LDIR ; BLOCK MOVE PO I NTER en 00510 c: 00520 LD B, OO RESET COUNTER 01080 RET (/1 ; -i 00530 POP DE . RESTORE REGI STERS 01090 ; 00540 POP HL 01 100 DO IT POP HL ' GET CURSOR POSITION DO NEXT LINE 01 110 LD DE , 4225H = INPUT BUFFER ADDRESS u:> 00550 JR LOOP ; ' co w 00560 DOMENU LD

00570 LD HL , 3C16H • = TOP OF MENU 01 130 ADD A,L 00580 PUSH HL 01 140 LD L,A ; POINT HL TO COMMAND STR .

00590 CALL DRAW • DRAW POI NTER ON SCREEN 01150 LOOP3 LD A, ? 01 170 JR Z,PROC ' YES ? MUST BE END 00620 JR Z,DOIT ; THEN DO MENU COMMAND 01 180 LD ,A ' MOVE TO BUFFER 00630 CP OAH ' DOWN ARROW ? 01 190 INC DE ' NEXT ONE 00640 JR Z,DOWN :; THEN MOVE DOWN ONE 01200 INC HL ' NEXT CHARACTER 00650 CP 5BH UP ARROW ? 01210 JR LOOP3 • GET IT ; :s:: 00660 JR Z,UP THEN MOVE UP ONE 01220 PROC LD A,ODH � PUT CARR IAGE RETURN 1-t ' n 00670 CP 1FH ? 01230 LD ,A • INTO INPUT BUFFER ::0 ' 0 00680 JR NZ, KEY IN NO? THEN TRY AGA IN 01240 CALL 01C9H CLEAR SCREEN I ' ' co 00690 CALL 01C9H :; OTHERW ISE CLEAR SCREEN 01250 LD HL , 4225H ' HL = INPUT BUFFER 0 00700 LD HL ,51CCH ; PR INT NEWDOS READY 01260 RET : "RETURN " TO DOS AT 497B 007 10 CALL 02 1BH 01270 00720 POP DE ; REORGAN IZE STACK 01280 PO I NTR DEFB 244 = POI NTER CHARACTERS 00730 LD HL, 4225H ; SET UP BUFFER PO I NTER 01290 DEFB 245 00740 LD B,04FH ' NO OF CHARACTERS 01300 DEFB 246 00750 JP 0040H ; JUMP TO ROM LINE INPUT 01310 DEFB 32 • + ONE SPACE 00760 ; 01320 DEFB 03 = AND END OF TEXT 00770 DOWN POP HL 01330 00780 CALL BLANK ; ERASE PO I NTER 01340 00790 LD DE, 60 = MOVE DOWN ONE LINE 01350 ORG OF2FOH :; START OF COMMAND BUFFER 00800 ADD HL , DE 01360 DEFM �BAS IC2/CMD � . ALL COMMANDS ARE 00810 LD DE , < LASTLN) 01370 DEFB 00 :; ENTERED AS A DEFM 00820 RST 18H :; IS IT TOO FAR DOWN 01380 DEFM � DIR' ' STATEMENT WITH THE 00830 JR C, $+1 1 • NO? 01390 DEFB 00 • COMMAND ••••FOLLOWED BY 00840 JR NC , $+6 :; YES? 01400 DEFM 'HIMEM ' :; A DEFB STATEMENT OF '00' 00850 BIT 6, H • PAST END OF SCREEN? 01410 DEFB 00 ANY NUMBER UP TO AND 00860 JR Z.$+5 :; NO? 01420 DEFM �FREE ' ; INCLUD ING 16 CAN BE 00870 LD HL, 3C 16H • TOO FAR THEN BACK TO TOP 01430 DEFB 00 :; ENTERED . 00880 JR DOMENU+7 ; GO AND GET ANOTHER ONE 01440 DEFM 'LIB' 00890 ; 01450 DEFB 00 00900 UP POP HL 01460 DEFM �cLEAR MEM=OEFFEH ' ; IF A CLEAR "'0 BLANK ERASE PO I NTER 01470 DEFB 00 STATEMENT IS USED IT 009 10 CALL ; )> DE , -68 MOVE UP ONE LINE 01480 DEFM 'MDRET ' MUST SET MEM AT F1FEhex en 00920 LD ' rr1 00930 ADD HL , DE 01490 DEFB 00 OTHERW ISE MENU/CMD WILL N 00940 BIT 2,H :; TOO HIGH? 01500 DEFM 'SYSTEM 0' BE ERASED. u:> 00950 JR NZ, $+5 • NO? 01510 DEFB 00 01520 DEFM �PDRIVE o� F260 : 53 63 F3 21 16 3C E5 CD C2 F2 CD 49 00 FE OD 28 00 < 01530 DEFB F270 : 5B FE OA 28 1A FE 5B 28 30 FE 1F 20 ED CD C9 01 0 01540 DEFM �ROUTE � 21 CC 51 CD lB 02 D1 21 25 42 06 4F C3 40 00 El I F280 : c: 01550 DEFB 00 F290 : CD BA F2 11 3C 00 19 ED 5B 63 F3 DF 38 09 30 04 3: IT1 01560 DEFM �sETCOM� F2AO : CB 74 28 03 21 16 3C 18 BD E1 CD BA F2 11 BC FF +:> 01570 DEFB 00 F2BO : 19 CB 54 20 03 21 16 3C 18 AC AF 06 04 77 23 10 01580 DEFM �FORMS � F2CO : FC C9 11 E8 F2 EB 01 04 00 ED BO C9 E1 11 25 42 ::z 0 01590 DEFB 00 F2DO : 3E 04 85 6F 7E FE 00 28 05 12 13 23 18 F6 3E OD 01600 DEFM �cLOCI< " F2EO : 12 CD C9 01 21 25 42 C9 F4 F5 F6 20 03 2B EE CD 01610 DEFB 00 F2FO : 42 41 53 49 43 32 2F 43 4D 44 00 44 49 52 00 48 01620 DEFM "CLOCI<,N" F300 : 49 4D 45 4D 00 46 52 45 45 00 4C 49 42 00 43 4C )::> c: 01630 DEFB 00 F3 10: 45 41 52 20 4D 45 4D 3D 30 45 46 46 45 48 00 4D en c: 01640 DEFM �TI ME � F320 : 44 52 45 54 00 53 59 53 54 45 4D 20 30 00 50 44 V'l -i 01650 DEFB 00 F330 : 52 49 56 45 20 30 00 52 4F 55 54 45 00 53 45 54 01660 DEFM "DATE� F340 : 43 4F 4D 00 46 4F 52 4D 53 00 43 4C 4F 43 4B 00 1.0 01670 DEFB 00 THE LAST COMMAND MUST F350 : 43 4C 4F 43 4B 2C 4E 00 54 49 4D 45 00 44 41 54 OJ w 01680 DEFB OFFH ; BE FOLLOWED BY FFhex . F360 : 45 00 FF FF 3F 4E 45 57 44 4F 53 2F 38 30 20 56 ..,...... 1"')-:t" 1"')-:T 01690 LASTLN DEFW 3FFFH ; TH IS IS THE LAST LINE F370 : 65 72 20 32 2E 30 lD OA 23 .L.�-· 23 .L.-· .L.·-· 23 23 23 01700 PO I NTER AND WILL BE AUTOMAT ICALLY UPDATED F380 : 23 23 23 23 23 23 23 23 23 1D OA 20 20 20 20 20 01710 . BY THE PROGRAM . F390 : 20 4D 45 4E 55 20 20 20 20 20 20 20 1D OA 20 20 01720 TITLE DEFM "NEWDOS/80 Ver 2.0� ; THE TITLE BLOC!< F3AO : 20 20 20 20 23 23 23 23 20 20 20 20 20 20 20 1D 01730 DEFB 1DH ; EACH LINE SEPARATED BY F3BO : OA OA 55 73 65 20 61 72 72 6F 77 20 6B 65 79 73 01740 DEFB OAH ; A CARR IAGE RETURN AND F3CO : 20 74 6F 1D OA 6D 6F 76 65 20 70 6F 69 6E 74 65 01750 DEFM �################# � ; LINE FEED . F3DO : 72 20 74 68 65 6E 1D OA 20 20 70 72 65 73 73 20 01760 DEFB 1DH F3EO : 3C 45 4E 54 45 52 3E 2E 20 20 1D OA 50 72 65 73 01770 DEFB OAH F3FO : 73 20 3C 43 4C 45 41 52 3E 20 74 6F lD OA 20 20 3: 01780 DEFM MENU F400 : 20 65 6E 74 65 72 20 74 65 78 74 2E 20 20 03 1-t ("") 01790 DEFB 1DH :::0 0 01800 DEFB OAH I OJ 01810 DEFM #### 0 01820 DEFB 1DH **** LI I /41< LEVEL 2 DEFUSR FUNCT ION **** 01830 DEFB OAH 01840 DEFB OAH TRS-80/SYSTEM-80 01850 DEFM �use arrow keys to" 01860 DEFB 1DH 01870 DEFB OAH 00 100 * * = * = * = * = * = * = * = * = * * * 01880 DEFM "move poi nter then " 00 1 10 * DEFUSR PROCESSOR 01890 DEFB 1DH 00 120 * (C) COPYR IGHT ROGER BOWLER 1982 01900 DEFB OAH 00 130 * * = * = * = * = * = * = * = * = * * * 01910 DEFM press . 00 140 ORG 415BH 01920 DEFB 1DH 00 150 JP DEFPRC 01930 DEFB OAH 00 160 ORG 4040H 01940 DEFM "Press to� 00 170 DEFPRC RST 8 ?SN ERROR IF NOT "DEFUSR" 01950 DEFB lDH 00 180 DEFB OC 1H CODE FOR "USR" 01960 DEFB OAH 00 190 RST 8 CHECI< THAT "=" FOLLOWS 01970 DEFM enter text. 00200 DEFB OD5H ;CODE FOR "=" 01980 DEFB 03H 00205 CALL 2337H ;EVALUATE EXPRESS ION 01990 END 402DH ; ENTRY POINT OF DOS . 002 10 PUSH HL ;SAVE TEXT PO I NTER 00220 CALL OA7FH ;LOAD EXPRESS ION VALUE INTO HL 00230 LD (408EH) �HL;SET USR ENTRY VECTOR F200 : 3E. OE CD 33 00 CD 49 00 FE OD 28 05 E5 48 C3 E3 00240 POP HL ;RESTORE TEXT PO I NTER -o F2 10: 05 3E OF CD 33 00 CD C9 01 21 00 3D 22 20 40 21 00250 RET ;AND RETURN )::> F220 : 65 F3 CD lB 02 21 1A 3C 22 20 40 21 FO F2 06 00 Cj) 00260 END 06CCH IT1 F230: 7E FE FF 28 2A FE 00 20 09 E5 2A 20 40 77 EB E1 w F240 : 18 07 CD 33 00 04 23 18 E7 23 E5 D5 2A 20 40 11 0 F250 : 40 00 19 7D 90 6F 22 20 40 06 00 Dl E1 18 Dl ED 4040 : CF C1 CF D5 CD 37 23 E5 CD 7F OA 22 8E 40 E1 C9 �

10 'DEFUSR PROGRAM 2 Copyright Roger Bowl er 1982 430 E=A-C* 100-D* 10 < 20 FOR I=16448 TO 16463 'HEX 4040 to 404F 440 F=INT TO CONT INUE ";A$ 710 IFR=lOT. BOO 5 REM C. STOBERT 03-795 6590 720 REST. :CLS: G.200 ::s: 10 CLS BOO CLS : P. :P. "THAT IS 10 PROBLEMS ";B$ t-1 ("") 20 P. :P. "COMPOUND MULT IPLICATION AND LONG DIVISION":P. 810 P. :P. "YOU HAD";T; "TRIES" :::0 0 30 P. :P."OCCAS I ONALLY THE WILL ASK FOR " 820 P. "WHICH GAVE YOU A MARK OF"; <1- *100 ; "%" I CX> 40 P. "AN ENTRY WH ICH IS ZE:RO. " 840 P. :P.: IN. "PRESS TO CONT INUE ";A$:REST. :CLS: G. 100 0 50 P. "WHEN THIS OCCURS ENTER THE 0. " 900 D. 2B6, 2BB, 290, 350,352 , 354 100 P. :P. "ENTER <1> IF YOU WANT MULT IPLICAT ION PROBLEMS" 910 D.482, 4B0,478, 476 110 IN. "AND <2> IF LONG DIVISION ";P 920 D. 544 ,542 , 540, 53B 115 IF1>*2 > T. CLS: G. 100 930 0. 606,604 , 602 120 P. : IN. "ENTER YOUR NAME PLEASE ";B$ 940 D. 738,736,734 ,732, 730 130 R=O: T=O: O=O 950 P.A. Z,L 200 CLS:P .A.O, "";: IFT=OP. "O.K. ";:G .280 960 P.A. Y,K 210 Q=RND (6) : 0NQG. 220,230,240 , 250,260 , 270 970 P. A. X,E 220 P. "KEEP IT UP ";:G.280 980 P.A.W, D 230 P. "GOOD GO ING ";:G.280 990 P.A.V, C:RET . 240 P. "GOOD WORK ";:G.280 1300 READ V, W, X 250 P. "TOP EFFORT ";:G.280 1310 P. A.V, : IN.C: GOS. 990 260 P. "NICE PROGRESS ";:G.280 1320 P. A. W, : IN. D:GOS . 9BO 270 P. "NOT TOO BAD IS IT "; 1330 P.A.X,:IN.E:GOS. 970 280 P. B$:P.A.68, "NOW- "; 1340 RET . 290 Q=RND <6> : 0NQG.300,310, 320,330, 340 , 350 1400 F.N=1T022: READZ :N.N: IF0=1T. 1420 300 P. "HAVE A TRY AT THIS" :G.360 1410 A=RND <299) +100: B=RND *RND<10) +10000 310 P. "NEXT PROBLEM" :G.360 1420 F= INT :G=INT< *1E-3 ) 320 P. "MIND BENDER #";R+1 :G.360 1430 H= INT < :D=INT< " 1465 E=A- 100*C- 10*D: T=T+ 1 360 IFP=2T .1400 rr1� 400 IF0=1T. 420 1470 READ X,Y ,Z w 410 A=RND <149) +100:B=RND <299)+100 1480 P. A. X,C:P.A.Y,D:P.A. Z,E __, 420 C= INT :D=INT < 1580 READV, W, X,Y, Z 1590 P.A.V,F: P.A.W, G: P.A. X,H: P.A.Y� I:P.A. Z,J:6. 1600 580 ON S GOSUB 1001 , 1002, 1003, 1004 , 1005 , 1006, 1007� 1008, 1009 1595 P.A.N, "-" :RET . 590 T=T+ 1 < 0 1600 F.N=46T065: S. :N.N 600 IF E=-9 PR INT AT660, "NO STARS LEFT !! !";:GOTO 640 I 620 IF 7) +(AC5)=1 ) THEN 530 c:: 1610 F. Y=10T014:S. (45, Y> :N.Y 3: ,..., 1620 F. N=408T0412:60S. 1595: N. N 630 PR INT AT 660, " CONGRATULAT IONS YOU TOOK " ;T; "MOVES " 1630 F. N=600T0606 :60S. 1595:N. N 640 PR INT AT 788, "6AME OVER PLAY AGA IN CYIN> "; : INPUT L: IF L <> � F. N=794T0800:GOS. 1595:N.N 1 END 1640 :z 1650 F. N=922T0928:P .A.N, "=":N.N:K=O: READZ 650 RESTORE :GOTO 500 0 1680 P.A.Z,:IN. G:P.A. Z,G 1001 A<1>=-A<1> :AC2> =-A <2> :A<4>=-A <4> :AC5) =-A <5> :GOT02000 1690 GOS. 1300 : 60S . 1300 1002 AC1)=-A<1> :A<2> =-A<2> :A<3> =-A (3) :GOT02000 1700 READZ :P.A. Z, I:READZ 1003 A<2> =-A <2> :AC3) =-A<3> :A<5> =-AC5) :AC6J =-A<6> :GOT02000 )::1 1004 c:: 1720 P.A.Z,:IN. H:P.A. Z,H:GOS. 1300 AC1>=-A<1> :A<4>=-AC4) :A<7> =-A C7> :GOT02000 Ci) READY:IFH*A>999T. P.A .Y,:IN.K: GOS. 960 1005 A<2> =-A <2> :AC4>=-A <4> :A<5> =-A C5> :A<6> =-A <6> :AC8>=-A <8> :GOT c:: 1740 (./) 1750 60S. 1300 : READZ :P.A. Z,J 02000 -I " 1760 READZ:P.A.Z,:IN. I:P.A.Z, I:GOS. 1300 1006 AC3> =-A(3) :A(6) =-A<6> :A(9)=-A<9> :GOT02000 1780 READY: IFI*A>999T.P. A .Y, :IN.K:60S . 960 1007 A<4>=-A<4> :A(5) =-A <5> :A(7) =-A <7> :A<8> =-A <8> :GOT02000 1.0 co 1790 P.A.832, "ANY ZEROS MUST"; 1008 A<7> =-AC7) :A<8> =-A<8> :A<9>=-A <9> :GOT02000 w 1800 P.A.897, "BE ENTERED";:GOS. 1300 1009 AC5) =-A C5> :A(6) =-A <6> :A<8>=-A <8> :AC9> =-A <9> :GOT02000 1810 P.A.832, " "; 2000 REM PR INT BOARD AND TEST FOR GAME END 20 10 E=O : FOR I=1 TO 9 1820 P. A. 897, " " ; II 1830 P. A .O, " ":P.A.64, " 2020 IF A*X=1 THEN 2040 1840 M=1 00*E+10*D+C:L=100*6+ 10*H+I 2030 PR INT AT ACI+10> +Z, ". "; :GOTO 2050 1845 P.A. 163, "AND R: ";M; 2040 PR INT AT ACI+10) +Z, "*"; 1850 IF<>BT .1870 2050 E=E+A CI> : NEXT I : RETURN 1860 P.A.68, "WELL DONE! ":0=2: R=R+1:G. 1880 3000 REM INSTRUCT IONS 1870 P.A. 2, "SORRY- THERE� s A MISTAKE SOMEWHERE !":0=1 30 10 P. A. O, "THE OBJECT OF THE GAME IS TO SHOOT STARS ON A BOARD" P.A. 960, "";:IN. "PRESS TO CONT INUE ";A$ 3020 FOR 1=1 TO 9 : PRINT AT ACI+10> +25, I; :NEXT I 3: 1880 1-1 1885 IFR=10T. 800 3030 P. A .64, "NUMBERED AS IN THE CENTER DIAGRAM TO GET A PATTERN" ("') :;o 1890 REST. :CLS: 6. 200 3040 P. "AS SHOWN IN THE LAST DIAGRAM FROM THE FIRST " 0 I 2000 D.272, 274, 276, 279, 281 , 283, 285, 287 3050 X=1 : Z=O: GOSUB 2000: X=-1 : Z=53: GOSUB 2000 co 0 20 10 D. 155, 347, 345, 343 3060 P. A. 192, "TO SHOOT A STAR ENTER THE NUMBER OF IT� S POSITION" 2020 D.475, 473, 471 , 477 3070 P. :P. "WHEN A STAR IS SHOT IT WILL EXPLODE CHANG ING THE PATT 2030 D. 157, 541,539, 537 , 535 ERN " 2040 D. 669, 667, 665, 67 1 3080 P. "THE AREA AFFECTED DEPENDS ON WH ICH STAR IS SHOT " 2050 D. 159,735, 733,731,729 3085 P. "A STAR WILL CHANGE TO A DOT AND A DOT TO A STAR " 2060 D.863,861,859 3090 INPUT "PRESS ENTER FOR MORE INSTRUCT IONS" ;B$ 3100 P.A.O, "A SHOT IN THE CORNER WILL CHANGE THE 4 IN THAT CORN ER " **** L1/4K STARSHOOT **** 31 10 P. "A SHOT TO POS ITION 1 WILL CHANGE POSITIONS 1.2,4,5" 31 15 P. TRS-80/SYSTEM-80 3120 P. "A SHOT IN THE CENTER OF A SIDE WILL CHANGE ALL THAT SID E" 3130 P. "A SHOT TO POS ITION 2 WILL CHANGE POITIONS 1,2,3"

100 REM ******** STAR SHOOT L1/4K. *************** 3135 P. 200 REM M.S. YOUNG MAY 82 3140 P. "A SHOT IN THE CENTER WILL CHANGE ALL BUT THE CORNERS" 300 REM 3150 P. "A SHOT TO POSITION 5 WILL CHANGE POSITIONS 2, 4.5,6.8" 400 REM 3160 P. : INPUT "PRESS ENTER TO START GAME";B$ 500 CLS: Y=1: N=O: T=O: A$= " 4000 CLS 510 FOR I=1 TO 9:READ A :A=-1: NEXT I 40 10 X=1 : Z=-640: GOSUB 2000 520 A<5>= 1:X=1: Z=O : INPUT"DO YOU WANT INSTRUCT IONS CY/N) ";L 4020 FOR I=1 TO 9 :PRINT AT ACI+10) -615, I;:NEXT I 4030 X=-1: Z=-587 : GOSUB 2000 522 IF L=1 THEN 3000 II START" ; TAB (28) ; "LAYOUT " ; TAB (55) ·; "FINISH" 524 GOTO 4000 4040 P. A. 384 , -o )::1 526 GOSUB 2000 4050 P. :P. "YOU CAN GET FOR START TO FINISH IN 11 MOVES GOOD LUCK Ci) I Ill ,..., 530 PR INT AT 788, "SHOOT AT "; : INPUT S:PRINT AT 660,A$;A$; 4060 X=1 : Z=O: GOTO 526 w 540 IF +9> PR INT AT660, " 1NVAL ID SQUARE" ;:GOTO 530 N 570 IFA =- 1PRINT AT660,"YOU CAN ONLY SHOOT STARS" ;:GOT0530 9999 DATA640, 645,650, 768, 773, 778, 896,901 , 906 VOLUME 4, NO. 1 (AUGUST, 1983 ) MICR0-80 PAGE 33

***** INDEX TO VOLUME 3 .. DECEMBER 1981 TO JULY 1983 ***** (Volume 3 includes Dec . 81 , Jan-Oct 82 , & July 83) JUMP THE RAPIDS L2/1 6kml Aug 82 19,30 SOFTWARE PEACH/COLOUR COMPUTER PAGE + MODEL 3 MICROBUG Oct 82 20 KEYWORD UTILITY l . 5 L2 Apr 82 23,33 ATOMIC TABLES P/CC Apr 82 20,26,28 LABELS (BASIC +) DB/1 6+k Dec 81 22 BIORHYTHMS P/CC Oct 82 21 ,26,28 LEMNI SCATE$ L2/4k Mar 82 25,34 CALENDAR P/CC Sep 82 15,21 ,25 LIST DISABLE *L2/m. l. Feb 82 6 CHEQUE BOOK DATA FILE P/CC Aug 82 16,25,27 LOAN CALCULATION L2/l6k Jun 82 20,33 CUBE (3D) P/CC May 82 20,25,26 LONGVARS L2/48k Feb 82 25,31 21 HANGMAN cc Sep 82 15,22 LOWER CASE CONVERTER L2/16kml Jul 82 INCOME TAX CALCULATOR P/CC May 82 19,24,25 MAGIC CUBE SOLVER L2/l6k May 82 23,29 LOAN CALCULATION P/CC Oct 82 21 ,26,27 MATRIX MANIPULATION L2/l6k May 82 21 ,33 MASTERMIND P/CC Jul 83 15,22,25 MAZE (3D) L2/l6k Dec 81 13 MILEAGE CALCULATOR P/CC Jul 82 18,25,26 MERGE PROGRAM IN MULTIPLE REGRESSION 1 LINE *L2/4k Sep 82 5 ANALYSIS P/CC Apr 82 20,27 MICRO GRAND PRIX L2/16k Jun 82 17,25 NORf�L DISTRIBUTION P/CC Jun 82 17,24 + MICROBUG Aug 82 8 PAYROLL P/CC Aug 82 17,25,28 MIND READER L2/4k Feb 82 27,33 PRINTED DIRECTORY MORSE PRACTICE L2/16km1 Aug 82 22,24 LISTING P/CC Oct 82 3 MOVE BY l's L2/16k Oct 82 22, 29 MOVIE UTILITY FOR SECTOR EDITOR p Sep 82 16,23 SINK THE ENEMY NAVY P/CC Ju1 83 14,19,22 MOD . 3 MICROBUG Oct 82 20 3-D CUBE P/CC May 82 20,25,26 OTHELLO L2/16k Jun 82 20,31 UNIT CONVERSIONS PASSWORD L2/16k Jun 82 19,29 (METRIC) P/CC Jun 82 16,21 ,22 POLYNOMIAL REGRESSION VARIABLE WORKSHEET P/CC Jul 82 18,24,26 ANALYSIS L2/16k Dec 81 26 POTHOLE L2/16k Sep 82 20,28 SOFTWARE - LEVEL 1 PRI NTER DRIVER SCRIPSIT/SERIAL *L2/ml Sep 82 5-7 CLEANUP Ll/4k Ju1 83 17,28 PROPERTY INVESTMENT MATRIX MANIPULATION L1/4k Oct 82 23,32 SPECULATION L2/4k Sep 82 17,26 SPACE COMMANDER L1/4k Apr 82 20,30 PUNCTUATION L2/16k Mar 82 25,34 SPACE GALAXY Ll/4k Apr 82 21 '31 QUI CKSORT (IN SORTING TR I ANGLE SOLUTIONS L1/4k Dec 81 9 ARTICLES ) BASIC/m1 /BASIC DR I VER Ju1 82 11-14 WHEEL LOADER READ-A-LINE L2/16k Apr 82 21 ,32 PRODUCTION L1/4k Mar 82 23,30 RESET DB/32k May 82 22,34 RESTORE (LINE NO .) SOFTWARE - LEVEL 2 INCL SA/NT POSTCODES L2/1 6k Mar 82 23,30 ALIEN INVASION L2/l6k Mar 82 22,26 S.A. HORSE PERFORMANCE ANAGRAMS L2/16k Ju1 83 17,29 GUIDE L2/16k Ju1 83 17,31 BASIC + LABELS DB/1 6+k Dec 81 22 SAVER AND LOADER *L2/ESF Jun 82 15 + MICROBUG Jan 82 35 SCREEN COPY UTILITY L2/ml Feb 82 23,31 CALENDAR L2/16k Jul 82 18,28 SCREEN FORMATTING NOS . * Aug 82 7 CHECKSUM L2/4km1 Oct 82 22 ,31 SERIES IMPEDANCE CHEQUE ACCOUNT MANAGER L2/16k Aug 82 20,32 CIRCUIT L2/16k Ju1 82 20,29 CODE BREAKER L2/4k Oct 82 25,34 SKYDIVER L2/16k May 82 20,26 COMPOSER - MICROBUG Oct 82 20 SOLITAIRE PATCH L2/16k Mar 82 25,33 CRICKET L2/16k Sep 82 20,27 SORTING - SEE ARTICLES *Jan ,Feb,Mar ,Jul 82,Ju183 CURVILINEAR REGRESSION SOUND GENERATION *L2&ml Feb 82 9 ANALYSIS L2/l6k Dec 81 28 STEEPLECHASE L2/16k Dec 81 30 DATA BASE MGT . SYSTEM DB/48k Jan 82 15,29 SUPER HANGMAN L2/16k Jan 82 13,24 * DRAW (IN BASIC BASIC) * L2/16k Apr 82 15 SYSTEM 80 m/1 PATCHES L2 Jun 82 5-7 DR. WHO ADVENTURE L2/16k Ju1 82 21 ,31 3-D MAZE L2/16k Dec 81 13 *L 8 + INPUT/OUPUT Oct 82 5,6 VARIABLE LISTER 2 Jun 82 + MICROBUG Ju1 83 14 * DUPLEX L2/m1 Jan 82 16,31 = PROGRAM IS PART OF AN ARTICLE , AND NOT E=MC SQUARED L2/4k Ju1 83 17,29 OTHERWISE INDEXED . FASTER CASSETTE HARDWARE ROUTINES L2/16km1 Sep 82 18,29 FAULT FINDER L2/16k Aug 82 19,32 ADDING A JOYSTICK Sep 82 13 FILES L2/48k Jan 82 13,27 FLASHING MESSAGE COMPUTER ANATOMY - PART 1 Oct 82 11 10 ROUTINE L2/16k Feb 82 23,29 DOUBLE SYSTEM-80 RAM FOR $15 Ju1 83 22 FLEX I TIME L2/4k Oct 82 25,33 EXPANSION INTERFACE FUNCTIONS Feb 82 4 FLIP L2/16k Apr 82 23, 32 JOYSTICKS & I/0 PORTS PART 5 Jan 82 7 GOLF L2/16k Jul 83 15,25 JOYSTICKS & I/0 EDGE CONNECTORS Ju1 82 14 GRAPHIC PACKER MICR0-80 L/CASE FOR SYSTEM-80 May 82 (AUTOMATIC) Ju1 82 15-17 SIMPLE INTERFACE FOR MODEL 33 9 HEX CONSTANTS L2/l6k Jul 82 19,29 TELETYPE Mar 82 16 HORSE PERF . GUIDE (SA) L2/16k Ju1 83 17,31 SM ELECTRONICS FOR OLYMPIA ESlOO May 82 Aug 82 10 INCOME TAX CALCULATOR L2/1 6k Feb 82 27,34 SYSTEM-80 CLOCK MODIFICATION Oct 82 20 INPUT DEMONSTRATION L2/4k Oct 82 24,33 + MICROBUG SYSTEM-80 ADD-ON KEYPAD Aug 82 15 JUMBLED PLAYERS L2/l6k May 82 21 '31 VIDEO CONTRAST IMPROVED -CHIFFON Sep 82 5 WINCHESTER DISK INTRO . -EDITORIALFeb 82 2 VOLUME 4, NO . 1 {AUGUST, 1983) MICR0-80 PAGE 34

MICROBUGS SCRIPSIT CONVERSION FOR SYSTEM-80May 82 16 SKYDIVER ERRORS/COMPUTER FAULT Jul 82 5 BAS IC + LABELS Jan 82 35 SLOW LIST FUNCTION Jan 82 6 COMPOSER/BAS CHANGES Oct 82 20 SOUND EFFECTS RE-VISITED Feb 82 4 DEF FN ADDENDUM Oct 82 19 SYSTEM-80 - COPYING TAPE TO DISK Jul 82 4 DOCTOR WHO ADVENTURE Jul 83 14 SYSTEM-80 - MODS FOR JOYSTICK Sep 82 3 FREE SOFTWARE LIBRARY - COMPOSER Jul 83 14 SYSTEM-80 - SOUND EFFECTS HOUSEHOLD ACCOUNTS Sep 82 8 RE-VISIT Jul 82 5 JOYSTICKS & I/0 PORTS - EDGE SYSTEM-80 - TAPE HEAD CLEANING Jul 82 4 CONNECTOR STANDARDS Jul 82 7 TABBING BEYOND 64 Jan 82 5 JUMP THE RAPIDS ON MODEL 3 Oct 82 20 VIDEO CONTRAST IMPROVEMENT LEVEL 1 IN LEVEL 2 Sep 82 7 USING CHIFFON Sep 82 5 LOTTO PREDICTOR {SEP 80) Jul 82 6 MICRO GRAND PR IX Aug 82 8 MISCELLANEOUS ARTICLES AND ITEMS MOVIE UTILITY FOR MODEL 3 Oct 82 20 SAVING/LOADING m/ 1 PROGS ON WAFERJul 82 6 BASIC BASIC PART l {INCL DRAW) # Apr 82 13 SYSTEM-80 CLOCK MODIFICATIONS Oct 82 20 BASIC BASIC PART 2 Jun 82 7 BASIC INTERCHANGE BETWEEN 80's EVALUATIONS AND REVI EWS - SOFTWARE AND OTHER COMPUTERS Jun 82 10 BASIC RECURSION APR 82 10 ACCEL3 vs. ZBASIC Oct 82 13 BETTER BASIC PROGRAMMING PART 7 #Feb 82 6 BATTLEGROUND Sep 82 11 ENCHANCEMENTS TO MODEL 2 BRYANT'S EDUCATIONAL - MONEY BOX {MODEL 16) Dec 81 2 - DECIMAL DAN - ALADDIN - INDEX TO VOLUME 2 Dec 81 6-7 TOWERS & CROCODILE Apr 82 7 IT ALL DEPENDS {LOGI CAL OPERATORS DATESTONES OF RYN {DUNJONQUEST) Sep 82 9 IN CONDITIONAL STATEMENTS ) Mar 82 4 DUNJONQUEST - TEMPLE OF APSHAI May 82 12 LESS BASIC BASIC Aug 82 7 DUPLITAPE Sep 82 11 LEV 1 - LEV 2 PROGRAM CONVERSION Apr 82 5 + AVAILABILITY Oct 82 13 LOWER CASE IN NEW MODEL 1 Dec 81 2 ESOS - EXATRON FLOPPY OPER . SYS Aug 82 13 MAKING DECISIONS THE EASY WAY Oct 82 9 FSl - FLIGHT SIMULATOR May 82 13 MODEL 3 GETS RUN-AROUND AS MICROSOFT LEVEL 3 BASIC Oct 82 17 STATUS SYMBOL May 82 9 MODEL 4 TRS-80 {EDITORIAL ) Jul 83 2 NEWDOS 2.1 - JKL FEATURE v. TC -8 CASSETTE OPERATING SYSTEM Sep 82 12 MX-80 May 82 18 TRS-80 ASTROLOGY Jul 83 13 PRINCIPLES & GUIDELINES FOR VERSAFILE Jul 82 7 WRITING INSTRUCTIONAL PROGRAMS May 82 4 VIS I CALC Sep 82 10 SAVE & LOAD m/1 PROGS ON WAFER Jun 82 13 WORP-1 DICK SMITH 'S WORD + MICROBUG Jul 82 6 PROCESSOR Oct 82 18 SAVING DISK SPACE BY MERGING ZBASIC vs. ACCEL3 oct 82 13 PROGRAMS OR ROUTINES #Sep 82 8 SUBMITTING PROGS FOR PUBLICATION Oct 82 7 EVALUATIONS AND REVI EWS - HARDWARE THEORY + TECH . FOR SORTING - 3 #Jan 82 6 #Feb 82 LNW-80 MARK 2 COMPUTER Oct 82 15 + MICROBUG 5 TRS-80 COLOUR COMPUTER Dec 81 3 THEORY + TECH . FOR SORTING - 4 #Feb 82 10 TRS-80 COLOUR COMPUTER Apr 82 17 THEORY + TECH . FOR SORTING - 5 #Mar 82 12 THEORY + TECH . FOR SORTING - 6 #Ju1 82 8 INPUT/OUTPUT {LETTERS TO EDITOR) THEORY + TECH . FOR SORTING - 7 #Jul 83 6 TRANSFERRING TOUCHTYPE TO DISK #Feb 82 21 Those wi th hel pful information only USING EDTASM, SCRIPSIT & m/1 ASYLUM ADVENTURE HINTS Oct 82 6,7 PROGRAMS ON SYSTEM-80 Jun 82 4-7 BLOCK MOVING MORSE PROGRAM Oct 82 6 USING THE LEV 1 ARRAY EFFECTIVELYFeb 82 21 BREAK DISABLE �J an 82 5 COPYING MICROCHESS BY COPIER Jun 82 4 KALEIDOSCOPE - COLOUR COMPUTER NOTES CURSOR MEMORY POSITIONS Jun 82 3-4 MEMORY POI NTER LOCATIONS Ju1 83 4 DATA LOST FROM TAPES Jul 82 4 PRINTING DISK DIRECTORY Oct 82 3 DR . WHO ADVENTURE - ENOUGH MEMORYOct 82 6 SPEED UP POKES Ju1 83 4 DR . WHO ADVENTURE - ENOUGH MEMORYJul 83 3 ESCAPE FROM TRAMM SOLUTION �J ul 82 4 PEACH BOWL - PEACH COMPUTER NOTES ESCAPE TO TRAMM Jun 82 4 FILES FOR SYSTEM-80 May 82 17 RANDOM NUMBER DIFFERENCES Jul 83 4 LOADING EDTASM+ SYSTEM TAPES/ UNPROTECTING PROTECTED PROGRAMS Oct 82 3 RECORDER HEAD ALIGNMENT Jul 83 4 80x50 LINE SCREEN FORMAT Ju1 83 4 LOCKING OUT RESET IN LEVEL 2 Sep 82 3 �4AKI NG SYSTH1 TAPE FROM TANDY GROUP ONE - MODEL 1 NOTES MICROCHESS TAPE Apr 82 4 KEYBD .TIPS/DISK MOD . FOR GOLF/BASJu1 83 5 NON-USE OF DEFFN IN SYSTEM-80 Sep 82 3 ONE LINE MERGE PROGRAM Sep 82 4 FORM THREE - MODEL 3 NOTES POKING m/1 INTO MEMORY �J ul 82 3 PR I NTER DRI VER - SCRIPSIT/SERIAL Sep 82 5-7 MODEL 1 & 3 ROM DIFFERENCES Oct 82 4 REAL TIME CLOCK LOCATION/MEMORY Aug 82 4 READING DISTRIBUTION DOS Ju1 83 5 RELOCATABLE CALLS IN m/ 1 Aug 82 4 REVERSING PRINT & LPRINT ON SYSTEM-80 Apr 82 20 SARGON ON DISK Mar 82 2 SAVING OBJECT FILES ON ESF Mar 82 3 VOLUME 4, NO. 1 (AUGUST, 1983) MICR0-80 PAGE 35

***** NEXT MONTH 'S ISSUE *****

Next month 's issue wi ll contai n at least the fol lowi ng programs plus the usual features and arti cles. An (80) after a program titl e indicates that the program wi ll be for TRS-80 Model 1/3 or System 80/Video Genie. A (CC) indicates that the program wi ll be for the TRS-80 Colour Computer and (Peach) that the program is for the Hitachi Peach .

** DESERT CHASE (80) L2/16K ** ** PRIORITIES (80) L2/16K **

In thi s graphic game of high adventure, It seems that the Razor Gang have been the object is to travel across the vast responsibl e for a lot of things, even Simpson Desert . Your journey is made thi s program. The Doctor who wrote it peri 1 ous by such hazards as wi 1 d tri besmen , needed to order the activities if hi s lack of water and sandstorms . hospi ta 1 into order of priority. I don • t know if the razor gang wi 11 be after you , ** FORMATION (80) L2/16K ** but you too can now order your pri ori ties.

Formation is an Electronic Form Creation ** THE TOWERS OF HANOI (CC & PEACH ) ** and Data Entry System . The program lets you design and store a form that wi 11 Thi s popular game has now been converted 1 ater accept operator input . The data to run on your Hitachi Peach or Colour that is entered by the operator is transformed Computer wi th the addition of col our and into normal BAS IC DATA lines that can sound . You have three pegs and a number be manipul ated by your own program . of disks. You must get al l the di sks from the 1 eftmost peg to the ri ghtmost ** OTHELLO (CC) ** peg by moving one di sk at a time wi thout putting a large disk on top of a smal l Othe 11o is written for the 16K Col our di sk. It wi ll dri ve you mad!! Computer, it is a game of strategy for two p 1 ayers and is based on the board ** REGI STER DISPLAY PROGRAM (Peach) ** game of the same name . The game is p 1 ayed on a 8x8 board and you must outflank your Thi s program provides an easy means of opponent to fl ip his p 1 ayi ng pi eces to ex ami ni ng regi ster contents at any time your colour. duri ng the operation of a program. The Regi ster Di spl ay program can provide informa­ tion at any poi nt in a program and can then revert to either the program under test , to BASIC command level or to the machi ne language monitor .

E 0 O'l� (/') 0 0. 0. (1JE Q.l � ..c: Q.l ""' (/') ""' 0 (1J () ..c: c: � .� Q.l Q.l c: > "'C 0 c: Q.l 0 (1J "'C 0 (/') 0. t.) ""'Q.l Q.l ""' 0 .� • (1J s.. � c: "'C 0 0 > Q.l"'C 4- a.. (1J ""' Q.l Cl (/')' (/') c: c: O'lQ.l ,_ 0 E O'l ::::l ;a · � ""' s.. .;; c: ::::l Q.l (/') ,_ c:n t.) ..c: 0 ""' Q.l � s.. 2 ,_ (/') c. ::::l (1J ·- � 0 "'C · = O'l"­(/') "'0 > 0 Cl) Q.l ""' Ctl tn ""' (1J ..0 Q.l (1J ..c: Ctl+J 0 ::::l ""' "'C+"' (1J Q.l cr (/') Q.l ""' uo • 0. "'C c: (1J� �or Ctl� Q.l I u CIJ o Q.l > Q.lE >:; .s:: c::: ' > - 0 c:C -+-J� Q. :!:: 0 V') e > ::::l0.(1') Q.l ::::l ""' s.. :::E: (/') 0 0. t.) c: Q) s:::: "'C Q.l (1J "'0 .... ::::l .� .... � o:t= � tn s:::: Q.l� > 0 O'l ::::l Q.l ,_ (1J 0 s:::: 0 � (/') o.,.. E "'C Q.l � > U-+-J (1J "'C E O'l rd �_g Q.l c: �:t: CIJ z <( +"'"'C ""' (1J o. u (/') ..c: O'lQ.l tn .,.. Q.l e � (/')> t.) (1J rd ,... ::::l (/') ro(/') ""' CIJ Q.l (/') .c (/') Q.l ..c: Q.l .... :::::s c: 0 0 - 0 c.. c. UJ"'C u.. 1- a.. o. VOLUME 4, NO . 1 (AUGUST, 1983) MICR0-80 PAGE 36

***** CASSETTE/DISK EDITION INDEX *****

The cassette edition of MICR0-80 contains a 11 the app 1 i cab 1 e software 1 i sted each month, on cassette . For machine language programs copies of both the source and object fi le are provided . A 11 programs are recorded twi ce. Leve 1 1 programs can only be 1 oaded into a Leve 1 2 machi ne if the • Leve1 1 in Leve1 2• program from the MICR0-80 Software Library - Vo 1 1 is loaded first.

Note : System 80/Video Genie computers have had different tape-counters fitted at different times . The approximate start positions shown are correct for the very early System 80 wi thout the vol ume control or level meter . They are probably incorrect for later machines. The rates for a cassette subscription are pri nted on the inside front cover of each issue of the magazi ne.

The di sk edition contai ns al l appl icable programs whi ch can be executed from di sk. Level l di sk programs are saved in NEWDOS format . Users require the Leve 1 I!CMD uti 1 i ty supp 1 i ed wi th NEWDOS+ or NEWDOS 80 version 1.0 to run them . APPROX. START POSITION SIDE 1 TYPE I.D. DISK FILESPEC CTR-41 CTR-80 SYSTEM 80

DEFUSR POKE L2/4K p DEFPOKE/BAS 18 10 6 II 27 15 8 DEFUSR DEMO L2/16K D DEFDEMO/BAS 35 19 9 II II 42 23 10 DEFUSR SYSTEM DEFUSR DEFUSR/CMD 49 27 12 55 30 13 DEFUSR EDTASM DEFUSR DEFUSR/EDT 62 34 15 II 73 40 19 URANIUM CORE L2/1 6K C CORE/BAS 85 47 22 II 187 104 58 MENU ( �10DE L 3) EDTASM MENU MENU/EDT 276 154 89 327 183 112 MENU (MODEL 3) SYSTEM MENU MENU/CMD 375 210 132 II II 382 214 137 MOVIE UTILITY SYSTEM MOVIE 388 218 141 II 395 222 143

SIDE 2 STAR SHOOT Ll/4K STARSHOT/LVl 18 10 6 II 77 43 2.1 MU LTI PLICATION Ll/4K MULTIPLY/LVl 132 74 37 II 198 111 63

C/) <0' ::r....; :::l Q) CD c:.-+ 0 � .., ("') CD ::r ::0(=) CD:::l .0CD 0 C') c: d CD 000 0C/) }; .... CD r- ""0 ....;::r � � 1\.) a. ::0 � s:: 0 0 CD 3 3 3 � til .-+ .-+ 0 (") t:O 0m 0 .-+ :::::1 � C') ?"' ?"' .-+ :::0 Q) r- C/) c C/)CD C/) C/) ::r :J) t:O :::l a ("') ("') .-+ c: c: C/) (1)0 Q) 7' C" C" :::l C') Cl') ::0 C/)....; c: coOcio Q) - C/)u;· !"' !"' C" S3 7' c: C/) ::t ....; � ""0 .-+ a. � u;· CD 0.-+ 0 � ....; .-+ 0 � 8 ::I:=" 0 a.CD - a. :§ � -c·.-+ )>9 � 2l(b z C" � (=) ("') i3' COJ �C') 0 � � ::0 ::0 :::::1 (1) 0 0 (") s -; a ::0 0 0 .-+ (b -ixo :J) 0 :ON.. g:::l 0� :E 0 t.:J Co Co )> ..A .-+ :::l s: �· I'll Co p p r- Z CD 0 2l w :J) "0 (=) Cl) c: � ::0 <0 "' c: ;t;c, m 3 C1l C/) c:C/) 0 � (11 0 X C" C1l c oo a. .-+::r .-+::r � � � �· CD CD 000 � w e m a. C') �:e c.:C1l Q) (bt:3- :::l ..... C/) 0 a. C')u;· C/) 0 Q)0 c 0 CD .-+CD �c ;?. a. .-+ .-+ � n CD CD 0 ;::;: < CD ""0 a. � o·:::::1 ::0 ;:;: i3' ("') :::l m g "Q c:;· £_ SAVt: A PACK.t.:T ON MICK0·80's DISK DRIVt: PACKAG:t:S FOR TKS·80 MODt:L 1 AND SYSTt:M 80 MICROCOMPUTt:RS

SINGLE DRIVE PACKAGE from ... $499 DUAL DRIVE PACKAGE from..• $874

Bigger volume means lower cost price, which we are passing on to you. Avoid the annoying bundle of cables, wires and separate boxes. M.ICR0·80 is now offeringour well· proven M.PI disk drives in attractive, self-contained single or dual-drive cabinets complete with internal power supply. Our drive 0 and dual·drive packages also in· elude the appropriate version of DOSPLUS and dual·drive cable. The best news of all is the specially reduced package prices ... SAVI $23 - $107 over our already low prices! Choose the appropriate system from the table below:

No. of No. of Dosplus * DRIVE TYPE Capacity Price Tracks Heads Version

DRIVE 0 1 x MPI B5 1 40 1 lOOK 3.4 $499 $137.95 1 x MPI B52 40 2 200K 3.4 $639 $97.95 1 x MPI B92 80 2 400K 3.4 $799 $107.95 DRIVE I 1 x MPI B5 1 40 1 lOOK $415 $33.00 1 x MPI B52 40 2 200K $525 $23.00 1 x MPI B92 80 2 400K $23.00 *Represents the saving compared with buying all the items included in the package separately

•Drive 0 package includes one bare disk drive, self-contained single- •Drive 1 package includes one bare disk drive and self-contained drive cabinet/power supply as illustrated, two drive cable and the ver- single-drive cabinet/power supply as illustrated. sion of DOSPLUS indicated.

If it's a dual·drive systemyou need, then take advantage of our dual·drive package and SAVt: a further $40 on the price of two single·drive packages ...

No. of No. of Dosplus DRIVE TYPE Capacity Price Tracks Heads Version

2 x MPI B5 1 40 ea 1 ea 2 X lOOK 3.4 $874 2 x MPI B52 40 ea 2 ea 2 X 200K 3.4 $1125 2 x MPI B92 80 ea 2 ea 2 X 400K 3.4 $1454

Dual-drive package includes two bare disk drives, self-contained dual­ NOTE: All 40 track drives are completely compatible with 35 track drive cabinet/power supply as illustrated, two drive cables and the operating systems such as TRSDOS. DOSPLUS allows you to realise an version of Dosplus indicated. additional 14% capacity compared with TRSDOS. Under DOSPLUS 3.4, 80 track drives can read 35/40 track diskettes. All disk drive components are still available separately:

BARE DRIVJ:S - MPI drives offer the fastest track-to-track access time (5 milliseconds) available. All drives are capable of operating in double density for 80% greater storage capacity.

Price freight Price MPI B51 40 track, single-head, lOOK $349 $5.00 Self-contained, single drive cabinet/power supply $99 $5.00 MPI B52 40 track, dual-head, 200K $449 $5.00 Self-contained, dual-drive cabinet/power supply $135 $5.00 MPI B92 80 track, dual-head, 400K $619 $5.00 Two drive cable $39 $2.00 Separate, dual-drive power supply $85 $8.00 Four drive cable $49 $2.00 DOSPLUS 3.4 $149.95 $2.00

Prices are fOB Adelaide. Add $5.00 freight for single drive package, $10.00 for dual-drive package. Prices are in Australian dollars. freight is road freight anywhere in Australia. All items carry a 90·day parts and labour warranty. Repairs to be carried out in our Adelaide workshops. LEVEL 2 ROM ASSEMBLY LANGUAGE TOOLKIT

• by Edwin Paay FOR TRS-80 MODEL 1, MODEL 3 AND SYSTEM 80NIDEO GENIE This is a new package consisting of two invaluable components:

• A ROM REFERENCE Manual which catalogues, describes and cross-references the useful and usable ROM routines which you can incorporate into your own machine language or BASIC programs.

•DBUG, a machine language disassembling debugging program to speed up the development of your own machine language programs. DBUG is distributed on a cassette and may used from disk or cassette.

Part 1 of the ROM REFERENCE manual gives detailed explanations of the processes used for arithmetical calculations, logical operations, data movements etc. It also describes the various for­ mats used for BASIC, System and Editor/Assembly tapes. There is a special section devoted to those additional routines in the TRS-80 Model 3 ROM. This is the first time this information has been made available, anywhere. Differences between the System 80/Video Genie are also described. Part 1 is organised into subject specific tables so that you can quickly locate all the routines to carry out a given function and then choose the one which meets your requirements.

Part 2 gives detailed information about each of the routines in the order in which they appear in the ROM. It describes their functions, explains how to use them in your own machine language programs and notes the effect of each on the various ZBO registers.

Part 2 also details the contents of system RAM and shows you how to intercept BASIC routines. With this knowledge, you can add your own commands to BASIC, for instance, or position BASIC programs in high memory - the only restriction is your own imagination!

The Appendices contain sample programmes which show you how you can usethe ROM routines to speed up your machine language programs and reduce the amount of code you need to write.

DBUG: Eddy Paay was not satisfied with any of the commercially available debugging programs, so he developed his own. DBUG: allows you to single-step through your program; has a disassembler which disassembles the next instruction before executing it or allows you to bypass execution and pass on through the program, disassembling as you go; displays/edits memory in Hex or ASCII; allows Register editing; has the ability to read and write System tapes and all this on the bottom 3 lines of your screen, thus freeing the rest of the screen for program displays. Four ver­ sions of DBUG are included in the package to cope with different memory sizes. The best news of all Is the price. The complete level 2 ROM ASSEMBLY LANGUAGE TOOLKIT Is only: - Aus. $29.95 + $2.00 p&p - UK £1 8.00 + £I .00 p&p SPE(.IAL OFFER TO OWNERS OF niE LEVEL II ROM REFERENCE MANUAL ... UPGRADE TO THIS ASSEMBLY LANGUAGE TOOKIT FOR ONLY $19.951 Send back your original Level II ROM Reference Manual plus a cheque, money order or Bankcard authorisation for S 19.95 plus $2.00 p&p and we will send you the new ASSEMBLY LANGUAGE TOOLKIT