Dale’s Atari 800 Games › ACE newsletters

ACE newsletter, August/September 1982

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_1982_08-09.

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)

R) Atari
Be

Com PUTER

tf ENTHUSIASTS
3662 Vine Maple Dr Eugene OR 97405

Avug/Sept 1982
Mike Dunn and Jim Bumpas, Editors

Gobbler
by Sydney Brown

program inside

Page 2 (scan)

News Bits

The July 26, 1982 edition of InfoWorld ($25 yr, call
800-343-6474) is devoted to the Atari computer and has all
kinds of interesting tidbits, In case you are not Familiar with
InfoWorld, it is a weekly newspaper for the Microcomputer, and
is very worth while if you are interested in the latest news,
although Marc Benioff is usually even more current!

They begin by saying that about 300,000 Ataris have been
sold and that Atari is outselling Apple. They report that
Roger Baderscher, the former head of Atari, is leaving to form
his own company. There is sort of a panel discussion with Bill
Wilkinson of 0,S,5., Ken Grant from Synapse, Robin Sherer
from Santa Cruz Software, and Jim Capparell of Antic with
Cylde Spencer from the San Francisco Bay Area Atari Group
representing the user’s, Some interesting comments on the
Atari BASIC vs Microsoft's were that now that there are so
many Atari programs and books on programming in Atari BASIC
are out, the lack of compatability with Microsoft has become
much less inportant. As Bill Wilkinson points out, the new
ANSI standards for the new BASIC, as reported in a recent
issue of Byte, show Atari BASIC to be much closer than
Microsoft, especially in string handling! So Bill was right all
along when he insisted that the Atari String handling was
superior to that of MicroSoft, In our local area, now that
MicroSoft is out, many are buying BASIC A+ from 0.8.8.
instead!

There are articles on Electronic Fantasy, Synapse Software,
and nice reviews of FileManager 800, MicroPainter, Lon
Poole’s book, "Your Atari Computer" and Monkey Wrench, all
similiar to those you have already read in A.C.E, There is also
an interesting article on anew CP/M-Atari Interface that
allows you to hook up your Atari to a CP/M computer by USS
for $177, and a review of the new PERCOM double-density
drives- we have ordered a double drive for the bulletin board
and will review it and the Leading Edge drive soon.

The most interesting product announced in this issue was a
3 inch Micro-FloppyDisk drive and cartridge with 1 megabyte
capacity for $899 by Amdek, 2420 E, Oakton St, Suite E,
Arlington Heights, I] 60005- no mention of Atari, but I have
heard that they plan on releasing it in an Atari version "soon

JASE EEE EEE ESE

ELCOMP 53 Redrock Lane, Pomona, CA 91766, the
German-based computer company will announce at the London
Personal Computer in September some of their new products,
including the new book; Games for the Atari ($7.95, with
cassette, $40)see review this issue), ATEXT-1 a
wordprocessor for only $30 on cassette but works for both
cassette and disk and will be reviewed when we receive it, and
a EPROM-cartridge kit that allows two 2532 , 2732, or 2716
EPROMS to be plugged into the cartridge slot for $20
(bareboard) or $30(with EPROMs). They also have an EPROM
maker ready that uses the joystick ports but I don’t know the
price yet.

Consumer Reports is looking for information for user’s and
their experiences with personal computers, presumably for an
upcoming issue, They have asked for information about all the
“popular” computers, specifically, Apple, Pet, IBM and Radio
Shack, but left out Atari!! Please tell them about your
computer, so we are not left out. Write to Consumer Reports,
Box RME, 256 Washington St., Mt. Vernon, NY 10550,

Several companies are releasing Trac Balls now- will keep
you updated,
-Mike Dunn

August Meeting

Meetings are always on the 2nd Weds night at 7:30, except
this month there will be no regular meeting, Instead, there
will be a gala pot-luck picnic at the covered picnic tables at
Hendrick’s Park on Wednesday, August the 18th. Call Kirt
Stockwell on details and what to bring, There is power for
computers at the picnic site,

Bulletin Board
(S02) 343-4352

We have obtained a used Atari 400 for the dedicated Board
that will run 24 hours a day. A new Canadian company,
Tara,3648 southwestern Blvd., Orchard Parky Ne¥. 14127 or 2
Robert Speck Parkway, Suite 1500-5, Mississauga, Ontario
L47-1H8 Canada, has kindly donated a 48K board for the 400
that retails for $199! When we receive it, we will install it,
review it and you can see it in action, We have also ordered a
dual double-density Percom disk drive, that will eliminate
many of the problems that we have been having with using only
one drive- we will be able to put much more on line, and still
have room for your messages, programs that you upload, etc:
Frank Hubband has upgraded the Armudic Bulletin Board to
work with the Fercom drives and has many new features as
well as fixing of the bugs- will go on line when we receive it.
By the end of August all should be up- Kirt Stockwell will be
SYSOP for the last week or so of August,

Remember, you can obtain “Best of Ace-1982 1/2" Game
Disk or Cassette, or Utility Disk and support the Bulletin
Board, as well as get some great programs for $15 each or $20
for a double sided Disk. Those who ordered already~ there
was a slight problem with some of the Utility programs, but
now are fixed so you should receive you disks soon, if you
haven’t already. Order from Chuck & Jody Ross, 2222
Ironwood, Eugene, Or 97401, You can also get the bound
edition of "All of ACE" for $12-$14 depending on !st class or
book rate from George Suetsugu, 45-602 Apuapu St, Kanoehe,

HI 96744,

GOBBLER
~by Sydney Brown, Rockhampton, Australia

(See cover picture)

‘The Gobbler program uses mostly standard programming
methods and a complete description follows.

Lines 0-100 are standard and just put up the instructions,

Lines 100-105 are used to redefine the character set by
redirecting the computer from the normal ROM based character
set to anew location in RAM where I have placed the
information for the new characters and copied the original
characters for the rest of the arear

T have reserved 2 pages (512 BYTES) at the top of user
RAM and placed the new character set up there, by reading the
data statements in Lines 1000-1009 and placing them in the
correct position and order. Each number represents the binary
cade for ane line of one character,

Lines 190-199 are used to initialize all the variables and
also modifies the basic maze to the level you have reached,

Lines 250-299 determine how many Globs are allowed at the
level you have reached.

Lines 300-389 are used to give the Globs their limited
intelligence and control their movement.

Lines 400-410 are used to produce the smiles on the Globs
and the shocked look on the man.

Instead of having extra characters I just POKEd the slight
variation directly into the new character set to modify the
correct positions, This changes all the characters simply and
quickly without having to PLOT the new characters into the
positions occupied by the Globs or the men,

Lines 500-599 are used in connection with 600-699 to
display the end of a level and stepping up to the next level.

Lines 600-658 are used to see when the man hits a nugget,
a bag of gold, or goes through the tunnel at the edge of the
screen,

Lines 900-919 draws the maze and the boundaries for each
level.

Lines 920-999 are used to fill all the blank areas with
nuggets,

H, Brown, Australia

Page 3 (scan)

ADD Aine 2a xe Eke

6 REM
7 REX x GOEELER
bene by = Bore RZ: Pls

9REH ME Syirey Brom 1
10 REK mx tuo/Sent oz mx |
21 REM nmonuneemereneneonon

15 2 "IDI C15) H(5), 015)
20 POKE 710,2243POKE 709,141
"y | GOBBLE
Roe Boys 5
2 PORE 752,11?" %

"49

"YOU ARE INSIDE A MAZE COLLECTING G

uD’

23 ? “NUGGETS, BUT YOU HAVE A PROBLEH

GOLD YOU ARE COLLECTING 15 NOT":? "YOURS,IT
BELONGS TO THE GLOES."

257 "AS YOU CAN IMAGINE THE GLOES ARE NOT
"AT ALL PLEASED AND TRY TO CATCH YOU.
‘27-2 "YOU TRY TO COLLECT ALL THE GOLD YOU":?
CAN BEFORE YOU ARE CAUGHT 11"%? $2 “EACH LE
VEL TS MORE DIFFICULT"

28-7 "YOU HAVE 4 CHANCES TO COLLECT THE GOLD"

29-2 “USE JOYSTICK 1 70 CONTROL YOUR SHILEY":

7 “EACH NUGGET SCORES 1 POINT & THE BAG":? “O

F GOLD SCORES 20"

32 7:17 "A BONUS OF 100 FOR A COMPLETED HAZE"

42.12 "by Sydney Browr-Fun-Co "1? “aiven to

ACE nenbers"

40 ? "Press START to start the gane"}:POKE 53

D0

‘30 TF PEEK(S3279906 THEN 50

100 POKE 106,PEEK(106)-2;GRAPHICS 181? #6)"
setting up"

101 POKE 710,1403POKE 708, 14;POKE 709, 236¢POK

E 711,222%4-PEEK(106)x256iFOR B=0 TO S11

102 TF B>319 AND BC3S2 THEN READ D{POKE +8,

NEXT B

103 TF 8367 AND €4376 OR B>383 AND B<3P2 THE

N READ DIPOKE A#B,DSNEXT B

105 ZZ=PEEK(S73VHB) tPOKE A*B,ZZ:SOUND 0,22,1

O,BINEXT BIPOKE 75é,PEEK(106)

S=1:POSITION 0,0:7 #65"

scored —LEVEL1),j,"tREM “score and "level"

and "ji" in inverse

194 COLOR Z342PLOT X,YsHe9iU=0:ND=0

195 OW L GOSUE 900,920,900,920,900,920,900,92

0,900,920,900,720,900,920,900,920,900,920,900

1920,,900,920, 900,920

SPLOT 1GHX,0:POSITION 15,04? #6}

197 EX=22}X=181Y=6:CY=1:00L0R 234:PLOT X,Y3TF
D12 THEN COLOR 72:PLOT 10,3:PLOT 10,9¢ND=ND

2

198 HUL)=13V(1)=630(1)=2353H(2)=1010(2)=1020¢
2)=2353H(3)=610(3)=2iC(3)=235:IF L>14 THEN CO
LOR 72:PLOT 2,6¢ND-ND+H

199 H(4)=1810(4)=310(4)=2353H(5)=920(5)=620(5
Y=295¢IF L>16 THEN COLOR 72:PLOT 14,6¢N0=NO+1
200 ST=STICK(0)

201 TF ST=11 AND XL THEN LOCATE 19,¥,2:IF Z=
32 OR 7=295 OR Z=112 THEN GOSUE 600:K=X-111F
X<O THEN ¥=19

‘202 TF ST=11 THEN LOCATE ¥-
=235 OR 7-112 THEN GOSUE 600%
Wty

203 IF ST=7 AND 018 THEN LOCATE 0,Y,Z3]F Z=3
2 OR 7-235 OR Z=112 THEN GOSUE GO:X=X+1SIF X
>19- THEN Xe0

204 IF ST=7 THEN LOCATE X+1,Y,Z¢IF Z=32 OR Z=
235 OR Z=112 THEN GOSUE G00:X=X+1SIF 019 THE
N X=0
206 F
=235 OR

‘IF 232 RZ
ASIF X<0 THE

9

THEN LOCATE X,Y-1,2:1F 232 OR Z
2 THEN GOSUR &¢ 4

Au 22) = Shenae 220 - AUST Rg - Add, oa

C BE

a6 = a= sec

THe by Thiep Pm 220 EXER STF £0100 THEN HEINT(RNO(O)EI7) 41

JEINT(RND(0)X9)+13LOCATE H,V,ZIF Z=32 THEN
COLOR 112:PLOT H,VsEX=0
‘222 TF EX=20 THEN COLOR S21PLOT H,ViCOLOR 234
SPLOT X,YSPOKE 77,0
250 CY=CY+1tIF CYS THEN CY=t
251 ON L GOTO 258,268,266)266, 264,264, 262,262
1 260,260 260 260,260, 260,260,260
260 TF CY=5 THEN N-5:G0SUE 300;G0TO 200
262 TF CY=4 THEN N=43GOSUE 300;G0T0 297
‘264 TF CY=3 THEN N=2:G0SUE 300;G0TO 299
265 IF CY=2 THEN ISLE 30036070 292
268 IF CY=1 THEN N=1iGOSUB 300:G0TD 290
290 IF L=t OR L=2 THEN FOR Wet TO 10:NEXT W
292 TF L=3 OR L=4 THEN FOR Wel TO SiNEXT #
299 COTO 200
300 IF YOV(N) THEN 350
301 IF XCH(N) THEN 325
302 TF Y<V(N) THEN 975
303 LOCATE H(N)+1,W(N))Z:IF 7=234 THEN 400
304 IF 2=32 OR 7=735 THEN COLOR C(N) SPLOT H(N
),WCN) SHON) =H(ND+1 COLOR 2015 PLOT. HON) »YOND IC

(H)=Z2RETURN

305 LOCATE HON) ,VEND+1,2

306 TF Z=32 OR 2+235 THEN COLOR C(N)SPLOT H(N
) ,VOND TVOND=VEND#1 3COLOR 201 2PLOT HON) ,VAAD SC.
(N)=ZSRETURN

907 LOCATE H(W) ,W(N)=1,7

308 TF 2-32 OR Z=235 THEN COLOR C(N):PLOT HUN
VCN)=VUN)=1 COLOR 201 $PLOT H(N) VCH) $C
RETURN

309 RETURN

325 LOCATE H(N)=1,(N),Z1IF 2=234 THEN 400
926 TF 7=32 OR 7235 THEN COLOR C(N) SPLOT H(N
d4YQN) SHON)=HOND=LECOLOR 2003PLOT HON) VQ IC
(A) =Z:RETURN

327 LOCATE HON) ,V(ND#1,Z

‘928 TF 232 OR 2235 THEN COLOR CCN) {PLOT HON
(N)=U(N)ALECOLOR ZOLSPLOT HCN) ,W(N) IC

329 LOCATE HAND /VON)=1)Z
380 IF 2=32 OR 7=235 THEN COLOR C(N)sPLOT H(W

RETURN
350 LOCATE H(N) ,WON)#1,ZSIF 2=234 THEN 400
951 TF Z=32 OR 25235 THEN COLOR C(N) SPLOT H(N
,UCND 2VQN)=VQND#LSCOLOR 2OL2PLOT HON) VDI
(N)=ZERETURN
352 TF HON)<19 THEN LOCATE H(N)#1,(N) »Z
9363 IF (2-32 OR 7=295) AND H(N)<9 THEN COLOR

CUNDSPLOT HCN) ,V(N)SH(N)=H(N) #1 COLOR 201 3PL
(OT HAN) CN 3C(N)=Z¢RETURN

354 LOCATE H(N)-1,V(H0 5Z

395 IF 2-92 OR 7=235 THEN COLOR C(N) SPLOT H(N
), YON) SHON) =HQND“1SCOLOR 201 SPLOT. HOND VON) IC.
(N)=Z2RETURN

369 RETURN

375 LOCATE H(N) ,V(N)=1,ZSTF 2=234 THEN 400

976 TF 2=32 OR 2-235 THEN COLOR C(N) SPLOT H(N

),UCND 2U(N)=YQN)—LECOLOR 2015PLOT HON) VND IC.

(N)=Z2RETURN

377 LOCATE H(ND#1,V(ND 2

978 IF 7=32 OR 7235 THEN COLOR C(N):PLOT HON

UCN) SHCND=H(ND +1 SCOLOR 201 SPLOT HOND OND SC.

(N)=Z2RETURN

379 LOCATE HN)=1,Y(N) )Z

380 IF 2-92 OR 7=295 THEN COLOR C(N)sPLOT H(N

‘ UCN) SHON =H(N)=LSCOLOR 201:PLOT HCN) ,U(NDSC
RETURN

» RETURN

‘900 PP=PEEK(106)x256+332¢POKE PP, 189:POKE FF+
1, 19S:POKE PP#8,Z31:FOR WO TO 160 STEP 10:F0
R eH TO He20 STEP 2

401 SOUND 0,HH)10,10;0F WOME? THEN COLOR 106
SPLOT XY

402 TF WHCHHLO THEN COLOR 2943PLOT X,Y

904 NEXT HAINEXT WiAK=AKH

QWs maw cont

405 COLOR 23B:PLOT X,YiFOR H:250 10 5 STEP -7
SSOUND 0,M)2,14:NEXT WICOLOF 32:PLOT X,Y

408 POKE PP, 195:POKE P41, 89¢POKE PP#8, 15335
‘DUNO 0,0)0,0

409 TF AXA THEN 194

410 COLOR Z38¢PLOT X,YSPOSITION 4,11:? 463"a2
relitHHover” POKE 52279, 0

412 FOR H=1 TO L003NEXT HiFOR WH=1 TO 3¢FOR W
=0 TO 255 STEP 2:S0UND 0,H,10,103S0UND 1,255-
Wy10,203NEXT HENEXT HO
415 SOUND 0,0,0,0:S0UND 1,0,0/0
420 TF PEEK(53279)06 THEN 420
421 POSITION 0,01? 465"9"36070 190

‘500 L=LeLIPOSTTION 15,02? 46:1

599 GOTO 194

600 COLOR 32sPLOT X,YSIF 2=32 THEN RETURN

605 IF Z=112 THEN 620

610 SOUND 0,49, 10,10:5-S+1:ND-ND#1 POSITION 5
1037 RSISYIF L/ZOTNTOL/2) AND NODLOS THEN 65

)

642 TF L/2=1NT(L/2) AND wilh THEN 650

619 SOUND 0,00, 0¢RETURN

620 $=S+20;POSITION 5,01? 44;StFOR WH=L TO 7%
FOR H=0 TO 50 STEP 10:SOUND 0,M,10,14

(622 TF W=1 OR WH=3 OR RAS OR WH=7 THEN COLO
R 234IPLOT 1,0

623, TF WH=2 OR He OR Web THEN COLOR 1123.
oT HY

629 NEXT WiNEXT WHSSOUND 0) 0, 0, O:RETURN

650 LOCATE X)¥#1,ZSIF 2=235 THEN Y=YH1iG0T0 6

Cy
452 LOCATE X,Y-1,Z0TF 2=235 THEN Y=¥-1:6070 6
oo

654 TF X<19 THEN LOCATE X+1,Y,231F 25235 THEN
XEXHLIG0TO 660

655 IF YO0 THEN LOCATE ¥-1,9,Z¢IF 25295 THEN
XeX-L1G0TO 460

657 LOCATE 0,4,Z:1F 2=295 THEN X=0:Y=6:60T0 6
60

658 LOCATE 19,6,231F 2=235 THEN X=19:Y=6

‘660 COLOR 2343PLOT X,Y3FOR W190 TO 0 STEP -5
SOUND 0, 10,102SQUND 1,W#1,10,103]F W/10=IN
TOWN) THEN PORE 712,184

662 TF (H-5)/10=INT((W-5S)/10) THEN POKE 712,0
664 NEXT WiS=5+100:POSTTION 5,03? #635

699 SOUND 0,0,0,0:S0UND 1,0,0,03POKE 712,030
70 500

900 COLOR 72:PLOT 0,1:0RAKTO 19, 1:0RAKTO 19,1
LYORAMTO 0, 11S0RAKTO 0,15PLOT 4,2:PLOT 4,33PL,
OT A,O:PLOT 4,9

901 PLOT 2,330RANTO 2,S:DRANTO 4,5:PLOT 2,930
RAWTO 2,7:DRANTO 4,7%PLOT 8,3:PLOT 9,3:PLOT 8
sP2PLOT 9,93PLOT 6)3

902 ORAWTO 4,S:ORAWTO B,SYPLOT 6)9%DRAHTO 6,7
SDRAATO 6,72PLOT 11,3:PLOT 12,3¢PL0T 12,43°0
T1L,SPLOT 12,9

903 PLOT 12,8:PLOT 10,5tPLOT 10,7:PLOT 10,60
RAWTO 12,O$PLOT 17,3DRAWTO 14,3:0RAWTO 14,5%
PLOT 14,7:0RAWTO 14,9

904 DRAWTO 17,9:PLOT 16,5¢DRAWTO 18,5¢PLOT 16
SDRAWTO 18,7

910 COLOR 2353FOR X=1 TO 18iFOR Y=2 TO 10:L00
ATE X,Y,Z8IF 2=32 OR D72 THEN PLOT X,¥

LL NEXT YENEXT XIPLOT 19,6:PLOT 0,63C0LOR 23
AYPLOT 18,6

949 RETURN

920 COLOR 235:FOR X=1 TO 18:FOR Y=2 TO 10:PL0
T X,YENEXT YINEXT XICOLOR 72:PLOT 0,6iPLOT 19
6

999 RETURN

1000 DATA 255,129, 129,129,129, 129, 129,255
DATA 60,126,219,255, 195,187,255, 170

12 DATA 40,124,219, 255, 153,195,102,60

1003 DATA 0,0,0,28,24,0,050

1004 DATA 145,82,20,120,274156,42,45

1009 DATA B,12,14)56,124)254, 254,124

New exe -F20 >

E. te qavr

Page 4 (scan)

leib

ana

4s RESTORE ]000

GB READ x, 1:
ee

92axYCOLOR TQ: PLC
SE W<> 54 THEN

qao RESTORE 920 +1

gaé COLOR 235: Fot
o I8:FoR Y=2TOIO! AC
KG 2: DS= S7RIO’ EF
DR277Q THEM PLOT X

Tae NEXTY: NEVTK;
j
)

| POT 06 + CQOR 2,

PLOT ILS
10R 72
gag vvlOT 6! DRI
PR 1G! PR GH
q0 a wes
2 J-O0 ' oa f0
as 7
gO
vs

Page 5 (scan)

Page Six
(Synapase, 820 Coventry Rd. Kensington, CA 94707 $30)

Page Six is a collection of useful utilities that you may add
to your own programs, The disk is copyrighted, but you may
incorporate any of the routines in your own pragrams and do
what you like with them, Most of the utiltiies are located on
page 4, and include both the assembly language listing as well
as the BASIC listing for your uses

Programs include a joystick expander program to simplify
joystick programming and an "informer" program that allows
you to see the status of various flags such as cursor column
and row, keyboard buffer, etc. There are programs that allow
you to print banners 1 1/2 inch high either vertically or
horizonally, a slow list utility to allow you to control the
speed of a listing and a program that allows you to better
utilize the console switches on your Atari.

Some of the more useful utilties on the disk is a Mini-DOS
that resides in memory on top of BASIC, A "Musician" program
that allows you to write short musical piece easily by
spcifying the note, octave, tempo, etc in musical notations, and
a Textual Display Enhancer that allow 4 different colors to be
displayed in Graphics 0.

All in all, many useful programs » written by sometime ACE
contributor Matt Loveless and one of his friends. Our "Best of
1982 1/2 utility disk" uses the text enhancer for the title page

~Mike Dunn

Atari Games and Recreations
by Herb Kohl, Ted Kahn; Len Lindsey)
(Reston Publishing Co, Reston, VA)

Here it is! A large, 338 book that teaches you to program
in Atari BASIC through Games and fun, Very well written and
entertaining, the book covers BASIC programming but also all
the special features of the Atari, including Graphics,
animation, sound and music, and color, There are lots of
programs listed, all fully explained, A book that I could
recommand to all most highly!!

Mike Dunn

Instant BASIC— 2nd
Astounding! Edition
by Jerald Brown

(dilithium Press, POB 606, Beaverton, OR 97075 $12.95)

‘This book uses a rather unusual approach to learing BASIC.
Each page is arranged differently and each has a variety of
pictures, drawings, symbols, and instructions. This variety
may be an attempt to make it light and interesting but was
distacting to me and made it difficult to concentrate and move
through the book smoothly.

The book must be used like a workbook and cannot be used
as areference book, The greatest drawback is problably the
fact that it is not written just for the Atari computer but for
many microcomputer BASIC’s, Differences between computers
are frequently mentioned and may be confusing to some people.

While the approach of this book is usiguq and may be very
helpful to some people, I found the book "Your Atari
Computer",reviewed last month, the most organized and
succinct for learning "Atari BASIC" as a beginner.

~Ken Springate

note from Editor! I rather liked the approach of this book, the
graphics and the comparisons of the various BASIC’s, The
three books mentioned above are all good for the beginner-
"Your Atari Computer" is best on teaching you to use your
Atari, especially if you just got it, Atari Games and
Recreation is an excellent quide to learing Atari BASIC, and I

like Instant BASIC as a general beginner’s guide to BASIC
with comparisons with other popular BASIC’s if you are
interested in learning to translate, You can’t go wrong with
any of them,

-Mike Dunn

GAMES FOR THE ATARI
By S: Roberts

(ELCOMP, 53 Redrock Lane, Pomona, CA 91766 $7.98, or $40

with cassette)

What does GAMES FOR THE ATARI cover? It covers
Display List Interrupts, GTIA or CTIA chip, Player Missile
Graphics, Redefining the Character Set, Sound, and Movement
in Basic and Machine language} GAMES FOR THE ATARI goes
into good depth. It has most of the information the
intermediate programer needs to knows

How does it go over the material? First it tells a brief
summary of what it is explaining, second it goes over examples
it shows through diagrams or through programs, next it tells
what lines in the program serve as what function,

‘What type of examples or games are in the book? There are
many different types of programs but for the most part they
are games} here are some titles Backgammon, Bomber,
Gunfighter, Calender, Robot-Attack, and Barrier,

My opinion of GAMES FOR THE ATARI. I feet that it gave
more understanding and more structured programing for the
Atari, I recommend this book for the intermediate programer
who don’t like most books because they are boring and don’t
give a lot of understanding, I have really enjoyed doing this
review for the Eugene Atari Computer Enthusiasts (ACE)

-L.J, Knoll

PROM-IT

EPROM development system for the Atari 800 computer by
MPC Peripherals Corporation, 9424 Chesapeake Dr., San Diego,
CA 92123)

What is an EPROM? An EPROM is an acronym for Eraseable
Programmable Read Only Memory, It is eraseable by exposure
to ultraviolet light. An EPROM works like a ROM but can be
reused and reprogrammed. This package consist of both the
hardware and software, The hardware connects to controller
ports 3 and 4 of the computer, The software has a good menu
and allows you to Check for erasure, Verify against RAM
buffer, Burn from RAM or disk file, Copy anather EPROM, Save
to disk file, Move to or Load from RAM buffer, Display EPROM
to screen ar printer, It also comes with Personality Modules
so that you can burn 2508, 2514, 2532, 2716, and 2732 EPROMs.

The package is complete and very easy to use and it works
very well, so far I have had no problems in any way with it, At
$199 from MPC it is worth it, Lets see more good products,

-E.J, Knoll

Page 6 (scan)

FULL-VIEW so

Hardware review of the 80 column display board by Bit 3
Computer Corp., 8120 Penn Ave. Minneapolis, MN $349,

by David Stellmack

Technical Editor

ACE of Columbus
(This is anew Atari Newsletter and with Dave as it’s technical
editor, should have some great articles. Dave kindly sent me
this review, which will also be published in his newsletter.
Contact him at 4615 Healy DR., Columbus, Ohio 43227.)

The Full-View 80 is the first 80 column board for the Atari,
Why get an 80 column board? Well, I have a special reason,
The computer I use at work requires an 80 column terminal and
I want to use that computer via modem from home. So, I rushed
right out and got a Bit 3, I’m sorry to say I wish I had waited,

First you must understand the Bit 3’ system requirements,
‘The Full-View 80 is available only for the Atari 800, A 32k
RAM board must be in the 2d slot of the memory area, and a
16k board in te ist slot. The last empty slot in the memory
area is where the Full-View 80 resides. I was lucky. I have
48k with a 32k RAM CRAM, A monitor is also required,

This is where trouble began for me, I have a NEC
composite color monitor, I purchased the color monitor
because I knew the 80 column boards were coming. Well, I
didn’t see in the Bit 3 literature the following line "Video
monitor is required ~~ color TV sets or most color monitors
cannot provide a satisfactory 80 column display."

Well, I was in a real fix, I went to my friend who has an
Apple and used his Amdek 300 hi-res green screen to finish
this review,

The Full-View 80 provides an 80x24 display which looks
very good, The lower case letters have true descenders, The
character size is 8x10 cell which looks very good and easy to
read, The EPROM on the board provides for 128 characters and
the documentation says the EPROM can be reprogrammed to
allow the user to make character sets, The standard set
contains upper and lower case ASCII characters plus line
drawing graphics suitable for business forms,

‘The on board firmware in ROM make the board usable from
BASIC or machine language, The Full-View 80 does not use
any of the ATARI RAM to display the screen. A software
controlled video switch permits one to switch between the
ATARI 40x24 and 80x24 under keyboard or program control,

In BASIC to go to 80x24 type! A=USR(S4818) CRETURN>,
All normal commands such as List, Print, Run, Break, Tab,
Insert Char, Delete Char, DOS, and the rest are supported in
80 column format, Use Open and Close statements to use the
Full-View 80 in a program,

‘The board comes with 60 Hz operation standard and 50 Hz
firmware is available by request. 80 column word processing
will be supported with Full-View 80 and the new 80 column
Letter Perfect from LIK. An 80 column assembler called Edit
6502 and an 80 column data base manager called Data Perfect
will be available from LIK,

Well, I guess it’s time to rate the board on a scale from
1-10 (10 the best), Igive the Full-View 80 a 6 because of the
non-compatibility of the NEC monitor. If you have a nice
non-color monitor this board is for you. If not, you are still
waiting like I am.

NOTE:

I took the Full-View 80 back and got my money back
because I want an 80 column board which I can use with the
NEC color monitor, I also called Bit 3 and spoke to a tech rep,
‘The rep told me the following: The problem is not a new one
and is general with all boards and personal computers (even
the Apple), Amdek has a converter to improve the Full-View
80 with the Apple but does not have any such converter for the
Atari. The following software is compatible with the Atarit
8k BASIC, Atari Microsoft BASIC, BASIC A+, DOS 2,08, Editor
Assembler, APX Pascal, and many of the other common
packages, The ones they know which do not work aret Medit,
Telelink, and many of the direct cursor addressing programs, or
programs which invoke a different graphics mode, LIK plans
to release 3 programs compatible with the Full-View 80, Atari
version,

Hints
by Matt Giwer

Some months ago the newsletter published a question on
how to use the features of the ATARI Word Processor with the
EPSON printer, Perhaps I don’t understand the question but it
is rather simple. To print something in italics, for example,
the key sequence is CONTROL/INSERT, ESC, 4 and you will get
this effect, To turn it off you use the same sequence except 5
instead of 4 and the italics go away. The other double strike
and so forth are the same, The CONT/INSERT (INSERT is the
shifted >] permits the ESC code to go into the text rather than
the software shifting modes, To make a direct translation to
some of the more complex functions of each it will be
necessary to add the GRAFTRAX chips at $60 to $90 and then
redefine the control codes of the EPSON to those of the WP,
This I have not had the interest to go into. The other approach
is to go into the WP software and change the jump table for the
control codes to put EPSON codes in the text. That seems to
be rather more effort than it is worth, If his is the answer to
the question I regret not writing earlier,

<

Inside Atari DOS
by Bill Wilkinson

(Compute! Books, POB 54064, Greensboro, NC 27403,
(800)334-0868, $20)

This book was written by Bill Willkinson of 0.5,5., the
authors of Atari BASIC, BASIC A+, and the Atari DOS. Bill is
also the author of the series of articles in Compute! called
InsighttAtari that is must reading for serious Atari owners,
Beginning with a fascinating chapter on the history of the
Atari computer and Atari BASIC, it goes on to an overview of
the Atari DOS, The book is about the File Manager System
part of DOS 25, that is, the file called DOS.SYS, The DUPSYS
part is owned by Atari and the listings can be obtained from
them, 0.5.5, owns the rights to the DOS.SYS. After the
overview of the DOS, each command and procedure used by the
DOS is explained in exhaustive detail, The final part of the
book is the complete, well-documentated assembly-language
listing of the complete DOS.SYS,

If you would like to know all about how DOS 25 works, this
is the book for you, Assumes a fair amount of knowlege of
assembly language} not for beginners.

Affordable Modems

The Anchor Direct Connect Modem called the Signalman
Mark II is now available in an Atari version that plugs right
into the interface and costs only $99, It works with the
modular type phone only, connecting directly into the headset,
It works well, and with the Jonestrm modem program in the
June issue (also in the BEST of .. above), you have a very
inexpensive way to enter the world of computer
communications. I have tested the two together and they work
Fine,

Microbits (434 W, ist St. Albany, Or 97321 (503)967-9075, who
are local members of ACE are marketing a modified version of
above for Atari owners without an interface. Their modem will
connect directly into the joystick ports and come with special
terminal software. They have given the club several
prototypes and they work fine. When they are nationally
marketed, they will retail for $160, but ACE members can get
‘them directly from Microbits for $140,

Page 7 (scan)

ws uuty fas ut er i RR ol “oH fas tH as uty
ee ‘aoe ee Sue es ee 8 a

ADD A LITTLE TOY
USING THE JOYSTICK AND PADDLE IN ATARI PILOT
by Ruth Ellsworth

The simplicity of ATARI PILOT makes is easy to use the
joystick or paddle to make programs in PILOT more interesting
and enjoyable for children of all ages. In educational
applications they can be used for testing of a multiple choice
type, and can be especially useful for use with children who
cannot read.

In ATARI PILOT the position of the controller is "sensed"
by the computer, and a USE module tells the computer what to
do at that position of the controller. The Joystick Etch
program included at the end of this article demonstrates the
way in which the modules are used, and the "sensing" of the
computer, Debbie at ATARI, who has been most helpful, sent
me the information which made this program possible, Note,
however, that in the computation lines, e.g. Ci#X=%X, that the
4 and not the % must be used in order for the program to work,

We have used this program in our Family not only to learn to
include the joystick in our programs, but to aid in the
development of graphics, Line 600 gives the location of X and
Y, and if %A is added the value of THETA (angle in which the
turtle is headed) is given. By using this little program, the
children have been able to find locations and angles for
drawing graphics in PILOT without having to resort to graph
paper which they consider a laborious task.

ATARI PILOT allows the sensing of all four joysticks, The
program at the end of this article is written for joystick 1,
The values %JO through “3 are used to sense the joysticks 1
to 4 respectively; the location of the stick is indicated by the
values of 1 to 10, The trigger is given the value of 1 if
pressed and 0 if up (that condition was not used in this
program). The instruction JUMP on condition to a specified
module is then used to give the desired result.

‘A Paddle-Sketch program is included in the teacher’s
manual of the educator’s package. The values for the paddle
aret %PO through "sP7 for paddles 1 through $ respectively, and
the triggers have similar values! %TO to %T7, The location
desired is indicated by a value of 0 to 277. I have included a
little routine to change #JOY in the JOY MATCH program to
demonstrate the use of paddle 1, We found with aur paddles,
that the added pauses in the middle positions helped the
program to sense the paddle and use the appropriate modules.

Since ATARI PILOT does not included Player Missle
Graphics as a part of its program (although they can be used by
the CALL command as I understand it) if one wishes to change
the angle of a given graphics figure, it is necessary to change
the FILL command so that the FILL is always to the right of
the cursor.

Tam including a program called Joystick Match as an
additional example of the use of the joystick, and as an
example of a more educational type use for testing, The
paddle program included at the end can be used by either
substituting it for #JOY or by editing the program and
changing the joystick values given to the paddle values.

‘As a family we are in the process of developing a number of
educational games using ATARI PILOT, The ones we are
presently working on are for children on the preschool or early
primary grades, and expect to have a disk of at least half a
dozen ready by October, Anyone interested in those programs
should send me a self addressed stamped envelope. My
address is $4441 Hideaway Hills Road, Eugene, Oregon 97405,
The games we are presently programming are used to teach
number, number facts, color recognition, and upper and lower
case letters, We are using graphics and the joysticks and
paddles extensively in those games, and recommend their use
to make programs more attractive to children. At our house we
refer to it as "the joy of learning,"

0

5 RIVOYSTICK ETCH by Ruth Elsworth
10 Ci#Y=0

20 CiAK=0

100 xSTICK

110 U(Zu0=1)$xA CUOYSTICK TOP

420 J(%0=9) xB CUOYSTICK RIGHT TOP
130 J0%M0=B) x0 CUOYSTICK RIGHT SIDE
140 JC%I0=10) 2xDCUDYSTIOK RIGHT BOTTOM
150 J(%M0=6)txF (JOYSTICK BOTTOH

160) (7N0=2)3KE COOYSTIOK LEFT BOTTOK
170 JU%d0=A) HF COOYSTICK LEFT SIDE
180 J(%J0=5) 3x4 CUOYSTICK LEFT TOP

190 JOZTB=L) 2M COOYSTICK TRIGGER

191 JK-790 AT

192 JOQO79) x

193 JOYS) aK

194 JOODA7)B
240 GRIGOTO 4,27
‘250 J3xSTICK

300 CiAY=Z¥e1
30 CH4X=UK+L
‘312 GRIDRANTORX,#Y
‘NS UseSTICK

405 GRIDRAWTORX, #Y
407 JtxSTICK
408 Et

430 CHAX1
435 GRIDRAMTORX,#Y
437 JOXSTIOK

438 ES

440 6

450 Ci8Y=Z1

960 CHAKRA

465 GRIDRAHTORX#Y
467 JEMSTICK

468 ES

470

apn ciey=nYe1

500 xT

‘S10 CH4X=-79

‘S15 GRIDRAWTO-79, 47
Sib JixSTICK

S17 ES
520d
530 C34X=
‘535 GRYDRAWTO79,#Y
596 JixSTICK

538 ES

SAO aK

590 TITHE VALUE OF X AND Y
600 SARE TX ZY

170 UtxPICTURES

4180 TIUSE JOYSTICK TO HATCH

181 TIUSE TRIGGER TO INDICATE CHOICE
190 x0Y

200 ZTB=1) 3XNEXT

240 JadD=1) 1xB0K

240, J%d0=4) tx TTEOK
250 JsaoY

260 Et

270 xPICTUREL

280 GRiGOTO-60,30

290 CrtA=0

300 UMPHERE,

SHU CitAtAe

‘320 GRt4(DRAWLO}TURNTO)
330) GRSTURNS6O/8

340 JGRACB) SEUUMPHERE

400 CIHARBAet

4940 GRIS(DRANIS} TURNI44)
420 GRSTURN7Z

430 J¢HACS) xTDHEZ

440 Et

450) xPICTURES

460 GRSGOTOZL,30

470 C3840

480 XTDE3

490 CitA=tatd

S500 GRiG(DRAW 7;TURNGD)
SLO GRSTURNG6O/6

520, SCAB) PITINES

610 CHB) TINEA

620 Et

630 xPICTURES,

640 GRIGOTO 0,11; TURNTOO
650 Ci#A=0

660) XTIMES,

670 CitA=RAH

680 GR’4(DRAW 105 TURNPO)
690 GRYTURN360/8

700 JCHA<B) XTDHES

710 EB

720 ix

Page 8 (scan)

TOE 1160 GRIDRANTO -4,13

740 180% R
0 UML
m ‘UPNOLB 1190 GRIPEN ERASE
780 GRIPEN RED int aid Oy-113 DRANTO 21,30
790 GRYGOTO-78,13}TURNTOD
800 GRIA(DRAW 34} TURND)
810 Jnr
820 EF 4
830 UNDERLINE. 1250 GRIDRAMTOTA, 13
1260 GRETURNFO
‘840 UtsNOBOX 3
1270 GRIDRAWL
850 UtaNOL
860 UMOLE 1280 GRYTURNIO
a 1290 GRIORATOSD, 12
a petites 13} TURNTORO 1300 GRITURN-90
ORG 1310 GRIORARL

1370 GRIDRANTOSO,10

‘960 GRYPEN RED om oust
970 GR¢GOTOSD, 135 TURNTORO 1400 GRITURN-#0

780 GRYORAW 24STURHPO;DRAAS;TURNPOSORAK2 1449 ces oRAKTO74, 9

4 ;TURNOO;FILLA ten
we 1430" EXT
id ‘1440 T3TO START OVER TYPE RUN
1010 sLINE 15 Asx.
020 UxNOBOX a
‘ 1446 HRN
1447 a AeXt
3PAOOLE {NO MUMEERS ARE INCLUDED IM THIS
ROUTINE
JCETO) NEXT
JOP O=0) 2x80
<JC2P0=60)SXUADERLINE
Parvo

‘GOTO -78, 13; TURNTOO; DRANTO-78, 47 bat a e,

4110
STURN ORARTO-44,47;TURNPO;DRAMTO-A4, 13. gppa097) 98 TTEGX
$ TURN90;DRAWTO-78, 133 TURNTOO iota

1120 Et Pt

1130 NOU

‘1140 GRIPEN ERASE

1150 GRIGOTO-38, 135TURNTO 0

%

DATA PERFECT REVIEW
(LIK, POB 10827, St, Louis, MO 63129, $99)
Kirt E, Stockwell

As Imantioned last month, Data Perfect is a very powerful
utility. As I have become more familiar with this program, I
have become convinced that it has the potential to replace a very
large portion of the special-purpose software being written
currently, The program responds quite fast, and the screen
formatting is fairly user friendly.

There is quite good error trapping built in, but the messages
or responses you get from the computer when your input is
incorrect can sometimes be quite confusing, As a programmer I
truly appreciate the superb quality of the programming effort
required to build such a comprehensive program.

Now about the documentation.

In all fairness I must say that the documentation provided
with Data Perfect is marked as a PRELIMINARY version of the
manual, (The quality of the printing looks like a final copy) The
only true shortcoming that I could find in Data Perfect is the
manual. Considering the potential of this superb piece of
software, it would be a shame if the documentation could not be
re-written in order to match the quality af the program.

It might be appropriate here to mention that the vast majority
of potential purchasers of Data Perfect are not programmers,
nor are they adept at reading arcane documantation, To the
programmer/s responsible for the actual program,
Congratulations on a complex job extremely well done, To the
person/s responsible for the documentation, Keep trying: the
necessary information is all there, just needs some rearranging
and clarification, To potential purchasers! If you need real
database capabilities, you can’t get more for your dollar! but you
will need your patience,

RANDOM ACCESS/STRUCTURE

Kirt E, Stockwell

This month we will combine the two sets of articles, covering
Random Access and Structure, that we have been presenting
separately, The discussion of Random Access has reached the
point where a demonstration program is in order, and a good
example of some of the concepts of Structured programming in
action might help to make those concepts more clear,

The example program will not be listed here in the newsletter,
We will list portions that are relevant to our discussions, but
will leave the bulk of the program untouched, The only way of
obtaining the complete program currently is to send for the
special Utility disk that we are promoting to raise funds for ow
dedicated Bulletin Board System. If you get this program and
list it out, preferrably on paper, you will be able to see the
Structure quite clearly,

The program requires almost 10K of free ram, plus another 5K
for working storage, This might seem like a neavy RAM
requirement, until you realize chat this will allow you to stare
150 records ( each 105 characters long ), If you have adequate
memary to provide 15K of free Ram after the program is loaded,
you will be able to store 500 records on disk, and search the
entire file very rapidly, as the keyfile is resident in RAM, This
provides extremely fast searching and retrieval of desired
records, and all records can be edited individually and
re-recorded without having to wade through the whole database.

A portion of the program will be presented below. This is
actually 2 separate control modules found within the body of the
program, I am sure that there are programmers out there who
could write a complex program such as this without using
structured design, but not many of them,

The Z control modules shown will provide an example of how
control can be directed between discreet modules in a program
and how they can be linked together, You will notice that there
are separate control modules that are subordinate to the master
control module, By dividing the control process up in this,
manner, it becomes possible to run and/or test discreet
components of the program even if other components are not yet
completed, This also facilitates changes when they are needed, (
you wouldn't believe how many changes are needed in a program
like this one)

Look over the listings shown below, and you will see how the
master control module and a subordinate control module work
together, Next month, some of the reasons why this fool
program is 50 Longe

10 REM PHONEBUK‘RANDOM ACCESS SAMPLE

20 REM By Kirt E, Stockwell President
30 RE Eugene A,CsE. (ACE International)
100 COVER=19000:SOTHHIT=6000

160 FOR LOOPS=1 TO HAXRECS

170 GOSUB GITPICK

4180 OW S COSUE ENTRY, EDIT, SEARCH, QUIT
190 NEXT LOOPS

195 END

W
4
AY
9°

I}

nm an

4or

Page 9 (scan)

an7
oe

- 45) boegbes

} /
BS ROgoes.
J

. BALLOONS
gs |
by Stan Ockers, Lockport, TL.

This‘month we look at an expansion of the PM graphics
routine introduced in June's ‘Bankshot’ program, I changed the
routine slightly so that a vertical position change wouldn’t be
necessary to change the images. This was done using old and
new image numbers stored in page six and required adjustment
of the page six table, Table 1 is a revised listing of page six
locations used,

‘You will alsa notice a number of flag locations in table 1,
Additional machine language routines have been added prior to
the main X-Y movement routine. Communication between these
routines and Basic is done by setting and resetting flags, In
general, the flag for a given routine will be set to one by Basic
or another routine. The flag being one is an indication that the
routine is active. Upon completion of certain actions, the flag
will be reset to zero.

In the game ‘Balloons’ someone is tossing water filled
balloons across the screen, Your job is to fire darts trying to
bust the ballons, Don’t hit the birds though, you'll lose points
rather than gain them, Allowances must be made for the wind
which changes speed and direction every round, At the
beginning of the game you are offered a menu you can use to
change playing parameters of the game. Try the default
parameters first to get used to the game and then try varying
parameters,

‘The whole game could have been written using just the main
X-¥ movement routine (data in lines 270-302) as ‘Bankshot’
was, but because of the timing between Basic and the Vertical
Blank Interrupt, motion would not be smooth, For smooth
mation seperate routines have been put in the VBI, The three
balloons (3 players) have their horizontal position updated by a
routine using data from lines 262 and 263, Speed is determined
by bytes in page 6 (1572-1574) with negative numbers
indicating motion to the left, When players reach specified
limits their horizontal positions are set to zero to remove
them from the screen,

ae as

Another routine (data from 264 to 266) handles dart
movement. The number of vertical moves before a horizontal
one is specified by WIND (1576) while direction is indicated by
DIR (1577) and speed by SPED3 (1575). When a vertical limit is
reached the dart is replace at the starting position.

A check is made for collisions and the player hit is removed
to the left side of the screen (routine data is in line 267 and
part of 268), FLAG4 (1578) is set indicating a collision has
taken place, Basic picks this up and sets FLAGS (1579) after
producing the sounds and images of the collision, FLAGS
starts the fall routine (remainder of 268 and 269) which drops
the image to the bottom of the screen and resets flags 4 and 5,
putting a dart at the beginning position,

One last job for the VBI routine »... In line 261 is a routine
that puts the horizontal position of the players in sound
frequency registers: It also puts the vertical position of the
dart into a sound register if the dart movement routine is
active, These actions help considerably in generating smoothly
Varying pitches which would be impossible using Basic because
pokes are not fast enough.

Table 1

(0800-0609 (1536-1545) VBI insertion routine
808 (1546) Tere variable

608 (1547) PM area Hi byte

60C-B60F (1548-1551) Old inage numbers
0610-0613 (1552-1555) New inage nurbers
‘0614-0617 (1554-1559) Horizontal positions
0618-0618 (1560-1563) Old vertical positions
O61C-06IF (1564-1567) New vertical positions
0620-0623 (1568-1571) Flags for players
(624-0627 (1572-1575) Speedot players

0628 (1576) 40ND

0629 (1577) OR

062A (1578) FLAG

(0678 (1579) FLAGS

0620-062F Reserved for future use

(0630 and up (1584) Tnage pointers Lo & Hi bytes

we
342
1D
ys
iv6o

10 REM exon
20 REM ax BALLOONS «xx

30 REM XHSTAN OCKERS 6/20¢

SG REM x AUG 1982

40 REK meoomncecoenernenot

90 ? "MUST A SEC..."

100 PHH=1547 $IMAGE(=1552! INAGE1=1553: INAGEZ=
19544 TMAGE3=1555:HPOS3=19571VP0S3=1567

110 FLAGO=15482FLAG1=15693FLAG2=15703FLAGZ=15
7 A3FLAGH=157B1FLAG5=1579 MIND=15761D1R=1577_
120 SPEEDO=1572:SPEED1=1573:SPEED2=15741SPEED
‘3515751 TNGPNT=1584?SIZEP3+S3250 PIPL “532633
De1=33761

190, AUDCZ=597631AU0C3=53765:AUDC4=59767 $RAMTO.
P={063PHBASE=542791SDHCTL=359:CRACTL=53277
)SPCOLR2=7063PCOLRI=7

uv
150 NR=5tROUND=1{DIF=4%DLY=10:DSPD=10+HAIT=20
SAMMOFISSNP=1BPR=0.4

200 OPEN #1,4,0)"K"

‘250 REM x VBI ROUTINE UPDATED BY POKES *

260 DIM YBS(348) {FOR I=1 TO S4B;READ A:VES(I,
T)=CHRS(A) NEXT T

ZBL DATA 173,20) 6)141)0)210)173521,6)141,2,21
04,173,246) 14144210) 173,35 6424098)173,31164
141,6,210

ABE ORTH 1622, 189 326240 yy 188 36,1240)
1448, 15,254, 20,6, 136,208,250) 189,20,6,201,2
9144,26,176,13
263 DATA 222,206,200, 208,250 189,20) 6,201 ,22
1176,84169,0 157,20 6,157 36y6,157,216,202,1
6,202

264 DATA 173,356,240 60) 174,3996)173)10)6,20
819) 173,40 6,141 106517341 6,208,5)206,23,

if0 &
265 DATA 15,3429 23 6206, 31 64206 10)6y1735

‘3hy6,201 ,32,174)17 1495120141 23,64 169,224)
41,316

me

266 DATA 14940141,35,6,240 3,202) 16,199

267 DATA 173y42,6)208,31,,173,15,208,240,26,16
2,0 )74y176)5y232y 224 4,208,248, 169, 0,141 35,6
1187 326)157 20,6

268 DATA 149y1y141,426,173,43)6,240, 36, 238,3
1 y6y173y31 964201 224144526141, 30,208,169) 12
0

269 DATA 141 2356)169, 224,141 3146)169)4)141,

J 21916116950) 141,4256)141 43,6

LUT. 207, 160,0,132,

270 DATA 24,173)11,6,105)
13,189,206) 157,
122116,6,208)8) 189,286

133,204, 162,0,134,
208, 187) 12,6

2,3 / 280 DATA 221,246,240, 69,187, 16,6157 12)6)18

3

9, 2By6y157 246) 165,203,221 ,28,6,240,10,169,0
+145 .203,230,203,240 42
290 DATA 208739, 189,166,170, 189,48)6) 133,720
'5)189)49 6,133,206, 177,205,240, 1441454203, 230,
12052082

{-308 DATA 230,206,230,203,240,10,208,238, 169, 0
+145,.203)230,203,208,250,230 204,166,207 ,232,
134)207 24,4) 144)154
302 DATA 76,98,228
350 REK x PAGE 6 - INSERT VBI ROUTINE x
360 FOR 1=1536 TO 1545tREAD AIPOKE T,ALNEXT 1
370 DATA 104416040, 162,0,169,7,76,92,228
380) A=ADR(VES) SB=INT(A/256) 1C=A-254xB3POKE 15

SOU REH x PLAYER HISSILE SETUP x
GAN PPPEEX(RAHTOP)~L6:POKE PHEASE SPOKE PHEIL
A

S60 REH x IMAGE 14 BIRD FALL xx

‘562 DIN BFALLS(11)3FOR T=1 TO 11:READ AtBFALL
‘$1, T)=CHRS(A) NEXT TSBFL=ADR(EFALLS) SPOKE TH
(GPNT#15, INT(BFL/256)

‘564 POKE INGPNT+14  BFL-ZS¢xPEEK (IMGPHT#15)
1566 DATA 68, 68,68,40,40,56,56,16)16,16,0

S70 REM mx IMAGE 12 BIRD SPLAT xx

572 DIM BOOMS(11):FOR T=1 TO L13READ A:B00%3
‘$(1,T)=CHRS(AD INEXT.TSBH3=AOR(BOOHS) {PORE TH
(GPNT#13, TNT (BH3/256)

‘S74 PORE INGPNT+12,BH3-Z5¢xPEEK CIMGPNT#13)
‘576 DATA 16,40,146,214)124,124,56,56,16,40,0
‘580 REM a IMAGE 10 BALLOON BURST xx

‘582 DIA BOOM26(14)3FOR I=1 TO 143READ A:B00K2
$(1)T)=0HR6(A)INEXT TEBM2=ADR(BOOH2S) SPOKE TK
(GPNT+11 ,INT(BHZ/256)

‘584 PORE TMGPNT#+10, BH2-Z56xPEEK(IMGPAT#11)
‘586 DATA 8,40,52,84,74y42,33,17 ,04,76,42)50)1
60

590 REK mx IMAGE 8 BIRD xx

‘592 DIN BIRDS(9) FOR T=1 TO 9:READ ASBIROS(I,
T)=CHRS(AD NEXT TSBRD=ADR BIRDS) SPOKE TAGPHT+
9 sINT(ERD/Z56)

‘594 POKE_INGPNT+8,ERD-2S6XPEEK (IMGPNT#9)

‘596 DAT
GOREN x THAGE 6 RAIN xx

610) DIM RAINS(10) FOR T=1 TO 10:READ ASRAING(
‘1, T)=CHRS(AD INEXT.TSRAI=ADR(RAINS) :POKE. THGPH
47 INT(RAL/256)

612 POKE THGPNT +4 RAL~Z56xPEEK (TMGPHT#7)

614 DATA 32,4,8)66,32)133,32)8,68,0

620 REM xx THAGE 4 DART 2x

(624 DIM DARTS(9):FOR T=1 TO 9YREAD ALDARTS(I,
‘T)=CHRS(A) INEXT.SDAR=ADR (DARTS) POE. IMGPHT+
‘SyINT(DAR/256)

(825 POKE TAGPNT+4, DAR-ZS6XPEEK CTMGPHT#5)

626 DATA 16,16,16,16416,56,56,40)0

(628 REM mx THAGE 2

630 DIM BALLS(11);FOR T=1 TD 113READ AYBALLS(
‘Ty D)=CHRB(AD NEXT. TBAL=ADR(BALLS) PORE. IMGPH
#3, INT(BAL/Z56)

632 POKE. IHGPNT#+2, BAL-Z56XPEEK (INGPNT#3)

640 DATA 36424)52,122) 126,126,126, 126,60,24,0
642 REM mx THAGE 0

Page 10 (scan)

sas 25 €P PS Se

(645 DIM 78(1)$78=CHR6(0) $ZERO-AOR(Z$) $POKE IH
‘GENT, INT (ZERO/256) {POKE TAGPNT ,ZERO-256xPEE
KCTRPNT#)

449 REK xx INIT, THAGES, HOR, & VERT, POS. xx
650 FOR T=1552 TO 1547:READ ASPOKE I,AtNEXT T
460 DATA 2,2,2,4,00,0,120)0,0,0,0,50,90,130,
ye)

669 REH mx PH GRAPHICS - COLORS 20
671 PORE SONCTL ,62:POKE GRACTL 3

695 PORE PCOLRO,381POKE PCOLRI,S6iPOKE PCOLRZ
sTURPOKE POOLE, 86

700 @-USR1536)

720 RESTORE 725:00K HPHS(S) ,SPDS(B) FOR I=1 T
(0 S3READ ALHPHS(T,1)=CHRS(A) NEXT I

722 FOR T=1 TO 8{READ ASSPDS(T,I)=CHRS(A) HEX
‘T TIPOKE FLAG3,0:POKE FLAG, O:POKE FLAGS,0
‘725 DATA 3,6,914,20,254,1,253,2,251,3,250,4
726 FOR T=1 TO NPIT(T)=OSNEXT TSPLYR=0:COSUE.
00

‘728 POKE. SPEEDS, DSPD:SHOTS=AHHOSGOTD 732

729 REK 1x HAIN LOOP STARTS HERE

730 GOSUE: 1600;POKE 77,0:SOUND 3,0,0,0:60SUB

732 2 ¥6}CHRS(125) {POSITION 1,03? #5}"XQ000K
YXOOOKIOK "REM X/S TA INVERSE

mo FOC RLT RISO HOLY ROC OOLY
7A2 TUPLYR)=T(PLYR)#TOTSTOT=0

756 POSITION 4,181? 4;"shots":POSITION 13,18
3? $6}*wind" POSITION 12,223? #6;"score”

762 PLYR=PLYRHLSIF PLYRONP THEN PLYR=1:ROUND=
ROUND GOSUE 1400STF ROUNDDAR THEN 1000

‘704 POSITION 12,19STF RB=0 THEN FOR I=1 10 6-
RI? 8S "C5 NENT

‘76 TF RB=1 THEN FOR T=1 TO 6-R93? #6}""j3h
1

7b POSITION 25:7 #5;"PULL STICK TO GO"

‘782 POSITION 12,2137 #6}T(PLYR)

784 FOR J=1 TO 30:NEXT JIPOSITION 3,231? #5)"

786 FOR J=1 TO 30:NEXT J:POSITION 11,234
“plyr #"JPLYRIPOSITION 3,731? #4}"end #";ROUN

D

788 IF STICK(O)O13 THEN 784

790 POSITION 2)5:? #53" i

‘800 TF SHOTS=0 THEN 830

810 IF STRIG(O)=0 AND PEEK(FLAGS)=0 AND PEEK(
FLAGA)=0 THEN POKE FLAGS, 1 SHOTS=SHOTS-1 {6080
B 110032 #6)" "5

(00 TF FEEK(FLAGD)=1 THEN POKE ANCA, 168

‘890 IF PEEK(FLAG3)=0 THEN POKE AUDCA, 0

895 ReTNT(RNO(O)201F +1 :SP=ASC(SPDS(R))

BAD IF PEEK(FLAGD)=0 THEN RO-RO-L:POKE ACL,

0
842 TF ROCO THEN RO-RND(O)SDLY SPOKE FLAGD,1tP
(KE SPEEDO,SPIPOKE TAAGED,2SE0=0:1F RND(O)<EP
R THEN GOOUE 1300

844 TF PEEK(FLAGO)=1 THEN POKE AUDCL, 162

60 IF PEEK(FLAGL)=0 THEN RI=RI-L1POKE AUDC2,
0

852 TF RICO THEN RI=RNO(O)AOLYSPOKE FLAGL,11P
KE SPEEDL,SPiPOKE IHAGEL ,2:E1=0:]F RND(O) <P
R THEN GOSUB 1310

‘854 TF PEEK(FLAGL)=1 THEN POKE AUDC2, 162

‘860 IF PEEK(FLAG2)=0 THEN R2=R2-13POKE AUDC3,

8
(862 TF RZ<O THEN R2-RND(O)ROLYSPOKE FLAGZ,1¢P
(OME SPEEDZ,SPIPOKE THAGE2,22E2=0S1F RND(O)<EP
R THEN GOSUB 1320

‘864 IF PEEK(FLAG2)=1 THEN POKE AUDC3,162

70 TF PEEK(FLAG4)=1 AND PEEK(FLAGS)=0 THEN G
OGUB 1500$POKE IMAGES, 6:POKE FLAGS, 1

‘880 IF PEEK(FLAGS)=1 THEN SOUND 3,PEEK(VPOS3)
y0,8SIF FLAG6=1 THEN POKE IMAGES,14

890 IF PEEK(FLAGS)=0 THEN POKE IMAGES)4

900 TF SHOTS=0 THEN PTIN=0;TIMEWAIT:GOTO 730
‘M0 TINE=TIME-1S1F TIMECO THEN TIME=HAIT:GOSU
8 120001F PTIA>I8 THEN PTIM=0:GOTO 730

920 GOTO 800

999 REK xn FINAL SCORES

1000 ? $5;CHR6(125) :POSITION 3,31? #65"final
scores"X-32Y-9tFOR T-L_ TO NP:POSTTION Xi
1005 2 #6)"PLYR #
1016 GOTO 1010
1099 REH 2 POS, FOR PRINTING “x” xx

1100 SX=SK+12IF SX=9 THEN SX=4iSY=S1H1

1110 POSETION SX,SY:RETURN

1199 REK 3 POS. FOR PRINTING ‘x’ ot

A200 PTIM-PTIMH {POSITION PTIM, 03? #6}"%"s
TURN

1299 REH mC CHANGE TO A BIRD SUBR. =x

1300 POKE IMAGED ,83POKE SPEEDO, 1:E1
1910 POKE IMAGE
1320 POKE TMAGE2,8:POKE SPEED2, 1 1E2=1 RETURN
1999 REM 20x WIND SPEED AND OIR SUBR, =

4400, RP=INT(RND(0)3541) SHPH=ASC (HPHS(R9D) 3POK
IND HPHRB=INT (RND( O42) PORE DIR RB:RETUR
N

1499 REM 2 HIT BIRD OR BALLOON SUER, x
1500 PHIT-PEEK(PQPL) SIF (E0=0 AND Et=0) AND E
2-0 THEN GOTO 1508

1502 IF (PHIT=1 AND E0=0) OR (PHIT=2 AND Et=0
) OR (PHIT=4 AND E2=0) THEN 1508

4504 FOR T= TD 3tPOKE TAAGES,12;S0UND 3, 10x
+t FOR Jt TO 33NEXT JSPOKE IMAGES, 0
41504 FOR J=1 TO 3tNEXT UtNEXT TIFLAG6=
1514

1508 HO-PEEK(HPOS3) ;RESTORE 1530;FOR T=1 10 3
SREAD M,XtPOKE HPOS3,H3-X:POKE STZEPS,M:POKE
THES) 10

1510 SOUND 3,100-10XT,12,103POKE 1555,0FOR J
TO 30:NEXT JNEXT TSPOKE 53759, O:FLAGE=
OKE 1559, 13

1514 IF PHIT=1 AND E0=1 THEN E0=0:TOT=TOT-60
1516 TF PHIT=2 AND Et=1 THEN E1=0:
1518 IF PHIT=4 AND EZ=1 THEN E2=011
1520 IF PHIT=1 AND EO=0 THEN TOT=TOT+30
1522 IF PHIT=2 AND Et=0 THEN TOT=TOT+20
1524 TF PHIT=4 AND E2=0 THEN TOT=TOT#0
1526 POSITION 12,211? 46; T(PLYR)#TOT}"
1528 RETURN

Note! In the "Bankshot" VBI routine in the Tune issue of ACE,
the branch (BNE) at the end doesn’t always work right,
especially if more than two players are used, Try changing the
BNE to BCC. In hex, the DO should be 90 or in decimal, the 208
{next to the last byte) in line 300 should be changed to 144,

~Stan Ockers

2?

seo |

1530 DATA 0,0,1,8,3)16

1599 REM xe DART TO INIT. POS. x

1800 POKE FLAGS, O:POKE THAGES,4:POKE HPOSS, 1
‘VPOS3,230:POKE FLAGS, 0 RETURN

1699 REM Xx ROUND OVER SUER, 2x

4700 FOR T=1 TO 10:FOR J=1 TO 30:NEXT J:POSIT

TON 5,S31F SHOTS=0 THEN ? #4}"out of shots"s6

oro 1720

A710? 46}"out of tine

1720 POSITION 12,213? $6;T(PLYR)¢TOTIFOR JL

‘TO 30SNEXT USPOSITION 5,41? #65"

4730 POSETION 12,2117 463" “NEXT TIRETUR
"

1799 REM xc ENTER PARAMETERS SUER, x

1800 ? $6jCHRS(125) {POSTION 3,35? #6} "PLAYIN
G VALUES" !POSITION 3,51? #4;"enter one #"
1810 POSITION 3,71? #6}"(1)8 SHOTS ="jAHHOIPO
SITION 3,817 #6}"(2)DART SP.="t
1820 POSITION 3,91? #4;"(3)BAL. SPy
TTTON 3,105? #6}"(4)BAL, DLY="sDLY
4$6)"(SDRND TIMES" HAITSP
(6) ROUNDS=" {NR
96;"(798 PLYRS =";NP

OIF POS

1842 POSITION 3,141?
1845 POSTTION 3,151? 45;"(9) NO CHMGES"
1850 GET #1,ASIF ACA9 OR ADS7 THEN 1850
1855 TRAP 1800

a 2 R6}CHRS(125) :POSTTION 3, 6:K=A-48:C0SUE

ot)

1870 IF Ke? THEN RETURN

1880 COTO 18

1910 2 $6)"8 SHOTS = "SANHOSPOSITION 6,103? #
63"(L TO 20)"2GOSUB 1991 1 ANMO=A:RETURN

1920 2 #6}"DART SPEED ="}DSPD:POSTTION 3,103?
4651 (SLOW)~20(FAST)"SGOSUB 1991 S05PD=A:RETU
RN

1930 ? $6} "BAL, SPEED =";DIF:POSITION 3, 10%?
(SLOW)-B(FAST)"SGOSUB 1991 3DIF=A?RETURN

1940? $6}"BAL, DELAY =";DLYSPOSITION 2,102?
wee stan A9PLSOLY=AIRETUR,

{1502 eae THE HATTSPOSTTION 3,103? &
6;"5(FAST)~30(SLOM)":COSUR 1991 {WATT=A¢RETURN

1960 7 $65" ROUNDS =";NR:POSTTION 4,103? #4},
"CA-HHATEVER)"16OSUE 1991 MAU RETIRN

1970 863" PLAYERS = "JNPSPOSITION 5,102?
6}"(1_ OR HORE)" {COSUE 1991 INP=A:RETURN

1980 ? 65 "BIRO PROB, = "}BPR:POSTTION 5,101?
$6)"(0.1 TO 0,9)" 3COSUB 1991 S8PR=ASRETURN
1990 RETURN

1991 NS=""{POSTTION 3,8:7 #6} INPUT NEW UALUE

1992 GET M140 S6SCHRN(AD]STF o55 THEN 69
AL(NS) SRETURN
1994 NS(LEN(HS)+1)=CHRS(A) {GOTO 1992

Page 11 (scan)

\

The following source listings are to help with understanding of the
trachine language sub-routes on the BASIC progran and are not typed in by
you, The DATA statenents in the BASIC poraran are the decinal
equivalents of the following (ed.)

Sound
10 } ROUTINE TO FILL SOU, FREQ, REG,
200 20 UDF. «== = $0200
202 30 UFZ «= = $0202
p20 40 AUS = $204
206 50 AUDA == $0206
0614 60 HOS) «= $0614
061s 7OHIS1 == $0615
616 ag HOS. «= $0616
0423 90 FLAGS = «$0673
OIF 0100 VPOS3 = — S06iF
000 0110 = $0000
000 ADLANS 0120 LA HPOSD Transfer horizs
‘9003 pv002 0130 STA AUOFL — poss to frear
0006 ADL504 0140 LA HPOSL registers
‘009 800202 0150 STA AUDFZ
Q00C ADLENS 0160 LA POs2
‘OOF gp0402 0170 STA ADRS
0012 ADZ306 0188 LDA FLAG3 Is dart active?
5 FOS 0190 EO OUT No
7 ADIFO6 021 LDA POSS Transfer vert.
01a 800602 0210, STA AUDFS — to freqr
OOD EA 0220 OUT NP
=0200 AUDA =0202 AUDF2 =0204 AUDF3 +=0206 AUDFA
14 HPOSD =0615 HPOSL 1616 HPOSZ =0623 FLAGS
AF VPOSS 010 OUT
Hor3
ROUTINE TO MOVE 3 PLAYERS HORIZ.
= 4
=
x Three players
002 802006 90 HOVE = LOA. Ok for novenent,
0005 FOZE 0100 eo No nove
007 e02406 0110, wy Get speed in index
oo0a Foz7 0120, EQ XT Tf zero, no rovenent.
00c 300F 0130, BAT REV Tt nea. go backwards
OVE FEL406 0140 FOR INC HPOS)X One step forward
Oot 880150 ray Hore?
0012 DOFA 0140, BNE FOR Yes
014 201406 0170 LOA HPOS,X Get horiz, poss
017 C98 0180, CHP ARTLIN Too far right?
019 701A 0190 ect NXT No
0018 B00D 0200 BeS STOP Skip over
QULD DEL406 0210 REY DEC HPOS)X — Back one step
o20cg 0220 IW More?
021 DOFA 0230, BNE REV Yes
0023 801406 0240, LDA HAIS,X — Get horiz, pos.
026 C920 0250 CH ALTLIK Too far left?
0028 B00 0260, es XT No
ua A900 0270 STOP LDA #800
0v2c 901406 0280, STA HFOS,X Put player off screen
‘U02F 902406 0290 ‘STA SPEED)X and stop novenent
‘0032 902006 0300 STA FLAG,X
0035 CA 0310 NXT DEX Hore players?
0036 108 0320, PPL MOVE Yes
0624 SPEED =0614 HPOS =0620 FLAG =00CB RTLIK
120 LTLIM 0002 MOVE 0095 NXT 01D REV
OU0E FOR 028 STOP
Wind
10} ROUTINE TO MOVE DART
oUF 20 POR = SDOOF
020 30MIN = $20
0623 a0 FLAG) = $0623
0628 SOWDD = $0628
0629 ooDIR =
0627 70 SPEEDS = $0627
000A 80 TEM == © $060
0078 90 START. = $78
veo 0100 STARTY = SEO

0617 0110 HOSS
F

003 FOIE

0158
105.2706 0160
0008 ADAGE 0170 HOVE
008 0013 0180,
‘0000 AdzB06 0190
010 SDVADS 0200,
013 ADZ906 0210
0016 DONS 0220,

0018 CE1706 0230,
GONE 1083 0240,

aDIFO6 0780
9029 C920 0290
0028 BOLL 0300,
020 A978 0310
‘02F 801706 0320
0032 AED 0330
0034 BOIFOS 6340
0037 A900 0350,
039 802306 0360,
03C FO03 0370
O03 CA 0380 AGAIN
03F 107 0390,

ous EA 0400 HIT

SIS825 95258958 RSA RESSREGBST
B *RRRageeSS S08 70°98890°5

DOF POL,
0679 DIR
=O0E0 STARTY
008 HOVEZ

0020 VLTA
0627 SPEEDS
=0617 HPOS3
‘0020 VOW

0003 DOIF 0100
‘0005 ADOFDO

0012 DOFB 0180

Test for dart nove

Tf pos. no move

How many tines thru?

Get comter

Tf not zero, only vert.

How any vert before horiz.?
Reset counter

Which way to nove horiz.?
Go right

Else go lett once

One space right

he space up

count for horiz. nove
Have we reached Linit?

No, ship
Yes) put back at start

Set flag so routine stops

No nore novenent,
Go thru again?
Yes

70623 FLAGS
060A TENPL

Is hit already active
fg collisions?
No

Find out which
player

This is the one
Next. player
Last. player?
No, try another

Stop dart
‘Stop player and
Trenove fron screen
Signal that hit
has taken place

000 SHIFT

Fall

‘021 so2AN6 0240,
024 EA 0250 OUT
=DO0F POPL
062A FLAGA
0014 FOUND

10 } ROUTINE TO CAUSE FALL
DO1E 20 HITCLR ‘SO0E
062A ‘30 FLAG4 $0628
0628 40 FLAGS $0678
017 ‘50 HOSS $0617
OOF 60 NEV S06IF
3) 70 BTLIM
0078 ‘80 STARTX
3) 90 STARTY
004 0100 DART
0613 0110 THAGES = $0613
nt 0120 ‘so000
000 ADze06 0130, LDA FLAGS
0003 Foz4 0140,

00S EELFOS 0150,

Fall routine active?
No
Go down one space

Page 12 (scan)

1008 ADIFOS 0140 UDA NEWS Have ve reached
onve cve0 0170 CHP $BTLIN —botton? subd
0000 901A 0180 BCC OUT2 Not yet BCC HORIZ NO, GET noTHER Sul.
‘QOOF SD1ED0 0190 ‘STA HITCLR Clear coll. reg WMP $6462 BACK TO ATARI’S ISS
0012 0978 0200 LOA #STARTX and put back to origin 0
nis 01706 0210 STA HP0S3
0017 APED «0220 LOA #STARTY 61 NERY =00CB APTR
0019 aOtFOs 0230 STA NWS ee eo sit
OIC A904 0240 LOA SDART Change is to =f 0 VBI
OME €01306 0250 STA DWI det 0026 UPDATE 0068 NXTPLYR 0032 ZERO
021 A900 0260 LA #800, Clear flags 0081 PLEYTE 0063 CLREST 0050 UPONE
w23 soznvs 0270 STA FLACA ai
0026 enzB06 0780 STA FLAGS Chavae WF
029 EA 0290 OUTZ NOP A)
DOLE HITCLR =0628 FLAGS =0617 HPOS3
=061F NBN =0078 START =00E0 STARTY
0004 DART 0029 ouT2 ole
ver o& rou too can become famous
@ v} oO by Matt Giwer
10 } ROUTINE FOR X & Y POS, METH POKES £> oo a
HOS = (80614 es his is to encourage new authors. You spend hours, nay, ae
30 = a5 3 4 be or weeks, slaving over a program. Now it works, What do (39
EW = SO a? Vou do with it? Send it to ACE? Definitely. Anything else? ony
SUATR = Ov’ Yes, please read on, >
oorR = This is one person's account, mostly true; of how I got into
mPRS = selling software, 149 418
wine = s T have had five programs published (two for money) by |” 1 ‘
OIKN = - ac t {) various sources and five more optioned by COMPUTE! How did go |!
100 Dep = 45 ot Iget started? It all goes back to 1967 when I was hired by the 6
0110 STOR = Q Navy and there was little for me to do while waiting for my &
0120 PLYRH = aa? Clearance to come through, The man who was assigned to break “Oy
0130 = — me in suggested I learn programming, I allowed as how that i%/ |°
0140 VEIL S was a good way to kill time and in six months I was assigned ,/ 99 36
0001 ADNES 0150 ‘LOA PHPG 0D TO PH HI cognizance of a major computer-aided design effort. [Iknew ' 2 6
00 6904 on AOC $804 FOUR PAGES TO GET... epeq how to program, didn’t 171 It is hard to look back upon 1967
0ns es0c 0170 STA OPTRA PLYR AREA PTR HI we je and put it in perspective but at the time that must have been a
00s 6200 0180 LOK #00 X TS PLYR COUNTER (pi0°? rare stall for an aspiring program manager.
Ona BoOF 0190 st STIR s) Other than a short period with the SR 52 that was the limit
onc Aone 0200 LY #900 Y USED DE DOM oPER, of my hands on experience with digital equipment until I
8x8 0210 STY APTR ordered the Bally Home Computer from that Chicago outfit,
BOL406 0220 HORTZ LOA HPOS,X UPDATE HOR, POS. Well at that point I got in contact with Bob Fabris and his user
0013 9D90D0 0230 ‘STA newsletter, The ARCADIAN, First off I sent in this Program
016 BOIS 02404 ees for LIFE,IV for free publication, (COMPUTE! has optioned an
019 oot006 0250 ATARI version.) The next issue Bob advertised it in the back
wie poee 0260 of the issue saying I would sell it for $5, Bob made an
0iE BOic06 0270 entrepreneur of me, He also taught me something, I sold
121 DOIBNS 6280 three copies, not one of them west of the Mississippi, Within
024 Fo six months it was being blatantly offered for sale by other
1900 UPDATE” LO _INGN,X parties on the West Coast without even the courtesy of
zs ICN 348 changing the name, My skull may be thick, but even that got
6 0320 throughs
Snr sus As Later Bob worked a deal with ASTROVISION, the new

0032 ASCE 0940 ZERO
0034 po1cNS
0037 Fon
039 p00
0038 9108
130 BACB
O03F Foz 0400
0041 DOEF 0410
‘0043 BOLOOS 0420 LOPLYR LDA _TMCM,X.

0350
0360
0370
0380
0390

Ce TAK
7 E0300 0440 ia THR AA
eta 50D 0450 ‘STA IPIR
ne Bozies 0460 LA INGP#1,x
OOF BSCE 0470 STA TPTRH
0051 BICD 0480 PLEYTE LOA CIPTR),Y
W053 FOVE 0490 BED CLREST
W055 9108 0500 STA (APTR),Y
W057 E6CD 0510 INC IPR
059 002 9520 BRE PONE
O0Se E6CE 0530 It PIR
0540 UPONE INC APTR
0550 BED NXTPLIR
0560 AE PLBYTE
0570 CLREST LDA #800
0580 ZEROZ STA (APTR),Y
0570 IWC ATR
0600 BNE ZEROZ
610 NATPLYR TNC APTREL
20 UX STOR
1630 1K
0640 STX. STOR
Ww72 E004 0650 CPx #804

(OUT OF PLYR AREA)

USE IMAGE NUMBER . o
$8 OX AD

‘SET UP TOR. — 5
POINTER

GET IMAGE.
TF A ZERO, FINISHED
PUT IN PLYR AREA
NEXT TAGE BYTE
‘NO PAGE CROSSING

NEXT AREA BYTE
REACHED ENO OF AREA
NEXT IMAGE BYTE
ZERO OUT REST 44
OF PLYR AREA

NEXT AREA
RECOVER PLIR INDEX
NEXT PLYR

11

LAST PLAYER?

manufacturers of the Bally Arcade, to include an ad for the
Newsletter and he offered me $0.25 per subscription he
received to include one of my programs. In the summer of 1981
I jumped at found money, In the Fall I bought an ATART,
(Bless you, IRS Rule Makers.)

Frankly I first contacted this group because I thought the
ATARI was just like the Bally and Eugene ACE was just
another version of the ARCADIAN, Later I discovered there
were national magazines which covered the ATARI computer,
(There is some story about the dummy who always falls flat on
his face but comes up with a $10 bill in his mouth.) So after
three months I mailed off a few articles and some of my
programs which I wrote -- modified -- created to learn the
ATARI computer. LO! and BEHOLD! there comes a check in the
mail.

At that point I had earned about $85 and had about $4000.00
sunk into various computer related equipment, So what was I
do? That was a challenge, There I was, I had gotten into
selling software by mistake. I wrote up a couple of learning
type programs and a check came in the mail, Visions of the
next VISICALC or PACMAN danced in my head. Obviously I
started cranking out computer programs, As long as I am
addicted to them personally and spend half of my time writing
them then I might as well make a few bucks on the side,
Besides the time required to write the article is nothing
compared to the time required to get the program working in
the first place. (How the hell Ockers does it, I da nat know.)

The article probably isn’t what Mike had in mind but I hope
it starts other programmers to writing, We need more
software,

Page 13 (scan)

1

Fret

EEEEEEE

Interfacing your Atari
to the Real World

by Marshall S, Dubin
Michigan ACE Newsletter(Apr & May, 82)

Part Onet Basic Input:

With the addition of a few parts and some external circuits,
your Atari personal computer can send and receive signals from
the "real world." These signals can be the monitoring of
alarms, themostats, and a variety of digital and analog sources
which in turn can control various motors, appliances, lights,
etc, The purpose of this article is to discuss a method in
which we can monitor up to four input signals from external
souerces in the real world,

For our purposes we will be using the joystick parts which
are located on the Front panel of the computer, Figure 1 shows.
@ pin connection diagram of a single port. All four ports share
this connection pattern,

Note that there are four pins labled PIA, These pins are
connected directly to the internal PERIPHERIAL INTERFACE
ADAPTER CHIP of the computer, The pins may be formatted
for either input or output. We shall discuss them in more
detail in future articles, Additional pins are the trigger pin
for joystick trigger buttons, two analog input pins, (used for
paddle controllers), a +5y pin and a system ground pin. In this
example we shall use the TRIGGER pins. Because there are
four ports, each port may control a different device connected
to the trigger pin of that port.

——-
14, PIA Anaiog 1

‘Trigger Analog 2 Grewia

+5 volte System ground
(Vee)

Figure 1: Pin Connections

Basic Input Using the Triager Pin

When the computer is first switched on, the trigger pins are
at logic 1 (high) state, This is the DEFAULT Status of these
pins. The normal procedure when using the joysticks is to have
the computer react if the pin reads LOW (logic 0), When this is
the case, the trigger is assumed to have been pressed, The
following listing illustrates this point’

10 X=STRIG(0)s REM for port one

20 IF X=0 THEN PRINT "TRIGGER IS ACTIVE"
30 PRINT "TRIGGER IS NOT ACTIVE"

40 GOTO 20

The computer will take one action when the trigger is
pressed and do something else when it is not, Any game using
joysticks illustrates this point, Now what if an alarm sensor,
liquid level sensor or light activated switch were connected to
the joystick trigger input? Ah-ha. We begin to see that the
old joystick port can do more than blow away Zylons!

The Basic Input Connection

As I mentioned earlier, the default status of the trigger
pin is a logic one, To simulate pressing the trigger button, we
must make the status of that pin a logic zero, This is done by
connecting that pin to the system ground, When we do that,
the pin is said to have been “pulled low," and will now read a
zero.

The easiest way to do this is by connecting pin 4 of the
controler port to pin @ of the same port. In the real world
situations though, especially if you are monitoring something
more than a TTL level signal, this is best accomplished through

12

the use of an external relay or better still an
OPTO-ISOLATOR, Lets look at opto-isolators first.

An opto-isolator is composed of a LED (light emitting
diode) and a phototransistor, When voltage is applied to the
diode, it glows, The light emitted from the diode reacts with
the photo sensitive transisor and "biases" it into conduction.
Here the transistor acts as a switch which is turned on by the
light from the diode, and off when the diode is dark, Since
power need only be given to the diode, there is no chance that
a higher damaging voltage can cross the optical barrier and
damage the computer, As illustrated in figure 2, when the
transistor switch is ON, pin 6 of the controller port is
connected to pin 8 (ground) thereby pulling it low, and
simulating a trigger press,

+5v

ar “ai

to to pin 8 (ground)

FIGURE 2: Using an opto-isolator
On this example, a relay is powered on by a high voltage such
as 110 volts, and this causes the contacts to pull pin 6 low.

Do not try to power the opto-isolator from the “on-board” 5
volt supply, It can only withstand 40 milliamps, and has other
uses, Also note that the diodes in some opto-isolators can
draw as much as 100 milliamps current, so you will need a
supply capable of driving at least one or more of them, In
addition, you may have to use a current limiting resisor
between the opto-isolator supply and the LED, especially if
you use higher voltages to drive the isolator. Use Ohm's law
to figure the resistance you will need for the voltage and
current ratings you will be using, if they are different from
mines

Figure 3 shows a method of using a relay to pull the trigger
pin low, Figure 4 shows a light activated sensor (Sargent and
Shoemaker, 1981) which will also work well.

to pin 8 (ground)
to votage powering | ~~ to pin 6 (trigger)
—_—s
Figure 3: Use of a relay

When switch is closed, a signal is passed to the computer.
Switch can be part of a relay if you wish to monitor high
current devices, Here your device triggers a relay, which in
turn will turn on the opto-isolator,

The on/off status of a light can be monitored by using a
photoresistor as the LED’s current limiting resistor. If the
photoresistor circuit uses more than five volts, an extra
current limiting resistor maybe needed, (LED current
shouln't exceed 30 ma).

FIGURE 4

Page 14 (scan)

Proarammina Considerations

The sensors can be used in a program in much the same way
as the joystick trigger buttons, The keyword STRIG will read
the status of this pin as it does for the normal use of the
joystick. Please note that the PTRIG keyword does not access
pin 6 of the controller port, but uses different pins, You must
use the STRIG keyword, or else PEEK locations 644, 645, 644,
or 647 to read the pin status, Each location is for a different
port, eg, 644 reads port 1, etc. much the same for STRIG(O),

So Now What

Go to it! Your computer can read and react to all kinds of
neat things beside Zylons or Space Invaders. Try using a light
beam sensor as a counter, ar determing how many times your
furnace motor kicks on during the day, or reacting to a metallic
“end of tape" sensor for programable slide shows, or even
bio-feedback (be SURE to use optical isolation)! What it boils
down to is your imagination, Experiment! Learn! Enjoy!

In future articles I will be discussing output as well as the
uniqu built in faclity of the Atari to accept analog input
without the need for complicated external circuitry. I might
also suggest a very good kit made by Mosaic which includes
two DB9S plugs, ribbon cable and instructions for interfacing
for only $15 (FOB 748, Oregon City, Or 97045),

References

Sargent, H and Shoensker, Rs Interfacing Microcomputers to the Real
World, Addison-Hesley Publishing Cov, Reading, Ma 1981

Wosaic Electronics Atari 1/0 Package,» Mosaic Electronis, POB 748, Oregon
City, OR 97045

Interfacing your Atari
to the Real World

by Marshall §, Dubin

Michigan ACE Newsletter(Apr & May, 82)

Part Two? Controlling Power

We will now look at ways to use the joystick ports for

output, This gives you a means to control a wide variety of
external devices, relays, and the likes

As you can see from the pin diagram in the figure, the
joystick port has several potential input sources available,
For example , two of the pins are intended for use with the
paddle controllers, These are called the ANALOG pins. They
take an analog source such as a variable resistance and
convert it into a digial signal, This in essence is how the
paddles function, They provide a resistance via a
potentiometer within the paddle unit, between the analog input
pins and #5 volts DC, The computer interperts the variable
voltage as a digial number between 0 and 228, This is called
“on board" analog to digital conversion, Units performing a
similar function may be purchased at a hefty price, but Atari
owners have the use of & of these units built right in!

——
‘1-4, PIA Analog 1 inouts
Teoger rer Anaioga ee)

+5 volts ‘System ground
(Vee)

For naw, lets concentrate on pins 1-4 on the joystick ports.
These are the pins of the Peripheral Interface Adapter chip,
commonly referred to as the FIA. The PIA provides a mean of
connecting your computer to peripherals, and can be
programmed for either input or output. There are two PIA
ports of eight bits each available for your use, Joystick ports
1 and 2 compose PIA port A, while joystick ports 3 and 4
compose PIA port B. Each port is one byte (8 bits) and may be
used together or individually to provide input and output
functions, Some of these functions may be used to drive a
printer or other accessory, or even a series of power relays

13

which can control alarms, lights, appliances, motors or
whatever.

The problem involved in controlling larger interface devices
is a problem of taking a small amount of power and amplifying
it, The prots on your computer are not made to power anything
more than another chip. the manual recommends a maximum of
1 TTL load (1.6 ma.) for each PIA bit, and no more than 50 ma
at the +5v pins If we are using relays or controlling power, we
will need at least 12-24 volts,

There are several ways to accomplish this task. The
figures below illustrate some of them. The most common
arrangement is the transistor driver, In this arrangement the
computer provides a very small voltage which turns on the
transistors that in turn switch the load, A second way is
through the use of apto-isolators. The computer provides 5
volts which switches the LED of the isolator on, When the
diode is lit, this triggers a photosensitive transistor which is
connectd to a larger load or relay. A Darlington transistor
package can be used in a similar fashion, The low voltage fires
the Darlington transistor which can then switch a
considerabley larger current, Finally there are integrated
circuit interface chips such as the 7407 which allows a
switching of up to 30 volts from the 5 volt TTL level of the
Atari.

All of these methods will work, and actually which one to
use will depend on the specific environment or task lined up
for them, The method I prefer is the 7407 chip, It is
inexpensive, will handle up to 30 volts and has six gates, so I
can switch six devices from a single chip, and will handle about
30ma, which drive most small relays or solid state switches,

‘The SN7407 made by Texas Instruments is an open collector
device, To use it you must connect a 2.2K ohm resistor from
each output to +5 volts, When an output is “on" the output is
actually open- so the resistor supplies +5 to the device you
are driving, You can drive up to 30 volts at the outputs, by
adjusting the value of the resistor, When an output is “off*, it
is shorted to ground, and the device sees 0 volts (ground). The
resistor limits this current to a fairly low value so you don’t
blow the power supply or worse, the chip! Since the resistor
can’t supply much current, make sure the resistor/7407
combination is seen as the “ground side" of your circuit, i.e. to
drive a relay, conect +5v to one side of the relay, and the ather
side to the output of the 7407, Then, to turn the relay on, turn
the 7407 off, Current will flow through the relay, and then
through the 7407 to ground.

You can easily drive descrete LED’s with this too (such as
for test lights), as well as a variety of small relays or solid
state switches. Just make sure you sink the current with one
end of your driven device to +5v through a resistor and the
other end to the 7407, Sending a “O" (logic level low) to the
PIA turns it off. If you want to do it the other way around,
use the inverting 7406, which will turn your device on with a
high logic level and off with a low level. Recognize though
that the default state of the PIA when the computer is
powered up is all bits high. If you are using an inverting 7406,
your devices would come alive when you powered on the Atari.
‘This is way I prefer to use the 7407, since I can power up and
then have my software drive the devices by writing a 0 to the
bit I want to power a device from,

Speaking of bits, a few words are in order about the
structure of the ports before you run off to warm up your
soldering irons, The PIA as I mentioned earlier consists of
two ports, A and B(PORTA and PORTE), These are controlled
through the use of the control registers for each port, PACTL
and PBCTL, You may have heard of the PACTL because thats
the one you poke with 52 to turn on the cassette player, The
addresses are as follows!

PORTA 54016/$D300- port A address

PORTB 54017/$D301- port B address.
PACTL 54018/$D302- port A control

kek kee

Page 15 (scan)

—

PBCTL 54019/$D303- port B control

On power up, the ports are initialized to $FFFF (all bits
high). To use a port for input, just pull the bit of your choice
low by connecting it to ground, To use the port for output, it
must be formatted for output, The procedure is not complex!

1. Poke the control register (PACTL or PBCTL) with 56/$38,

2, Poke the port (PORTA or PORTB with 255/$ff, This
specifies the port will be used for output,

3. Poke PACTL or PBCTL with 60/$3C.

4, Now just poke the port (PORTA or PORT with your data,

Essentially you have a total of 16 bits to play with. Just
remember that two joystick ports make up one PIA port, Stick
© and 1 are the A side and stick 2 and 3 are side B. Each
joystick port is 4 bits or 1 nybble, Each side of the PIA is 8
bits or 1 byte, When programming for output, you must
remember that a specific BIT is driving a device, Therefore
one joystick port can drive 4 devices (1 for each bit) An entire
PIA side will handle 8 devices and if you use both A and B
sides you cna trigger 16 individual devices at once or in any
combination, You must POKE into that port a decimal number
whose BINARY representation will switch on a certain bit or
series of bits, For example, if I POKED a 255 into port A, all
bits would be on, If I POKED a 12 into port A, bits 3 and 4
only would be on, The individual joystick ports may be read
using the shadow registers as follows!

Tack 1 (STICK(O)) 632/278
Jack 2 (STICK) 633/$279
Jack 3 (STICK(Z)) 634/$27A
Jack 4 (STICK()) 6357$27B

You can also use the BASIC keywords STICK to access these
ports, eg, X=STICK(O), etc

The program listing will provide you with a demonstration
‘on how the ports are prograemed, The program first allows
you to select a port, and program it for either input or output.
then you can write data to the port and the computer will peek
the port and verify the data you wrote, Granted this isn’t
elaborate, but it workds, Future articles will delve into useful
contruction projects, so keep posted,

Reprinted from M.A.C.E, POB 2785, Southfield, MI 48037 ($15
year)

hood

OPTO ISOLATOR Loews

‘OPEN COLLECTOR
TRANSISTOR DRIVER

The program listing will provide you with a demonstration
‘on how the ports are programed, The program first allows you
to select a port, and program it for either input or output.
then you can write data to the port and the computer will peek
the port and verify the data you wrote, Granted this isn’t
elaborate, but it works, Future articles will delve into useful
contruction projects, 50 keep posted,

Reprinted from M.A.C.E, POB 2785, Southfield, MI 48037 ($15
year)

mee

DARLINGTON DRIVER

id
7407 DRIVER WITH RELAY

1 REM REPRINTED FROM H.A.C.E, POS 2785,
‘SOUTHFIELD, MI 48037 $15 YR,

110 REM PROGRAH TO FORMAT PIA PORTS

20 REM by Marshall S. Dubin

‘30 GRAPHICS 0;POSITION 10,2

‘40 DIM 108(10) ,DATAS(3)

‘50 PRINT "PIA PORT DEHO"

70 REM XxxPORT ADDRESS

90 PORTA=54016:PORTE=54017

100 REM xxHROUTINE TO CONFIGURE PORTO

270 TF TOs(1,1)="1" THEN F=0:G0TO 340
280 TF TO$(1,1)="0" THEN F=255:60T0 340
290 GOTO 250

320 REM xx CONFIGURE THE PORT =x

340 POKE PCTL,S6

350) POKE PORT, F

360 POKE PCTL 60

390 REM mE ENTER YOUR DATA x

440 TF 108(1,1)="T" THEN PRINT “PORT 15
FORMATTED FOR INPUT" SPRINT :GOTO 130

ae

190 TRAP 13032 1? "Configure hich port 420 PRINT "NOW ENTER YOUR DATA"
(1-4

140 INPUT PORTIIF PORT<L OR PORTD>4 THEN

PORT)"
130 940 INPUT DATASSIF DATAS="" THEN PRINT C
160 REM XKXSECLECT PORT CONTROL REGISTER  HRS(125):GOTO 130
ox 450 TRAP 530

170 REM xxx ADDRESS (PACTL, PECTL) xx
190 TF PORT<S THEN PCTL=54018:PORT=PORTA
‘200 TF PORT>2 THEN PCTL=5401%
210
230 REM xxx SELECT INPUT OR OUTPUT max
250 PRINT “Input or Output "}

260 TRAP 2503TNPUT 108

490 POKE PORT, VAL(DATAS)
‘S00 PRINT “VERIFY "{PEEK(PORT)
‘510 GOTO 440

Bo
‘530 TRAP AUDOO:PRINT “INPUT ERROR, RE-EN
TER "336070 440

The Computer? Extension of
the Mind
by Merrianne Coon

Computers are coming to the classroom! The University of
Oregon College of Education’s decision to devote its 3rd
Annual Summer Conference to current and anticipated computer
usage in the schools gives credence to this fact,

Noted speakers such as the University's resident expert on
computers in education, Dr, David Moursund, Dr. Alfred Bork,
respected professor of physics from the University of
California at Irvine and luncheon speaker, Harold Kinne,
President of Halkin Computing Incorporated from Richardson,
Texas presented their personal views of the “electronic
revolution." Mr, Kinne pulled both familiar and “state of the
art" electronic gadgetry from the inside and outside pockets of
his clothing until the audience could not help but be convinced
that we were indeed part of an amazing eras

In addition to the major sessions there were numerous
special interest sessions and by the end of the conference the
message appeared clear, Our schools must adjust to the times
if they are to help prepare children to survive in a rapidly
changing world, We must take advantage of computers to
extend the power of the human mind, Dr, Moursund’s analogy
that the computer could be an extension of the mind just as a
saw and hammer could be an extension of the human body
seemed appropriate,

‘The educational emphasis seemed to be on putting the child
in charge of the computer instead of simply using it as a
machine for drill and practice activities where the computer is
directing the child’s activities, LOGO, the programming
language for children, developed by Seymour Papert at
Massachusetts Institute of Technology was demonstrated and
mentioned throughout the conference as a method of using a

exes computer to help a child learn to "think about thinking."

oR

Using inferior or inappropriate software and allowing
children to use computers as a buffer to avoid social
interactions were among the cautions mentioned concerning the
adoption of this new technology in our schools, But the
popularity of the conference and the breadth of thoughtful
questions seemed to show that educators are also concerned
and are willing to take charge of helping direct this potentially
revolutionary and powerful "extension of the human mind."

14

490 PRINT "(ENTER A RETURN TO DO ANOTHER

ATU REH XPOKE DATA TO PORT/VERIFY Tex

Page 16 (scan)

Keyboard for the 400

Several members have added regular keyboards to their
Atari 400’s, using various methods, When an Atari 400 is
opened, and therefore voiding your warrenty, you can easily
see where the membrane keyboard is attached to the
motherboard through a ribbon cable and a 22-pin connector, A
22 conductor Ribbon connector can then be soldered to the
connector, or a 25 pin short stub connector can be attached
along with a 25 conductor Ribbon and a 25 pin connector such as
‘a Radio Shack 276-1565 attached to the other end. If you use
the 25 pin connector method, you have an outside connector to
attach your new keyboard to. The inside connector needs to be
a stubby small type because of lack of rooms

Various keyboards can be used- if you can get the one used
for the Atari 800, interfacing will be the easiest, but many
standard keyboards will work. Mount the keyboard in some
type of enclosure (a Lee Wards Artist Brushbox will work, or
make one from 1/8" plywood), and mount 4 momentarily on, push
button switches for the console switches.

To wire your keyboard to your 400, you may need to use
some type of connector to connect the keyboard to the ribbon,
In general, pin 1 of the keyboard goes to pin 1 of the Atari
connector, pin 2 to 2, etc. to pin 17, Pin 18 starts the console
switches and goes to the reset switches, Wire one side of the
consule swiches to a common ground wire and attach to pin 22
on the Atari, which is the ground, The keyboard wiring
diagram, by Denis Beddle of Australia, should help you
interface other keyboards,

‘The above article is based on articles by Nestor Sanchez
from the San Diego ACE newsletter (may 82) and from Denis
Beddle, an Australian.

Send a business—size SASE to
the Ross’ for the new, updated
ACE Library List!!

Best of ACE-1981, still
available, Disk or Tape, $3!

15

Axlon RAMDISK 128K

Azxlon, 170 N, Wolfe Rd. Sunnyvale, CA 94086 (408) 730-0216,
$600

Th Ramdisk is a 128K memory board that fits into the
middle memory board slot of the Atari 800, increasing your
memory to 128K, A 16K board is put in front and back of the
board, or Axion sells a modified 32K board that goes in the
first slot if you want the last slot to be empty for other
boards such as the BIT-3 80-col board, It comes: with software
that allows it to be used as a super-fast electronic “disk
drive", A special DOS is used, and you load the RAMDISK with
the same commands as used for a regular disk drive, After the
RAMDISK is loaded, programs can be loaded to and saved fram
the computer at incredible speed, It works especially good for
making multiple copies of disks, The Ramdisk uses the middle
oF memory for operation, and occasional programs will not run
with it because of memory conflicts. For these programs; 2
little switch on the ramdisk is used to turn it into a regular
16K memory board, There are several programs that will soon
be available to utilize the unique features of the Ramdisky
including Filemanager 800 from Synapase, and Fileit 2+ from
Swifty,

‘There are some problems, however, Since you must first
boot up the special DOS, any disk that is self-booting and/or
protected like VisiCalc, MicroSoft BASIC, etc. can not use the
new features, Pascal, a perfect use for it since it requires
2-drives and could use the speed, does not work with it
because of memory conficts, I originally bought it to use with
cur Bulletin Board system, but had some problems, Axlon has
been super in trying to help, but there is an apparent conflict
between the Ramdisk and our Bulletin Board program under
certain condtions, The other problem is the old hair-dryer
fuse blowing-anything in memory is lost, Axlon volunteered to
refund our money, but we decided it would be perfect for Chuck
and Jody Ross and the exchange library to greatly speed up the
copying of the many disks they send out. So, at least until we
make enough money to buy a double-density drive, we are back
ta one drive on the bulletin board and not as many programs
for you to down-load,

-Mike Dunn

Page 17 (scan)

r

PMDEMO Upgrade (ACEPM) by Jerry White

After seeing the PMDEMO program on the A.C.E, Utilities
Disk #1, I thought of a few ways to improve the program. The
old version does a nice job of demonstrating Player/Missile
Graphics. But why not clear the screen, demonstrate sound,
click the speaker on change of direction, and show how to
change the color of a player tao?

The obvious reason is to add BASIC commands which slow
down the player's movement right? WRONG! In this version,
the player moves slightly faster than in the ald version, I
must have added assembler subroutines right? WRONG! Both
versions are 100% ATARI BASIC,

I won't go into a long winded explanation of using P/M
Graphics, That's been done many times before, I'll just
briefly describe the changes I made to the original program.

Lused GRAPHICS mode 19 to increase the speed of ATARI
BASIC, Since there is less display work to be done, BASIC can
handle the extra work I've demanded without slowing the
player movement,

I expanded the horizontal and vertical range of the player
so that it seems to change direction only when it collides with
an edge of the screen, When this happens, I POKE 53279,0 to
click the console speaker,

The movement routine was relocated nearer to the
beginning of the program which also provides a slight increase
in speed, This loop always returns to line 10 where I've added
two more POKEs, The POKE 704,7 changes the player’s color
using its horizontal position as input. The POKE 53760,
provides the sound using the player's vertical position as
inputs

Note in line 3000, there is a POKE to location 53761, This
combination of POKEs to location 53740 and 53761 replace
BASIC’s SOUND command, So why didn’t I just use a sound
command? Once again, for speed,

Location 53760 provides the pitch or frequency for voice =
zero while location 53761 provides the distortion and volume, &
The value 130=16%8+2, or distortion level 8 with a volume of 2. 5
As the player reaches the tap of the screen, ¥=20, The sound <
you hear at that point is the same as the sound generated by
the BASIC command SOUND 0,20,8,2.

HUSIASTS.
3662 Vine Maple Dt Eugene OR 97405

ae Computer
#) En
FIRST
CLASS
MAIL

To END this program, press the SYSTEM RESET key, lx
1 DIM A$(512),B$(20)X=0:GOTO.
110
10 AS(Y,¥+11)=BS{POKE 53248,21

‘Y=Y+Vi2Z=2+H\POKE 704,Z{POKE 53
760,¥:IF Y>220 OR Y<20 THEN V=

110 GRAPHICS 19:TRAP 2000

120 X=X+1{READ AtB$(X,X)=CHRS(
ANGOTO 120

130 DATA 0)24)24)24,24,24,60,6
0,219,219,153,0

2000 POKE 559,62:1=PEEK(106)-1
SIPOKE 54279,1SPOKE 53277,2

2040 VTAB=PEEK(134}+PEEK(135)*
256

2050 ATAB=PEEK(140}+PEEK(141)*
256

2060 OFFS=1#256+1024-ATAB

2070 HI=INT(OFFS/256)LO=OFFS-
HI#256

2090 POKE VTAB+Z,LO!POKE VTAB+
3,HI
3000
00,04

~ViPOKE 53279,0 v Fy
20 IF 2>205 OR 1¢40 THEN H=-H? c H
POKE 53279,0 rT &
30 GOTO 10
100 REM PLAYER MISSILE EXAMPL 0 5
E, FROM EUGENE ACE PR 3 $a
OGRAM EXCHANGE Hi é
105 REM UPGRADED PMDEMO (DiACE ot =
PM) 5/25/82 BY JERRY WHITE 3 z
u
rs

Atari Computer Enthusiasts
Dues are $10 a year for U.

-6032=100%" ‘SOUND
‘POKE 53761,130!GOTO 10

Our nenbership is world-wide in scope} membership fees include the

ACE, Newsletter,

Airnail,

of the Atari Conputer and in giving the latest News, Reviews and Ruworss

Librarian-Chuck and Jody Ross, 2222 Ironwood, Eugene, OR 97401

‘503-343-5545

programs come from you, our

members.
President-Kirt Stockwell, 1810 Harris #139, Eugene, Or 97403 503-586-2470

Secretary-Charles Andrews, POB 1613, Eugene, Or 974401613 503-747-9892
Editors -Hike Dunn, 3662 Vine Maple Dr., Eugene, Or 97405 503-344-6193

Company. We are 2 group interested in education our members in the use
min Buepas, 1405 H. 26th Ave, Eugene, Or 97401 503-484-9925

A.C.Es is an independent computer club and users group with no
connection to the Atari Company, a division of Harner Communication

All our articles,