Dale's Home Page

Dale’s Atari 800 Games › ACE newsletters

ACE newsletter, May 1986

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_1986_05.

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
e Ng Computer

ENTHUSIASTS
3662 Vine Maple Dr Eugene OR 97405

MAY, 1986
Mike Dunn, Jim Bumpas, Larry Gold, co-editors

Hide letter values
Show distribution Jim's letters
tide copa move
\eeececee to] Set skill level. SRE)
P Set time limit. (e=[a‘r Je "It 0"
A__Sound on

Shuffle

. Type your word:

. Which direction?
[>| Ea

. Click on the square
where the word starts.

Page 2 (scan)

FLASH COMDEX REPORT

AIARL: Buy a S20 ST and get a 2@ drive
for $70. 1040 STs have socket for blitter
chip; older models will have add-on board. No
heat problems ere reported with all-in-one box
Qnly 30% of ST sales are in the US. The ST is
the biggest selling computer in Germany. The
@0-mag hard disk is $800; the SMmMgO4, 8Ocps
dot printer is $219. New ST 3* party catalog
is 347 pages.

STart, ST quarterly. S8-Bit:
Calc Magic, a $25 spreadsheet for the 130XE.
ST: CAD-3D $50 by Tom Hudson; A-Calc, a S60
GEN spreadsheet; Expert Opinion, $100 profes~
sional AI expert system From France.

BATTERIES INCLUDED:  8-Bit: advanced
Paper Clip with spellpack for the 130XE. ST:
versions of PaperClip and HomePak; Degas Elite
and Isgur Portfolio analyzer. The sensational
Thunder, an advanced real-time spelling
checker for S40.

ABACUS; PC board designer for S400, plus
all their manuals (5 ready and more to come,
including the definative ST Encyclopedia.

MINE; S20 ST memory upgrades, $50
real time clock, and a customized to your
pictures ST-talking doll fer only $150.

PCA; Wonderful $500 program for desktop
publishing with laser printer or Epson. It's
also a CAD system, word processor, graphics
modelling spreadsheet, macros, etc. Potential
for being the most significant product shown.

HICHTRON: Many new utilities, and one of
the feu showing ST games.

Ibm: 08/8 GBk multiuser/multitasking
“unix like” software which will run GEM based
non-graphic software and any OS/S software.

_ @-Bit: PS Interface, to link
Printshop, Xlent’s graphic programs, & @ new
powerful $30 word processor.

had a very Fast fractal generator
with powerful zoom Functions.

Hipnc ($140) and Print-Technik C(S$2SC)
both showed video digitizers. Hippo also
shoved eprom burners, idea processor, sudio
sampler, and its complete line.

HABA showed a $39 memory upgrade for the
520 ST, a 1200 bps modem, and a powerful
program) which uses ali the protocols,

including xmadem, Compuserve & Kermit.
Powerful business applications were shown by
Regent, Power Systems, Sierra On-Line,

Business Operating Software, DAC, Versasoft &
other:

Hubrid Arts showed a MIDI synthesizer for
the 8-bits in the $40-S60 range. Activision
showed its electronic music publishing
software.

Languages for the ST include at least 3
Basics (one compiled), several C versions
(OSS, Mark Williams, Lattice, etc.) TDI
showed Madule-2, Fortran, Cobol, Forth.

showed a product using the MIDI
port ($149) which permits up to 20 STs to
share peripherals. Paul Heckel of QuickView
was there with his Zoomracks and his Friendly
Software Design book.

The best part wes the wonderful antic 4"
anniversary awards party where I accepted the
first antic User Group Award on behalf of all

of you. Many of the vendors were ACE members
before they became professional, and I met
many old and new friends. The Antic award

ceremony wes well attended and very nice.
Everyone had a good time and the awards are

beautiful. It was a real honor to accept the
award on behalf of ell you ACE members!
== Mike Dunn

Stuff

The 520 ST is now for sale at Toys R Us. The new 520s and the
1040s may use a composite monitor (and TV?). The 20-meg hard drive
is just now going into serial production. You should see them soon. ST
Basic is being revised, and improvements in the GEM tools are also
scheduled. The Amy sound chip may also be on its way back onto Atari
drawing boards.

Hitachi CD-ROM drive for $680 is now selling for the ST by Liberty
Corp., in Washington state.

Datapac Inc. plans to distribute a ROM cartridge for the ST which
will permit the user to run Macintosh programs.

Shaner is now selling a dual, double-sided, disk drive for $399.
Find someone who wants your single-sided drive and have 2 double-sided
drives for $200 less than the price of 2 separate drives.

‘Antic On-Line quotes Sam Tramiel regarding 8-bit developments
‘coming later this year, including: A plug-in 80-column card with a parallel
printer interface for $79; memory chip expansions similar to those Apple
has for the lle; 500K memory 3.5-inch disk drives, with a new DOS by

ST Library

Thanks to Andre Lafreniere and all our friends in Quebec we have
some dramatic new additions to our disk library. Some of this material
is from Germany. Some of the documentation and print statements in
the program code is written in French and German. The following disks
are added:

4. Midi Write Program disk;

2, Telecommunications disk (including a patch to the MITERM
program, and a Super BBS);

3. Digitized photos;

4. a disk full of fonts and two font loader desktop accessories;

5. a disk full of basic programs.

We've also split off the C files from the Utility disk and have created
a special C disk, adding many new utilities to the Utility disk. These
utilities include: Filecmp.prg; Speed.prg (check your floppy speed);
Volume.prg and .tsc (change volume names on disk); Copy3.acc (a
desktop sector copy utility); STscope.prg (sector edior); Picsw.prg and
“txt (converts MacPaint! and C-Amiga .IFF! files to Degas or NeoChrome
format — now we have access to all the art available for the 68k
systems!); RDspeed.tos (test your ramdisk speed).

Other new programs include: Mandel.prg; Compose.pra (a demo of
a new product soon to appear from Xlent Software); Celest.prg (Celestial
Caesars strategy game); and Life.pra

‘One spectacular item we've added to our MIDI & Sound demo disk
is a 25k file of digitized sound, It sounds like a rather badly recorded
rock and roll song off the radio. But it’s a start. Also we've been receiving
quite a few games. We have almost a disk full of games. If you want
the latest printout of our library list, send 50 cents, Each single-sided
disk we ask a $10 donation; $15 for a double-sided disk.

MEETING
WEDNESDAY MAY 14TH
7:30 PM
SOUTH EUGENE HIGH

SOMETHING SPECIAL

Page 3 (scan)

BUMPAS REVIEWS
WORD FOR WORD

Word for Word ($40, BayView Software, 177 Webster Street, suite
4-295, Monterey, CA 93940) is the game of Scrabble for your ST. Any
number of the one to four players may be humans or the computer. The
program is also available for IBM PCs and compatibles which use the
GEM interface. The game will play on either a color or monochrome
monitor.

This game is really much more than the ordinary game of Scrabble.
How easy is it for you to design and use a custom board with your old
Scrabble game? WFW gives you three additional boards from which to
choose, as well as a utility with which you can design boards of your
‘own. You can alter the size, shape, and layout of the board. A different
board is selected by pulling down a menu from the desktop from within
the game. WFW also keeps score for the players and will also search
its own 20,000 word dictionary for words to assist a player in selecting
a high-scoring word,

(One of three skill levels can be chosen, and time limits may be set
Word may be challenged, after which the players look up the word in
a reference of choice. If the decision is “not a word", then the offending
player looses that turn. Play options include passing a turn and
exchanging letter tiles. The values of letters may be displayed. A player
may “hide” his letters during his tur to keep the other players from
seeing them.

The game is extremely easy to play, with most game functions being
executed with the mouse. All one's desktop accessories are also available
along with the various other drop-down menus. | highly recommend this
program for anyone who enjoys Scrabble or word games.

ST-TERM

STTERM ($30, Commnet Systems, 7348 Green Oak Terrace,
Lanham, MD 20706) does most of what PC/Intercomm does, but for
a much more reasonable price. | was not able to invoke any VT100
emulation (even though the magazine ads I've seen for it say it has
"VT52/VT100" emulation), but it will emulate the 8-bit Ataris. And it
has several features missing (can you believe it?) from PC/Intercomm.

For instance: You have access to 9 DOS functions. You can actually
perform file maintenance functions on the disk while in the program.
It also contains a connect timer/billing calculator.

Kermit and Xmodem protocols are supported and there are 20
definable macro function keys. The documentation and program also
provide for saving particular setups (bps rate, etc.) for each number you
might call on the autodial directory. But | was unable to get this feature
to work. Everytime | used Alt-S, | got the message telling me the file
was written with “0 bytes”. Even after a phone conversation with the
program’s designer, | was still unable to get any different result. The
program is supposedly no longer protected, but | was told the problem
might be occuring because | was trying to save setup files to a backup
disk. So | believe this is a problem which needs correction, or at least
better information to users so they may correctly save their setup files.

There are 20 pages of documentation which are complete, but lack
either a table of contents or index. You'll probably not be able to
remember how to use all the features until you become very familiar with
the program, so a quick way to get to relevant sections might be nice.

This program is brought to you by the same folks who give you
FoReM ST, and this terminal software is designed to work with that BBS
software. Full compatibility if promised. This program looks like a good
bet for those of you who want most of what PC/intercomm offers, and
who do not need the VTI00 emulation.

HINTS

For New Users

MULL. players will be interested to know | have been informed
by 2 local ACE member who says he’s scored over 900,000 points in
a game. | tried his method and got over 231,000 my first try. Here's how
you do it:

You must have at least 2 human players. Try to build up stocks of
crystite (and smithore) so each player has an accumulation of 50 units
of these ores on Turn 11. Try to produce maximum crystite on Turn 12.
During the auction on Turn 12, make sure at least one player is on the
“Buy” line for crystite. Run the buying player up as high as you can (you
should be able to get to over $800 easily). At the very last moment, drop
a seller down and sell at least one unit. This will make all the 400 or
so crystites accumulated among the players worth more than $800 each
for the final accounting. Buy one unit of all the other commodities also,
just to drive the value of the colony up by the increment.

COPYRIGHTS

We're seeing more and more software appearing in the public domain
these days. And the quality is very good. Many of these new programs
carry what | consider a misleading “copyright” notice. | think the authors
of the software might be the major victims of this misunderstanding.
The notice usually reads something like the following: “copyright 1986
by Software Developer, all commercial rights reserved. This software may
be freely copied and distributed, but it may not be sold....”

The law requires the copyright holder to protect his rights. Once
fone gives anyone the right to copy and distribute the software, it is in
the public domain. | don’t believe one can require users to protect one’s
commercial” rights after one has given the material to the public
domain, Once in the public domain, a user may make any use of the
software desired: Copying, distributing, altering, even selling. There are
several companies which make a business of collecting good public
domain software and re-issuing it in their product line for a profit. This
is perfectly legal. | do not believe someone who has ostensibly retained
“commercial rights” will be able to prosecute a claim for copyright
infringement after the software has been placed in the public domain.

If you are a software developer, and you believe you have a good
piece of software which you might want to distribute commercially, don't
be misled. You may still distribute it at a profit, of course. But | don't
believe you'll be able to legally prevent anyone else from doing the same.
You might be well advised to spend $25 for a half hour consultation with
an attorney to discuss the issues I've raised here. But software developers
are having a hard enough time in today’s market without thinking you're
protecting rights when you're not. Look into it.

— Jim Bumpas

SCREENS

SCREENS (by Joseph J. Wrobel, $20 from The Soft Cellar, P. O.
Box 16393, Rochester, NY 14616-0393) is a lovely hack for all you 8-bit
programmers to use and enjoy (and amaze your ST-owning friends)

WINDOWS, on your trusty old 400, 800 or XL! 9 of them at once,
displaying messages, graphs, pictures, time, the disk directory, whatever
— all without interfering with what is otherwise on the display.

SCREENS is a relocatable machine-language utility which loads,
as an AUTORUN.SYS file, just above your DOS in RAM, protecting itself
by moving MEMLO up by 3297 bytes. Once there, it gives you a new
device, “W:”, with a simple series of BASIC commands to specify the
location and size of windows 1-9, the position, color, and size of the
display inside the window, and the choice of two ways of framing the
window, if desired.

| am delighted to learn | can display any character in ROM, and/or
custom characters, or the most complex graphics, in any size — from
a single pixel (!) to a full screen — by simply specifying two numbers,
the width and height of characters in a window. And | can move, re-size,
and superimpose windows, store them in RAM or on disk, recall them,
reverse their colors, and even scroll their contents

The commands for doing all this are simple BASIC ones which can
be included in any program. Examples are given in the 36 page manual
and on the (unprotected) disk. To get you going there is an impressive
DEMO program, with other, smaller programs which make it easy to get
started with this flexible utility. Once you learn how to work the “W:"
device — think of it as a second TV screen, like the “S:” device, or a
kind of printer,’P:”, with its own special but essentially simple rulese,
the only limit (aside from BASIC’s leisurely ways) is your imagination and
programming skill

Are you up to the challenge? Then send your $19.95 to the Soft
Cellar.

You'll get a disk with the device handler program (as an
AUTORUN.SYS file), four custom character fonts, five BASIC demo
programs (with handy subroutines which you can lift bodily for your own
programs), a delightful picture of an Atari 800, and the manual. This
modest but complete booklet gives you @ 21-page tutorial, 3 handy
reference section with details of the terms and commands used, and
a chapter for advanced programmers which details how “SCREENS”
loads itself into RAM, the OS variables and page zero locations it uses
(without leaving bugs behind for other programs), and the formats used
to save and recall a window in RAM or on disk. Some of you might be
glad to know that Page 6 is NOT used

SCREENS can, in principle, be used with other languages which
are faster than BASIC, if you know how. A hint: You can load and recall
windows from any address up to 65535.

Now, let's see, by reading the joystick port or console and poking
PORTE | could

— Dick Barkley

Page 4 (scan)

News and Reviews
Mike Dunn, Co-Editor

Last month, two significant events happened to ACE. We were
named by ANTIC as the best Atari Club, and we almost ran out of ‘money.
| will be going to COMDEX in Atlanta to receive the award and hopefully
report in this issue on the show. The last | heard, Atari will have at least
17 smaller companies in their booth showing their new products, so it
should be interesting. The money issue is more complicated, We have
just developed a fantastic BBS using a super 130xe Atari with 512K
memory, a 10 Meg hard disk, a 300/1200/2400 bps modem, and a
fabulous new software system — all of which cost us lots of money to
develop. Usually we keep about 2 to 3 issues ahead in the bank, but we
got a little low. The other thing that happened is we received several
large orders for software from foreign companies, and our bank would
not accept them directly — they needed to be sent back to the country
of origin before they would credit them. After our plea, we recieved a
welcome influx in cash from you, our members, including several
generous gifts for the BBS — thank you! We also invite you to buy some
of our disks from the library — this will help alot.

lam frequently asked by new members and new clubs on how to
make a club successful. | am sure there are many ways, but | want to
tell you about our way. When we started the club 6 years ago, we decided
on certain principles and have not changed them.

1, The club is open to anyone; there are no dues, but the newsletter
needs to be paid for if you want it mailed.

2. Since we are a small town, we try to help out others living in
small towns where there are no other users around or no club. When
| had the only Atari in Eugene, | could understand how much help, even.
long distance help, was useful.

3. We try to have members be as helpful as they wished, no matter
where they lived. Stan Ockers lives in Illinois, Sydney Brown in Australia,
George Suetsugu in Hawaii; all are active members. although none have
ever attended a meeting.

4. The business meetings are separate from our general meetings
and are usually attended only by the “Council”, that is, the officiers and
other active members but all are welcome. Most people do not want to
‘spend their time discussing the general business of running the club.

5. There are a variety of types of meetings — guest speakers, help
sessions, demos of new products, swap meets, etc.

6. There are a variety of special interest groups meeting seperately.
In the past these have included hardware groups, educational groups,
and special language groups, including BASIC, ACTION!, assembly
language, LOGO, PILOT, and now C and ST.

7. Everything we do is public domain, and allow you to do anything
with them except to sell them. commercially. Other clubs can sell our
software, but only one company (Computer Palace) can sell them. Others
do, but Computer Palace has our permission and gives a royalty to the
club for it. These sales are to non-members, and we. get many members
from these buyers.

8. We do not allow advertising and do not sell or give our mailing

9. We activly trade newsletters and disks with many other clubs,
and try to help new ones get started all over the world,

10. Always give credit when credit is due.

11, We accept products for review, do not copy them, and allow
the person who reviews one to keep it. We also allow many people to
do the reviews, although we favor those who come to “collating parties”

12. We avoid filling the newsletter with editorials, reports of our
meetings, or other personal information of no interest to the majority
of our members.

13. No pirating!

Of course the main reason for our success is our members who have.
always supported us with articles and money when needed. You can
continue to do so — please send in articles, reviews, programs, hardware
projects or anything you want to share with others — we welcome it.
Articles and reviews from children are also very welcome. And if you
are a heavy user of the BBS and are able, donations are most appreciated.

For the future, we are considering going to bulk mail, and using the
tremendous amount of money we will save to increase the size of the
newsletter so as to better cover both the 8 and 16 bit world — but we
will need more articles from you to do so.

One of our newest members, teenager Chuck Walbourn (9035
Brickwood, San Antonio, TX 78250) is a programmer and wants to talk
to fellow programmers to get and give help. You can also get him a CIS.
73537,527 and DELPHI: DIGITA.

In the last issue, it was not completely clear that the two games
were from one of my favorite Atari publications, PAGE 6 (18 Underwood
Close, Parkside, Stafford, England ST16 1TB). This month we have a series
of articles and programs by Rita Plukss and Dick Kellett from another
of my favorite newsletters, the Melborne Australian Atari Gazette (MACE,
POB 340, Rosanna, Victoria, Australia 3084) on the fascinating subject
of Mandelbrot Sets. They were kind enough to send us a disk with their
articles and a slide show of the beautiful pictures generated. If you want,
you can get the double-sided disk with the programs on one side and
the pictures on the other for $10 from the library. Ask for the Mandelbrot
disk — if you have any interest in this subject you will be very impressed.
If any of you out there are already doing work in this area, send me your
programs and I'll send you the disk free and foward yours to Rita — or
you can write her directly at MACE.

Due to several requests, we also have a new disk from the Atari
Addicts Club, Atari Addicts Sector Tool, a well documented sector
editor which works in single or double density and with interesting
features. $5.

Our public domain software utilities and DOS’ for the 256K 8-bit
Ataris have increased to 2 double sided disks, including a special MACH-
DOS. If you want it all, $20 including the documentation to increase the
memory (specify model) or $10 for the basic software and reprint (up
from $7 — there is too much now included).

If you like text adventure games, Mysterious Mansion by Tim
Roberson has been improved and expanded — well worth $5 for a disk
full, $5.

(Minimum price is $10 a disk, which includes 2 sides full. The new
library list is ready at $1 or free with order-ask for it.)

VP RAMBLINGS

‘As we mentioned last month, Mike Dunn is going to COMDEX and
should come back with the latest in Atari news, so that next months
issue should contain everything fit to print about Atari and maybe even
things that arn’t. Look for it.

Every month we try to bring you up to date on everything from
rumors to new products, but | always try to keep one foot on the ground
and tell you that if nothing new comes along for your 8-bit machine there
is so much still available to use, and if there wasn't what you have should
keep you going for a long time. If you are only a game player then it could
be a slow year for you, but if you use your machine for business, word
Processing etc. then you can go on and on with the 8-bit and never miss
using your machine. It's a nice feeling to know that barring a break down
in the machine itself there is so much you can do that you should be
able to use it forever.

‘One of the reasons | bring all this up is that we should let all the
software houses know we are still out there and they should continue
to develop programs for us, and with what they know now about 8-bit
programming we should see more sophisticated programs, taking fuller
advantage of the Atari‘s full line of 8-bit machines. While some software
houses have done this most have not and they should as there is still
a vast market out there which has not really been tapped. Let's try to
make them tap it. Write them (software developers) and let them know
how we feel. Thanks.

| want to thank all of you who renewed your membership after our
call for funds, but remember we have a very extensive library, please use
it not only for the good programs you will receive, but it will help us with
our cash flow. Thanks again for your support.

— Larry Gold

LETTER:

lam proud to say | am the A.C.E. representative in Colombia and
| feel immensely happy for the Award (Antic Outstanding User Group
Award) recently given to ACE. It must be noticed that the award was
not given for its being old or full of members but because of the quality
that all our directors, present and past, have given to the club through
the personal sacrifice, interest and effort in favor of the rest of us Atarians
of the club and of the world. Full of emotion and gratitude | give you
directors my applause and | consider myself the representative of those
lazy members who prefer to be silent in this so important occasion. Here
is our standing ovation. With congratulations and respect,
— Fernando Hidalgo
Cali, Colombia

Page 5 (scan)

8 REN
Rg

5 GOSUB 29808:POKE 789,2:GOTO 28

1@ POKE 1782,224:POKE 752,1:POKE 694,8
:RETURW

15 SOUND @,I+3,16,L:SOUND 1,142,18,L:5
OUND 2,1%246,10,L:SOUMD 3, 1*4415,18,L:
RETURN

»TRAMSLATOR CHR EDITO

207 "K":POSITION 7,6:2 "THE TRA
WS LATOR"? 3252 "> CHOROCTE|
EDITOR

30?

em)
ae

VERSION 1.8)
OCTOBER / 1984"

33 FOR I=255 TO 1 STEP -2:SOUMD @,1,8,
4:50UMD 1,1+10,8,18:SOUND 2,1#180,5,16
NEXT I:SOUND @,255,10,8:50UND 1,254,4
@,8:S0UND 2,128,18,4

35 FOR I=2 TO 12 STEP 8.2:POKE 789,1:W
ExT

EP -1:L=1/8:G0SUB 15:MEKT I

40 IF PEEK(764)=255 THEN 48

41 FOR T=1 10 16

WILLIAM KOK ON I":FOR I:

0 23:? :IF I=12 THEN TH-3@0:GOSUB 101

8

42 WEXT I: TH=208:GOSUB 1081 GOSUB 308

@O:POSITION @,2:7" translator
cHR EDITOR

59 REM

68 GOSUB 18:POSITION @,1:? " ESCAPE KE

Y TO ABORT DIRECTORY LISTING ":? :? BL

KS;PRS$:? LFTS;:POKE 83,21

by

T

61 TRAP 68:7 7: 0PEM 82,6,6,D
$:K=2:Y=3:G0SUB 76:FOR I=1 TO 64: INPUT
H23FS:2 MESES

62 IF
2,21:
63 IF I=22 OR I=44 THEN POKE 62,8:POKE
83, 21: k=: OSUB 76:POKE 764, 255:6
OsuB 77

64 IF PEEK(764)=28 THEN 68

65 POKE 54286,192:POKE 764,255:MEKT I

T=11 OR I=33 OR I=55 THEN POKE 8

68 POKE 82,8:POKE 83,39:POSITION 2
PULS:? PRESS 'Y' FOR YES / 'W' TO
PROCEED ";

69 CLOSE 42:7 :7 :POSITION 8,3:G0SUB 1

PULS;") READ DIRECTORY AGAIN?"; :P
OKE 764, 255:GET 83,A:IF A=89 THEN 68
71 IF AQ78 THEN 68

74 POSITION 8,8:? " TO RESTORE TO ME)
[ETEM FONT EWTER 1":POSITION @,1:7 "
OR TYPE IN FONT FILENAME

TRANSLATOR EDITOR

POSITION @,3:? PULS;"DFONT TO LOAD
FIDS="D:":GOSUB 27808:G0T0 8
POSITION X,¥:? :RETURN

IF PEEK(764)=255 THEN 77

RETURN

REH

IF 09,5 THEN FM=224:POKE £
702,224:G0T0 185

PEM %7,4,8,09

:POKE 953,4:POKE 948,0:P0
KE 949, PEEK(748)-4:POKE 946,7:X=USR (16
88, 716) :POKE 1782,156

99 REM

108 CLOSE #7:FM=PEEK(748)-4:GOSUB 2090
:IF ERRF=1 THEM TH=308:GOSUB 10008:GOT
0 68

185 POKE 752,1:POSITION @,8:7 PULS:? "
IS THIS THE FONT TO INSTALL ?

75

186 POKE 766,34:7 :T=16:POSITION 4,T:F
OR I=@ TO 127:? CHRSCID;:IF I=32 OR I=
64 OR I=96 THEM T=T#1:POSITION 4,T
118 WEXT I:POKE 766,8
125 POSITION 8,3:7 PULS
IM WE 25:GET 83,0
126 IF A=89 THEN GOTO 138
128 IF A=78 THEM POSITION 6,
GOTO 6@

129 GOTO 125

130 POSITION @,1:7 PULS:A=@
131 IF A=27 THEN GOTO 6@
132 TRAP 134:POSITION @,3:? PULS;"
ENTER DRIVE TO WRITE TO [1-4] “
AL CCHRS (AI): TRAP 4008
POSITION 8,1:? PRSS:IF ORV
{=@ OR DRYD=5 THEN 132

134 POSITION 6,
LATOR INTO DRIVE
3,05

CONT

" INSERT TRANS

$ (PEEK (2568641)
136 IF DSC1,8)=CMPS(1,8) THEN BS=127:E
ACTEM: GoTo 148
PS (9,16) THEN BS=26:E
5233:05="HEIEEEM" GOTO 148
138 POSITION @,3:7 "
";7HE200:GOSUB 18
088:G0TO 138
139 REH
149 POSITION @,1:2 " THIS STEP INSTAL
LS NEW CHARACTER SET “:POKE 718,68
141 POSITION 8,3: PULS;" PRESS 'Y' TO
MODIFY “;0$;" TRANS DISK":GET #3,A:CH
B=87:FH=TEMP

5

142
143
144
148

IF 9=89 THEM 148

IF A=27 THEN POKE 718,50:G0TO 68

GoTo 148

TROP 2088:POKE 769,DRV:POKE 778,CH

THEO: FOR SCN=BS TO ES:FL= NOT FL

L¥128

248 POKE 778, SCN- CINT(SCN/256)*256) :PO

KE 779, INT(SCN/256) :POKE 772,FL:POKE 7

73, FMFINT CM) :H=H#0,5:G05UB 586

268 NEXT SCM:IF CHK=1 THEN 135

397 POSITION @,4:? PULS;:POSITION @,3:
FINISHED!

:POKE 718,50:G0TO 68

50@ K=USR(1687) RETURN

2008 POKE 752,1:? :ER

A: IF ERR=178 THEN ERR

GOTO 2058

201@ IF ERR=164 THEN ERRS="

WC OTE D RECORD Situ)

2015 IF ERR=i6S THEN ERR

2020 IF ERR=144 THEM ERRS='

OS": GOTO 2258

2045 ERRF=0:RETURN

2050 POSITION @,3:7 PULS;ERRS; :POSITIO

WN 0,8:? PULS:? " PROBLEM EMCOUNTERE

D, CHECK DRIVE TURN

10808 FOR T=1 TO TH:NEKT T:TM=1e8@:RET

URW

26399 REM

27088 FS=24:FE=35:M=FS:Y=3:POKE 752, 0:

POKE 694,08

27860 IF X=32 AND A{)126 THEN A=46:GOT

0 27065

27063 GET M3, A:IF K<2@ THEM T=1

27065 IF A=155 THEN FOR I=FS TO FE:LOC

$ (LEN (D$2 +4) =CHRS (3 :NEXT I

TURN

27078 IF A=29 OR A=28 OR A=125 OR A15

6 OR A=157 OR A=27 OR A=255 OR A=254 T

HEN 27860

27875 IF A=126 AND X=FE AND T=1 THEN X

SFEHLT=2

27088 POSITION X,¥:? CHRSCA);

27090 IF A=126 OR A=3® THEN K=K-(K)=FS

+1):G0TO 27860

27100 K=K¢ (X<=FE-1) :GOTO 27868

28999 REM

29880 POKE 82,0:POKE 729,15:POKE 73@,2

1POKE 622, 255:GRAPHICS @:POKE 764,255:

POKE 752,1:? :POKE 718,2

29018 RETURN

e888 DIM 05(28) , FS (28) , ERRS (48) , PULSE

39), LFTS (23) , CHPS (16) , BLKS (2), PRS$ (27)

TFL

Page 6 (scan)

MANDELBROT SET
CON'T

418 FOR CHANGE=DLIST#+6 TO DLIST#204:1F
PEEK(CHANGED=15 THEN POKE CHANGE, 14

420 IF PEEK(CHANGE)=79 THEN POKE CHANG

E,78

438 NEKT CHANGE:POKE 87,7:RETURN

440 REM

458 2 CHRS(125):? 2? “Once design is c

omplete, press SELECT to save to disk.
The default name is PICTURE"

468 POKE 764,255:? "Press START to plo ?

ta new picture
rent screen"
478.7 :? “Enter Filename to save desig
“D0 WOT USE DEVICE NAME OR EXTEND
ER": INPUT BS

=LEM (BS) :IF P=@ THEM A!

without saving cur

PICTUR

FOR K=3 TO PHZ2:ASCK,K
2=BS(K-2,X-2) :NEXT
AS (PHS, P+6)

REM
CLOSE #1: 0PEN #1,8,8,05
S=PEEK (88) +256XPEEK (89) ; TOP=5+7680
ap-5

HI=INT(BS/256) : LO=B5- CHI*256) : POKE
858, 11:POKE 852,PEEK(88) :POKE 853, PEE
K(89) ;POKE 856,L0:POKE 857,HI

578 D=USRCADRC'hhheL UE") , 169 CLOSE #1
588 FOR TIME=1 TO 18:FOR H=18 TO @ STE
P -@.3:SOUND @,0,2,K:WEXT K:MEXT TIME
598 GOTO 98

Py
a
Ey

MIRACLES
BY BARKLEY

18 REM DECORATIVE BORDERS AND PATTERNS
FOR ATARI WITH EPSON-COMPATIBLE DOT-M
ATRIX GRAPHICS

15 REM ADAPTED AMD EXTENDED BY R.A.BAR
KLEY FROM J.H. DAVEMPORT'S "GRAPHICS F
OR THE DOT-MATRIX PRINTER"

20 DIM AC16) ,B(16),E(8) KCB), ¥C8) ,GRSC
5), BYTES (8) , MBYTES (8) ,A9(3)

22 PRINT CHRS (125)

OR P= TO 7:E€P)=E(P-1)%2:W

3S REM 28k MENU PAGE 1
40 2 CHRS(125) :POSITION 2,5

342 LPRINT CHRS(27) ;"2";CHRS (13);
3415 LPRINT “ PATTERN tt ";PATTERN;"

PrMeae DECORGTIVE BORDERS OND POTTERNMMME ML OL Ch PRINTE
= R DENSITY CODE: "";D

427 YK Geeeaa tt t--—/\ /\--- ttt SSSK ZO LPRIMT CHRO (2795 "2"5 CHRS C13) ;
>a 325 IF M1 AMD PATTERNXN THEN GOSUB 61
Cea FOR EPSON -COMPOTISLE PRINTER SES

Ms? 3? 350 NEXT PATTERN

452
a

EW ENTER YOUR OWN PATTERN 348 ? PRESS <RETURN? Fy

46727" GENERATE RANDOM PATTER 358 ? CHRS(125):GOTO 45
ns" 58 REM ¥* ENTER OWN PATTERN NO. ¥H#
Ce ";TINPUT ANS:IF ANS<L

OR ANS)2 THEN 98

58? “LENGTH OF DOT-PATTERN (TO 16)":T
NPUT Q:IF Q4@ OR Q)16 THEN 98

55 2 “PRINTER DENSITY CODE (@ TO 6)":I
MPUT D:IF D<® OR DDG THEN 90

68 7 "NO. OF REPETITIONS (@= ONE LINED
MPUT RiIF RX® THEN 98

65 IF ANS=2 THEN 2 "NO, OF DIFFERENT P

EWTER ";0;" NUMBERS € @ -

No.
7

FOR I=1 TO Q:7 CHRS(28);

INPUT A$: ACT) =VAL CAS):

GOTO 788

REM ** ENTER RANDOM SEQUENCE *¥*

Pin Pattern"
2

ae

538
548
558
6ee

LEW CAS?

ATTERNS TO PRINT":INPUT N:GOSUB 61¢:G0 618? :?* No, Pin Pattern"

To 108 oz 2" 7

70 IF ANS=1 THEM N= 615 REM FOR K=1 TO N

75 GOSUB 51@:GOTO 100 620 FOR I=1 TO O:ACI)=INTCRND (8)%(255)
8@ END )

90 ? CHRSC125):POSITION 8,5:G0TO 45 638 AS=STRS CACTI) :L=LEN CAS)

108 FOR PATTERN=1 TO W 708 REM ** RIGHT JUSTIFY ACI) **

138 C=8 748 7 CHRS(28);"

148 G2=INT (64080) /256) :6.
det

158 GRSCL, 19 =CHRS (272 :GRS CZ, 29="H" ERS
(5, SV=CHRS (DI GRE C4, 4) =CHRS (G1) 1GRIES,
5) =CHRS (G2)

168 LPRINT GRS;

178 FOR J=i TO 20

180 FOR I=1 TO Q:LPRINT CHRS CACTI); :WE 1056
xT 1048
190 FOR I=@ TO 1 STEP -1:LPRINT CHRSCA 1658

= (48K0-2564G2 ACT) ;:G0T0 740

720 IF L=2 THEN ?
730 IF L=1 THEM ?
748
1008
1018
1828

REM ¥*MIRROR-IMAGE CONVERSIONN®
REM * DIGITAL TO BINARY *
CODE=A (I)

FOR P=7 TO @ STEP -1

4 (PI=CODE-E CP)

IF K¢P)<@ THEN YCP)

:G0TO 1878

00); :MERT T 1068 ¥CP)=1:CODE=KCP)

208 WEXT J 1678 IF YCP) THEN ? CHRS(148);:GOTO 10
218 LPRINT CHRS(27) ;"A";CHRS (82 ;CHRS C1 78

8); 1075 ? CHRS (168);

228 LPRINT GRS; 1078 WEXT P

258 FOR J=1 TO 28 1888 2 :? :FOR J=8 TO 7

240 FOR I=1 TO Q:LPRINT CHRS(B(I));:NE 1082 REM * REVERSE BIT SEQUENCE *

xT I 1085 BYTES (J#1, J419=CHRS CY CID)

25@ FOR I=Q TO 1 STEP -i:LPRINT CHRS(B 1898
00); INERT I 1895
268 WEXT J 1108 REM ¥ BINARY TO DIGITAL *

270 C=CHIIF CX=R THEM LPRIMT CHRS(27) 1118 BCT)=128HY (0) #64%Y (1) #32KY (2) 116%
CHRS (8) ;CHRS (13); :G0TO 168 YS) 4BHY C4) +4%Y (5) 4289 (6) 4¥ (7)

288 LPRINT CHRS(27) ;"2";CHRS (139; 1200 WEXT I

298 FOR I=1 TO Q:LPRINT ACTD;" "j:NEK 1210 ? :
Tr 1228 FOR
388 LPRINT CHRS(27); HRS C13); DiWERT 13?
3410 FOR I=4 TO Q:LPRINT BCID ;" :NEX 1580 RETURN

Tr
6

MBYTES (8-J, 8-J)=CHRS CY (JI)
WEXT J

CODE: MIRROR IMAGE:"
TO Q:PRINT "  ";ACT), BC

Page 7 (scan)

rt)
15

GOSUB 19888
POSITION 8,20:? #5

POSITION 8,28:0N P#2 GOTO 48

2 He; "PLAYER & 1":G0TO 58

2 w6;"player / ="

POSITION 0,222? #6; "CGTES @ "';
G=-(P=-19 #32

GET 1,Z:Y=Z-48:1F Y<1 OR Y)6 THEN

78

88 7 M6;CHRSC128+Z):? HES"ONET] B53:
RE CY-A 8S
90 GET M,Z:
58

Z-48;1F ¥<1 OR ¥)6 THEN

8-2 HG; CHRS CL2B4Z) 5 Y= CY-1)*S

118 IF SGMCACK,Y2=-P THEM 15

128 GOSUB 1098:GOSUB 9888

138 IF ABSCACK,YII<C THEN P=-P:GOTO 15

‘OR K=@ TO 18 STEP 3
To 18 STEP 3

168 IF ACK,¥}<@ THEN Iii
170 IF ACK,¥})@ THEN T2=1
188 GOSUB 9808

190 IF ABSCACH,YI))=C THEN Z
810:G05UB 2088

208 MEKT Y:MEXT X

210 IF Tiz@ THEM POSITION 8,28
LAYER & 1 1:7 M6; "HINS":GOTO 580

220 IF I2=@ THEM POSITION @,20:? 16; "P
layer / =~ 6 ;"wins":G0TO 588

230 IF Z=1 THEW 150

240 P=-P:GOTO 15

Ea rmanother aanel

ET wi, K:IF K=89 THEN RUN

518 ? TEND

1088 ACK, YI=ACK,Y)+P

1018 POSITION H#1,Y#1:? #6; CHRS(G+39);
CHRS (G39) 5 CHRS (6439) ;

LOLS F=ABSCACK, YD)

1828 POSITION K#1,Y#2:? #6; CHRS (G39);
CHRS CFE48+G) | CHRS (G39);

1OS@ POSITION K#L,¥+3:? #5; CHRS(G+39 5
CHRS CG#39) ; CHRS (6439) ;

1048 RETURK

2008 POSITION #2, Y+i:? #6; CHRS(Gt35)
2018 POSITION K+1,¥#2:? #6; CHRS (64372
2028 POSITION KS, ¥+2:7 16; CHRS(G+38)
2038 POSITION KZ, Y#3:? 16; CHRS(G+36)
2048 FOR J=i5 TO @ STEP -@.15:SOUMD @,
89,8, J:MEXT J

2058 ACK, Y2=ACK,YI-CHPLIF ACK,YO@ TH
EN GOSUB 1e1@:GOTO 2148

5
865"

GUESS

2060 IF (K/2=INTCH/2) AND Y/2=INT(Y/2)
2 OR CK/2<DINTCH/2) AND ¥/24DINTCY/293
THEN 2118
2078 POSITION Kti,¥ti:? #6; "M0"
2080 POSITION K#1,¥#2:? #6; "MR"
2098 POSITION K+i,Y#3:? 86; "RM"
2488 GOTO 2148
2118 POSITION Kt1, Y#
2428
2138
2148
2158
2168
2178

POSITION K+i,¥#2:? #6; "HOE"
POSITION K+1,¥#3:7 6; “HET
A=KiB=¥:M=P

IF ad THEM 2180

A (-3, BI =AB5 (0 (0-3, BY *NEN
Br

“3

GOSUB 1818

2180 IF A)13 THEW 2218

2198 ACAFT,BI=ABS(ACAt3, BY ENE
2208 H=A+3;Y=B:GOSUB 1018

2248 IF B{3 THEN 2248

2220 ACA, B-3)=ABS (ACA, B-3)) *NEN
2238 -3:G0SUB 1018

224@ IF B)13 THEN 2278

2250 ACh, BE3)=ABS (ACA, BES) ¥NEN
2268 =B+3:G05UB 1018

2278 RETURN

yeoe
oie IF H=15 OR H=@ THEN C=C-L

9020 IF Y=15 OR Y=@ THEM C=C-1

9830 RETURN

10808 GRAPHICS @:POKE 752,1:POKE 709,14
OKE 718,24:POSITION 8,1:POKE 82,1
1eeie 2? “EXPLOSION BY P. GIBBS": POSITI
OM 8,2:2

1eeze 2 "+
game. The"
19038 7 “object is to leave your oppon
ent with"

Explosion is a two player

ino pieces on the board
In a go you may place ap

iece in*
18060 ? “either an unoccupied square,
or one"
e878 ? “occupied by your own pieces."

loose 2 "+
of pieces"

(9898 2 “that can remain in any square
In most"

(8188 ? “squares this number is three

rut at the";

(8118 ? “edges it is two and at the co

sners it"

(8128 ? “is one. If that number is exc

veded the"

\8138 ? “pieces on that square will ex

Mode into";

There is a maximum number

7

10148 ? “those surrounding it, so taki

ng them over."

(aise ? "4 Multiple explosions are p

ossible !4"

11888 FOR I=@ TO 512:POKE 25680+I, PEEK

(5734440) MERT T

11018 FOR I=8 TO 63:READ A:POKE 25608+

1,255-A:MEHT T

11820 FOR I=136 TO 183: POKE 25680+I,75

S-PEEK(S734441) :WEXT I

(ze00 2"

=

12918 DIM A(28,20):FOR I=@ TO 18 STEP
3.FOR IT=@ TO 18 STEP 3:ACI,IT=O:WEKT
TI:WEXT 1

12020 OPEN #1,4,0,"K:":GET H1,K

12580 GRAPHICS 17:POKE 788,54:POKE 756
)188:POKE 710,26: POKE 712,¢
13e00 7 #6;" Bo8 &

13018 FOR TO 17 STEP 3

13828 OM CI/2=INT(T/2)) GOTO 13846
13038 FOR L=@ TO 2:7 #6;"
WOMEN :NEKT LiMEXT I:GOTO 1385)

13048 FOR L=@ TO 2:7 16; CEEMAEOEOOED
WORM": WEKT LiNEXT T

13858 FOR I= TO 15 STEP 3

13860 POSITION @,2+I:? #6;CHRS(177+(I/
SO) :MEXT I

14000
20008 DATA 178,178, 178,170,178,178,170
A178

2
20020
20030
70848
2

DATA 255,8,255,8,255,8,255,8
DATA 24,68,126,219,24,24,24,24
DATA 24,24,24,24,219,126, 68,24
DATA 16,48, 96,255,255, 96, 48,16
DATA 8,12,6,255,255,6,12,8

20068 DATA 8,0,8,0,0,0,8,8
32008 GOSUB 12588:G0TO 28
32508 GOTO 32588

ACTION

BYTE FUNC EQS{CARD 51,52)
BYTE TEMP

} RETURNS TRUECSFF) IF STRINGS ARE
EQUAL, FALSE(S@@) IF STRINGS ARE
3 MOT EQUAL

} SL IS ADDRESS OF FIRST STRING
52 IS ADDRESS OF SECOND STRING

IF SCOMPARE (51,52) THEN
TEMP=$88

ELSE
TEMP=SFF

FI

RETURN (TEMP)

Page 8 (scan)

7* Demo using counters provided by *
3; the program itself, decremented *
7% during the Vertical Blank Int. *

BYTE ARRAY cntdn(5), cntf1g(S) ,maxcnt(s
5)
BYTE ARRAY rot=(47 124 92 45 45]

PROC Setvect=SE4SC(BYTE areg,xreg,yreg
?
3} This time used to insert routine int
°
} vertical blank interrupt
PROC Vblank( ; Routine to be inserted
BYTE if

FOR To 4 00

IF cntdni))@ THEN
cntdn(id==-4 FI jdecrement count

ers
IF cntdnCi3=@ THEN
cntfigCid=@ FI jset flag if zer
°
op
($40 SSF SE4I ;
ck

In line code jump ba

PROC Rotate() ;Update figures at timeo
ut
BYTE j
FOR j-=@ TO 4 DO
WHILE maxcnt( j){15 AND cntfig¢ j)=8

po
IF rotcj)=47 THEM rote j)=45
ELSEIF rotcj)=45 THEM rot¢j)=9

2

ELSEIF rot¢j)=92 THEN rot¢ji=1
oz

ELSEIF rot¢j)=124 THEN rot¢j)=
47

FI

Posi tion(S* j+18,18) Puttrot(j)
)

IF Rand (15) (1 THEN maxcnt( j)==
+4 FI

cntdn¢ j)=maxcnt(j) catflg¢ j=1

op
op

RETURN

PROC Spins

OCKERS IN ACTION

BYTE k
Put(125) Poke(752,1) ;Clear screen
Setvect(6,Ublank RSH 8,Ublank & SFF)

;Our vertical blank routine inserted
DO ;do forever
IF Rand(@)<1 AND RAND (38) <1 THEN
k=Rand(5) maxcnt(kJ=1 cntflg(k)=
FI ;Rotations re-started at rando
RotateQ ;lipdate all

op
RETURN

|

-—— =

i* Demonstration of timer #2, going *
i® to a specific routine on timeout *

PROC setime=56460(BYTE areg,xreg,yreg)

PROC timeup()
Poke(710,@)
RETURN

Called upon interrupt
Black background

PROC IntineQ
CARD time
BYTE sec, j=(32]
Printe('# SECOMDS?") sec=InputBO.
time=seck6e
Pokec ($8228, timeup) ;set #2 vector
Setime(Z,time RSH 8, time & SFF)
ising timer #2
po
Putcg) jah
IF j)422 THEN j=32 FI
0D ;Endless loop
RETURN
8

Interrupt at timeout

3% f@ Demonstration of using system 4
i® timer #3, watching a flag ff
*

location for timeout. a

PROC Setime=S8460(BYTE areg,xreg,yreg)

} Used to set timers during VBI

PROC Pollflag() ;Poll flag for timeout

CARD time
BYTE sec, flag=$@22A, j=(32] ; timer #5
Printc"i seconds?") sec=InputB()

time=sec%6@ flag=1 ; non-zero
Setime(3,time RSH 8, time & SFF)
po

PutCj) j==#1 j just do something
IF j)422 THEN j=32 FI

UNTIL flag=@ ;until timeout

op

PUtEC) Printc"TIME I5 UP !!

NOT ACTION BY
OCKERS

PROC PRINTBBCBYTE NUM)
} PRINTS OUT @ BYTE IN BINARY

BYTE
MaSK, BIT

Mask=$80

FOR BIT=@ To 7

bo
IF MASK & NUM THEN
PRINTOHL'D
ELSE
PRINTC
FI
HOSK==RSH 1
op
RETURN

Page 9 (scan)

Fix "ftoiO" in ace-c

7
7* ACE Newsletter ”
7* 3662 Vine Maple, Eugene, Or */
7% 97405 $14 yr May ‘86 *
re ”
7® BY A. J.Aspromatis a
* *
7* Org: 3/21/86 Rev: 4/ 7/86 ¥/
le ala
ee

Mdefine bufr x5ee8
Mdefine bug_loc @x95@
hell
naing
aC
char data;
int count,countZ,line,x;
ie Setup
poke(752,1); /MeCmnaa/
putcharC'\f'); /CERETET IT
position(10,29;
printf(ftoi@ FIX FOR ACEC");
position(11,3);
printf("by f.J.Aspromati
Line=10;
position(3, line);
printf(Insert ACEC disk & press <RE
TURN)";
while (getkeyQ !='\n');
a open file to read 7
open_file(4,"read", Linet#) ;
position(4,+#line);
printf (Reading ENGINE. OBJ");
Meet file data 7
j+#count

if (data=cgete (19) (8) break; /HGG

fad until EOF ai
Poke (bufr+count, data);
9
closeti);
a testif fixed if
if (dpeek (bufr+bug_loc)

xD4AG && dp

eek (bufr+ (bug_loc) #2)==@xD5A5)
oe
a fix it le
Poke (bufr+bug_loc , 8x95) ;
Poke (bufr+ (bug_1oc} #2, @xA6) ;
Position (4, ##1ine;

FIXACEC IN ©

position(4,+#line);
printf (Writing ENGINE. 0B");
Me Put file data ii
for Ccount2=8;count2<count; ++count2
) cpute (peek (bufrtcount2) 1);
close 1);
9
else
Eg JO NOt Fix
se
position(S,+#1ine);
if (dpeek (bufr+bug_loc)
dpeek (bufr+ tbug_loc) +2) ==8xD5A6)
printf("File already fixed");
else printf ("Different version of
ENGINE. OBJ") ;
position(s, +#1ine);
printf("Fix aborted");
9
Position(3, 20);
printf("Done -- press (RETURN) for D
05");
while(getheyQ
9
re
ee: K/
/* Function definitions */
ne --#/
1ek/
pe Ky
7 ERROR CODE NOTICE */
notice terror, line?
char error;
int line;
se
error=-error;
Position(S,+#1ine);
printf" Error %d on disk access.",e
rror);
position(3,++#1ine);
printf" Press <RETURM) to try again
while (getkeyO !="\n');
Line=erase(2, line);
return;
9)
re
pe -=-#/
7* ERASE LINES ¥/
erase (number, line?
int line, number;

Any;

$¢

for (number !=8;--number ,--line)
o
position(2, line);
printéc

9

3
9
return (line);
9)
reer
oa --*/
7 OPEN FILE TO READ/HRITE */
open_file(cwnd, prompt, line)
Char prompttl;
int cwnd, line;
$¢
char code;
while ((code-open(i,cmnd,-1,"D:ENGINE
0BI"99 (0)
$C
Position(4,#tline;
printf("Cannot %s ENGINE. OBJ", prom
pt;
notice (code, line);
closet1);
line=erase (1, line);
$1
return;

ACTION
ACTION

BYTE FUNC MESCCARD 51,52)
BYTE TEMP

RETURNS FALSE(S@8) IF STRINGS ARE
EQUAL, TRUECSFF) IF STRINGS ARE
WOT EQUAL

51 IS ADDRESS OF FIRST STRING
52 IS ADDRESS OF SECOND STRING

IF SCOMPARE(S1,52) THEN
TEMP=SFF

ELSE
TEMP=$08

FI

RETURN (TEMP)

PROC GLITCHO

21

RETURN

Page 10 (scan)

410 REM GENDISNADOG PART 1 - MANDLCAL

28 REM refer to Scientific American
August 1985

30 REM MACE subset of Mandelbrot set
by DICK KELLETT

40 REM HACE MARCH 1986

58 REM

68 REM

70 SETCOLOR 2,8,8:? CHRS (125) WHE

MW OTHE PROGRAM I5 RUM THE SCREEMMILL BL

ANK TO SPEED THE CALCULATIONS’

88? EVEN WITH THIS THE TOTAL TIM

£ TO CALCULATE AND SAVE THE DATA IS B

ETHEEN i@ AND 20 SRCMTECRER

907 WHILE THE PROGRAM IS RUNNING

PRESSAKY FUNCTION KEY (OGL), HANS

or TO DISPLAY THE "3

108 2 “CURRENT NUMBER OF ITERATIONS,

HORTZONTAL COUNT AKD VERTICAL COUNT.

2

37

" PRESS TO CONTINU

IF PEEK (53279) (06 THEN 128

> CHRS (125) :DIM MANS (8) , FILES (15)

140.7 “INSERT DISK WITH AT LEAST 258 F
SECTORS": ?

2 “INPUT FILE NOME. DO NOT USE DEV

OR EXTENDER. "5

2 “THE PROGRAM HILL SUPPLY A

ICE MAME D. AND @ .DAT ERTENDER™

170 7 “ENTER NAME OF DATA FILE":? “CHA

X 8 CHARACTERS)"; :

180 FILES(1,2)

S.CLEW (HANS) +3, LEM (HANS) #72 ="", DAT"

198 CLOSE M1:0PEM Mi,8,0,FILES

200 HS=159 As IT=L

218 TRAP 218:7 CHRSC125);"ACORNER ,BCO

RWER ARE THE BOTTOM LEFT CORMER OF TH

£ AREA TO BE PLOTTED"

228 7 “ENTER ACORNER, BCORNER

ACHR, BCHR

238 TRAP 258:POSITION 14,10:7 "

240 POSITION 2,5:? “ SIDE 15 THE DISTA

HCE TO BE COVERED INA POSITIVE GOING H

ORIZONTAL DIRECTION"

250 7" THE DISTANCE COVERED IN A PO

SITIVE GOING VERTICAL DIRECTION I5 APP

ROX, 8.6 THE HORIZONTAL DISTANCE"

268 7 “ENTER SIDE MPUT 5D

270 SCR=PEEK (559) :POKE 559, 0:POKE 755,

8:? CHRSC125)

288 GAP=SD/HS:VGAP=GAP/2:REM ADJUST FO

R PIKEL SHAPE

298 REM HAIN NUMBER CRUNCHING ROUTINES

DEY

INPUT

MANDELBROT SET

yoe FOR U=@ TO US:FOR H=8 TO HS
310 BC=VRVGAP+BCKR
320 AC=HEGAPTACHR

350 COUNT=COUNT#L
360 I=AZ*AZ: J=BZ*B:
378 REM DISPLAY CURRENT STATE WHEN A F
WNCTION KEY I5 PRESSED

380 IF PEEK(S32794)7 THEM GOSUB 498
390 REM BLANK SCREEN WHEN FUNCTION KEY
TS RELEASED TO SPEEDUP CALCULATIONS
408 IF PEEK(S3279)=7 THEW POKE 559,
419 TF COUNT<IT AND CI+JD<=4 THEN 348
420 PUT #1, COUNT

438 COUNT=O:NERT HiMEXT U

440 PUT #1,155:REM EOL

450 CLOSE L:POKE 559, SCR:GRAPHICS 18:
POSITION 5,23? $46 ; "ELEDTAN" : POSITION
3,407 6; "GEOG GEIEE! BB"

468 POSITION 3,612 H6;FILES:POKE 758,7

478 GOTO 478

480 REM DISPLAY CURRENT STATE

490 POKE 77,8:POKE 559,5CR:POSITION 2,
2:7 “COUNT

5e@ POSITION 15,
On 38, VERT. POS."

510 POSITION @,3:2 “——t———
———"

530 RETURN

REM GELDINAI: - Part 2 MANDPLOT
REM refer to Scientific American
fugust 1985

REM This reads the data file from
MANDLCAL and plots the screen
REM

REH MACE subset of Mandelbrot set
by DICK KELLETT

REM MACE - MARCH 1986

REK

88 REM Dialed

90 CLR :DIM AS C15), BS C15) , LDS C15) , FILE

10

g
3

2
s

$(8) :G0SUB 458

fee ? CHRSC425):? “ENTER FILE NAME OF

DATA FILE.DO NOT USE DEVICE WARE OR

EXT." sIMPUT FILES

110 LOS, 3)
(FILES) +392", DAT"
128 TRAP 120:? CHRS(125)

130 7 “ENTER FTO DISPLAY PICTURE WITH
USER SELECTED COUNTS FOR COLOR CHANG
e"

148 7 “ENTER @ TO DISPLAY PICTURE WITH
COLOR CHANGE MOD 3"

ise ? “ENTER @ TO PLOT THE COUNTS LOWE
R THAN THE FIRST CHANGE POINT IN MOD S
168 INPUT CH:IF CH<L OR CH)S THEM 120
178 TRAP 4ee00:IF CH=2 THEN 758

tga 7 CHRSCA25):7 “THE COUNTS FOR CHAK
GE ARE BETWEEN 1 AND 188. ENTER THE
CHANGE NUMBERS IN ASCENDING ORDER"
198 TRAP 19@:POSITION 3,577"

298 POSITION 3,4:2 “ENTER COUNT FOR FI
RST COLOR CHANGE “:INPUT C4:IF C1¢1 OR
ci)1e@ THEN 198

248 TRAP 21@:POSITION 3,777"

228 POSITION 3,6 MTER COUNT FOR SE
COND COLOR CHANGE “:IMPUT C2:IF C2<=Ct
on cz)10e THEM 21@

250 TRAP 238:POSITION 3,95?
240 POSITION 3,8:2 “ENTER COUNT FOR TH
IRD COLOR CHANGE “SINPUT CS:IF CS<=C2
or cS)1ee THEN 238

250 TRAP 358

260 GOSUB 408

270 CLOSE HL:0PEW H1,4,8,L09

280 FOR V=191 TO @ STEP ~
A159:GET WL,NCOL="

298 IF CH=1 OR CH=3 THEW COL=1*CH<CL)+
FECOD=CL) AND CHKC29) #28 CCND=C2) AND
(HCC39 1 CHD =CTD

00 IF CH=2 OR CCH=3 AND (MKC) THEN

COLE (N/E-INT CH/ 3) 8S4L

310 IF M108 THEN COL=@

328 COLOR COL:IF U<96 THEN POKE 89,5A-

15:PLOT H,V:REM TOP HALF OF SCREEN

350 IF ¥)9S THEN POKE 69,5A:PLOT H,0-9

B:REM BOTTOM HALF OF SCREEN

340 WEXT HiWEXT ¥

358 POKE 89,5A-15:CLOSE #1:REM RETURH

POINTER TO TOP HALF OF SCREEN

360 IF PEEK(53279)=6 THEN 98

370 IF PEEK(S32799=5 THEN 548

388 GOTO 368

398 REM 4

400 GRAPHICS 8#16:DLIST=PEEK (S60) +PEEK
(5619%256:POKE DLIST+S, 78: 5A=PEEK (89) +

45

Lb$(3)=FILES:LDS (LEW

OR H=8 TO

Page 11 (scan)

18 GOSUB 19888
15 POSITION @,20:7 t6;"

28 POSITION @,20:0N P+2 GOTO 40

38 7 H6;"PLAYER & 1"

407 W6;"player /

5@ POSITION @,22:? #6; "(LUE @ ";

68 G=-(P=-1)*32

78 GET #1,Z:¥=Z-48:1F YL OR Y>6 THEN
78

88 7 H6;CHRSCI284Z):? H6;"DEE)

RE CY-L) KS.

98 GET M1,Z:¥:
58

188 7 HH;CHRSCLZB4Z) 5 1 ¥=CY-LIKS

118 IF SGM(ACK,YII=-P THEN 15

128 GOSUB 1988:G0SUB 9880

150 IF ABS(ACK,YII<C THEN P=-P:G0TO 15

=Z-48:1F ¥<i OR ¥>6 THEN

148 GOSUB 2000

Bez FOR K=@ TO 18 STEP 3
To 18 STEP 3

160 IF ACK, ¥)<@ THEM Ii=1

4170 IF ACK,¥))@ THEM 2-4

188 GOSUB 908

198 IF ABSCACH,YI))=C THEN Z=1;GOSUB 1
010:G0SUB 2800

208 WEKT Y:MEXT X

218 IF Ti=@ THEN POSITION @,2
LAYER & 1 "i? M6 ;"HINS":GOTO 5@
228 IF I2=@ THEN POSITION 8,2
layer / - #6; "wins":G0TO 580

230 IF Z=1 THEM 150

248 P=-P:G0TO 15

Ear ranother Jane]

p:GET M1,K:IF K=89 THEN RUN

518? :END

1088 ACK, YI=ACK,YI4P

1010 POSITION K#1,¥+1:7 H6;CHRS(G+39) ;
CHRS (G4399 ; CHRS (G39) 5

1015 F=ABS (ACH, ¥9)

1028 POSITION X#1,¥#2:? 5; CHRSCG#S9);
CHRS (F#484G) ;CHRS (6439) ;

1038 POSITION K#L,¥#3:? 86; CHRS (G39);
CHRS (G#39) ; CHRS (6439) ;

1848 RETURN

2808 POSITION X#2,¥#1:? 16; CHRS(G#S5)
2018 POSITION K#1,¥#2:? 86; CHRS (G37)
2028 POSITION K#3,¥#2:? #6; CHRS(G+38)
2038 POSITION K#2,¥+3:? #6; CHRS(G#36)
2048 FOR J=15 TO @ STEP -@.15:SOUND 8,
89,8, S:MEXT J

2058 ACK, ¥)
EN GOSUB 10:
2068 IF ¢X/:

iP

ap

K,Y)-CXP SIF ACK, VIO TH
GOTO 2148
MTCK/2) AND Y/2=INTCY/2)

EXPLOSION

YOR CH/20>INTCH/2) AND ¥/24DINTEY/29)
THEM 2116

2878 POSITION K+i,¥+i:? #6; "QO"
2088 POSITION K+1,¥+2:? 16; "MN"
2898 POSITION K#1,¥#3:2 6; "CN"
2188 GOTO 2148

2418 POSITION K+i,¥+1:? #6; “T"
212@ POSITION K+1,¥+2:? #5; "—RE
2138 POSITION Ki, ¥+3:? 16; “HO
2148 a= =P

2158 IF aC3 THEN 2180

2168 ACA-3,B)=ABS(ACA-3, BI) *NEH
2470 K=0- osuB 1018

2180 IF Adi THEN 221

2190 ACHES, BI=OB5.(ACA+3, BI *NEN
2208 H=AtS:Y=B:G0SUB 1018

2218 IF B<3 THEM 2248

2220 ACA, B-33=AB5 (ACA, B-33)*NEN
2238 -3:G05SUB 1818

2240 IF B)13 THEM 2278

2258 ACA, B+3)=AB5 (ACA, B#3))#HEN
2268 K=A:Y=B+3;GOSUB 1010

2278 RETURN

3088 C=4

9ei@ IF K=15 OR K=@ THEN C=C-1

9020 IF Y=15 OR Y=0 THEM C=C-4

9038 RETURN

18088 GRAPHICS @:POKE 752,1:POKE 789,14
S:POKE 718,24:POSITION 8,1:POKE 62,1

10810 ? “EXPLOSION BY P, GIBBS": POSITI
on 8,222 ———______—

10028 7" Explosion is a two player
game . The’

10838 ? “object is to leave your oppon
ent with"

10848 ? "no pieces on the board."
10058 7" In a go you may place a p
iece in

10868 ? “either an unoccupied square,
or one"

10878 ? “occupied by your own pieces."
10086 ?."s There is a maximum number
of pieces"

18898 7 "that can remain in any
+ In most

square

10188 ? “squares this number is three
but at the;

10110 ? “edges it is two and at the co
Pers it

18128 ? "is one, If that number is exc
eeded the"

1013@ 2 “pieces on that square will ex
Plode into";

18148 ? “those surrounding it, so taki
ng them over."

11

1eise 7 "4
ossible !4'
11008 FOR I=@ TO 512:POKE 725608+I, PEEK
(5734441) NEXT I

1101@ FOR I=8 TO G3:READ A:POKE 256e0+
I, 255-1 EXT I

11028 FOR I=136 TO 183:POKE 2560841,25
S-PEEK(S734441) :MEXT I

12ee@ 2"
12018 DIM A(2@,28):FOR I=@ TO 18 STEP
S:FOR II=@ TO 18 STEP 3:ACI,II)=0:NEXT
IE:WERT I

12028 OPEN #1,4,8,"K:":GET M1,K

12588 GRAPHICS 17:POKE 708,54:POKE 756
,100:POKE 718,28: POKE 712,08
13088 ? 16; @8O8
13818 FOR I=@ TO 17 STEP 3
13828 OW CI/2=INTCI/2)) GOTO 13048
13030 FOR L=@ TO 2:? 16;" (IORI
WRMRME' WERT Li WERT T:GOTO 131
13048 FOR L=8 TO 2:7 %6;" CERMAMEND
GERM": WEKT L:MEXT T

13058 FOR I=@ TO 15 STEP 3

13068 POSITION @,24I:? #6; CHRS(177¢(I/
300 :MEXT I

140

Multiple explosions are p

2
A178

20018
20028
20030

j@ DATA 178,178,178,178,170,178,178

DATA 255,0,255,8,255,0,255,8
DATA 24,608,126, 219,24,24,24, 24
DATA 24,24,24,24,219,126,68,24
DATA 16,48, 96,255,255, 96,48, 16
DATA 8,12,6,255,255,6,12,8
DATA 6,8,8,8,0,0,8,8

GOSUB 12580:G0TO 20

GoTo 32588

ACTION ACTION

BYTE FUNC GTS{CARD 51,523

BYTE TEMP

3 RETURNS TRUECSFF) IF $1 <= 52
} FALSECS@8) OTHERWISE

3 54 IS ADDRESS OF FIRST STRING
i 52 IS ADDRESS OF SECOND STRING

20058
20068
32008
32508

IF SCOMPARE(51,523)@ THEN
TEMP=SFF

ELSE
TEMPS
FI

RETURN (TEMP)

Page 12 (scan)

EXPLOSION CON’T

FOO1@ POKE 106, PEEK(748)-6:GRAPHICS 8:
POKE 788,102:POKE 789,44:POKE 718,50:P
OKE 742,0:POKE 752,1:? “D>HAIT!

3OO15 RESTORE 30058:FOR I=1 TO 16:READ
ASCMPS CI, ID=CHRS (A) :MEXT T

38828 POKE 512,128:POKE 513,6:FOR I-16
64 TO 1731:READ A:POKE I,A:MEKT I
$8025 DLS=PEEK (568) +256PEEK (561) : POKE
DLS+7,7:POKE DLS#8,6:POKE DLS#1@,128:
POKE DLS#27,128

38030 K=USR (1788) :POKE 54286,192:RETUR
"

38850 DATA 288,212, 96,19,26,47,17, 112
30868 DATA 157,69,3,169,8,157,75,3
30069 REM
STARTS -1664~
30078 DATA 72,169,112, 141,10,212,141,2
4,208, 169,156, 141,8,2, 184,64
30079 REH
STARTS -1680-
30888 DATA 104,184, 184,178,76, 86,228
30089 REM

STARTS -1687-
30898 DATA 104,32,83,228,96
30189 REM

STARTS -1692- WAS -1714-
30110 DATA 72,169,2,141,18,212, 141,24,
208,169,156, 141,9,212, 104,64
‘30119 REM STARTS ~1788-
was 1738
30120 DATA 184,168,185, 162,6,169,7,32,
92,228, 96
30129 REM STARTS ~1719-
Was 1741
3O15@ DATA 169,128, 141,0,2, 169,192,141
114,212, 76,98, 228

ACTION

BYTE FUNC INKEYO.

IF @ KEY IS PRESSED RETURNS ITS
ATASCIT VALUE, 255 OTHERWISE

BYTE TEMP

IF PEEK(764)<)255 THEN
TEMP=GETD (7)
RETURN (TEMP?

FL

RETURN (255)

BIITSMGM COMPORISON BYTES — GTORI/ KUBO
IF i

SNARK

OREM Ge
1 REM
2 EM aT;
Ram bur JIM Danko

4 REM
5

6

?

T

fiaex oTORI Computer Enthusiasts
REM Gee
FOR A=256 TO 288:READ B:POKE A,B:WEX
a
8 DATA 104,169,17,141,48,2,169,1,141,4
1,2,169, 38,141, 26,2, 96,173, 243,2,41,23
1 73,2, 141, 243,2,169, 38,141, 26,2,96
9 POKE 264, 8:A-U5R(256)
48 GRAPHICS 1:POKE 82,2:POKE 752,8:
212
12 POSITION
13 POSITION
POSITION
S POSITION
16 POSITION
17 POSITION
18 POSITION
49 POSITION
0:7 6;"x":G0SUB 9008:CLR
28 FOR 709
3@ POSITION A,0:7
31 BB+
40 NEXT A
5@ FOR C=@ TO >
68 POSITION 6,C:? #6;D
61 D=D+1
62 WEKT C
65 REM PLOTTED POINTS
78 FOR mo 9
88 FOR 109
85 SOUND @,A%8,18,8:5ETCOLOR 3,0, A*B+6

4,157 16; "SER"
18,15:7 86; "qa"
14,352 #65"

14,437 16;
8,10:7 16;

8678

a

98 POSITION B,A:? #6.
108 NEXT B
148 WERT @
111 SOUND 8,8,
112 OPEN H1,4,8,"K
ALS REM Pe

128 KA=IMTCO*RND (13) #4

138 YI=INTCO*RND C199 44

135 FOR T=9 TO @ STEP -1

148 ? “IMPUT  COORDIWATES (EEE)

150 GET #1,K:? CHRS(K):POKE 53279, 4:P0
KE 53279,6
168 7 :? “INPUT ¥ COORDINATES CETES)

178 GET #1,¥:2 CHRSCY) :POKE 53279, 4:P0
KE 53279,6

4172 IF K448 OR K)S7 OR ¥(49 OR Y)57 TH
EN 2 “pee ers GOTO 148

174 K=H-48:Y=¥-48

12

188 IF K)Ki THEW ? “FARTHER
190 IF X<HL THEN 7 “FARTHER
208 IF Y)¥1 THEN ? “FARTHER NORTH"
210 IF ¥<¥i THEN ? “FARTHER SOUTH"
242 IF DKA AND YDY1 THEM ? 2?
THER WORTH WEST"
214 IF K)KL OND Y<Y4 THEN 7
THER SOUTH WEST"
246 IF ¥<K1 AMD Y>YL THEN ? 3?
THER WORTH EAST"
247 IF <4 AND Y<YL THEN 7
THER SOUTH EAST"
220 IF K=Ki THEN ? “* COORD

230 IF Y=¥i THEN ? "Y COORD IS CORRECT
240 IF X=Ki AMD Y=¥i THEM 1000

250 IF )9 THEN 148

268 IF ¥)9 THEM 148

270 IF <i THEN 140

260 IF Y<1 THEN 148

298 POSITION @,19:7 #6;T;" TURNS LEFT"

west”
East"

"FAR

12

1? “FAR

IS CORRECT

294 COLOR 45:PLOT X,Y

295 FOR A=@ TO 88Q:MEXT A
388 MEXT T
310 .7:2::7

+7: "YOU RAN OUT OF TURNS

320 7 "THE SNARK WAS AT "7X1
325 COLOR 171:PLOT 1, Y1
338 FOR A=@ TO 1086:NEXT A
348 GOTO 5588

1008 FOR S=168 TO 1 STEP -i
1508 SOUND ,5,18,6

2e88 SOUND 1,5-1,10,6

2588 NEXT 5

3888 7 :? 3? “CONGRADULATIONS!!
3588 7 "YOU FOUND THE SNARK IN ";9-T#L
TURNS 1

3558 COLOR 171:PLOT Ki, Yi

v4

4908 FOR A=6 TO S08
5808 MEXT A

5801 SOUND @,8,0,8

558 POSITION 14,0:7 #5; "GEE

5555 POSITION 13,1:7 46;" EET"

5956 FOR QH=8 TO 255

5708 IF PEEK(532793=6 THEM SOUND 0,0,0

,O:50UND 1,8,8,
580@ SETCOLOR 2.
OUND 1,0H+4,18,6
5908 NEXT OW
6888 GOTO 5556
9088 REM

9508 RETURN

LR RUM
ON: SOUND @,0W,18,6:5

Page 13 (scan)

MANDELBROT SET

The front side contains the four programs listed within the
Mandelbrot articles in this issue. They allow you to create the Mandelbrot
data file, plot the data file to screen, investigate where to make the
required colour changes, and finally to dump the screen to printer, colour
register by colour register (for colour printouts), or in a variety of grey
shades. There are two versions; one in BASIC, the other compiled using
MMG compiler. To load the compiled version go to DOS and load through
the L option (Binary load)

The flip side contains a slide show (using Fader 2) of graphics 7+
Mandelbrot screensaves. These include all the ones shown in this
magazine plus a few more and were generated by Dick and Rita.

To generate your own Mandelbrot use Program 1 and refer to Fig.1
in the article. This is the complete set, and from here you can select the
coordinates to investigate any part of that set. ACORNER (Real
coordinate) is the horizontal axis, BCORNER (Imaginary coordinate) is
the vertical axis. SIDE is the horizontal length of the ‘square’ you wish
to view. (The ratio is 1 horizontal to .64 vertical.) The smaller the SIDE
value, the more powerful the zooming function and you find yourself
deeper within the set. | have gone to 8 decimal places (and further). The
deeper you go, the more precise you need to be with your measurements
to get the right coordinates to find something of interest, and you do
need some luck, otherwise you may find nothing but the blackness of
the set itself.

Load in program 1. Insert a disk with 250 free sectors, this will be
your data disk. Follow the prompts. Turn off the screen and leave the
computer and drive to work for the next 10-30 hours while you do all
those other tasks needing attention. When all the computation has
finished and the file has been completed, the screen will show FINISHED
and the name of the file it was saved to.

Load in Program 2. Type in the name of the picture file, then the
name of the data file to generate the picture. For the first run through
select option 2 (MOD 3) and watch the mystery of the selected area
unfold before your eyes (15 minutes). Save this screen by pressing the
SELECT KEY. Use Program 5 (Loadscrn) to retrieve this picture at a later
time.

Program 3. Follow the prompts. This program shows you at what
levels of iterations activity was occurring. This will help in the choice
of where to set the colour changes for the best effects. After noting (or
dumping) the information generated by this program use that information
to experiment where to place your colour changes in program 2. Continue
experimenting until you have the effect you desire.

Program 4. If you have a PX-80 printer this will dump your screen
to the printer either in shades of grey, or in separate colour registers.

Program 5. This is a rough and ready retrieval program. Follow the
Prompts (graphics 15 is graphics 7+). | added this as an afterthought,
just incase you did not have the means to retrieve the picture files you
had created. This small program will actually retrieve any type of saved
Screen except for compressed screens. More on screensaves and
retrievals in another issue.

PROGRAM 1 MANDELZOOM part 1 - MANDLCAL.BAS.

PROGRAM 2 MANDELZOOM part 2 - MANDPLOT.BAS.

PROGRAM 3 DATACHK.BAS

PROGRAM 4 COLDUMP.BAS

PROGRAM 5 LOADSCRN.BAS

ALSO: Programs 1, 2 and 3 have been compiled. To run the compiled
version go to DOS and load through L option. The filenames are the same,
but the extenders are COM.

SIDE 2is an autorun. (Press START to speed up the display of each
screen.) Just slip it into the drive, turn on the computer, sit back and
watch a slide show of what you can produce using the programs on the
front side of the disk.

— Rita

MANDELBROT SETS

and the ATARI

XE by DICK KELLETT (reprinted from M.A. , Australia, March ‘86)

Have you looked at those computer generated pictures in
SCIENTIFIC AMERICAN AUGUST 1985 and YOUR COMPUTER YEAR
BOOK, JANUARY 1986 and thought you might like to try the same type
of graphics? The articles in these Magazines suggest setting up arrays
of up to 1000 by 1000 and using 1000 iterations to check if each point
jis in the MANDELBROT set. This is fine if you have access to a super
mini or a mainframe but not much help with only 32K available. While
the ATARI cannot match the resolution of the published pictures,
GRAPHICS 7+ (GRAPHICS 15+16 on XL and XE models) will give
sufficient resolution and three colours plus background colour to produce

interesting pictures.

The pictures are produced by using the equation Z+2+C where Z
and C are complex numbers and repeating the calculation with the
answer replacing Z in the equation. Counting the number of iterations
before Z=2 and assigning a colour to this number generates the picture.
If the number of iterations exceeds the selected maximum (in our case
100 iterations) the area (pixel) is in the MANDELBROT set and is plotted
in the background colour.

After many frustrating hours plotting screens directly and having
a single colour or a small area in one corner, | realized the number of
iterations selected to change colours was very important and differed
for each picture.

My approach to the problem is to use two programs. The first one
called MANDLCAL.BAS selects an area according to the formulae in the
SCIENTIFIC AMERICAN article, scales it to suit a GRAPHICS 7+ screen
and stores the results on disk as a DATA file of 246 sectors. | used one
hundred iterations to approximate whether or not the point was in the
MANDELBROT set,

The second program called MANDPLOT.BAS allows you to select
the levels of iteration which colour changes will occur at, and then plot
the point in the selected colour. Points in the MANDELBROT set are
always plotted in the background colour.

The colour changes may be selected to change at preset counts,
plot through the colours in MOD.3 or plot colours below the first change
in MOD.3

The same colour is used for the lowest and highest counts as there
is sufficient difference in the position of the points plotted to avoid
running the areas together. It almost gives the effect of having an extra
colour.

Both of these programs run very slowly. MANDLCAL takes between
ten and twenty hours to calculate the data file. The worst case involves
100°159"191 separate calculations for an area completely in the
MANDELBROT set. Obviously, an area with a lot of background points
takes longer to calculate than one with a lot of colour.

MANDPLOT will set up a graphics 7+ screen and plot the picture
from the data file in approximately twenty minutes. Before the picture
is plotted you will be asked for a file name to save the picture to. If you
do not select a name, the picture will be saved using the default name
of PICTURE

The pictures are saved as 62 sector files. | prefer to save my pictures
with individual names and use the DOS copy file option to create a new
file called PICTURE, which can then be loaded into ATARI ARTIST (MICRO
ILLUSTRATOR) by pressing the CLEAR key after ATARI ARTIST has been
loaded. The colours can then be adjusted and pattern fills added as
fequired. The picture can then be saved in the normal way and used with
FADER 11 as a slide show. The pictures could also be put through Rapid
Graphics Converter and be used as a background file for MOVIE MAKER
ete.

Both these programs will compile with the MMG compiler.
MANDLCAL does not show a significant increase in speed and | let the
Program run overnight and while at work the next day. When compiled
MANDPLOT will plot the picture in approximately ten minutes instead
of twentyfive minutes.

If you try these programs | suggest you obtain a copy of the
Photograph of the full MANDELBROT set from the SCIENTIFIC
AMERICAN article, as it shows the co-ordinates for the set. This will allow
you to select the starting points (ACORNER, BCORNER) and the length
Of the side for the area to be plotted (SIDE)

{postscript - use Fig.1 after Rita's article)

‘To get started try the following points. The first set of figures should
give you the complete MANDELBROT set (a colour version of Fig.1).
2.5 BCORNER=-1,25 SIDE=3.5
2665 BCORNER =-.0049 SIDE =.002
9 BCORNER=.263 SIDE =.005

ST VT52 COLORS
(Reprint: Page 6, Caltari)

Tired of looking at plain old black and white on your VT52 emulator?
've managed to dig up a few things you can do to give greater cursor
and color control while telecommunicating. First, go to Set RS-232 and

select half-duplex (so you can see what you're doing)
Next press Esc followed by B. This will move the cursor down one
line. After mastering that, try these (each proceeded by the Esc key):
A Cursor Up b# Select character color #
C Cursor Right c# Select background color #
D Cursor Left e, f Enable, Disable cursor
E Clear Home j Save cursor position
H Cursor Home k Move to position
J Clear Below Cursor p,q Reverse on, off
L, M Insert, Delete Line (more than these exist!)
— Craig Maynard

Page 14 (scan)

Delays in Action!

In the past I've used ‘waste time’ loops to provide delays in Action!
programs. | also like to use this time for other program functions.
Software timers built into the Atari provide a means of doing this. | will
give examples of three different ways of providing delays and continuing
other program functions at the same time.

Poll Flags

‘There are five software timers which decrement 16 bit counters,
once each vertical blank interrupt. Three of these (#’s 3,4 & 5) set a flag
location to zero whenever they themselves reach zero. ‘Poliflag’ gives
an example of using system timer #3. A machine language routine is
necessary to set the timer without conflicts. This routine is located at
$E45C (58460). It requires the timer number to be in the accumulator,
the high byte of the time interval in the X register and the low byte in
the Y register. Fortunately this is easy to do in Action! A PROC is defined
to start at location 58460 and passed the proper parameters. Notice the
code already exits so the PROC needs no body or RETURN statement.
Timer #3 sets a flag at $022A upon time-out. The variable ‘flag’ is set
to this location. The flag is set to 1, the timer is set and then it is just
a matter of checking every once in a while to see if flag has returned
to zero. With 16 bits you can get times anywhere from 1/60th of as
second to about 18 minutes.

Interrupt at timeout

Instead of setting a flag, timers 1 & 2 jump to a given routine when
they time out. Timer 1 is used by the OS and should probably be left
alone. ‘intime()’ gives an example of using timer #2. Before setting the
timer you put the address of the routine to jump to into locations $0228,
$0229 (PokeC($0228,timeup)). In this case the called routine. just
changes the background color. More complicated things could be done
but don’t try doing any I/O. Remember you are in the middle of a VBI;
1/0 will do strange things here.

Many timers

Suppose you need more timers than are available in the OS. Simple,
create your own. Let's stick to single byte timers for simplicity. We need
locations to hold the counts (cntdn) and locations for flags (the array
cntflag). We also need to insert our own code into the VBI routine to
decrement the cntdn locations.

The same machine language routine at $E45C is used to insert our
routine, The 6 in Setvect(6.....) places it in the immediate portion of the
VBI. Notice the in-line code at the end of Vblank() to return to the OS
portion.

Rotatel) checks each of the flags and updates the appropriate
character when a timeout occurs (cntfig(j)=0). The time is then reset
by putting a number in cntdn(j) and setting cntfig(j) to one. The time
interval to use is taken from maxent() and every so often this number
is increased causing the spinning to slow down. If the number reaches
16 the updating is skipped and the character remains stationary. In the
main routine there is a long random interval after which one of the
maxent's is set to 1, causing that one to spin rapidly again. Notice the
WHILE statement in Rotate(). | originally had this an IF... THEN statement.
This made the DO OD loop infinite and it took me a while before | realized
what was going on. Something to watch out for in the future! | also made
the mistake of having the counters for each routine (i, & k) all the same
(), and made that ‘j' global. They could all be the same (j) if they were
defined seperately in each routine, but making j global meant that the
counter in one routine affected the counter in another. This also took
a while to debug and is something else to watch out for. I'm learning
to stay away from global variables if possible.

| hope these examples will help you in another approach to delay
routines in Action!

— Stan Ockers

SOLAPAK

This is the first column | have written for the newsletter, | hope it
is not the last. The ST is my first computer, | came to it as a novice with
a lot to learn. The program | was given to review is from Solar Powered
Software (1807 N. Evergreen, Chandler, AZ 85224), SOLAPAK ($30),
‘and contains a spooler, an adjustable ram disk and a screen saver
program. Documentation for these programs is contained on the disk.

The instruction manual suggests that you start out with a printed
copy of Readme.Doc to gain basic information on how to install these
programs. | found out later that you also must have a copy of Defaults.Def
and Spooler. Doc before you can get any where.

For the novice, | find the directions to be ambiguous. | get nervous
trying to figure out what paramaters or files are best suited to install
for my printer. One of the first things to be done is to “choose” the format
needed to set up your printer. | have an Epson compatible Pro Writer
‘Junior (C.itoh) printer and was not sure which file to use. The company
does supply formats for 8 differant printers, two Epson and one C.itoh.
Some experimentation shows the file for the Epson FX85 printer was
very close.

14

The next thing to do is create an Auto folder and copy two files
to this on your boot disk. | did not copy these files into the auto folder,
but onto the root directory. When | booted up the program, | found | had
indeed erred and simply reread the dirrections and copied these files into
the Auto folder.

‘After | did this, | installed the screen saver and spooler as a desk
top accessory — you do have the option to use the ram disk and spooler
as a separate program from a disk. | was not sure of the benefit of the
screen saver when | first started. | thought that it might just be one of
those nice things to have arround and never use. After seeing it work,
Jam convinced it can be quite beneficial, especially if there are young
kids in the household who use the computer. It does reduce the worry
that the kids will leave the monitor on when they are through. You can
take a short trip to the facilities, or answer the phone without worry as
well.

‘The ram disk and spooler seem to work as advertised. | have found
some major inconveniences in their use, one is that you have to do a
lot of work to change the size of the disk, disable it, or disable the spooler.
To access the proper documentation, you must first load in the ST Writer
program, unless you just want to type it to the screen. You might find
it helpful to print all the document files for reference.

This was my first chance to use a spooler, and | was surprised by
the ease of use and the fact that you can actually use the keyboard while
printing a document. You can have up to 32 files in memory to print out
as needed (520 ST with ROMs installed). | was distressed to learn |
cannot use the spooler with First Word. When printed, there were no
spaces between the words. Formatting information used by the printer
driver in your word processor does not seem to get through this spooler.
Every thing else seemed fine both in draft and Near letter quality. | have
tried to print out files from ST Writer as well. | found that it printed the
numerical information at the top of the screen as well as the text, and
the text was printed as shown in the file — that is, not properly formatted.
You will need to print ST Writer files to the disk, and then spool it. The
disk file will be properly formatted.

There are some draw backs in the useage of the spooler and sizing
the ramdisk, but for the price tag, the security of the screen saver could
be quite worth the investment.

— Mike Rogers

LITTLE ALARMS

by A.J. Aspromatis S

One of the functions of a newsletter is the dissemination of
information from and for the benefit of its members and interested
parties. This information takes many forms and “the warning” is one
of the most valuable. One might say the subtitle of this column might
be “Let the Buyer Beware!”

First, in regard to the DataSoft announcement in the March A.C.E.
for programmers to submit their wares, a warning. Several months ago
this programmer sent them a proposal with demo disk of VIDEO
GAMESHOW, a TV gameshow simulation being worked on at the time
Included were a return envelope with postage and a reply-postcard. After
waiting a fair amount of time without acknowledgement, a follow-up
letter sent, requesting the status of their review of the submission. With
the passing of more than 5 months, no reply and no returned software.
‘Nuff said?

Next, for the BASIC programmer who is tired of speeding up program
execution with kludges or limited instruction compilers, C! Among other
reasons for adding C to one's language repertoire is for the learning of
structured programming techniques, which result in more elegant
programs and easier debugging. Ralph Walden's “ACE-C” C compiler
even removes the obstacle of cost from before the ranks of the timid.
It is available from the A.C.E. program library for the nominal price of
$10. A truly unsurpassed value! (Beginners should also obtain a book
‘on € such as "The C Primer” by Hancock & Krieger and a text editor
such as the PROGRAM-TEXT EDITOR formerly availble from APX.) This
programmer used C as a utilities development tool to assist in such
mundane tasks as text compression and disk protection for VIDEO
GAMESHOW. BASIC would have been too slow (as a side note, ACE-C
allows inclusion of machine code for even faster operation).

‘Aside from the few operational quirks of ACE-C, there is, however,
a bug in one of the routines of the runtime file ENGINE.OBJ, specifically
for the function ““ftoi()" (Floating point TO Integer). The problem is the
hilo bytes of the integer number are returned to the calling program in
reversed order. The C program listed here, when compiled and run, will
fix the offending code. | wish all problems in life were so easily resolved.

Page 15 (scan)

ATARI OCTOPUS

There we were, me and my new XM301 modem, 30 fathoms deep
into the newest local bulletin board, looking eyeball to boob tube into
the secret expert user codes for the system. Oh na! My disks are already
{ull of booty and | don’t have any formatted floppies left. How can thie
valuable information be brought back to the surface? Desperately, |
Switch on my trusty MX80 printer and try to execute a screen dump.
Oh no! Nothing happens! the system access time is quickly running
down, My screen echos “One minute left”. Time ticks away. Still ne
printer response!!! My screen echos ‘Thankyou for using the Best Little
Bulletin Board in Town, ya Alll come back real soon now.’ Rats! I'll never
figure out how to get back to where the secret expert user codes live!

Back on the surface, the problem becomes clearly evident. The new
Atari XM301 modem is really a great buy for less than $39. However
for Atari to be able to produce this thing to sell at that price, something
had to be left off. What they left off was the serial bus daisy chain
connector (probably saved them a buck and change). That's the
connector which lets you plug one disk drive into the next, into a printer
and so on. The only other Atari peripheral with the daisy chain port
problem is the cassette tape drive. Atari probably figures no one needs
Cassettes any more, so why not let the XM301 be the last peripheral
in the chain?

Well, you see, | have another great buy. An MPP alias CARDCO
parallel printer interface which is also missing the daisy chain connector.
The result is | can’t have my printer and modem plugged in at the same
time. It gets to be a real pain untangling and sorting cables every time
| want to do something. | pull out a disk drive to switch connections and
three other cables pop off at the same time (of course | don’t notice until
| put everything back). Modem programs won't boot until | plug the
modem in; Printshop gets mad if the printer isn't plugged in. Fickled (sic)
software!

To put an end to my problems | built an octopus for my Atari
Essentially, this means | cut two Atari serial interface cables in half, and
spliced the same color wires together inside a junction box. | ended up
with one connector to plug into the computer, and three others which
can plug into disk drives, printers, or whatever. This frees up to three
Serial ports for single ended peripherals. This modification also helps to
untangle the nest of cables around the Atari,

Being a graduate of a local junior college (after 13 years of intensive
study], this was no big problem to design and build. Anyone who has
mastered the art of fabricating miniature thermonuclear devices should
be able to do it also, particularly if they follow the accompanying
instructions.

Hopefully, you already have two serial bus cables. Try to use only
Atari cables since they have the greatest chance of being wired with
the came color code (you need some luck here). The only thing you really.
need to buy is a small metal box to use for the junction box and perhaps
@ small screw terminal strip, with 15 or more connectors, in the event
you're not an ace solderer. | recommend a metal box over a plastic one
10 prevent emi (wavey lines on your tube) when using the peripherals.

Disassemble the connectors at one end of each of the two cables
by removing the screw and nut. Take off the end shell and check the
wire color codes to make sure the same color wire goes to the same
pin on each connector. If they don't, try another cable, or if you're really
brave (eg., nuts), make a diagram to translate the colors. Once you're
sure, you can reassemble the cable ends.

Now comes the fun part. As you remind yourself these cables will
Cost at least $15 a piece to replace, if you can find them, cut each cable
into two pieces. You may want to make the cut so each cable is a different
length as required by your individual computer setup.

With a good pair of wire strippers or a sharp knife, strip the black
outer insulation back about three inches. Be very careful not to cut
into the inner wires. Then strip the individual wires back about % of
an inch.

Drill holes for the cables in a box and pass the wires through the
holes before you begin making the connections. If you don't do this first,
you will get very upset when you have to unsolder and resoldey
everything

Join each set of the same color wire combination (four wires) by
twisting them together and soldering or connecting them together at
@ connector terminal. When you finish, you will notice some bare wires
(the shield) left over. Connect these together and fasten them to the
metal box.

If you soldered the wires, insulate the exposed connections with
electrical tape or heat shrink tubing. This will help prevent the need for
@ fire extinguisher when you plug things back in.

Triple check everything carefully, short circuits are expensive. Place
the cover on the box and you're ready to go. Just plug one end of your
octopus into your computer, and the other three ends can connect to
your other peripherals. Your single ended peripherals can then be
connected to open daisy chain connectors on the other peripherals.

— Ron Robinson

POWER

(Reprint: January, 1986 issue of STATUS) If you've ever had a power
supply go bad (as mine did) you know how long it can take to get a
replacement. A few phone calls to local vendors reveals a one week wait
at the minimum. Undaunted (and impatient), | decided to build my own
power supply.

By using the circuit diagram (See Figure 1) and following the
construction notes which follow, you can have a “beefy” power supply
which will handle any demand the BOOXL can place on it. And yes, it
will indeed power a RamDisk modification. As an added feature, I've
included surge protection with the power supply.

The heart of this power supply is a LM323K +5 volt regulator IC.
With the proper heat sink, the regulator can provide up to 3. amps to your
computer. The 800 XL requires less than 1.5 amps (the 130 XE less than
2 amps), so with a 3 amp rating this regulator is ideal for the power
supply.

For connecting to your computer, you may purchase a 7-pin “DIN”
connector or you may cut the cable from your old supply. If you look
at the diagram (see Figure 3), you'll see pins 1, 4 and 6 are the +5 volt
output. Pins 3, 5 and 7 are the ground connections. With an Ohmmeter,
find the wire which you cut connecting to pins 1, 4 and 6 and tag it with
+8” for future use. The other wire is the ground and it connects to
pins 3, 5 and 7.

Follow the schematic (see Figure 1) and wire your project carefully.
Observe the polarity of the electrolytic capacitors and study the pin-out
Configuration of the LM323K (see Figure 2) before making the
connections.

Connect the Metal Oxide Varistor (as shown in the diagram) for
surge protection. Connect the black and white wires of the line cord to.
the input of the transformer. A fuse holder should be wired to o ne of
the inputs of the transformer, The green wire (if you are using a three
wire cord) should be connected to the metal case of the transformer.

One final construction note. The LM323K must be mounted on a
heat sink. I chose a plastic project case with a metal top (see Parts List)
and mounted the LM323K to the metal top with heat sink compound.
As an option, you can mount the regulator on a heat sink designed for
a “TO-3" transistor case. | also recommend a t0-3 socket for the
regulator for easy installation and removal.

Before connectin the power supply to your computer, power up your
unit and check for +5 volts at the output. If all seems well than try your
computer. If you notice any “ripple” on the screen, then recheck all your
solder connections. it may be necessary to connect the case of the 12
volt transformer to ground. In extreme cases, you may have to shield
the entire transformer with a piece of metal connected to ground.

Good luck with your project!

pt vou
ar. usa
tha 2p ‘Les
[fee we Tbaed? Pid ws
1 enouno
rey POWER SUPPLY LAYOUT
oumur enouno
(Case)
‘o2 O-O-O- +
fe) °
for 0-©-0- coro
eur
LM323K (iC1) POWER CONNECTOR PIN-OUT
mn m8 J

Power Supply Parts List
TI - 12 volt transformer (Radio Shack 273-1352 or equivalent);
BRI - Bridge rectifier (RS 276-1146 or equiv);
ICi - LM323K (available at local electronics suppliers);
C1 - 2200 mid electrolytic capacitor (RS 272-1020 or equiv.);
C2 - 1.0 mfd capacitor (RS 272-1055 or equiv);
C3 - 10 mfd electrolytic capacitor (RS 272-1013 or equiv.);
MOV - Metal Oxide Varistor (RS 276-571 or equiv.);
Misc - Project enclosure (RS 270-232 or equiv.);
Fuse holder.

15

Page 16 (scan)

Atari Computer Enthusiasts

The ACE Newsletter is the first Atari user group newsletter to be
published anywhere in the world. We began publishing in April, 1981.

A.C.E. is an independent, non-profit and tax exempt computer club
and user group with no connection to Atari Corp. We are a group
interested in educating members in the use of Atari computers and
publishing 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 (10 issues per year) and high access in the A.C.E. Bulletin
Board System. Dues are $14 a year for U.S., and $24 a year overseas
airmail.

Subs: mn Dept.: 3662 Vine Maple Dr., Eugene, OR 97405
President — Dick Barkley, 2907 Wingate, Eugene, OR 97405
(503) 344-5843
@ President — Larry Gold, 1927 McLean Blvd., Eugene, OR 97405
(503) 686-2490
8-Bit Librarian — Chuck & Jody Ross, 2222 Ironwood, Eugene, OR
97401

(503) 343-5545

ST Librarian — Jim Bumpas, 4405 Dillard Road, Eugene, OR 97405

(503) 484-4746

Mike Dunn, 3662 Vine Maple Dr., Eugene, OR 97405

(503) 344-6193

Jim Bumpas, 4405 Dillard Road, Eugene, OR 97405

(503) 484-4746

Larry Gold, 1927 McLean Bivd., Eugene, OR 97405,

(503) 686-1490

E.R.A.C.E (Education SIG Editor) — Nora Young, 105 Hansen Lane

Eugene, OR 97404 / (503) 688-1458

Send 50c stamps or coin ($1 overseas) to the Librarian for updated ACE
Library lists.

Editors —

A.C.E. Bulletin Board
(503) 343-4352

On line 24 hours a day, except for servicing and updating. Consists
of a 130 XE upgraded to 320k by Charlie Andrews, 2 double-density
disk drives, and a 10-meg hard disk from Supra Corp, an Epson MX80
printer, a 2400 US Robotics Courier modem, running the PD/M Bulletin
Board software.
Best of ACE books

Volume 1 contains bound issues of the ACE Newsletter from the
first issue, Oct. 1981 to June, 1982.

Volume 2 contains July 1982 through June 1983.

Only $12 each ($2 extra for airmail). Available only from George
Suetsugu, 45-602 Apuapu St., Kanoehe, Hi 96744.

TYPESETTING
FROM YOUR COMPUTER

ATARI OWNERS: If youhave 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 6 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

SortFinder Index

A composite index of Atari related articles in four popular computer
periodicals, including the ACE Newsletter. Volume 1 covers April, 1981
through June, 1983. Volume 2 covers July, 1983 through December,
1985. Only $6 per printed copy or $11 per disk copy for ACE members.
Available from: Jim Carr, 2660 SW. DeArmond, Corvallis, OR 97333.

ty Axaai
AL |Compurer

JC NTHUSIASTS 7
3662 Vine Maple Dr Eugene OR 97405

FIRST
CLASS
MAIL