Dale’s Atari 800 Games › ACE newsletters

ACE newsletter, October 1983

The newsletter of ACE, the Atari Computer Enthusiasts of Eugene, Oregon. Read the scanned issue (PDF).

Scanned from my own copy of the newsletter. I sent my scans to Kay Savetz in 2021, and Kay put this one on the Internet Archive as ACE_1983_10.

In this issue:

Below is the text of the whole issue as read by machine OCR (Tesseract) from the scan. It hasn’t been corrected, so expect mistakes, especially in program listings. The PDF is the real thing.

Page 1 (scan)

Arar |

A
c Computer

ENTHUSIASTS
3662 Vine Maple Dr Eugene OR 97405

/'sn Ye
J YD X377VA NOIJITIS 4g
SYPLISLIOD 22072 IY

Jeol M Wop eee
4 SHYOIT2LAT SIIT ODM,
eet 1 LUPLPS170Sef YOOAVKFH,

Page 2 (scan)

ACE
THIRD ANNIVERSARY!

Happy birthday to us and to those who have been with us from the
start. This issue marks three years of publication for the ACE Newslet-
ter. which began with the October, 1980 issue. I've only been with ACE
since July, 1981 myself.

in the past three years, users have pioneered uses of the Atari com
puter for which Atari, Inc. and the rest of us never imagined possible.
Many of those users continue to share their discoveries in this
newsletter.

Now there are a half-dozen different Atari computers and thousands
of software titles, and peripherals are multiplying explosively, Hob-
byist and user explorations of the limits of these items will range even,
more widely in the future. We will continue sharing these pioneer ef-
forts in the pages of the ACE Newsletter.

NIBBLING BYTES

by Kirt E. Stockwell

‘Am old Arab curse goes like this: “May you live in interesting times.”
Apparently they preferred not having to keep up on current overs.
pee we DO live in interesting times, we might as well make the best
of them.

‘You are probably aware this has been an extremely interesting year-
ATARI nas announced a new line of computers. ATARI has made many
personnel changes, and ATARI stock has done interesting things The
Pejustry as a whole is buzzing with activity, not the least of which i
the effort to develop a computer better than the one the competition 's
going to release soon. The micro computer makers are al trying to
poutvthe pants off of each other. Business computer makers are at
Cech ‘others’ throats as usual. The entire nation of JAPAN has
Challenged the US to a race to see who can develop the next genera
tion of SUPER-COMPUTER

‘You can read about all of this in any weekly magazine, but have you
thought about how it will affect you? Consider some of the following
items:

‘bit mainframe computers on a single chip are already available
from 3 different manufacturers. This may change by publication tite

ore 4K memory chip is now affordable. The next step is the 128K
chip, expected within 2 years.

Pak arive prices are falling, while densities and storage capacities
are growing, 10MEG and 20MEG drives will be reaching the point of
‘common affordability within 2 years.

With every passing year the newly available software becomes more
powerful and easy to use, as well as less costly.

‘The question | hear most these days is: “Should | buy an 800 oF wait
for the NEW machines?” | must admit the new machines are pretty
Pir the 300 is a proven product of high quality. My tendency is to ad.
aut NOT WAITING for any new equipment. Once a person makes the
Jecigion to buy a computer, the computer should be bought. Waiting
for the perfect computer will only result in frustration and wasted
Te Wvthin the computer industry, NEW usually means BUGGY:

TSjon't mean to imply ATARI will release inferior products, but this is
a rellection of an industry reality. The 1200XL also sticks in the back of
my mind. Overall, | feel ATARI has spent the past year LEARNING,
ry tOtimes painfully, the realities of the computer market. | expect
they will emerge from their problems as a leaner, cleaner, more
methodical corporation.

‘any of you who may be trying to decide what to buy will be welt ad-
vViged 10 buy an 800 NOW. Every day you waste puts you and your far
ly that much farther behind. Future equipment, both from ATARI and
tom the various mainframe companies, promises to be quite advan:
ee what you have now, or buy in the near future, will not be particular
iy important. What will be important is whether or not you understand
the equipment and the market.

News and Reviews

by Mike Dunn, CoEditor

Atari computers are being sold now for amazing low prices. I've
heard of $180 for an 800 with BASIC and 48K, and a 1200 for $219
Speaking of the il-fated 1200XL, Atari has made available for 1200
Sees s who are having trouble running third party software a pre-boot
Sen turning the 1200 OS to a 800 OS. Contact customer service for
details.

Have you read the Oct issue of Consumer Reports? They have Dat
doing a several part article on computers and peripherals he first, last
cork was not particularly favorable to Atari. This month, they Pave
Upgraded the Atari considerably because of AtariWriter, which they
consider one of the best and easiest to use wordprocessors available
Cortney even rate it in the league of WordStar, and other bid league
programs. They think AtariWriter is worth buying an ‘Atari for alone!
Poe now has the AtariWriter printer drivers available for only $15 and
they are much better than | expected them to be. New printers are, add-
Oy ail the time; they now include the Epson MX80, FX8, X80,
Geminii0, 1DS480, MX100, NEC8032a and the C. Itoh Prowriter. Each
Giiter allows the use of all the special features of the printer; they even,
ciiow right justification of proportional print. None of the other word-
processors for the Atari have this option; and until they do, it does
eae the AtariWriter a best buy if this is important to you. Since these
flles are automatically booted in, it also makes this wordprocessor the
easiest to use for the printers noted above.

‘The most impressive new program I've seen in the entertainment
area everis the fantasic new program by Chris Jochumson and Doug
ares fon of Broderbund called The Arcade Machine, (17 Paul Drive,
ari areal, CA 94903, $60. Although it arrived too fate for a full review
San ateayt issue — this incredable new “language” allows you to
crake arade quality games of your own design with great ease. It
Sludes 4 made games on files as examples; the manual tells you how
fo modify them, You can easily create shapes, backgrounds and title
pages, then make the shapes move in any path you wish. You car add
pickinds of “canned” sound effects as well as make your Owe, ine
Gluding music. You can make up to 5 levels for each ame, have
seous options.etc. The games that are included are simillar to com
varrelal quality games, You can easily test and change them 10, you"
Feats content; then, when all is ready, automatically create 8 “boot
disk” and send them to your friends (or ACE!) to amaze your friends. It
fe very easy to create a game like, say, “Joust”. If you create
something you really like and think is great, you can send it fo Broder-
tong and.win prizes or even a contract as a game creator. If you like
Pinball Construction Set by Electronic Arts, you'll go wild over this
one! A “must buy” for Arcader's— please send the ones you really
ike to AGE, and we can trade them around!! More next month on this
one.

Last month | mentioned a book by Jim Carr which indexes ACE, as
woll'as ANALOG, ANTIC, Creative Computing and Compute’, and
wel lgble trom Valley Soft, 2660 SW DeArmond, Corvallis, OR 97333 for
$6.1 forgot to give the name: it is the Soft Finder 1.1, and | find Vuse it
all the time — well worth getting.

D@O Is out but not available easily — Atari is test marketing it on
the East Coast only; so if you have one, consider yourself fortunate I
tre er have never even seen it except for a5 minute demo, and have
had it ordered for quite a while. Good Luck.

TARICON ’83, the first all Atari Computer Convention, will Be held at
the Southfield Civic Center Pavillion, Southfield, Michigan, from Oct
3123, Sponsored by Michigan ACE. There will be over SO exhibit
booths, seminars and workshops featuring famous software authors,
game tournaments, etc. Write TariGon “83 Info, MACE Box 2785,
Southfield, MI 48037 for details.

‘Well appreciate receiving articles from those of you going to this
exciting confererence!!

“The ATR 8000 company, SWP, has finally released the tinal Yers'on
of MYDOS which allows use of double-sided drives, as well as the use
of the Atari RS-232 port. | have not received it yet, ‘but it is ready. $30
from SWP or your local dealer. There is also a new upgrade EPROM
(3.2) to allow this DOS to work.

Last month, | mentioned my Austin Franklin 80 Col Board (Austin
Franklin Assoc., 43 Grove St, Ayer, MA 01432). After talking to Mr.
Franklin, | found out the problem was my 2K memory board. Since i)
had one of the first 32K boards made, it used too much power, and
made the image unstable. He is going to ‘send me his 48K board to
show me the difference. | have not received it yet, but will report on it
when | do.

The cover cartoon is by anew member whois stationed somewhere
in the tropics, A. Grimm Richardson. Mr. Richardson is a prolific writer
for various publications, but, unfortunately, all the ones he has written
for have gone out of business. His cartoon is somewhat obscure, but
very funny when you figure it out. The optional caption is “and where
do you think computer hardware and software gets them?”
Remember, the artist is from the tropics, where they really grow well.

Page 3 (scan)

Ultra Disassembler
Adventure International, Box 3435, Longwood, FL 32750, $50

Written by Ralph Jones, this new disassembler is one of a series of
utilities, including Diskey, called the Ultra series by Al. If the future
‘One are as good, Atari owners can rejoice.

Disassemblers all translate machine language (binary load) files in-
to assembly language so you can see “List” the program. The Ultra-
disassembler adds some amazing features, First, it allows you to take
the assembly language listing and put it into the assembler of your
choice for modification and reassembling it to machine code.

Although specifically designed to use the Atari MacroAssembler,
there is a utility program allowing you to use almost any of the other
available assemblers. The assembly language listing produced is for-
mated in pseudo-code with standard Atari system labels. As an exam-
ple, the memory location $02E5 is called MEMTOP by Atari, since it is
the memory location of the Atari operating system which gives the
location of the top of memory of the sytem. When a program is
disasembled, instead of listing something like STA $02E5, which is
difficult to understand, it will say STA MEMTOP. This allows for much
easier understanding of the listing. A great tool for learning machine
language by example,

ACTION!
O.SS., 10379 Landsdale AVE., Cuperino, CA 95014, $99 ROM

From the originators of Atari BASIC, as well as many other lanuages
for the Atari: BASIC A+, C, MAC:65, etc, comes a new, original
language available only for the Atari, ACTION! is in the new Precision
Software Tools series which are on the OSS SuperCartridge", allow-
ing 24K on one ROM by bankswitching. This cartridge includes the
language ACTION!, a Text Editor, a Complier, monitor and a library of
useful procedures all on one cartridge! Switching back and forth is in-
stantaneos,

The language is a extremly high speed, high level, structured
language combining the best features of C, Pascal, Ada and BASIC, It
runs 100 to 200 times faster than BASIC. Although jt is compilied, the
‘compiler is built in and does not have to be loaded in,

You begin programing by using the powerful editor. This built-in
Screen editor uses the horizontal and vertical scrolling window techni-
que allowing a line to be 120 charactors wide or more — | recommend
you set the line width to the width of your printer. The editor has many
features of a good text editor, such as Search and Replace, ability to
move text blocks, 2 windows, various types of deletions, restoring
deletions if you change your mind, scrolling up and down, etc, The AC-
TION! language does not require line numbers,

ACTION! is a structured language similiar to C. It is actually easy to.
Program in — the manual includes a section on translating BASIC to
ACTION!, and it was very easy to translate some of the programs writ.
ten in C in Byte. The cartridge includes many procedures in its library
to simplify programming. The language includes many bit manipula.
tion operators. You begin programming by naming the procedure, then
declaring data types and variables. Structured statements. include
IF..WHILE..UNTIL, as well as ELSE and ELSEIF. These conditional
statements end with Fl. DO...UNTIL.OD are used for loops. Available
also are extended data types such as pointers, arrays and powerful
record manipulation commands, rather than just simple string
manipulations,

After the program is written, you go to the monitor and start to com-
pile it If you made an error, the program stops, and you go back to the
editor; your cursor is on the error. Unlike most compiled languages,
the editor and compiler are instantly available on the cartridge, so you
do not have to re-load everything again, When it is compiled, you run
the program, or, if testing, just a particular procedure in the program,
Since it is a compiled language, everything is very fast.

‘The language is very easy to program with, probably easier than
BASIC for a beginner. The manual, however, makes it very difficult for
a beginner to learn. There are too few examples, and several of them
have typographical errors that are frustrating for a beginner, There is
no index, and the organization makes it difficult to follow the ex.
amples. Anyone used to structured programming should find it easy to
learn, and because of the built in compilierieditor ROM, should find it
a pleasure compared to Pascal and C.

Compiled programs need ACTION! to run — there does not appear
tobe a run-time utility. 0.S.S. will be releasing a disk of ACTION! pro-
grams which should go a long way toward helping us learn. This could
be a very popular language, especially if is made available for use with
other microcomputers. If any of you develop some programs,
especially comparing BASIC with ACTION!, please send them in and
we can start a regular column,

—M. Dunn

BUMPAS REVIEWS

This month | have five games, all of which | rate a 10,

Excalibur, $29.95 from APX, is the latest and greatest creation from
the mind of Chris Crawford. You are Arthur with the quest to become
King of England forever, But first, the other 15 kings must pledge feal-
ty to you, One or two of them might even rise to compete with you dur.
ing the game for the contro! of all England. You must use your
prestige, the Knights of the Round table and your army of men at arms,
and Merlin to complete the quest.

The game includes three modules: A beautiful map of all England
which scrolls across more than a dozen screens; Camelot castle with
five separate rooms full of objects to manipulate; and the field of bat.
tle where the knights and men at arms appear in battle array

Each king has his own castle, and Arthur can only enter the castle
of a vassal. But with Merlin's help, he can "see" into the castle of any
king to watch how the computer manipulates treasury, taxes and ar-
my. Arthur keeps a strategic map in his Throne Room which highiights
each kingdom in a distinct color indicating a vassal, neutral, tributary
or hostile king.

This is a real-time strategic game. Weeks pass without regard to
how fast or slow you do your moves, An “Intermission” is available in
case you are called away from the game briefly. One game in progress
may be saved on a disk. I'm interested in exchanging information on
the experiences you will have in this game. I've already united England
under Arthur once, but I'm sure | did not do it the most efficient way.
I've never seen a strategic game | enjoy more than this one,

Dark Crystal is a graphics adventure game on 3 disks from Sierra
OnLine for $60. I'm not a real fan of adventure games, but you don't
have to be one to enjoy this game. Fans of the movie will enjoy how
closely this game parallels the movie, This game makes you the
character Jen in the movie. As the last surviving Gelfling, your quest is
to find and repair the broken shards of the Crystal. All the baddies
from the film are here to stop you

Operation Whirlwind from Broderbund for $39.95, puts you in com-
mand of a German mechanized battalion with the task of driving 15 km
through Russian lines to take and hold a town. The map scrolls across
nearly 10 screens of finely detailed terrain. Enemy units are hidden un-
til they move or fire, There is some real-time action during the combat
Phase. The Jonger you take to complete your combat, the longer you
are bombarded by Russian artillery. You must also be concerned with
the range and effect of your weapons against the various targets, A
game in progress can be saved at the end of any turn, Player perfor.
mance is evaluated by headquarters and reported each turn.

POOYAN, $29.95 from Datasoft is a joystick game for small children
which will give the rest of us a challenge, too. The name means
“piglet” in Japanese. This may mean the game is an import of a
Popular Japanese arcade game.

The player is a mother pig protecting her piglets from wolves. She
has arrows and raw meat to keep the wolves away. The wolves must
descend a canyon wall holding onto balloons to get at the piglets. As
they descend, they throw acorns at the pig, trying to knock her out of
her basket hanging from the opposite canyon wall, Two piglets with a
pulley mechanism attached haul the basket up and down,

Once a wave of wolves passes and one has pig lives remaining, the
scene shifts to the wolves' lair. Here the wolves try to ascend to the
clifftop. Seven wolves at the top will be able to push a stone over the
‘edge and knock the pig out of her basket.

If she survives this scene, a bonus scene allows her to gain points
by throwing raw meat to the wolves without risking being knocked out
of her basket. A second bonus scene is mentioned in the documenta-
n where points are gained by shooting strawberries. | guess you
Need more skill than | have to get to that page,

COMBAT LEADER for $39.95 from Strategic Simulations, Inc, is a
joystick game simulating small-unit tactics. The player may command
an individual tank, scout vehicle or personnel carrier. Or one may com-
mand a whole squad, platoon, or even an entire company. Enemy units
and any units not commanded by the player will be commanded by the
Atari.

The map scrolls vertically across more than six screens, covering a
40x77 grid. The terrain shows woods, hills with topographical lines,
focky areas and depressions (these look like shell-holes to me), The
map is predominantly green or olive-drab depending upon the
scenario,

3

Page 4 (scan)

The little tanks show turning turrets; the carriers look like boxes; the
infantry are only little “+"'s. Shooters show little muzzle flashes of
red; targets blow up in a bigger red fireball, leaving wrecks which look
like ants or beetles. Each weapon produces its distinctive sound.
Engine noises accompany movement.

Dozens of “canned” scenarios are available on the disk by combin-
ing various mixtures of terrain, weapons systems, and missions. Or
one may design custom scenarios to one's own specifications by
responding to a couple of dozen prompts setting the various terrain
densities, unit sizes, weapons characteristics, pace of the game and a
random number from 1 to 8 which alternates the positioning of the
various terrain features.

‘A chart of dozens of tanks, scout vehicles and carriers is provided
so one may create scenarios using historical vehicles with
characteristics which conform to game parameters. It's been a long
time since I've enjoyed playing a wargame more than this one.

—sim Bumpas

FROM THE
ACE LIBRARY

When Aaron and | took over the library duties from Chuck and Jody
Ross, we thought it was going to be an easy job. Just make a few
disks and mail out a few library lists every month and that's it. Boy,
were we wrong! The ERACE group (Educational Researchers of ACE)
snowed us under with five new disks and the editors of the newsletter
added the Best of ACE Vol. #6.

‘The mail has been coming in from all over the world, Besides the
USA and Canada, we have heard from South Africa, Sweden, In-
donesia, Japan, New Zealand, Australia, and a research ship
somewhere in the Atlantic Ocean, We really enjoy hearing from all of
you. Please excuse us if we may be late in sending a reply.

Many of you have written asking for specific programs to do
specific jobs, When asking for programs, please be sure to include
what type of equipment and memory capacity you are using. This way
we can do a better job helping you obtain the software you need. If you
have a question we can't answer, we will pass it along to one of the
many experts in the club or refer you to someone who may be able to
help.

Now, to the newest disks

The Best of ACE Vol, #6 for $15.00 is now available. Programs in-
clude most of the games and a few of the utilities which have been in
the newsletter from June through September, including the latest ver-
sion of TINYTEXT, RAMTEST, RUBIC'S CUBE, TITAN LANDER, and
many others.

EDUCATION DISK #4 (by ERACE) for $8.00 and includes
MATHWARS, GEOQUIZ (a geography quiz), HANGQUOTE (a hangman
type of game using famous quotations instead of single words), and
ODDEVEN, PLURALS, NOUNS, and VERBS. There are 10 programs on
this disk from elementary to advanced levels. A more complete
description is available on the library list.

We also have added four disks made available to us from the San
Mateo County Office of Education and Computer Using Educators.
Called SOFTSWAP (68.00 each), there are 25 programs on these four
disks. You will have to write for the library list for a complete descrip-
tion, All of these are very well done. | am sure you won't be disap-
pointed.

The newest library list (revised 9-15-83) is off the press and ready to
mail, To obtain your copy please send 25 cents (50 cents overseas) in
stamps or coin to Ron and Aaron Ness, ACE Exchange Library, 374
Blacktoot Street, Eugene, OR 97404.

— Ron Ness

FORUM #308,

John atcack

pm. Wednesdays Oct

will dem

400 KEYBOARDS

| did purchase the SiWare keyboard. Unfortunately, the amount of
time required to complete all the wiring makes this a most cost
ineffective product as far as | am concerned. The documentation is
very well put together. The time, though, to solder every switch and
run the various loops of wires will likely take several hours. Of
additional note, the product does not come with a case for the
keyboard, which will likely add an additional $25 to the cost, Since the
vendor did not have a telephone number to call for problems, and
implied in the published limited warranty that returns are accepted for
defects only, | was not sure what problems | was going to have in
returning the product. Fortunately, the vendor was gracious enough to
accept my return of his product minus a restocking fee.

Next | obtained the “Sidewriter” keyboard manufactured by
Screensonics. This is an excellent keyboard which is connected to the
‘Atari by several feet of flat cable, with pin connections to both the
keyboard and the Atari, It is sufficiently heavy to offer an excellent
“feel” when placed on one’s lap. The board comes prewired and in a
case. The only wiring required is to connect to the Atari keyboard pins,
which should not take more than 1 hour. My only critique is the lack of
a keypad option on the keyboard . The price is approximately $170.

also just purchased ATSPELLER by APX. This is a word dictionary
utilizing Atari DOS.

—Ellioth H. Fishkin, M.D.

Stereo Cassette Interface
Essence Peripheral Systems. Model 600 for $50.00.

Here is a new product for all cassette users. This interface allows
you to use your stereo cassette deck to load and save your programs.
The stero cassette deck gives you clearer, sharper and better all
around copies of your programs.

This IF comes complete & ready to use except for a set of patch
cords which can be bought at Radio Shack. EPS even gives you the RS

rt no.
pa Instructions are quite clear and once you hook up the patch cord to
the interface, the cassette deck and then to the computer you are
ready to go. The interface has only one switch to use. One position is
CLOAD, the other CSAVE. The only thing left to do now is to load one
of your programs in with the deck and turn everything on as you nor-
mally might, except the interface is in the CLOAD mode or load a
blank tape and use the CSAVE mode.

‘One of the things | found annoying was that my cassette deck was
with the Hi-Fi equipment in another part of the house. And to bring ina
portable deck to use just means more equipment around the com-
puter. For those of you who have Hi-Fi or cassette decks close by, this
interface makes or plays cassettes better than the 410 Program
Recorder does. It is a good investment for those who use a lot of
cassettes and want to make sure they have the best possible recor-
ding or playing of their programs.

The ACE librarians will use this interface to make cassettes for the

library.
—Larry Gold

12
Loc

onstrate hig Guasimate.

4 |

Page 5 (scan)

Robert Browning: Upper & LowerCase

9 OREN eeeeeesseeneeesensee
1 REM ## ACE NEWSLETTER #*
2 REM #4 3662 VINE MAPLE +8
3 REN ## EUGENE, OF 97485¢*
4 REN #e $18 YR oa
SORE teeeereceansesseeeset
6 REN eeeeeeeeeeenerseeeeceesseee
TREN + GRAPHICS 1&2 TEXT #
+ UPPER AND LOWERCASE
BREN by ROBERT BROWNING = +
REM # OCTOBER 1983 ‘
16 REM eeeeeencoesenseneneensetee
TL REN #4eeetee SETUP tRtteEEEEE
28 DIM ANS$(12) ,ANS2S(12) ,PS(48) ,QUESS
a
3 CLOSE #1:0PEN #1,4,8,"K:*
49 POKE 186, PEEK(184)~5:GRAPHICS
59 SL= (PEEK (194) #1) #256
&8 PORE 752,1
78 POSITION 9,5:? “Give ae 22 seconds

to wove and redetine t
h
e character set.*

86 POSITION 9,12:7 "When you want to e
nd the progran, type “end

for your nage,"
85 POSITION 28,143? "or press the
(BEXH key."

98 FOR HN=B TO 1925:POKE SL+MM, PEEK (57

S444NM) NEXT HM

198 FOR NM=256 TO 472:POKE SL+HM+256,P

EEK (S7344+HM) 2NEXT MM

118 FOR R=1 TO 4:READ ASREAD B:FOR HN=

1 TO B:POKE SL+A+MM+256, PEEK (57544 4MMt

B

VINEKT MMSNEXT R

126 FOR 15256 TO 263:POKE 1+SL+256,0:N

OTT

125 GOSUB 988

138 REM ##### YOUR PROGRAM GOES HERE +

ECU EEE ERE EEE EEC EERE EERE

1492" e5":POSITION 8,5

145 POKE 755, 1;POKE 752,1

1587 "Do you want to see each
charcter and it’s ATASCI

nuaber?*
168 POSITION 8,9:? "(Y OR N) 4
i"
178 MAX=1SL TRL: 112243
ESS=ANS2$
175 GRAPHICS 2:POKE 752,1
176 POKE 756,SL/256+2
180 7 4bpt ent? eT
198 POKE 756,SL/256+2
208 POSITION 1,1:? #53"what is your na
ae?”

:G0SUB 386: QU

218 POSITION 1,2:7 #;"WHAT IS YOUR NA

NED"

228 POSITION 1,3:7 46°05 aa aa
COSC Ea ea"

238 POSITION 1,457 #65 "(0's EWS
249 POSITION 1,627 #0; "phat 1s your
naae->*

258 POSITION 1,7:7 #65"7HAT IS YOUR NA

NE?"

268 POSITION 1,8:? #63
DU Me he 2
278 POSITION 1,937 905 "0° Ne RE Oa?
c Me "

288 IF QUES$="Y" THEN FOR R=@ TO 255:P
OSITION 1,5:7 #a;CHRS(R):FOR Wel TO 58

Lea = a

? RENEXT WENEXT R

298 FOR R=1 TO SOB:NEXT Ri? bs" mi"
388 ? #45" hat is your naee-+*
‘318? " Use the shift key for capitals

328 MAX=105Xt=4:Y=5:LTR=2:60SUB 388
‘338 REM THIS LINE GOES IN PLACE OF AN
INPUT STATEMENT: MAX=X:LTR OR NUM=N3 XX=
N

SY=N;GOSUB 189:POKE 764,255

‘348 REM GOSUB 188 FOR LETTER ROUTINE,
196 FOR NUMBER ROUTINE

356 ? ANSS,ANS2$:FOR Wel TO SOS:NEXT W
27 SWS? HO; NST ANSZS<>*END* AND

A

NS28{ "end" THEN 188
JOH? HOSUR IOS Y=52PS= ND ES
":GOSUB 758:G0T0 36

‘378 REN #4eeeeEeE GETKEY teeeeeees

‘380 NUM=8:G0SUB 488:RETURN

‘390 LTR=@:GOSUB 400:RETURN

49@ BREAK=PEEK(16)-128:1F BREAK(® THEN
GOSUB 439: RETURN

ALB PORE 756,SL/256+2

426 POKE 16,BREAK:POKE 53774, BREAK

436 FOR Ri=1 TO 5O@:POKE 792,!
4,0:POKE 764,255: SP=O21F LTR=.

K

E 782,64

440 ANSB="*:ANSZS=""

458 FOR R2=1 10 588

406 GET #1, AV:KEY=PEEK (754) :1F KEY=92
THEN 668

485 IF KEY=28 THEN 368

478 IF AV32 THEN NEXT R2

486 IF AVD32 AND AV(39 THEN NEXT R2
499 IF AVD39 AND AVCAb THEN NEXT R2
495 IF AV)A6 AND AVCAB THEN NEXT R2
508 IF AVM? AND AVéSB AND LTR THEN NE
AT R2

518 IF AVDS7 AND AVCOS THEN NEXT R2

5

526 IF AVS? AND AVCISS AND NUN=! THEN
NEXT R2

538 IF AVI96 AND AVC9 THEN NEXT RZ
‘548 IF AVD122 AND AYSISS THEN NEXT R2
‘550 IF AV>155 THEN NEXT R2

568 GM=PEEK (87.

‘578 TF GN} AND AV=39 THEN AV=28

5 AND SP=@ THEN NEXT RZ
155 OR SP=MAX THEN RETURN

IF AV>64 AND AVG91 THEN AY>

605 IF AV=46 THEN AV=36
616 IF AV=28 THEN AV2=39
028 SP=SP+1:ANS$ (SP, SP)=CHRS (AV) :P$=CH
RS{AV) :GOSUB 748

238 IF GN>@ THEN GOSUB 796

646 ANS2$(SP,SP)=CHRS(AV2)

658 NEXT R2

$68 IF SP<=6 THEN SP=@:NEXT RI
678 ANSS(SP, SP)=CHRS (32) :PS=CHRE!
OSUB 748; ANS2$ (SP, SP) =CHRS(32) : SP:

NEXT R2

T38 REM #44FEHe PRINT KEY #eeReeee

TAB N=SPHLY

758 POSITION X,¥

7b8 IF GHB THEN 7 #6sP$:POKE 764,255:
RETURN

778? PSIRETURN

7G REM ##8# SHOW ASC VALUE AND CHARAC
TER GF KEY SELECTED#t+tettettesereeeete

"3 CHRS(AV2)

(SP, SP)=CHR$(AV2) : RETURN

828 DATA 5,487, 95,495, 111,585,247
834 POKE 756, SL/256+2

986 GRAPHICS 17:POKE 756, SL/256+2

505 2 dept ents
918 POSITION 1,4
9287865" AES Sle MIN aE TT

938 POSITION 1,7
948? #0i "menting om and lowercase”
956 POSITION 1,9

968? #65")N *2) /NE AND 4WO"

978 POSITION B,13:? #45 *by*

986 POSITION 1,15

998 2 463" Fa SCA i aR Ce
ioe

995 POSITION @,23:? 965"

1886 FOR W=1 TO 2608:NEXT WSRETURN

Page 6 (scan)

in memory Micro—DOS

REM FARR ETEE SEES HERR EE EER EEE ERE ERE
EM & ATARI COMPUTER ENTHUSIASTS #*

J REM * 3662 VINE MAPLE DR cad
4 REN # EUGENE, OR 97405 oe
5 REM & $18 YEAR *

GOREN FRtRCHHREEORSHEREEREEHEHEE EEE
7 REM etPRREHReREeteeeseEeeeeHEeEEE
8 REM +REPRINTED FROM FACE (FRESNO ATA
RI COMPUTER SECTOR, by Bob Luce

106 REN teeteeeeenneee

119 FEM + © QUIKDOS

126 REN theeeeseeeanee

158 OPEN #1, 8,8, "D AUTORUN. SYS*

148 TRAP 189

159 READ @

ofl PUT 1,8

178 GOTO 148

188 CLOSE 41

19 > “ALL DONE"

208 END

218 DATA 255, 255,98, 94, 128,04, 118
228 DATA 4,77, 168, 214, 5,219.6

38 DATA 224, 6,229, 4,0,8,125,81
248 DATA 85,75, 75, 68,79,83,32, 49
288 DATA 45,48, 155,155, 49,45, 68,73
268 DATA 82,69, 67, 84,79, 82,89, 155
278 DATA 58,45, 64, 65,93, 73, 67, 155
288 DATA 51,45, 7b, 79,67,75, 155,52
298 DATA 45,95, 78,74, 79, 7,75, 155
388 DATA §3,45,68, 69, 75, 69,84, 69

8 DATA 155,54, 45, 82,69, 78, 65, 77
29 DATA 69, 155,55, 45, 68, 79,83, 155
DATA 185, 93,165, 18, 141,12,4, 165
S48 DATA 11, 141,13,4, 169,65, 133, 18
358 DATA 141,79,21, 169, 6,133, 11, 141
8 DATA 74,21,96, 68, 49,98,42,46

374 DATA 42,8,6,252, 6, 169,5, 157
SEB DATA 66,3,76,13,5, 169, 9,157
398 DATA 65,3, 169,64, 157,72,3

408 DATA 169,192, 168,3, 157, 68,3
410 DATA 152,157,69,3,32,86, 228
426 DATA 96, 169, 12, 157, 66,3,32,86
436 DATA 228,96, 169,11, 141,653, 169
440 DATA 1, 141,72,5, 169,89, 1684
450 DATA 162,8,142,73,3,32,22,6
464 DATA %6, 169, 11,141, 66,3, 169, 75
478 DATA 141,72,3, 169, 14,168, 4, 162
488 DATA 8,32,22,6,32,42,6,32

490 DATA 8, 6,173,192,3,56,233,49
588 DATA 21,7, 176,221, 18,178, 189,0
518 DATA 4,141, 116, 6,232, 189,8, 4
520 DATA 141,117,6,76,8,8,32,42
538 DATA 6,32,8,6,173,192,3,48

548 DATA 3,141, 114,4,162,16,32, 33
558 DATA 6, 169,3, 157, 66,3, 169,6
540 DATA 157,74, 3,169, 115,168, 4, 32

Bob Luce: QUICKDOS

578 DATA 22,6,152,48,40, 162, 16, 169
508 DATA 5, 157, 66,3, 32,13,6, 192

59 DATA 136,288, 18, 169,49, 141, 116,4
408 DATA 162,16, 32,33,6, 162,8,32
41 DATA 86,76, 65,6, 162,8,32

“628 DATA 8, 6,76, 157, 6,132,185, 169

438 DATA AY, 141, 116,4, 162, 16,32, 33
448 DATA 6, 169, 155, 76,64, 185, 169,35
456 DATA 76,231, 6,169, 35,76, 2516

468 DATA 169,33, 76,231, 6, 169,32, 162
478 DATA 16,157, 66,3,32,42,6,32,8,6
488 DATA 162, 14,32, 13,6, 152,48, 263
498 DATA 76,65, 6,226,2, 227, 2,98,4

Assembly—Language Listing

In SynAssembler Format

90019 EttteeneeeeeeeeeeEeereete
$6820 = MENU/COMMAND LIST
GOGO teteeeeeHeeeeeeeeteeeeee

99049 OR $486
90959 «TF "DS QMENU. OBJ”
90868 *

90078 * Uses the Sate $89 Bytes
$888 + of the cassette buffer
99898 * for data and initialization
96196 * code.

O11

9812 CONMANDS .DA DIR Addresses of
98138 DA BASIC ;Quikdos Commands
80149 «DA LOCK

80158 DA UNLOCK

99188 «DA DELETE

96178 DA RENANE

90189 GODOS = «HS. 088 ~=—; to be modified
98198 MENU HS 7D iClearscreen

90289 «AS "QUIKDOS 1.9"
98218 «HS 9898

99228 «AS "1-DIRECTORY*
98238 HS 98

90248 AS "2-BASIC™
98258 HS 9B

98268 AS "3-LOCK*
99278 HS 9B

68286 AS “4-UNLOCK™
98298 HS 9B

99308 AS “S-DELETE*
90318 HS 9B

$9326 «AS "6-RENAME*
99338 «HS 9B

6

Page 7 (scan)

90348
99358

«AS *7-D0S"
HS 9B9B

99360 MENULEN .EQ #-MENU

99378 PCHR AS "1" jPrompt Character
99389 PLEN «£0 #-PCHR

98398 INIT LDA DOSVEC ;Store the real DOS

98490
99419
90428
89439
90449
98459
98469
96479
99488
98490

STA 60D0S vector in the

LDA DOSVEC+! sCommand Address Table
STA GODOS+!

LDA #START Put Quikdos

STA DOSVEC jin it’s place

STA $1546 and in DOS init code
LOA /START

STA DOSVEC+!

STA $1548

RTS sBack to DOS load

99508 DIRNAN = .AS "Di:#.#" ja few spare bytes

60519 DIRLEN

GOI tteeeeeeeeeteteteetereeteete

99826 © *
00838 + QUIKDOS *
$9848 & Written by Bob Luce #
90950 # (98/83) '
96068 t

G0070 #eeekeenseeneeenreenseesstee
s0ag8 +

90093 + lero Page Equates
98196 +

99118 DOSVEC EO saan
99126 DOSINI £8 $880
$0138

90149 # 0.8, Equates
98158 +

99169 ICCOM £0 $8342
90176 ICSTA ED $0543
99188 ICRAL ED $8344
96196 ICBAH EQ $9345
99288 ICBLL £0 $8348
90219 ICBLH EQ $8349
40220 ICAxL EQ -$8348
99238 ICAK2 EQ $6348
66248 COV EO $E456
96250 BASIC «EQ $A84D
0268 INBUFF .E0 $8308
90278 BASICERR .£0 $948
98288 +

99299 * Misc. Equates
90388 *

90319 READ «ED $04
99326 WRITE £0 $88
00338 APPEND EQ $89
99340 UPDATE EQ $8C
99358 OPEN EQ $03
09360 GETREC EQ $85
89378 OPDIR ER $86
8388 GETCHR EO $87

EQ #-DIRNAM jso we'll put this here

98390 PUTREC £0 $89
98499 PUTCHR EO $08
90418 CLOSE =. EG $80

0428

a043e wIN *D:QMENU. SRC"

aa4ag

9450 OR $8688

60468 TF *D:QUIFDOS..083"

99478 +

#0488

69498 # Subroutines

40506 +

90518 + C10 Routines

#9528 +

60536 + I=10CB to use

90548 +

0550 EGETREC LOA #SETREC set records
80568 STA ICCOM,Y jfrom D: or E
0578 IMP CONTINUE

0589 EPUTREC LOA #PUTREC sPut a record
49598 STA ICON, sto E:

9698 CONTINUE LDA #848 Enter here to
89616 STA ICBLL,X juse printer buffer
99628 LOA #INBUFF

90638 LOY /INBUFF

6649 C1060 STA ICHAL,X sEnter with 1o buffer
#8858 TVA saddress in A
8b66 STA ICBRH,Y 3hi address in ¥
99679 C10 JSR CIOV

#6088 RTS

49698

99789 CLOSEIT LDA 4CLOSE Close 10CB 4
89718 STA ICOM,

88728 JSR C1OV

88738 RIS

80748 PRONFT LDA #PUTCHR sPrint prompt
89758 STA ICCOM

90768 LOA #PLEN

80778 STA ICBLL

99786 LDA 4PCHR

99798 Loy /PCHR

90868 Lon #860

#9818 STX 1CBLH

49228 JSR C1060

89838 RTS

90848

88858 + Main Program Code

99868 +

89878 START LDA #PUTCHR sPrint Menu
99986 STA ICOM

49898 LDA #MENULEN

90988 STA ICBLL

0918 LDA aMENU

99928 LOY /MENU

99938 Lox 4868

90948 JSR C1060

40958 JSR PROMPT ;Print Prompt
9968 ISR EGETREC sGet user’s input
09978 LOA INBUFF j Ignore everything
8988 SEC sbut first character

GOTO page 12

Page 8 (scan)

Stan Ockers: Missile Defense

rn

| REN FEPPREREE HEP ERO R RHE EH EERE EE RHE
2 REM # ATARI COMPUTER ENTHUSIASTS ##

J REN # ©3662 VINE MAPLE DR ce
4 REN * EUGENE, OR 97485 cd
5 REM + $19 YEAR ”

SOREN PACeR SSE R RHEE HERR E EER ER EEO EE
7 REM A0REEPE RARER RHEE EREEEEEEER EES

S REM ## «= NISSILE DEFENCE +t
9 REN + BY +
18 REN + © STAN OCKERS “*
11 REM * Oct 1983 a

12 REN S#04Cb Ree eREEEH ORR ER EEETEEE
168 GOTO 498

28@ IF MPC! THEN BOTO C218

202 S=PEEK(STICK@) :42=PEEK(XPO2) 3 1F S=
C7 AND X2.0192 THEN POKE XP02,X2+CB: X=
1

COL +1

11 AND 125048 THEN POKE {P02
(-C2:MCOL=MCOL-C1

13 AND SHLDS(44C1,X+C1)="a
THEN SHLDS‘X#C1,%+C2}="  ": POSITION CB

C1927 SHLDSS
286 IF S=C14 AND SHLDS(N+C1,X+C1}=" *
THEN SHLDS(X+C1, 4+02)="ab"sPOSITION CB

:
C193? SHLDSS

210 IF PEEKISTRIGO)=C1 OR MISLS1X+C1,x
+C1)¢"c" THEN GOTO C218

216 MF=COSMISLO(L#C1 A4C2)="  "2POSITI
ON C6,C21:? MISL$$:POKE IM62,C180:POKE

1PO2,C209:POKE AUDCS, 148
218 IF MFC>C2 THEN GOTO C23;

A game that demonstrates the PM Helper of the last issue

220 Y2=PEEK(YPG2):POKE YPO2, Y2-MDEL?PO
KE AUDFS,¥2

222 IF Y2<C21 THEN POKE 1M62,C128:POKE
YPO2,C208:POKE AUDC3,C@:MF=C1:G0TO C2

224 IF Y2=185 AND SHLDS(K+C1,X+C1
THEN MF=C3: SHLD$(1+C1,X#C2)="rs"; POST
T

TON C#,C195? SHLDS;

226 IF ¥2>LY(NCOL) OR ST(MCOL)<C2 THEN
DW

226 POSITION X,Y«MCOL):
24: NF=C3SHITS=HITS 4
om .

OSITION 19, C8:

HITS
238 IF Y2¢VO4C11 AND LACSMCOL THEN MF=
sPOKE ING, C28

IF MF<CE THEN 242

234 1=PEEK{ING2)<1F 1=C188 THEN POKE I
N62, C2#:POKE W1D2,C1:POKE AUDCS, 148:PO
K

€ AUDFS,5¢

234 IF 1=C28 THEN POKE ING2,C48:POKE A
UDF, 48

238 1F 1=C48 THEN POKE ING2,C6#POKE A
UDF3, 38

248 IF 1=C8@ THEN POKE ING2, C128:POKE
YPO2,C288:MF=C1:POKE W1D2,C#:POKE 1PO2

,
12;POKE AUDCS, C8

242 P=PEEK(RANDOM): IF P<C4® THEN R=INT
(RND(C#) #19): 1F ST«R)=CB8 THEN ST(R)=C1

8

244 IF AMF=C# THEN AR=INT(RND (C8, #019)
IF ST(AR)=C1 THEN AMF=C1;W2=C14:POYE
A

UDC!,45:POSITION X(AR),Y(AR):? ALS}
246 IF AMF=C1 THEN POKE AUDF1,W2:W2=W2
“CISTF W2¢C11 THEN POKE AUDC1, C8:
§

SST(AR) =C2

248 IF LAFOOC! THEN 256

258 LAC=INT(RND(CH) #019) ;LAX=LAC#LAC: I
F STILAC)(}2 THEN 256

254 LAFSC2:POKE ING, BN:POKE XPO@,LX IL
AC):POKE YPO@,LY(LAC):ST(LAC)=C3

256 IF LAFOC2 THEN 278

258 YO=PEEK{¥PO6): IF YS>178 AND SHLD$(
LAX#1,LAX#1)}="a" THEN 266

268 IF YO)C198 AND NISLS(LAX#C1 ,LAX#CL
" THEN 268

262 IF Y8>C288 THEN LAF=C3:60T0 868
264 POKE YPOO, Y@+LDEL:6070 C278

2bb SHLDSILAX#C1 ,LAX+E2)="r5": POSITION
C,C19:7 SHLDS}:LAF=C3:POKE 1MG8,C26:

6
ovo c274

268 NISLS (LAK#C1,LAX#C2)=" *:POSITION
(8,021:? ISL#;:LAF=C3:POKE INGE, C28
27 IF LAFC3C3 THEN 282

272 POKE WID8,C1;1=PEEK (INGA): 1F 1-028
THEN POKE TM6@,C48:POKE AUDC!, 148:POK
E

UDF, 78

274 IF 1=C49 THEN POKE ING®,C48:POKE A
UDF, 68

276 IF 1=C4@ THEN POKE XPOB, CO: Y#=C8:P
OKE WIDd, Ci C1SPOKE AUDC1,C8

282 IF HITS=GOAL AND MF=C1 THEN 998
284 R=INT(RND(CS) #C19):1F ST(R)=3 THEN
POSITION X(R),YIR)2? " "J2ST(R)=@
298 P=PEEK(RANDOM) :1F PCDLY THEN
(RND (C8) #C19) :R=R#R: MISLS{R#C1 , R#C2)

c
d":POSITION C4,C21:? NISL;

294 IF PCBSP THEN BUG=BUG+C1:POKE YPOL
BUG: IF BUG)218 THEN 868

296 IF T1=C8 THEN I1=C1:POKE IMG1,C20¢
16070 308

298 IF I1=C1 THEN T1=C@:POKE IN61, 189
3a@ GOTO C268

‘U8 REM #eeeeeneseeseseteaseeestese

32 REM #& = MISSILE DEFENSE =
336 REN ## 5.0, 9/83 tt
‘348 REM teeeeereeerereceerereeeesre
468 CB: H

C128=128:0170=178

C198= 196; C208=268:0278=278

Page 9 (scan)

418 STICKB=632: STRIGB=644: AUDF 1253768:
AUDC1=53761 : AUDF3=53764: AUDE3=53765
458 GOSUB 4888:G0SUB 18688:DIM SHLD$(4
4) NISL8438) , ALS (2)

452 POKE XPOB,8:POKE XPOL,8:POKE XPO3,
S:LDEL=5:S0UND 8,8,8,8:S0UND 3, 8,8,
454 POKE INB2, 128:POKE YPO2,209;HDEL=5
+WID8=55256

456 DIN KCB) , (1B) ,LX(18) LY (18) ,ST (1
68): W1D2=53258: RANDOM=53778

498 GOTO 988

888 POKE 559, 34:POKE 53277,CA:POKE XPO
$,C8:POKE XPOL,C8:POKE XPO2,C8

895 GRAPHICS 18:POSITION 4,8: #6} °tHLAT
ECQH":POSITION 1,83? #65 "HIGHEST WAV
E

HWAVE
897 FOR V=12 TO @ STEP -2:POKE 712,14:
SOUND #,PEEK (53776) ,@,V:SOUND 2,78,8,4

POKE 712,PEEK (53778)

888 FOR K=1 TO 7@:NEXT K:NEXT ¥:SQUND
9,8,9,8:SOUND 1,8,8,@:POKE 712,8

819 IF STRIG(@)=1 THEN 819

826 WAVE=C8:G0T0 988

908 POKE 559,34:POKE 53277,C@:POKE XPO
9,C@:POKE XPO1,C@:POKE XPO2, C8: WAVE=WA
v

E+L

962 SOUND 9,9,8,9;SQUND 3,8,d, 8:60SUB
3888:POKE 77,8

995 GRAPHICS 18:POSITION 4,3:? #65 "PRE
PARE FOR" :POSITION 5,5:? $63" COLSECALH

x

CEMETS:POSITION 6,7:2 #os*wave #748
YE

998 FOR J=1 10 1808:NEXT J

4926 RESTORE 922:FOR J=C1 TO RND(CA)*4+
CU:READ BNSNEXT J

922 DATA 8,88, 148, 168

938 RESTORE 932:FOR J=C1 TO RND(CB)#4+
CUREAD ALS:NEXT J

932 DATA jk,1a,no,pq

548 GOAL=S+WAVE: DLY=26+2eWAVES IF DLY>4
@ THEN DLY=48

950 BSP=60+204WAVE: IF RSP)168 THEN BSP
=160

952 HITS=CB:GRAPHICS 9:POKE 756, CSPAGE
:G0SUB 4199:G0SUE 4208

168 POKE 53277, 3:POKE 559,62:POKE XPO2
488: 1=18:MCOL=5:POKE XPO1, 5@+RND(#) #15
4

562 BUB=B:POKE YPO1,C9:LAF=C1:AMF=CB
976 GOTO C289

3806 FOR J=8 TO 18:4(d)=2802LK(
3) +48: (0) =INT (RMD (@) #17) #1 2LY
J

)436:ST(J)=@2NEXT J2RETURN

3999 REM * change character set
4808 DIM MCSS(42):RESTORE 4819:FOR J=1
10 42:READ A:NCS$(J,J)=CHRS(A):NEXT J
4018 DATA 184, 169,9, 133,283, 133, 205, 16
9,224, 133,284, 185, 196,56, 233,8, 133, 106

1
52)

4028 DATA 105, 4,133,206, 162,4, 168,8, 17
7, 283, 145, 285, 208, 208, 249, 238, 264, 230,
2

46, 282, 268, 242,96

4039 A=USR(ADRINCS$)):CSPAGE=PEEK (184)
+4: 05=2564CSPAGE

4G49 RESTORE 4858:FOR J=CS+776 TO CS+9
27:READ A:POKE J,A:NEXT J:RETURN

4959 DATA 85,239, 251, 254,251,239, 85,8
4951 DATA 85, 251, 239,191,239, 251,85,
4052 DATA 2,2,2,2,34,46,47,47

4953 DATA 128,128, 128,128, 136, 184,248,
248

4854 DATA 255, 255,255,255, 255, 255,255,
255

4855 DATA 255,3, 63, 15,63,63, 63,255
4056 DATA 255,51,51,51,51,51,3, 255
4957 DATA 255,3,65, 15483, 83,3, 255
4958 DATA 255, 63,63,63,63,63, 3,255
4957 DATA 128,36,81,68,81,63,15,3

4868 DATA 2, 24,69, 17,69,252, 240, 192
4961 DATA 194,57,39, 151, 151,37,9, 1
4962 DATA 131, 188,216,214, 214,88, 96, 64
4963 DATA 15,58, 229, 228, 268,192, 192, 19
2

4064 DATA 248, 172,91,27,7,3,3,3

4065 DATA 3,178, 15,81,15,42,3,1

4006 DATA 192, 178, 248,69, 240, 168,192, 6
4

4067 DATA 192,176, 192,288, 128,192,64,8
4968 DATA 3,6,3,13,3,1,3,8

4999 REM * change display list +

4109 DL=PEEK (568) +256¢PEEK (S61) :POKE D
L43, 86:FOR J=DL+6 TO DL+28:POKE J,4:NE

x

T d:POKE 756, CSPAGE

ALI@ RETURN

4260 ? CHR$(125):SHLD$="ababababababab.
ababababababababababababab":POSITION 8

‘
195? SHLDS;

4236 POSITION 5,C
TION 16,C8:? "BOAL
c

8:7 "WAVE "7 WAVE
4254 RETURN

18068 DIN HVPHS (48) :RESTORE 10859: FOR
Je TO AB:READ ASMVPNS (J, J)=CHRS 1A) :NE
i

td

18018 A=USR(ADR(MVPHS) )

18858 DATA 164, 169,8, 141, 47,2, 165, 196,
133, 284, 56,233,8, 133, 286, 133, 186

19868 DATA 141,7,212, 169, 6, 133, 283, 133
+265, 168, 162, 8,177,283, 145,285, 169, 8,1
4

5,283, 136

19978 DATA 288, 245, 198, 204, 198, 288, 262
1268, 238,96

18188 DIM VBIS(124) :RESTORE 10158:FOR
J=1 TO 1242READ 6: VBI8 (1, J)=CHRS4A):NE
t

Td

19158 DATA 216,182,8, 173, 156, 6,24, 185,
1,133, 286, 195, 3,133, 204, 189,6, 133,283,
t

“HITS "SHITS:POSI
sG0AL:POSITION 28,

89,128, 6
18108 DATA 221,132, 6,288, 85, 189, 136, 6,
221, 148,6,20B,8, 189, 144, 6,221,148), 2
6

159, 189, 148, 6
19174 DATA 157,136,6,189, 152, 4,141, 157
1,188, 144, 6, 169, 8, 145, 283, 288, 286, 157

'
4, 268, 288

14188 DATA 189,152,6, 141, 157, 6,168,8,1
89,148, 6,133, 205, 189, 148, 6,133,283, 177

'
205, 145, 285, 269

18198 DATA 286,157,6,288, 246, 189, 148,6
1157, 144, 6, 238, 284, 232, 224, 4,288, 162,7

6
+98, 228

1264 DATA 189,132,6, 157, 128, 6,157,8,2
88, 24, 144, 234

1300 DIM INVBIS(18):RESTORE 18330:FOR
J=1 TO 16:READ A: INVEIS(d,J)=CHRS (A):
N

EXT J

19518 DIN QUTYBI$ (18) :RESTORE 1934@:F0
Ro J=1 TO 18:READ ALQUTYBI$(J,J)=CHRS (A
)

4218 NISL¢="cdcdedcdcdedededcdcdcdcdcd ©
cdededededcd":POSITION 8, 21:? MISLS SNEIT
4208 POSITION 1,23:7 ee wewce eae arenes 9528 VAU=AD8 (VETS) sHD=INT(VBI/256) 300

az “SICILY =YRI~2564H1; INVBI$(3, 3) =CHRS(LO) s INVBI

S7REN Previous

string in inverse characters

s

(5,5) =CHRS (HI)

18338 DATA 104, 168,8, 12,8, 189,7,76,92
1228

Page 10 (scan)

19348 DATA 184, 168, 98, 162,228, 169,7,76
192,228

18342 GRAPHICS 9: POKE 752,1:? "@ aT Rragaop

Po NG

18359 RESTORE 19368:FOR J=164 TO 1701
SREAD A:POKE J,A:NEXT J

18368 DATA 8,8,8,8,165, 185,171,161, 168
128,128, 60, 168, 28, 120, 68

19565 DATA 6,8,0,9, 64, 152, 129,87, 28,28
28, 28, 182,9, 76, 62,58, 74,8, 1,851

19378 POKE 1692, PEEK (196) :1P08=1468: YP

O3= 1687; INGB=1676: ING1=16772 IMG2=1678:
I

HBI=1479

{338 FOR J=8 TO 3:POKE 744+), PEEK (169
ASS)INENT J

18388 FOR J=9 10 3:POKE 53254+),PEEK(!
S980) NEXT J

19488 PHPG=PEEK (1692) :RESTORE 19420:F0
R J=8 TO 259:READ AZPOKE PMPGE256+256+
d

sAINEXT
18416 POKE 423, 1:A-USR(ADR(INUBIS) )2RE
TURN

19428 DATA 2,2,1,1,2,2)141,2)2y1 12,2
jy 1y2)Zyl yl

18434 DATA 6,8,8,0,0,0,8,0,8,8,16, 26,4
14,4,8,8,8,9,0

16445 DATA 6,8,8,8,8,5,18,28,4,49,42,2
18, 16,8,8,8,8,9,8

19458 DATA 15,16,6,4, 68, 65, 33,32,8,8, 1
34, 138, 16,84, 68,8, 8,48,41, 1

18488 DATA 5,2,8,5,2,8,5,2,8,5,2,0,5,2
1f,3,8,9,8,8

19478 DATA 24,24, 24, 98,98, 124,126, 98,0
15,4,8,0,8,9,8,8,8,8,8

18484 DATA 0,8,8,8,,8,8,3,24,24, 24, 24
124,24, 24,9,9,8,8,8

19498 DATA 8,2,1.2,7,7,2,0,0,8,8,8,6,0
18,8,8,8,8,8

18508 DATA 17,17,27,31,21,14,14, 14,14,
14,4,8,8,8,9,0,9,6,8,8

18518 DATA 49,56, 124, 254, 84,178,4,9, 0,
5,9,8,8,8,8,0,8,8,8,8

19528 DATA 40,55, 124,254, 48,84,8,0,8,0
14,4,6,5,8,8,8,8,8,8

18538 DATA 231,195,129, 8,8, 36, 36, 36,36
135,36, 36, 36,34, 36, 8,8, 129, 195,231

by Shane Rolin

UTILITIES

1 REN #edeeteeseeEeeeneeeeceaeeeeeeee
2 REN # ATARI COMPUTER ENTHUSIASTS ##

SREM * 3662 VINE MAPLE DR #
“4 /REN # EUGENE, OR 97485 #
‘5 REM € $18 YEAR +

6 OREN ttteeeeeeeeeeeeeeeeeeeeeeeeates
7 REN teeeesesseeeeeseeerecserseseee
198 REN

118 REN ROUTINE TO LOAD IN A PICTURE
126 REM FROM THE USER’S PROGRAM,

136 REM BY SHANE ROLIN(C~SOFTHARE)

149 REM

159 REM SET FILENAMES TO EQUAL THE

189 REM NAME OF THE FILE TO BE LOADED
178 REN IN,

186 REN

288 DIM MACHINES (31), FILENAMES (26)

218 TRAP 580

228 GOSUB 378

238 OFEN 92,4,8,"X"

246 A=PEEK (788) :B=PEEK (789) :C=PEEK (719
) 2 D=PEEK (712) : MODE=7; SCRNUM=758:
¥=15

268 GOSUB 368

288 OPEN 41,4, 8, FILENAMES

298 GET #1,F

388 MODE=8:60SUB 35@:POKE SCRADDR,F:SC
RADDR=SCRADDR#1:SCRNUM=SCRNUM-1:G0TO 3
1

318 POKE 858, 7:PICTURELOAD=USR (ADR MAC
HINES) , 16, SCRADDR, SCRNUM)

328 CLOSE 41

339 REN

331 REM THIS 15 WHERE THE ROUTINE TO
332 REN LOAD AND DISPLAY THE PICTURE
333 REM ENDS. HERE SHOULD BE PLACED
334 REM A DELAY STATEMENT TO HOLD THE
335 REM PICTURE ON THE SCREEN FOR AN
336 REM AMOUNT OF TINE.

350 GRAPHICS MODE+16:
88) +PEEK (89) #756

380 POKE 788,A:POKE 789, B:POKE 718,C:P
OFE 712, D: RETURN

378 FOR READR=1 10 31

388 READ A

398 MACHINES (READR, READR) =CHR$(A)

498 NEXT READR

419 RETURN

420 DATA 104,184, 104,178, 164, 157

438 DATA 89,3, 104, 157, 68,3, 164

448 DATA 157,73, 3,184,157, 72,3

450 DATA 32,86, 228,192,0,48,1,96

408 DATA 132,263, %

‘SCRADDR=PEEK (

10

198 REM

195 REM

118 REM --DECIMAL TO HEXADECIMAL---
115 REM --- “ONVERTER-

128 REM

‘ORIGINAL VERSION BY----

425 REN “RANDY RHODES-~~-

138 REM --MODIFIED BY SHANE ROLIN--
135 REM

148 REM

145 REN -=-

156 2 CHRS(125)

155 DIM B$(68)

1e@ FOR T=1 10 48

165 READ A

178 BS(T, T)=CHRS(A)

175 NEXT T

186 DATA 104, 184, 141, 213,0,104, 141
185 DATA 212,8, 168,4, 173, 212,8,41
198 DATA 15, 78,213, 6,118, 212, 8,78
195 DATA 213,6,118,212,8, 78,213,6
268 DATA 116, 212,8,78, 213,8, 118,212
285 DATA 6,24, 105,48, 261,58, 48,2
214 DATA 185, 6,281,71 16, 6,153, 262
215 DATA 6, 136, 288, 268,95

228? “INPUT DECIMAL NUMBER"

225 INPUT A

234 X=USR(ADR(BS) ,A)

235 FOR 1=283 10 266

248 FOR T=1 TO 66:NENT T

245? CHRS(PEEK(1));

258 NEXT 1

255 2 :? :60T0 228

198 REM CICICICICICICICICICICICICT

195 REM

118 REM --HEXADECIMAL TO DECIMAL-~
115 REM -=-=CONVERTER-~=-

126 REM ---ORIGINAL VERSION BY--
125 REM ------RANDY RHODES---

138 REN --MODIFIED BY SHANE ROLIN-
135 REM ------0F C-SOFTWARE-
148 RE

145 REN ODOOOOO0I0002
158 ? CHRE(125)

155 DIM BS173),A8 (16)

166 FOR T=1 10 73

105 READ A

178 BS(T,T)=CHRSIA)

175 NEXT T

188 DATA 184, 184, 133, 285, 184, 133,284
185 DATA 184, 184, 133, 284, 168,8, 132
198 DATA 212, 132, 213, 177,284, 281, 48

Page 11 (scan)

R e426 «CMP 8847) (= ASCII "FY 7
195 DATA 48,49, 201,64,48, 11, 261,65 Gal 5 SAVE CHARACTEF #438 BPL RETURN NO, ERROR

288 DATA 48, 41,281, 71, 16,37, 24, 185 9428 5 6448 §

265 DATA 9,41, 15,6, 212,38, 213, 6,212 g43@ STA SCA,Y 9459} ALPHA CHARACTER

218 DATA 38, 213,6,212,38, 213, 6,212 9443 DEY NEAT LOCATION ad

215 DATA 38, 213, 24, 181, 212, 133,212 43g BNE —NXTCHR NO, 60 BACK e478 CLC CLEAR CARRY

228 DATA 165,213, 105, , 133, 213, 200 9478 5 438 ADC ««#9~—ADD ALPHA OFFSET
225 DATA 196,286, 288, 261,96 486 RETURN 498 5

238.7 22:2 £9 “INPUT HENADECIMAL NUNB 4498 RTS RETURN 8508 NUMER

a eas te ND 9518 AND © 4SF DUMP TOP EITS
255 INPUT as goed TEMP =—|GMORD 0528 ASL «212. MULTIPLY CURRENT
248 X=USR(ADR (BS) , ADR (AS) ,LEN(AS) ) e518 .END 4533 ROL 213 —_-RETURN VALUE &Y
245 2 "HEX NUMBER-~"5A85" DEC NUMBER- asda ASL 212 BY 18

aik 4556 ROL 213

258 GOTO 230 a5bd ASL 212

9578 ROL 213
#589 «ASL 212
9598 ROL 213

6688
} HEX TO DECIMAL CONVERSION
Assembly 7 ks SIM 4518 ; ADD IN THIS NIBBLE
a 0628 5
at
30 t= $800 STARTING ADDR AP (StAREED FRR BASIE 0636 CLC CLEAR CARRY
: 48} Y=USRIHEXDEC, STRADR, STRLEN)
Bs ¢ Mane ey Pai ge4s AOC «212 ADD TO LSB
5 DECHEX a) soar anpwess oF wer 8058 STA 212 SAVE LO BYTE
PLA DUMP # BYTES i 0668 0A 213—SET HI BYTE
184 STRING ARRAY
78 PLA BET HIGH BYTE at SRE YA Let 9378 ADC «48 «AD IN CARRY
a STA TERPHL SAVE a! i 9666 STA 213. SAVE Hi BYTE
8 PLA LO DATA BYTE me 0698 §
4190 STA TENP SAVE unt 2798 INY NEXT CHORACTER
ales af . arid CPY SCE —CDONE YET?
412 LOY 44 INIT POINTER nan MMS; RIDIN 6728 BNE NKTCHR NO NEXT CHAR
41385 Ak 9738 5
4148 NXTCHR ae sea WIE 4748 RETURN
415@ LOA TEN GET HEX DIGIT 2758 RTS RETURN
#155 AND «SF KEEP LONER NIBL see ae ARRAY ADR CHD eg SEND
ee 4176 STA CD SAVE HII BYTE eo
f 4188 PLA LO BYTE ADDRESS

9178 LSR TEMP +1

9189 ROR TEMP 6199 «STA SCE SAVE

9268 5
eas fe Li bee 9216 = PLA LENGTH HI BYTE
8228 PLA # CHARS TO CNVRT

9218 LSR TENP+) NUMBER BY 16
9228 ROR TEMP

$238 LGR TENP#L

8248 ROR TEMP

9238 «STA SCE SAVE # CHARS

$256 «LY a CLR INDEX
8268 STY = 212 CLR RETURN ARGS

9258 2
8268 A HAS NUMBER TO CONVERT al Sty 213
0278 5 288

#288 CLC CLEAR CARRY 9298 NXTCHR

9388 «LDA ($CC), ¥ NEXT CHAR
o319 «CMP A838 ¢ ASCII
9328 «BMT «= RETURN YEP, ERROR

0298 ADC 4938 CONVERT TO NUMER
0388 CNP #930 ASCII?
9318 BAT WOADD NO, DONE

9528 5 9338 5
$348 «CNP | 4840) (= ASCH 9?
S21 j MUST BE RS A- F
te ; REE @35@ «BMT «=—-NUMER = YES, MUST BE NUN
8368 5
3 i
#338 ADC 46 CONV TO ASCII £378 era = E
9348 NOADD as,
8378 § i

0398 «CHP | #841 ¢ ASCIT “AT

THAN "F"
9386 CHP 9947) GREATER F 6483 «BNL RETURN

4398 BPL RETURN YES, QUIT
0408 5

11

Page 12 (scan)

MicroDos Assembly Listing Con’t

#8998 SEC A831 §Convert it #1558 UNLOCK LDA 436
41999 CHP #807 jLegal? 61569 INP NEXT
asia BGE START 61578 DELETE LDA 433
81428 ASL 3 #2 for 2 byte addresses 91586 IMP NEXT
sigse Ta Use as index 81598 RENAME LDA 432
asta LDA COMMANDS, sMove cosmand’s #1860 NEXT LOX 4818 jUse 10CB 41
e1gse STA dUMP+] ~—jaddress si1e ;
91848 INK #1628 a aa sess rent
91976 LDA CONMANDS, X 61438 JSR EGETREC ;6et input to Printer buffer
81088 STA JUNP«2 #1648 LOY #918 Just to be sure
bie SUNP JNP $9988 $And go for it. #1058 JSR CONTINUE ;File name is in Printer buffer!
130 #1600 Ya sCheck for
gig # Command Modules 81678 BAD BaD oer
61128 #1488 UMP START —tok-back to aenu
31130 DIR «JSR PROMPT ;Print second prompt -
sida JSR EGETREC Get drive §
41156 LOA INBUFF Get first character RUTH LIST
61149 BMI CLOSE! yif 2128 default to 1
a1i78 STA DIRNAN+! telse store ascii
BL1B6 CLOSEL LOK ALE Make sure it?s closed
2 PEN sOpen #1 GoTo On 10 *SQUARE
e121 STA ICCOM, x TURNTO_O “20 GR: CLEARS
81228 LDA ¥0PDIR sfor directory read 30 GR:4(DRAwW = GOTO 0,05
a1238 STA IAN, 1 303 TURN 90) ZUSnEe 2
61248 LOA ADIRNAM spoint to Dx:#.# 40 E: nko
#1250 Loy /DIRNAK 40 E:
91269 JSR CIOGO Open it Loso
#1278 1a Error? TO,SOUARE
; o
si2ae BHI BAD Yes 3 Tee EL CAR 30 RT 90]
1293 OF LOY #619 GNo~ Goto ore. A END
51398 LDA AGETREC Get Directory read TURNTO © a
81310 81a ICOM, Y 30 A:#A [SIDE Fito
41328 JSR CONTINUE LENGTH 23 Eee Re EAR
ony * > iz Oo : 3
41338 CPY #688 Check for EOF pa ae EONGLE GoTo 0,03
aida BNE PRINT jElse go print it 60 *DRAW TURNTO O
81354 LOA ASSL Reset default toD! = 70 GRiDRAwW 30 A:#A CSIDE
#1368 STA DIRNANHL #03 TURN #B rane ANE
100° E: 60 *DRAW
#1396 LOX #899 70 GR: DRAW
41498 JSR EGETREC sNait for return #83 TURN #B
aie SMP START Bo Dr eassorec
91420 PRINT LOX #886 ZO 3 CORAM
81438 JSR EPUTREC sPrint it on screen 1.0, SQUARE: pean
a14eg JNP OK © $Back for aore Bereel ge ERD
i =O RT 90] POLYSPII
s145e # END : ANGLE
e14sg BaD SITY $89 150 Basic can find ut BANG asi
‘i POLYSP :
INC POLYSPIT
a14g9 LOX 4818 jClose #1 FD SIDE + INC
#1508 JSR CLOSEIT RT :ANGLE [ING
61519 LDA 4893 And Let BASIC POLYSPII
6 INP BASICERR jdo the work SIDE +  =INC
31538 LOCK «LDA 435 Special END SING
31548 IMP NEXT No open required

12

Page 13 (scan)

PILOT ELLSWORTH

LEARNING WITH LOGO OR PICKING PILOT
(A Comparison of the PILOT and LOGO Languages)

Parents, educators, and beginning programmers who own ATARI
‘computers now find themseived faced with the dilemma of choosing
the language which will best meet their needs. While both PILOT and
LOGO are considered introductory languages, each has some very uni-
que characteristics which should be taken into consideration when an
“either or” choice must be made.

Perhaps, the first difference noticed between LOGO and PILOT after
booting is the difference in editing procedure. Editing in both
languages in the Edit Mode is very easy. PILOT, being like BASIC, ac-
cesses the Editor through the LIST command and allows full cursor
control. It has the added advantage over BASIC of having an AUTO
numbering and RENumbering function in the Editor.

The Editor is called in LOGO by the command, EDIT “name of
cedure. There is a full range of edit commands in LOGO, but no at
toaditin the immodiate mode aa procedures are being developed. We
find this inability causes a considerably greater amount of typing and
frustration to a beginning programmer, and the first plus for PILOT.

Structurally LOGO, which is a subset of LISP, is like PASCAL;
PILOT is like BASIC. Both languages encourage structured programm-
ming, although PILOT is not as tightly sturctured as most languages
and allows beginners more freedom. PILOT requires line numbers,
LOGO does not. PILOT uses modules around which programs are
built, while LOGO requires them. Like PASCAL or FORTH, LOGO is
completely modular, and fully expandable. In LOGO a defined pro-
cedure is treated like a built in command, This ability becomes an im-
portant plus for LOGO in more complicated or creative programming.

Each of the languages has structural abilities the other lacks. PILOT
has the MATCH command which easily allows the creation of interac-
tive instructional programs or games with a mimimum amount of pro-
gramming or effort. LOGO has the ability to handle LISTS which
allows one to write programs dealing with symbolic manipulation, or
complex data structures without having to encode them in
mathematical terms or strings. LOGO also has the ability to use recur-
sion, which is the ability to define a problem in terms of itself.

This concept, which can be quite confusing, may be explained in
mathematical terms as being similar to the factorial of a number, X be-
ing equal to X (X-1) factorial. For me, a nonmathematical person, it is
easier to think of recursion as being like a pudding cake. Both the
‘cake and the pudding use themselves and parts of the other in the in-
complete state to come out with the finished product. This ability of
LOGO makes possible very sophisticated programming. In my opi-
nion, understanding recursion will help one to learn more of the com-
plicated concepts in computer sciences as well as the nature of
linguistics and thought processes in general.

Screen output is superior in PILOT. The screen is automatically
cleared when a program is run. Text is broken only at the end of a
word, making it easily read and the product neat in appearance. PILOT
also has three text modes: Gr.0, and oversized text modes 1 & 2; LOGO
has only Gr. 0.

Sound in both languages is good. PILOT is slightly inferior since it
allows four voices and control of duration, while LOGO allows two
voices with control of both volume and duration.

Both languages allow practically unlimited lengths for variable

names. Neither requires dimensioning. Both lanuages allow global
variables (constant during a program). Only LOGO allows local
variables which are used in a procedure then discarded. This permits
their later reuse with different meaning in the same program. PILOT
uses numerical and string variables similar to BASIC, and has a max-
imum of 26 numerical variaples per program. LOGO considers all
variables as “objects”, numerical variables being viewed as words
made up of digits. LOGO has the ability to manipulate variables in
LISTS and to use them in recursion which PILOT does not, while
PILOT has the ability to combine text literals with variables without
n as text literals making it easier for a beginner to write pro-
screen or printer output.
PILOT is much easier to debug than LOGO because it contains a
TRACE command which allows the programmer to view the lines be-
ing used as the program progresses. This command is extremely
useful. In my opinion it does not slow execution speed enough for
beginners, but when the listing is interspersed with PA: commands to
make the program run slowly, it becomes indispensable to beginners.
PILOT also supports Remark statements, which LOGO does not,
allowing explanations to be added for beginners or children.

Both languages support Turtle Graphics. LOGO has superior Turtle
Graphics since up to four turtles can be visible if desired. LOGO also
has a collision register, speed control, and either full or split screen
graphics display. PILOT has an invisible turtle, and only split screen
display; but it does have a fill command which greatly enhances
graphics displays. The PILOT Turtle is very much faster than the

LOGO Turtle(s).

i.

The accompanying chart gives a thumbnail sketch of the major dif-
ferences and abilities of LOGO and PILOT. In my opinion, PILOT is the
language best suited to parents, educators, and those interested in
programming who do not have the time or inclination to become deep-
ly involved with programming languages and skills. it allows easy
adaptation of text materials into electronic media, and programming
using matching. Most instructive materials used by parents and
educators, and simple game type programming written by children will
fall into one of those two categories.

The question which | am inevitably asked next is: Why LOGO?
LOGO is a more sophisticated language which has the ability not only
of manipulating more complicated data, but in my opinion, has the
ability to develop in children a more creative approach to problem solv.
ing and a more structured, scientific if you will, way of thinking. The
ability to manipulate LISTS makes linguistic-type programing available
as well as the beginnings of programs that “learn.”

There are numerous concepts of mathematics and physics which
can be taught painlessly through the use of LOGO Turtle graphics
because of the inclusion of speed control and recursion. In short, |
believe the LOGO type languages are the languages of the future.
They may not be of necessary or even of interest to everyone.

Unlike PILOT, LOGO will take some time to learn, and | recommend
persons interested to take a class of some kind in LOGO. For those
who cannot, the following are recommended: LOGO by Harold
Ableson (the blue book); THE TURTLE’S SOURCE BOOK by Beaden,
Martin, and Muller; and TURTLE NEWS and LOGO NEWSLETTER
published by the Young Peoples’ LOGO Association, Inc., P.O. Box
855067, Richardson, Texas 75085.

The two short modules which follow are purely for demonstration of
the difference in the coding of simple graphics procedures. The
modules do not include printed prompts, although they require value
input for the three variables used. To use the POLYSPI! LOGO pro
cedure, one must type POLYSPII followed by 3 values. To use the
PILOT module, one must type U:*SQUIRL then type each value follow-
ed by return when the graphics screen appears.

Next month | will continue my regular PILOT articles, including the
program translated into LOGO with notes on the necessary changes.
Later | will be preparing and explaining programming which uses the
unique abilities of LOGO, as well as continuing to share some of the
things we are doing with PILOT in our home.

LOGO - PILOT COMPARISON CHART
GO PILOT

EDITOR x
Full cursor
Renum and Auto
Immediate mode
SCREEN OUTPUT
Auto clear
Does not break words
Multiple text modes
SOUND
Voices
Duration contro!
Volume control
VARIABLES
Local variables
Global variables
No dimensioning
Unlimited name length
Maximum # variables
Mix with text literals
Data Types
Numer
Strings
Words
Lists
DEBUGGING
Trace command
Remark statements
STRUCTURE
Line numbers
Modular
Encourage structure Best
Recursion
List processing
“Matching"function
Data manipulating
Random Access
TURTLE GRAPHICS
Visible Turtle
Multiple Turtles
Speed Control
Collision register
Fast execution
Fill command
Full screen graphics
Split screen graph.

S
x

EZ XRKKKK XD OO x BOE
xxx x

SS
x

Not completely

g

None

KKK KKK ZK ORK KK KZ
8
3

Page 14 (scan)

OCKERS

Missile Defense

Here’s a program to demonstrate the use of PMHelper 2.0 from last
month. I’ve restricted myself to using Basic except for the VBI routine
produced by PMHelper and something to move the character set, All
sorts of techniques were tried to increase the speed of the program,
but there were quite a few decisions involved as you can see by
reading the line-by-line breakdown of the main loop.

Your job is to protect your fuel supplies from approaching aliens.
Move the joystick left and right to select a missile and press the but-
ton to fire, Be sure and remove the shield above your missile first by
pulling back on the joystick, It can be replaced (if not destroyed) by
pushing the stick forward. Your missiles will be replaced at random,
Missiles from the aliens will destroy first the shield, then the rockets
and finally the fuel which will end the game.

With each wave you will have a goal of hits to reach. Once the goal
is reached, a new wave will be started with all your shields and
missiles replaced.

‘The object is to go through as many waves as possible. Oh yes,
there is an indestructable enemy ‘bug’ decending on you. If it reaches
your fuel supply, the game is over.

A comment on using PMHelper 2.0 ... If the module is used last,
memory must be lowered in 8 page increments to make room for items
above it. | found out the hard way that the module clears one page
above itself (a bug). In the case of this program I've just put ‘the
character set in the top 4 of the 8 pages and not bothered to fix the
bug.

Lines 10000 and up are the PM module, If you have it already all you
have to change is the data in lines 10360, 10365 and 10420 through
10530,

Program Structure
Missle Defense

200 If missle active, skip

202 Ck. joystick, move pointer right

204 Move pointer left

206 If down and shield in place, remove

208 If up and shield removed, replace

210 Skip if trig. not pressed or no missile

216 Else activate missile

218 Skip if missile not in flight

220 Missile moved up screen

222 \f off top, put pointer back

224 If hit shield, print destroyed shield and activate explosion
226 Ck if hit active alien, if not skip

228 Remove alien, activate explosion, increment hits
230 Ck if hit alien missile, if so activate explosion of both missiles
232 If missile explosion not active, skip

234 1st part of missile explosion

236 2nd part of explosion

238 3rd part of explosion

240 End of explosion, back to pointer

242 Activate alien depending on delay and condition of alien
244 Materialize alien at random, only if activated
246 If materalizing, generate sounds

248 If not available to fire, skip

250-254 Activate alien missile at random, alien must be there
256 Skip if alien missle not moving

258 Check for hit of shield

260 Check for hit of missile

262 Check for hit of fuel

264 Advance alien missile

266 Hit shield, activate explosion

268 Hit missile, activate explosion

270 Skip if explosion not active

272 1st part of alien missile explosion

274 2nd part of explosion

276 3rd part of explosion

282 Check for goal reached

284 Remove alien at random

290 Add a missile at random

294 Advance bug, check for reaching fuel

296-298 Alternate bug images

300 Back to start of loop

14

STEALING THE DOS VECTOR

: (And getting away with it!)

Pointers, vectors, what the heck are they talking about? And why do
| want to steal a vector? Well, | want to show you how we can use the
DOS command vector at memory locations 10 and 11 to install a
memory resident utility to perform many of the most used DOS com-
mands, without having to wait for DUP.SYS to load in, and without los-
ing whatever BASIC program we have in memory at the time.

There are many locations in the Atari's memory which we call
pointers or vectors, These are simply two bytes containing an address.
This address is usually the beginning of a machine language routine
to be performed. Such a vector exists at memory locations 10 and 11,
the DOS vector, or DOSVEC for short, This is the address the com-
puter goes to whenever we type the command “DOS"from the
keyboard.

‘Since Atari Basic is in ROM memory, so are most of its pointers for
its different commands, i.e, LIST, RUN, etc. Only one command, the
DOS command, has a vector in RAM. Since it is in RAM memory, we
can change it to whatever we please.

For those of you who are still having a little trouble understanding,
try to imagine the computer as a very forgetful person. So forgetful in
fact, that he has to keep the addresses of where he lives, where he
‘goes to school, what number to use when he calls home. . .OK? Well,
what happens to this forgetful person when we sneak in and steal the
address for where he goes to school and leave the address for a local
bar in its place? School takes on quite different meaning!

This is precisely what we are doing in our example program,
Quikdos. All we need to dois replace the address in DOSVEC with the
beginning address of our program. That way, whenever we type DOS
from the keyboard we will go directly to Quikdos. Voila, a simple way
to hook extra little machine language utilities into BASIC without hav-
ing to remember some obscure USR command.

There is one small problem to this approach. Whenever the RESET
key is pressed, the operating system cleans up its pointers and resets
them to their original values. Like | said, just a small problem. The
values to use to reset DOSVEC are also in RAM memory at addresses
5446 (lo) and 5450 (hi). If we change those addresses too, even a
system reset can't wipe out what we have done! What pow

You might want to try typing in the following lines of BASIC code
just for fun. To illustrate the use of the DOS vector, let's detour it right
back to BASIC. Not of much use, but it does illustrate a point.

10 REM BASIC starts at $A000 (40960)
20 REM Calculate pokes

30 ADDRESS = 40960

40 Hi = INT(ADDRESS/256)

60 LO = ADDRESS-HI*256)

60 POKE 10,LO:POKE 11,HI

70 POKE 5446,LO:POKE 5450,HI

80 END

After typing in these lines(you can, of course, leave the REM
statements out), run the program and then type DOS and hit the return
key. If all goes well, all you will get is the READY prompt. Type LIST
land you'll see the program is now gone. That is because 40960 is the
BASIC coldstart address and BASIC has reset its program pointers,
Oh well, you didn’t want to save the program anyway! Try the system
reset key now and then try DOS again. There is no escape, The real
DOS is apparently gone. It isn't really gone, but until we either change
DOSVECG back or power down, it can't be found.

Now for the example program Quikdos.

Quikdos is a memory resident utility which provides immediate ac-
cess to the most used DOS commands without destroying the BASIC
program currently in memory. | don't know about you, but most of the
time when | go to DOS, all | want is a directory of the disk files. But
unless | have a MEM.SAV file on the disk, | lose my BASIC program in
memory. And if | do have a MEM.SAV file, it takes an unacceptable
amount of time just to get a disk directory. Enter Quikdos.

Typing in Quikdos.

Format a diskette and write DOS files to it. Make sure you are using
DOS 2.0!

Type in the BASIC loader program and SAVE IT TO THE DISK. This
is very important since just one wrong number in the data statements
could cause your computer to go to never-never land and you will have
to power down, and all the work goes down the drain.

Make sure the same diskette we just prepared is in the drive and run
the program. If all goes well, you should hear the disk drive start up,
write, and then the words ALL DONE will be printed on the screen.

Once again, make sure the BASIC program has been saved to the
disk and turn the computer off and then back on again.

‘You should hear all the normal things happen and the READY pro-
mpt appear on the screen, Quikdos is now installed and ready to use.

Page 15 (scan)

=>

Using Quikdos.

Upon tying the DOS command from BASIC, you will be presented
with the Quikdos menu and the right bracket prompt will show you
Quikdos is waiting for your command.

There are seven Quikdos commands.

4. Disk Directory

2. Return to Basic

3. Lock a file

4, Unlock a file

5, Delete a file

6. Rename a file

7. Go to the Atari DOS menu.

At this point simply enter the number corresponding to the com-
mand you want. If the command is anything other than 2.BASIC or
7-008, you will be presented with a second right bracket prompt. For
the Directory command, enter the number of the drive you wish to read
or just hit RETURN for drive one. After displaying the disk directory,
the display will pause until you hit RETURN again, Then the screen
will clear and the Quikdos menu will reappear. If you make an error,
the error number will be displayed and you will be returned to BASIC.

For the commands Lock, Unlock, Delete, and Rename, the second
bracket prompt means Quikdos is waiting for you to enter the name of
the file to be processed. Enter the file name exactly like the Atari DOS
manual teaches for its corresponding DOS commands. Don't forget
the D: preceding the name. For the rename command, the first
filename should be followed by a comma followed by the new name
(without the D:). Once again, any error will display the appropriate error
number and return you to BASIC. Wildcard characters can be used,
but be aware that Quikdos will not ask you to verify when deleting a
file, This feature was left out due to memory considerations.

Should you wish to use the Atari DOS for copying files or whatever,
just use command #7.

BEWARE!

Writing DOS files while Quikdos is still connected can be
disastrous. Dos will permanently change its vectors to Quikdos’ and
‘command #7 will send you right back to Quikdos, If you must write
DOS files, boot up with a “clean” version of DOS.

‘Quikdos uses all of page 6, the cassette buffer, and the printer buf-
fer for input. This was done to avoid using any of BASIC’s program
area. If any application program uses page 6 for any reason, Quikdos
will be mutilated and could crash the system. Using the cassette with
Quikdos will also cause instant death when the DOS command is ex-
ecuted. Since the printer buffer is used for input only, use of the
printer will not adversely affect Quikdos. The Monkey Wrench from
Eastern House Software will not function with Quikdos since it uses
page six for variable storage.

There are still many things other than just executing DOS com-
mands, though, that can be hooked into BASIC via the DOS vector.
Possibly many of you have ideas for programming utilities you might
find useful. Let's hear from you!

— Bob Luce

UPPERCASE AND LOWERCASE

IN GRAPHICS ONE AND TWO
In the last issue of the newsletter, | mentioned it is possible to have
both uppercase and lowercase letters at the same time in graphics

modes one and two. Since then several of you have asked how it can
be done, so | have put together a short program to explain how it’s
done. In the process | got a little carried away, and | have also included
a subroutine to checks user input for correct responses, and a
backspacing routine for graphics one and two.

1am going to go through the program explaining the major pro-
cesses pretty much line by line. For some of the more advanced pro-
grammers out there this may seem a bit too detailed, but bear with the
rest of us and we'll all learn together. If you have a faster or better way
to do this let me know.

LINES 10-130 are the dimentioning and initializing section.

30 opens the keyboard to be read for input.

40 moves RAMTOP to reserve memory for the character set to be
moved.

60 turns the cursor off,

90 moves the entire character set.

100 replaces the control graphics characters with the uppercase
characters.

110 moves the punctuation marks so they may be used.

120 makes the.first character (ATASCII 0) a blank. See what happens
if you remove this line.

LINES 140-370 are the main program lines. Here is where your pro-
gram will be.

15

470 sets the parameters for an input from the user. See line 300
also.

190 tells the computer where the new character set is located. This
line must be repeated evertime a GRAPHIC statement is made.

200-230 here the print statements are entered just as they normally
are to produce multiple colors in graphics one and two.

240-270 here the print statements are altered to use the new
character set. These will produce upper and lower case letters at the
same time by using control graphics characters in place of capital let-
ters. When typing the print statements, you must use the correspon-
ding graphics key in place of the desired capital letter or punctuation.
Change the text of line 240 using this method and watch the results.

290 prints each character on the screen one at a time at location 1,5,
and at the same time prints the corresponding ATASCI! number in the
text window. Note: when character 125 is printed it will clear the
screen.

If you have the patience this line will enable you to chart where each
character and color group is located by ATASCI value. But if you have
access to a copy of “Your Atari Computer” it is easier to look on page
345. They have done all the work for you, and it helps take some of the
mystery out of the moved characters. Also, look at Appendix D to find
out what keystrokes produce which characters.

300 is a text line asking for an input from the user, It asks a question
and then sets the parameters for the input. MAX = maximum length of
the answer. XX = X co-ordinate of the position statement. Y = the Y co-
ordinate. NUM or LTR determines whether the answer is to be upper-
case only, upper and lowercase, or numbers only. NUM=1 for
numbers, LTR=1 for uppercase. LTR=2 for upper and lowercase.
GOSUB either 380 for letters or 390 for numbers. The POKE is to clear
the last key pressed.

340 prints the answer in the altered character set and the true
character set. The true value of the answer is stored in ANS2S.

360 and 360 accept the ending flag.

400 and 420 disables the break key.

430 clears the last key pressed and turns on either the uppercase or
lowercase character set.

‘460 gets a key and looks for the back space key.

470-550 sets the parameters for which keys are to be accepted. |
have set the parameters as shown for a program | am working on. You
can set them to accept any key you want by stating its ATASCII
number as shown.

570 alters the ATASCII value of the apostrophe for the new
character set.

600 alters the ATASCII value for the capital letters.

620 counts the letters and positions them in a string.

LINES 660-720 are the back spacing routine for graphics one and

two.

LINES 730-770 contain the subroutine to position and print each
character on the screen in any of the text graphics modes. It can also
be used to print whole statements as it was in line 360. In a long pro-
gram with many position statements this can save memory.

780-710 is used to print ANS$ and ANS2S and their ATASCII values
in the text window.

There are some drawbacks to redefining the character set as it was
done here. The main disadvantage is we've lost the ability to easily
display numbers and graphics characters. If you need to display
numbers and graphic characters, you will have to use the standard ap:
proach to text display when in graphic modes one and two.

In case you were wondering why anyone might want to go toll this
trouble just to have upper and lowercase on the same screen, and be
very selective in what keys the user is allowed to enter, I'll give you
something else to think about. We, as a users group, are trying to in-
crease the quality of the software available to us, and it's little things
like use of upper and lowercase letters which make a program visually
and gramatically correct. Checking each key for correct input means a
program will be harder to crash, and incorrect information cannot be
entered.

Educational software is the fastest growing field in home computer
software, and if we let the writers know now we are not going to use
poorly written programs, we may be able to steer them in the right
direction from the beginning. By learning what can be done with our
computers we will be less likely to accept second rate programs.

| hope you have been abie to follow what was going on. If you have
learned something this has really been worthwhile. For a more com-
plete explanation on redefining character sets read chapter three of
omputel's First Book of ATARI Graphics”. Questions, comments,
and curses will gladly be accepted and answered as soon as possible.

—Robert Browning

Page 16 (scan)

TYPESETTING
FROM YOUR COMPUTER

ATARI OWNERS: If you have a modem, text editor, and com-
munications program to send ASCII files, you should consider
the improved readability and cost savings provided by
TYPESETTING your program documentation, manuscript,
newsletter, or other lengthy text instead of just reproducing it
from line printer or daisy-wheel output. Computer typesetting
by telephone offers you high quality, space-saving copy that
creates the professional image you want! Hundreds of type
styles to choose from with 8 styles and 12 sizes “on line?
And it’s easy to encode your copy with the few typesetting
commands you need.
COMPLETE CONFIDENTIALITY GUARANTEED
— Bonded for your protection —
PUBLICATION DESIGN, EDITING, & PRODUCTION

Editing & Design Services

30 East 13th Avenue Eugene, Oregon 97401
Phone 503/683-2657

Best of ACE books
Volume 1 are bound issues of the ACE Newsletter from the first issue,
Oct 80 to June of 1982

Volume 2 covers July 1982 to June 1983
Only $12 each ($2 extra for Airmail). Available only from:
George Suetsugu

45-602 Apuapu St

Kanoehe, HI 96744

SortFinder 1.2

Composite index of Atari related articles from 5 popular computer
periodicals from Apr ‘81 to June ‘83, including ACE. Only $6 for ACE

member from:

Jim Carr, Valley Soft
2660 S.W. DeArmond
Corvallis, OR 97333

a Atari
AK |Comeurer

if EnTHUsIAsTs 7
3662 Vine Maple Dr Eugene OR 97405

FIRST
CLASS
MAIL

Atari Computer Enthusiasts

AC.E. is an independent, non-profit and tax exempt computer club
and user's group with no connection to the Atari Company, a division
of Warner Communication Company. We are a group interested in
educating our members in the use of the Atari Computer and in giving
the latest News, Reviews and Rumors.

All our articles, reviews and programs come from you, our members.

Our membership is world-wide; membership fees include the A.C.E.
Newsletter. Dues are $10 a year for U.S., and $20 a year Overseas Air-
mail and include about 10 issues a year of the ACE Newsletter.
Subscription Dep't: 3662 Vine Maple Dr., Eugene, OR 97405.

**President—
503-689-5355
Vice Pres— Larry Gold, 1927 McLean Blvd,, Eugene, Or 97405 /
503-686-1490
Secretary— Charles Andrews, POB 1613, Eugene, Or 974401613
503-747-9892
Librarian— Ron and Aaron Ness, 374 Blackfoot, Eugene, Or 97404
(603)689-7106.
Editors— Mike Dunn, 3662 Vine Maple Dr., Eugene, Or 97405
503-344-6193

Jim Bumpas,
503-484-9925
E.RAC.E. (Education SIG Editor)— Ali Erickson, 295 Foxtail Dr.,
Eugene, Or 97405 (503-687-1133
E.R.A.C.E, Corresponding Secretary— Robert Browning, 90 W. Myoak,
Eugene, OR 97404 (603)689-1513.

Kirt Stockwell, 4325 Sean , Eugene, OR 97402

4405 Dillard Rd., Eugene, Or 97405

Send 27 cents in stamps or coin (50c overseas) to the Ness’ for the
new, updated ACE Library List —new in Oct!!

Bulletin Board (503) 343-4352
On line 24 hours a day, except for servicing and updating. Consists of
a Tara equipped 48K Atari 400 with a TARA keyboard, 2 double-density
double sided disk drives with an ATR 8000 interface, 2 double density
Percom disk drives, an Epson MX80 printer, a Hayes SmartModem,
running the ARMUDIC Bulletin Board software written by Frank L. Hu-
band, 1206 N. Stafford St., Arlington, VA 22201. See the Nov ‘82 issue
for complete details.