Dale’s Atari 800 Games › ACE newsletters
The newsletter of ACE, the Atari Computer Enthusiasts of Eugene, Oregon. Read the scanned issue (PDF).
Scanned from my own copy of the newsletter. I sent my scans to Kay Savetz in 2021, and Kay put this one on the Internet Archive as ACE_1983_03.
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.
Arar | A C Computer ENTHUSIASTS 3662 Vine Maple Dr €ugene OR 97405 MARCH, 1983 Mike Dunn & Jim Bumpas, Editors Ham/Hayes SmartModem Interface by Burt Grebin (K2KLN) and Jerry Cudmore (WA2TLI) TO MODEM eG HAM RADIO MIDULAR TR LEVEL RECEIVER PLUG Se LEVEL re i SPEAKER ¥ 18K ‘ AUDIO OUT 4g ta, . 3 g i" 2K2¢ iz AUDIO f ,& IM MIKE DIAGRAM BY GRAPHICS MASTER DUMPED TO A NEC PRINTER
News and Reviews
Mike Dunn, Co-editor
‘AtariWriter (Atari RXB098, under $100)
‘Several months ago, | was told by Gary Furr of Atari they had assembled a team
to write a new word-processor combining the best features of all the current ones,
be easy to use and well documented, and be on a ROM. The new AtariWriter,
which | am using to write this article, is the result. It is easily the best piece of
non-game software from Atari, and, with its low price, will be hard to beat.
Besides being on a ROM, it will support cassette as well as disk systems, It
‘comes configured to use any of the Atari printers, and APX will sell printer drivers,
for popular printers when released in the spring.
You plug in the ROM, up comes the Atari logo, then the menu. You select from
the following options: Create File, Delete File, Edit file, Format Disk, Index of disk
files, Load File, Print File, or Save File. Starting a file, we choose Create, and the
screen is shown. On top are the various format dispays for printing, and on the
bottom are arrows showing the tab locations, as well as the line number and col-
‘move or repeat blocks of text, search and replace any string up
10.25 charactors, both individually or globally. Centering, block text right, headers,
footers, page numbering, and all the usual functions of a word processor are pre-
‘sent, as well as some extra ones not always seen. You can go to the beginning or
end of a line, use any printer control in the text by its CHR$ number, and do dou-
bie column printing. You can even restore your last deleted text! Editing is done
with an insert mode only, so you have to delete your old text- you can not write
over it. Merging and chaining files can be done.
Alter you have finished, you can preview the text on the screen using your 40
col screen as a window to see a line up to 132 charactors wide. If you have
Specified it to be right justified, it will also be so on the screen.
Other features include the ability to edit any DOS file, and communications
ability allowing owners of the AtariWriter to communicate with a Modem by using
as the device name.
‘The program has excellent error trapping and prompting, making it almost im-
possible to lose files, The speed of accepting characters when editing, print for-
‘mating, etc,, is very impressive — it always keeps up with me, something previous
word processors have not always done,
The AtariWriter is an excellent product indeed, and very fairly priced. Since they
were limited to a 16K ROM, they could not include everything. There are a few
things | would like to have seen, but they are minor for most people. Having only
an insert mode for editing and no type over mode means you have to erase
everything to edit it. To be able to write your own printer drivers instead of having
to get them from APX would be nice, but for most applications the ability to use
printer control codes allows one to use most printers anyway.
‘A very fine product —look for it in April, with the printer drivers available at the
same time,
—Mike Dunn
Inhome Keyboard
(inhome software, 2485 Dunwvin Dr, Mississauga, Ontario, Canada LSL 171, $120)
ere are now a host of keyboards for the Atar! 400, Because | wanted one
whic fits into the 400 rather than an outboard one, | bought the above. tis @ full
stroke keyboard which simply replaces the membrene keyboard on the 400. Very
tagy to Install, and an improvement over the old one. Now the bad news.
because it had to fit into the same space asthe old one there are some problems.
Tho Return key fs 80 fat away | cant reach it, The shift key 1s frequently mised up
with the controt key, and the backspace key ison the bottom of the keyboard
Bil of which makes ft easy to mix up things. My main complaint, however, I the
keyboard tee is very tinny” and many ofthe keys stick, The picture inthe adver
tisment shows the shift key to be diferent than the others, but mine ist Itis a
definite improvement over the membrane, but be sure to try it before you buy one.
ATR 8000 Disk Drive Controller
(Software Publishers, 2500 E. Rando! Mill Rd., Arlington, TX 76011 (819)469-1181 )
‘Always wanting to be one of the first to get a significant new piece of equip-
ment for the Atari, | took the gamble and bought one of the first ones avaiable.
‘This unit came with 64K, a parallel and serial port, a disk drive controller which will
interface with single or double density drives, both 5 1/4’"and 8", and runs CP/M,
Since it is new, not all of the software is ready, and the hardware stil has a few
bugs in it. The company has been very helpful on the phone, and has given us
much advice on getting it to run. The first problem was a tremendous amount of
‘TVI that was helped by adding some capacitors. It has some trouble reading disks
made on an Atari 810, but a new ROM is almost ready and is supposed to solve
that problem. It is supposed to be able to read 5 1/4” Xerox 810 formated CP/M
disks, as well as Kaypro with some modifications, and 8” single density CP/M
disks. Software in the works now, to be sent free of charge to owners, include a
high speed Atari disk copier, a CP/M modem program, a program to emulate
various CP/M machines so their disks can be read, etc. The company will be com-
ing out with a Newsletter to keep owners informed and, judging by the support
they have given so far, expect it will be a good one.
When using it in the CP/M mode, the Atari becomes a dual 40 Col. terminal with
2 windows of 40 Col. each to match the 80 col needed for CPIM. You also have the
Choice of using a regular 80 col terminal, or, in the near future, a BIT-3 board. True
{80 col. are needed for Word-Processors and other programs using cursor address-
ing.
Potentially a very nice unit, with a company trying very hard to make it all work
‘ok. Right now, | recommend it only to those technically inclined who like to fiddle
with and help debug new equipment. We will keep you posted, and, if there is
enough interest, will have a reguler column for the ATR 8000.
DataSoft has just released their new BASIC Compiler for $70. Empulse (POB
‘593 Great Barrington, MA 01230) has sent a very nice cover for the Bulletin board
Computer. Microvector (132 s. Broad St. Canfield, OH 44406 suite 8) sent a Stick-
Key graphic kay stickons for your keyboard for only $2.50.
)MPUTE! Books, Greensboro, NC has just released another fine book for the
Aten, Mapping the Atari by lan Chadwick. This is a very complete memory map
land guide to every known memory location, with many examples and simple
BASIC programs to illustrate their use, Over 194 pages, only $15,
‘We now have a local service station in Eugene, where we can get quality repairs
quickly — many times in one day. A far cry from the 1 week and more when we
sent it away! They do good work, and will repair out of area Atari equipment, war-
ranty work, etc., for ACE members. Mr. Television 780 Blair Blvd, Eugene
503-485-4876.
‘Atari has announced their summer computer camps for all over the U.S. — New
England, Poconos (PA), Chesapeake, Smokey Mountains, Midwest (Land of 10000
Lake nnesota), Danville (CA), and San Diego. These have all the usual camp
things plus computer training at all levels. These look like deluxe camps, so | ex:
ect they are not inexpensive. They also need Computer experts, counselors,
teachers, directors, etc. For job information, send resumes to Atari Computer
Camps, ATTN: Pat Tubbs, Dept F, 1196 Borregas, POB 427, Sunnyvale, CA $4086.
For camp information, call 1-800-847-4180, or in NY or Canada, call collect
212.889.5200. | wish | could go!
—Mike Dunn
DATA PERFECT. ..AGAIN
For those of you who may wonder why its you are now reading our third review
of DATA PERFECT, | will explain, We of the ACE feel useable utility programs are
‘extremely important. In my mind, the very existence of the personal (or home)
computer is based on its ability to be used as a tool. At least that is why | purchas-
ed mine. A computer without worthwile utility programs available is no more than
a very expensive toy.
{In my last review, | said the programming behind DATA PERFECT is extremely
well done, and the program presents more power and capability than most home
users are apt to outgrow any time soon, My admiration for the skill and labor of
the programmers was balanced by my dislike of the extremely poor documenta:
tion. As previously stated, the book stank. In that article | pleaded with LIK to hire
writer and redo the book. | don't know how much our review had to do with their
actions, but they hired a writer and re-wrote the book from the ground up. Not only
did they produce a complete rewrite, but they did so in only 2 months.
In this age of unresponsive corporations and sellers of goods who care nothing
for the needs or wants of the consumer, it Is quite refreshing to find a company
who listens. That they acted so quickly speaks of a real desire to provide the
public with the products and support the users want and need. The NEW
‘documentation which we received is as good as the original was pad.
Beginning with loading the disk, and explaining each step in a key-by-key man-
ner, the new book takes the reader through building a sample data-base, which
happens to be a check register. This data-base you create is useable and the
teport you create later is also the real thing. It can be used for your awn records it
you write enough checks to warrant computer time.
‘After following through this and the other exampies in the book, you will find
yourself familiar enough with the capabilities of DATA PERFECT to create your
‘own custom data-base and begin to reap the rewards of computer record-keeping.
Instead of the six weeks of study | recommended earlier, a normally intelligent
person can become conversant with DATA PERFECT in a weekend.
When only the old documentation was available, my recommendation was for
those of you whose needs were simple and/or who didn’t want to spend six weeks
studying, to buy FILE MANAGER 800+. Now that LIK has straightened out the
documentation BUG, | can wholeheartedly recommend DATA PERFECT as the
most powerful, flexible, and USEABLE data-base management program currently
available for the ATARI personal computer.
To Lik, congratulations on a remarkably quick and competent recovery from a
‘major blunder. Keep that new writer on your staff, helshe is GOOD. To SYNAPSE,
how soon will we see a machinelanguage rewrite of FILE MANAGER 800+
mM
—Kirt E. Stockwell
HELP!
The documentation for Filemanager 800+ says up to 9 (!) pages of 20 fields
‘each are available when creating forms. So far, I've been unable to use more than
‘one page. Does anyone know how to create forms with more than one page of
fields?
‘Over a month ago, | sent a SASE to SYNAPSE explaining my problem and ask-
ing for the solution. No answer. So I'm putting the question out to ACE readers.
if you can help, please respond by contacting: Jim Bumpas, Co-Editor of ACE,
4405 Dillard Road, Eugene, OR 97405 (503) 484.9925. Thanks.
2
LE Parallel Disk Drives
Here is the rest of the review | started in August. I'm late because the double
density wasn't finished before now.
‘After ordering in May I got the single density drive two and a half months later.
‘The last week before Christmas | got the double density version of the LE system
(which runs the same as the Percom dd). The price of the complete one drive
system is $1150.00. Each additional drive Is $375.00.
You must have a monitor and an ATARI 800. The OS board in the ATARI is
replaced by another board and this board extends four inches above the 800 and
throws off enough RF to make it impossible to use any TV within 20 feet. | also
highly recommend another brand of disk drive (.., Percom) as a back up. | have
had mine go out many times. The weight of the LE system board causes the
mother connections in the ATARI (which are not made to stand up to four times
the weight and the added leverage) to be bent. This results in a poor connection,
‘stopping operation. The extra weight causes the board to be unstable in the
ATARI. I finaly had to put in my board guides to help hold it. The cure for this is to
replace the 44 pin card connection in the bottom. It is very susceptible to dust and
general corrosion of the contacts so you must clean them at least twice a month
and sometimes daily if it is used in a dusty environment,
In the early systems, the board was a prototype. This means the board often has
to be repaired or modified. Mine developed two broken traces which | spent some
time on before tracking down and fixing it myself.
‘There seems to be confusion on how to offer the upgrades. Service takes a
while, Usually two to three weeks and you have to send in the whole system. The
manual was supposed to be modelled after the ATARF manuals, but it seems little
more than a sales flyer. | wish they had gone into detail on how their system
works, $0 as to use and address the six expansion slots. The information about
memory locations is given a name but not equated! There are some other bugs
which have been fixed. One bug destroyed some of the disk directory when the
door was closed. | have lost a few non-replaceable disks this way.
‘So now the features it has permit complete control over the disk drive. The disk
is controlled from the new board in the ATARI rather than from inside the drive
like the 810 or Percom. It achieves some of its increased speed with staggered
sectoring rather than using every ninth sector as all the others do. This allows you
faster access time to the disk. There is also a speed increase from the parallel
data transfer. All this means is that Programs like DOS boot in half the time and
files like the ATARI Macro assembler load in 5 seconds vs. 15 seconds (Atari fast
format), The disk drive mechanism is trom Tandon and is rock steady with none of
the timing problems.
‘Some of the things which can't be done on the 810 or a Percom (for more
money of course; a copy type system runs $2800.00 for two drives): Bad sectoring;
analog copying; deleting and reading of the sector marks which is vital for those
producing software protection. These things can also be done (probably cheaper )
by using a modified TRS-80 system (speed adjustment and custom software).
‘The 4k eprom (which occupies C000-D000 location in the ATARI) is what gives
the LE system its parallel disk access. The LE system format of every other sector
is great unless you try reading it on an ATARI 810 drive because it must wait for a
whole track plus one sector, so it's slow.
‘They also have a 80 col text board (bit three board), an EPROM burner ($100),
land a parallel printer interface. The promise of a CPM and winchester hard disk
boards have been shelved. Until they redesign the LE system board to better ac
commodate the 800 it will still be only a prototype. Before you get into this, be
sure you feel comfortable repairing and troubleshooting computers. The interface
board has on it a 280 processer running the disk interface with a 6520 and 1771
Hayes Stack Smartmodem 1200
This is oné of the new modems with a 1200 baud rate. The new breed of
modems are only composed of a couple of chips, reducing the chance of
something going out. The 1200 looks just like the 300 baud model and has
features just like it. There is autodialing, redialing, originate, answer, and then all
the settings for fullmalf duplex and parity. This is all done by sending a command
‘over the madem when off-ine. The modem intercepts all messages going out and
looks for the special commands, You can do tone or pulse dialing, The 1200 stack
has a builtin speaker which monitors your dialing. A nice thing about itis the
ror codes it reports back to you about the state of the modem. The default state is
1200 bau.
‘Setting the stack up Is easy: Plug it in and use a terminal program such as the
‘APX Chameleon or the one from Swifty Software (Datalink). use the APX version
but it does have a bug which has been there for years (as long as it been out). This
‘causes some confusion with the screen editor and the reading of the keyboard
when doing a file transfer. But with the Chameleon source code all you do is
change three lines in the assembly file of TSOP to read
1900 DOWN2 LDA CH
2000 CMP #255
2010 BEQ DOWN2
Then reassemble.
| have not used the Datalink but have heard good things about it (I don't know; it
‘may not run at 1200 baud though). The list price of the 1200 Hayes Stack is
$8699.00 (often discounted to around $550). This is well worth it if you use your
Atari as a terminal and if the other end has a 1200 hookup.
—George Shields, Spokane, WA
THE PRESIDENT’S
STATE OF THE ONION ADDRESS
‘The goals of ACE are many: fol First to encourage the use pt computers in the
home and the educational environment; Second, 10 develop the microcomputer
(orts successor) as a viable and valuabie tool in the home; Third, to make infor
mation and software available to all owners of Atari microcomputers as inexpen-
Sively 28 possible; Fourth, to encourage fee enterprise by promoting the author.
ing of quality software for the Atari, and by strenuously discouraging software
piracy and copyright infringement.
Subordinate to the goal of encouraging the use of microcomputers in the home
and the educational environment, the Eugene, Oregon base group of the club has
founded the ERACE (Educational Researchers of ACE).
“This group will be instrumental in developing a comprehensive catalog of
educational software, as well as writing specifications for needed programs to fill
the gaps. The ERACE will also be developing what we hope will be the most com-
plete and useful Program Review Form available.
There are other ACE groups supporting auxillary programs in Eugene, FORTH:
Exploring the language FORTH and developing a pool of competent FORTH pro-
{grammers. This group is also working with the local APPLE people to determine
the transportabilty of FORTH, BASIC: Teaching the BASIC language to members
interested in learning. Also helping new members to become familiar with the
jaquipment and overcome their fears. MACHINE LANGUAGE: Teaching the use of
ASSEMBLER and what really goes on inside the computer. This group is currently
led by two of our bright young mid-teenagers.
Within the next several months we expect to begin another group, this one
dovoted to the youth crowd. The age range is still up in the air, but this group will
work with programming skills ona level most young people will be able to cope
with, We look forward to getting this group fired up.
‘Another group, one which has just been formed, is the Exchange Library group
‘This group will help our overworked exchange librarian husbandiwife team to re
‘organize and catalog the program library, as well as adding basic documentation
to those programs needing i
‘You will have noticed we carry no advertising in the newsletter. Our wish is to
disperse as much information a8 possible within our budget. (The blurb about
computerized typesetting nets us a hetty discount on our bill)
When purchasing equipment for the club, we remember the majorty of the
funds available come from out of town, and we are as frugal as we can be. We
make every attempt to see that the club membership in general derives full value
from every dollar spent, rather than making things nice for us locals at the ex:
pense of all
‘As the President, | want to say a few words about the people who actually run
the club. (just point the direction | think we should be going occasionally)
‘Many (most) of the organizations | have been involved with over the years have
been very bottom-heavy, There have been far too many followers forthe few chiefs
to properly manage. Other groups seem to thrive on parliamentary procedure and
useless formalities. | am proud to say this group has a larger number of truly
capable and motivated leaders per capita than any other group Ive seen. Their
backgrounds run the gamut from doctors and lawyers to millworkers. and
students. None of them care what the occupation or social standing of the others,
they are all united by a common purpose. The leaders of the ACE contribute not
‘only many hours of actual “on-duty” time each month, but also field phone calls,
work on their group projects, and work on their individual pet projects. | don't
Delieve there isa finer group leading any club anywhere (or mast corporations for
that matter
‘Now for the names of the COUNCIL:
Kirt . Stockwell, PREZ
Lary Gold, VICE PREZ
Ghatie Andrews, SECITREAS
Mike Dunn and Jim Bumpas, CO-EDITORS
‘Chuck and Jody Ross, EXCHANGE LIBRARIANS:
Alice Miles Erickson, ERACE
Charlie Andrews, FORTH
Larry Gold, BASIC
John Atack and LJ, Knoll, MACHINE LANGUAGE
Other valuable persons are Ruth Elsworth, Ron Ness, DeLoy Graham, EJ. Knoll,
and our PAST PRESIDENT and FOUNDER Stacy Goff. | could add another 20 oF 30
‘ames to ths list, but space is getting tight
‘Our goal here in Eugene is to serve the entire membership of the club If for any
reason you feel we are failing or fouling up, or if you want some help with a pro-
ject, please contact us either through the mail, the phone, or the bulletin board.
We want to do this right, and your feedback is valuable to us. One last thing. Any
person or group wishing a copy of our CONSTITUTION can obtain one by sending
2 dollar to the exchange librarian to cover the cost of duplication and mailing.
Respecttully,
Kirt E Stockwell
President
HAM ATARI Having been an amateur radio operator since the age of eleven | have had the opportunity to experiment with many facets of this exciting communications hob- by. For those of you who are not familiar with Ham radio, amateurs can com- municate with one another using equipment capable of transmitting and receiving ‘AM, FM, SSB (single sideband), NBFM (narrow band FM), RTTY (radio teletype), SSTV (slow scan TV), FSTV (fast scan), and CW (Morse code). In addition, amateur operators can utilize repeaters, transponders, and satellites to increase the range, effectiveness and reliability of their communications, Since ham radio is my first love (after my wife and children — although they disagree at times) it didn’t take long before | begin looking for a suitable match. between my Atari 800 and my radio equipment. Unfortunately, the local hams | know either aren't interested in computers or don't know anything about the Atari. So, for a long time | had to be content with my lot and somewhat satistied satisfied my desire to communicate via computer by frequenting a number of BBS across the country. | have met some very interesting people, but that certain “something"! enjoy with amateur radio is missing, To make matters worse, all the major ham publications print articles. on computer networks, on-the-air nets and technical descriptions about interfacing radio equipment with computers. That was it! | called my good friend and fellow amateur, Jerry WAZTLI, and told him he hhad to buy an Atari 800 so we can experiment. After some heavy discussions with Jerry's wife she was convinced he definitely needs to be involved with computers. We each bought Hayes Smartmodems and then the fun began. In the beginning Jerry and | uploaded and downloaded over the telephone using Datalink from Swifty Software. Each month our phone bills increased and we quickly decided there has to be a better way. Indeed there is. Right there in the ‘Smartmodem owner's manual is the documentation we need to adapt the modem for use with radio equipment. Fortunately, the FCC recently approved amateur use of ASCII computer codes so all we had to do was bulld an interface (terminal Unit) 'l get into the details in a moment, but first a brief discussion of the theory is in order. When we transmit RTTY on VHF frequencies we are sending two different audio tones to represent the MARK and SPACE RTTY conditions, The MARK is a “rest""machine condition with the current ON. The SPACE condition has current OFF. We use these tones to directly modulate the FM transmitter to produce the F2 emission (audio tone modulation of a frequency modulated signal). Two dif- ferent tone frequencies are used for the RTTY MARK and SPACE, respectively. ‘The difference between them is called the RTTY Shift Frequency, or for our pur- poses in this discussion, AFSK (Audio Frequency Shift Keying). To summarize, ‘two electronic interfaces are required for AFSK: A tone encoder to convert the ‘mark and space pulses into audio tones during transmission; and a tone decoder to convert the pulses back during reception. The Modem or Terminal Unit (TU) is the device which combines the transmit tone encoder with the receive tone decoder. The Smartmodem is ideally suited to handle telephone line and amateur radio data communications at rates up to 300 baud. It contains both tone encode and decode circuitry, permits automatic handshaking between data terminals, in- cludes touch-tone dialing, and is designed to operate in either half or full duplex operation. Although full duplex operation is preferable (data or text can be receiv. ed and printed while we are entering and transmitting data), most amateur com- ‘munications take place in half duplex. In other words, we take turns talking or sen- ding and receiving data With this general explanation of the theory behind the operation, let's move to the construction of an interface between the Smartmodem and the amateur transmitireceive equipment together with data codes to set the modem to halt duplex. Configure the dip switches behind the front pane! of the Smartmodem as follows: NOTE: Switch #7 must be down in order to key the transmitter. Use the following keyboard codes to TRANSMIT data: ATMO - mutes the modem speaker (optional) ATO - sets the modem to half duplex ATS10=255A - keys the transmitter and sends the carrier tone NOTE: Set the transmit deviation to +/3KHz. Use the following keyboard code to RECEIVE data: ATCOH2D NOTE: When setting up for receive, raise the volume on the receiver until a “Connect” is displayed on the screen. Then reduce the volume until a “No Carrier” appears. Proper setting for receive volume is just past this point. This is all there Is to it! Just arrange ahead of time who will originate (transmit) and who will answer (receive). Of course, if both of you can talk to each other on another frequency, then all non-data communication can take place there. It this article stimulates interest let me know and | will encourage Jerry to write about full duplex operation, RTTY on VHF and UHF FM repeaters, RTTY on simplex channels using the Kantronics Interface and data transferring using SSB (single sideband) on the HF (high frequency) bands. Happy ham-computing!!! —Burt Grebin - K2KLN “A SONG IS A WONDERFUL KIND OF THING” Using Sound in ATARI PILOT To Encourage Children To Program by Ruth Elisworth It is often difficult to get children to take the time to actually sit down and pro- ‘gram. Sound in ATARI PILOT is easy enough that, with a little encouragement, even elementary age children can be helped to experiment with writing programs, This is possible because music in ATARI PILOT requires the mastery of only two ‘commands: the SO: command, and the PA: command. The SO: command plays the sound (note) desired and can hold up to four voices (variables). The variables for the notes Low C to High F# are the numbers 1 through 31. Thus a C major tonic chord is programmed SO:13,17,20 (13 is the Variable for Middle C). The PA: command determines the duration of the note desired (technically it pauses the designated length of time until the next command is processed). It follows the SO: command for the note desired and can have a value from 0 to 3600. The PA: command for the notes usually associated with music are: Whole Note =PA:128, A:64, Quarter Note = PA:32, Eighth Note = PA:16, Six- teenth Note=PA‘8, and Thirty Second Note=PA:4. These values are relative as the tempo of music varies. Therefore, children can be encouraged to experiment with the sound of music and tempo as well as programming through the use of ATARI PILOT. An understanding of the value relationships of the different musical notes can bbe helpful to a child when programming in ATARI PILOT, but is not essential. Ex- Perimenting with musical programming seems to help children acquire an understanding of those relationships as they develop skill and tone recognition. ‘The program which follows is written with two purposes in mind. The first is to allow our children to “play” the computer as they would the piano, and even our just turned three year old likes “to make the computer sing." The second purpose is to help them associate the SO: commands of PILOT with the keys of the piano, In the text area of the screen the name of the piano keyboard key Is given, the letter on the computer keyboard to be typed to play" the note, and the SO: value of the note (space limitations do not allow those values to be displayed as attrac- tively as desired, but work when explained to the child). Each note will play until the next note is typed or the space bar is pressed. The space bar has the SO: value of 0 so the music can be stopped at any time, and to allow a note to be played repeatedly, yet separately, Because of the required listing space, | have not included sharps or flats in this routine. It is a "C Major Player Piano” as my children might say. That routine and a routine to save the variables to disk or cassette will be included in our #2 Pilot Disk which we will be giving to ACE this spring, ‘The listing itself is quite straight-forward. ATARI PILOT runs fastest when the ‘modules used most often appear at the beginning of the listing because PILOT searches for modules each time from the top of the listing down. Therefore, the “SOUND module and note sounds appear first in an attempt to make the program, tun as rapidly as possible. The fact that ATARI PILOT is not a fast language is also the reason | did not change the key color as well as the note color. The "SOUND module @B764 tells the computer to check the decimal value of the last key pressed and to jump to the module indicated if the listed key was pressed. No return key needs to be typed. Decimal values for the computer keyboard are found on page 50 of the techincal manual or can be found using the T: command, (Control characters are equal to the letter or number value of the key plus 128 to allow the use of control keys in programming.) If you are typing this program in, | suggest you type the modules separately and save them. This is the way we build our programs which allows us to reuse the modules in many different ways by loading them then using the REN command, For example, this program which, draws a piano keyboard, staff, and notes, when loaded without the “SOUND module works nicely for games or review of the scale and its relationship to the keys of the piano, or the relationship of the notes on the staff. Typing programs by modules also makes debugging much easier because of the shorter listings, Typing can be kept to a minimum in this program because the lines tend to be similar. The lines in each module can be easily modified as needed by typing in the first line and then changing only the necessary Characters, Line 100 becomes line 110 simply by moving the cursor over the first 0 and typing 1, moving the cursor to the value 22 and typing 18, then moving the cur- sor to X and typing C. Programming music in ATARI PILOT can be “a song," and the means of en- couraging children to become involved progarmming and experimenting with music.
10 U:SBEGIN 20 U:SSTAFF 30 U:STREBLE 90 $SOUND 100 J(0B764=3 110 J(@B764: 120 J(@B764=1 130 J(@B764=16 140 J(@B764=6 150 J(@B764=6 160 J(@B764=5: 170 J(@B764=56) :4F 180 J(@B764=61) 246 190 J(@B764=57) :3H 200 J(@B764 210 J(@B76425, 220 J(@B764=0 230 J(@B764=4: 240 J(@B764=4 250 J(@B764=1 260 Hat 220 J(@B76 0 280 tenes: bi! P ap J:950UND 300 E: 310 $NSD 320 50:0 330 SNNT. 340 J(@B764=33) : SUNT 350 J(@B764()33): ND 370 3ND 380 J: $S50UND 390 E: 400 8X 410 Sa FENRED; GOTO-54.2:4 TRAY: TVENNS );60TO: 420 80:1 430 SXNT 440 J(@B764=22) : #XNT Hy aMBTeA (21 ea 470 SXND 480 GR:PENERASE ;GOTO-S0, 2; 4(DRAW! ; TURN 90) ;G0T0-71 ,-27 ; PENBLUE ;GOTO-50,2;4(DR ‘AVL; TURN90) | GOTO-71,-27 490 J:4S50UND $00 E: $10 3¢ $20 GR:PENRED; GOTO-43,5 ;4(DRAW! ; TURN9O ),60T0-63, -27 530 50:3 $40 SCNT $50 J(@B764=18): CNT $60 J(@B764()18) : 80ND ae Cy At He PENERASE; pi 43,5; 4(DRAWL | TURN 90) 56 7-21 ;PENBLUE ;GOTO-43,9;4 (DR AVL STURKIO); oti, 2 600 J:8SOUND 610 E: 620 4V 630 GR:PEMRED; GOTO-36 7; 4(DRAW! ;TURN9O 0- RUTH'S PILOT );,60T0-55,-27 640 50:5 650 SVT 660 J(@B764=16) 670 J(@B764()16) : VND 680 E: 690 40ND 700 GR: PEMERASE ; GOTO-36, 7; 4(DRAWI ; TURK 90) ;G0T0-55, -27; PENBLUE;GOTO-36,7;4(DR a TuRi90); 60TO-55,-27 ia i *S0uKD io GA: PENRED; GOTO-29, 10; 4(DRAWL; TURK 0) ;GOTO-47,-27 160 30:6 770 SANT. 780 J(@B764=63) : SANT 790 J(@B764()63) : SAND 800 E: 810 820 GR:PENERASE ; GOTO-29 ,16;4(DRAW!; TUR N90) ;GOTO-47,-27;PENBLUE; GOTO-29 ,10; DRAW! ; TURN9O) ;GOTO-47,-27 830 J: SOUND O40 E: 850 45 80 6H: PEARED; 60T0-22.12 + ACDRAWL ; TURN 870 50:8 880 $SNT 890 J(@B764=62): 85NT 0 1087640062) :4580 920 SSND 930 GR:PENERASE , GOTO~22 ,12,4(DRAW! ; TUR N90) ;GOT0-39, 27; PENBLUE; GOTO-22,,12;44 DRAW: ;TURN9O) ;GOTO-39,-27 940 GR:PENBLUE;GOTO- th, 12; 4 (DRAW! ; TURN 90) 950 J:8SOUND 960 E: 920 4D 980 GR: PENRED; GOTO-15, 15; 4(DRAW! ; TURN 0) ;60T0-31,-27 990 $DS0 Hy 50:10 010 3DNT ont J(@B764=58) : $DNT ia glenrsicisel sSDND 1050 40ND 1060 GR:PENERASE ;GOTO-15,15;4(DRAW! ; TU RN9O) ;GOTO-31,-27; PEMBLUE;GOTO-15, 1554 (DRAW! ; TURN9O) ;G0T0-31 ,-27 1070 J:50UND 1080 E: 1090 SF 1100 GR:PENRED; GOTO-8, 17; 4 (DRAW! ; TURNS 0) ;G0T0-23,-27 1110, 50:12 1120 SENT 1130 J(@B764=56) : SENT 1140 J(@B764()56):3FMD 1150 E: 1160 SFND 1170 GR: PENERASE ;GOTO-8 17; 4(DRAW! ; TUR N90) ;GOTO-23, -27;PENBLUE; GOTO~8,17;4(D RAWL :TURN9O) ;GOTO-23,-27 ue 76mm 5 1200 36 ieee :PENRED ;GOTO-1, 20; 4( DRAW! ;TURNY 1 CNT 1240 J(@B764=61) :86NT 1250 J(@B764()61): 46ND 1260 E: 1270 36ND 1280 GR: PENERASE; GOTO-1 20 ;4(DRAW1 ; TUR 490) 6070-18-27 PENBLUEGOTD-1,20;4(D 1310 3H ji20) GR: PENRED ;GOTO6 , 22; 4( DRAW! ; TURNIO 1330 GR:GOTO-7,-27 a 50:15 SHNT. be J(@B764=57) : SHNT a 3J(@B764()57) : SHND 138 1390 ‘in 1400 GR: PENERASE, GOTO6 , 22; 4(DRAWI ; TURN 90); GOTO-7,~27 , PENBLUE ; GOTO6 22; 4(DRAW 1; TURN90) ;GOTO-7,-27 1410 J: 450UND He E: i) eH GR: PRED GOTO13, 25 ;4( DRAW! ; TURN 0) ,G0TO1 , ~ 1450 50: i 1460 SUNT 1470 J(@B764=1):3JNT 1480 J(@B764()1):$JND 1490 E: 1500 SIND 1510 GR: PENERASE ;GOTO13, 25; 4(DRAWI ; TUR M90); GOTOL,-27;PEMBLUE ;GOTO13, 25; 4(DRA Wi; TURN9O) ;GOTO1,-27 1520 J: 4S0UND a E: aK a GR: PENRED;60T020,27; 4(DRAW! ; TURD 0) ;GOTO9, -27 1560 0:18 1570 $KS0 1580 J(@B764=5) :3KS0 1590 J(@B764¢)5) :SKND 1600 E: 1610 SKND 1620 GR: PENERASE ;GOTOZ0, 27; 4(DRAW! ; TUR N90) ;GOTO? ,-27; PENBLUE ;GOTO20,27;4(DRA Wi; TURNIO) ,GOTO9,-27 1630 J: SOUND ee iH 1650 1660 eh: Haar 607027, 30; 4(DRAWL ; TURNS Pere = 1680 4150 1690 J(@B764=0): 3150 1700 J(@B764()0): SLND 1710 E: 1720 SLND 1730 GR: PENERASE ;GOTO27, 30; 4(DRAW! ; TUR N90) ;GOTO1? ,~27; PENBLUE | GOTOZ7,30;4(DR AVL; TURM90) , GOTO17 ,-27 1740 J:8S0UND 1750 E: 1760 4T
1770 GR: PENRED ;607034, 32 ;4(DRAWA ; TURN
) 607025 ,-27
1780 S0:22
1790 4730
1800 J(@B764=45) : 8750
nt OSTA
1830 STND
1840 GR: PENERASE ; GOTO34, 32; 4(DRAWI ; TUR
N90) ;GOTOZ5 ,~27 ;PENBLUE ;GOTO34,32;4(DR
AW; TURN9O) ;GOTOZS ,-27
1850 J: 8SOUND
1860 E:
1870 8Y
1880 GR:PENRED;GOTO41 , 35; 4(DRAW! ; TURNS
0) ,G0T033,-27
1890 50:24
1900 S50
1910 J(@B764=43) :#YS0
1920 J(@B764()43): SYMD
1930 E:
1940 SYND
1950 GR: PENERASE; GOTO41 , 35; 4 (DRAW! ; TUR
N90) ;607033,~27 ;PENBLUE ;GOTO4! 35; 4(DR
AWA ;TURN9O) ,GOTO33 ,-27
1960 J:S50UND
1970 E:
1980 80
1990 GR:PENRED;GOTO48, 37; 4(DRAWL TURNS
0) ,GOT041,-27
2000 50:25
2010 8050
2020 J(@B764=11) : 8050
2030 J(@B764¢)11): 80ND
2040 E:
2050 SUND
2060 GR:PENERASE ;GOTO48, 37; 4(DRAW! ; TUR
N90) ;GOTO41 ,-27;PENBLUE ; GOTO48. 37; 4(DR
‘AW1 ;TURM9O) ,GOTO41 ,-27
2070 3 /S0enE
2090 81
2100 GR:PENRED; GOTOSS , 40 ;4(DRAW ; TURN
0) ;G0T049, -27
110 80:24
2120 $150
2130 J(@B764=13) :8150
2140 J(@B764()13): 81ND
2150 E:
2160 SIND
2170 GR:PENERASE ;GOTOSS ,40;4 (DRAW! ; TUR
N90) ;60T049, -27 ; PENBLUE ;GOTOSS ,40;4(DR
AWA; TURN9O) | GOTO49 ,-27
2180 J:450UND
2190 E:
2200 30
2210 GR:PEWRED;GOTO62 , 42; 4(DRAWI ; TURNS
0); 607057, -27
2220 50:29
2230 $050
2240 J(€B764=8) :$050
2250 J(@B764¢)8) : OND
2260 E:
2270 80ND
2280 GR:PEMERASE ;GOTO62 42; 4(DRAWI ; TUR
N90) ;GOTOS? ,-27;PENBLUE; GOTO62 , 42; 4(DR
‘AVL; TURM9O) ,GOTOS? ,-27
2290 J:850UND
2300 E:
2310 8P
2320 GR:PEMRED;GOTO69 , 45; 4(DRAW! ; TURNS
0) ,607065,-27
2330 50:31
2340 4P50
2350 J(@B764=10): P50
2360 J(@B764()10):8PND
2370 E:
2380 SPND
2390 GR: PENERASE; GOT069 , 45; 4(DRAW! ; TUR
N90) ;GOTO6S ,~27; PENBLUE ;GOTO69 , 45, 4(DR
AVA; TURN9O) ;GOTO6S ,-27
2400 J:850UND
2410 E:
2420 8NOTES
2430 GR:GOTO-S0,2;4(DRAW! ; TURNIO)
TO-43,5; 4 (DRAW! ;TURNYO)
2450 /0TO-36, 7; 4( DRAW! ; TURNIO)
2460 GR:GOTO-29 10; 4 (DRAW. ; TURMIO)
2470 GR:GOTO-22 , 12; 4(DRAW! ,TURNIO)
2480 GR:GOTO-15, 15; 4 (DRAW! ; TURNSO)
2490 GR:GOTO-8,17; 4 (DRAW! ; TURN9O)
2500 GR:GOTO-1, 20; 4(DRAW! ; TURN90)
2510 GR:GOTO6 , 22 ,4( DRAW! ; TURNIO)
2520 GR:G0T013, 25; 4(DRAWL ;,TURNIO)
2530 GR:GOTOZ0, 27; 4(DRAW! ; TURN?0)
2540 GR:GOTO27, 30; 4(DRAW! ,TURNIO)
2550 GR:GOTO34,32;4(DRAI , TURN9O)
2560 GR:GOTO41,35; 4 (DRAW! ,TURNIO)
2570 GR:GOTO48 , 37; 4(DRAW! ; TURN90)
2580 GR:GOTOSS 40,4 (DRAW! ;TURN9O)
2590 GR:GOTOG2 , 42; 4(DRAWL ; TURN9O)
ret GRSDOTONS. 45; ADEN TURNED)
2620 SBASS
2630 GR:GOTO-65 ,10;4 (DRAW! ;TURN-90)
2640 GR: TURNTO180
2650 GR:S(DRAWI , TURN3O)
2660 GR:9 (DRAW! ;TURNIS)
2670 GR:16(DRAW! ;TURNIO)
2680 E:
2690 ATREBLE
2700 GR:PENBLUE
2710 GR:GOTO-65,19
2720 GR: TURNTOO ; DRAW26 ; TURNTO90
2730 GR: 9 (DRAW! ; TURN20)
2740 GR: 21 (DRAW! ;TURN-8)
2750 GR: 18 (DRAW! ; TURN-10)
2760 GR:5(DRAWA ;TURN-20)
2720 GR:5(DRAWI ; TURN-5)
2780 GR: 18(DRAWL ;, TURN-30)
2790 GOTO 651174 UGRABE, THERE
2800 E:
2610 SSTAFF
2820 GR:G0TO-75 ,45
2830 GR:DRAWTO75, 45
2840 GR:GOTO-75 ,40;DRAWTO75 ,40
§ DRAWTO75
2850 GR:GOTO-75,3 W775, 35
2860 GR:60T0-75, 30; DRAWTO75 ,30
2870 GR:GOTO-75, 25 ;DRAWTO75 ,25
2880 GR:G0TO-75, 20; TURNTO9O
2890 GR: 16(DRAW2 ; G07); DRAW2
2900 GR:G0T0-75,15; DRAWTO75, 15
2910 GR:GOTO-75, 10 ;DRAWTO75 10
2920 GR:GOTO-75,,5;DRAWTO75, 5
2930 GR:GOTO-75,0;DRAWTO7S ,0
2940 E:
2950 $BEGIN
2960 R:PIANO COLORS
2970 GR:CLEAR
2980 C:@B712=128+0(PEN ERASE - BACKGRO
UND - DARK BLUE
299C C:@B709=0+0 [PEN YELLOW - BLACK
3000 C:@B710=144+14 [PEN BLUE - WHITE
3010 C:@B708=70+0 (PEN RED - LIGHT RED
6
3020 SKEYBOARD
3030 GR: PENBLUE;GOTO-75,-5 (KEY 1
3040 U:SFIRSTKEY
3050 GR: PENYELLOW;GOTO-69,-5 (KEY 2
3060 U: SBLACKKEY
3070 GR: PENBLUE; GOTO-64,-5 [KEY 3
3080 U: SKEYBETWEEN
3090 GR:PENYELLOW;GOTO-61,-SCKEY 4
3100 U:4BLACKKEY
3110 GR:PENBLUE ;GOTO-S6,-5 (KEY 5
3120 U:4RIGHTSK
3130 GR:PENBLUE ;GOTO-50,-5 (KEY 6
3140 U:4LEFTSK
3150 GR:PEN YELLOW; GOTO-45,-5 {KEY 7
3160 U:SBLACKKEY
3170 GR: PENBLUE; GOTO-40,-5
3180 U: SKEYBETWEEN
3190 GR:PEN YELLOW;GOTO-37,-5 [KEY 9
3200 U: SBLACKKEY
3210 GR:PEN BLUE; GOTO-32,-5 (KEY 10
3220 U: SKEYBETWEEN
3230 GR:PEN YELLOW;GOTO-29,-5 CKEY11
3240 U: SBLACKKEY
3250 GR:PEN BLUE; GOTO-24,-5 (KEYI2
3260 U: #RIGHTSK
3270 GR:PEN BLUE; GOTO-18,-5 (KEY!3
3280 U:SLEFTSK
3290 GR:PEN YELLOW;GOTO-13,-5 (KEYI4
9300 U: SBLACKKEY
3310 GR:PEN BLUE;GOTO-8,-5 (KEYS
3320 U: *KEYBETWEEN :
3330 GR:PEN YELLOW;GOTO-5,-5 (KEY16
3340 U: SBLACKKEY
3350 GR:PEN BLUE;GOTOO,-5 (KEY1?
3360 U:SRIGHTSK
3370 GR:PEN BLUE;GOTO6,-5 (KEY18
3380 U:SLEPTSK
3390 GR:PEN YELLOW;GOTO11,-5 C
3400 U: 4BLACKKEY
3410 GR: PENBLUE ;GOTO16,-5 €
3420 U: SKEYBETWEEN
3430 GR: PENYELLOW;GOTOI9,-S CKEY21
3440 U:#BLACKKEY
4450 GR:PENBLUE;GOTO24,-5 (KEY2
3460 U: SKEYBETWEEN
3470 GR:PEN YELLOW; 60T027,-5 (XEY23
3480 U:SBLACKKEY
3490 GR: PENBLUE;GOT032,-5 (KEY24
3500 U: #RIGHTSK
3510 GR:PEN BLUE; G0T038,-5 (KEY2S
3520 U:#LEFTSK
3530 GR:PEN YELLOW;GOTO43,-5 (KEY26
3540 U:SBLACKKEY
3550 GR:PEN BLUE;GOTO48,-5 (KEY 27
3560 U: SKEYBETWE!
3570 GR:PEN YELLOW; GOTOSI ,-5
3580 U: *BLACKKEY
3590 GR:PEN BLUE;GOTOS6,-5 (KEY29
3600 U: SRIGHTSK
3610 GR:PEN BLUE;GOTO62,-5 (KEY 30
3620 U:SLEFTSK
3630 GR:PEN YELLOW;GOTO67,-5 (KEY31
3640 U: SBLACKKEY
3650 E:
3660 SFIRSTKEY
3670 GR: TURNTO90 ; DRAWS ; TURNYO ; DRAWIS ;T
URNTO9O ; DRAW2 ; TURN9O ; DRAWIO ; TURN9O ; DRA
W7; TURNTOO
3680 GR:FILLZS (WHITE KEY LEFT STRAIGH
T EDGE
3690 E:
3700 SLEFTSK
3710 GR: TURNTO9O ; DRAW ; TURN9O ; DRAW1S;T URNTO90 ; DRAW2 ; TURN90 ; DRAW10; TURN9O ; DRA ‘6; TURNTOO 3720 GR:FILL2S (WHITE KEY LEFT STRAIGH T EDGE 3730 E: 3740 SRIGHTSK Hee aH : TURNTO9O ; DRAW4 ; TURNTO1 60 ; DRAW 5; 701 3760 GR: DRAWG ; TURNTOO; FILL10; TURNTO90; DRAW2 ;TURNTOOFILLISCWHITE KEY STRAIGH 4 wilt EDGE sae ABLACKKEY 3790 GR: TURNTO9O ; DRAW; TURN9O; DRAW! 4;T varie DRAW, STURNGO; FILLAACBLACK KEY 3810 SKEYBETWEEN 3820 GR: TURNTO9O ; DRAW? ; TURN9O ; DRAWI5 ;T URNTO9O ; DRAW2 ; TURNTO1 80 ; DRAWI 0; TURN9O 3830 GR: DRAW6 ; TURNTOO ; FILL10; TURNTO90; BANE TURATOO ELELAS(METE KEY BETWEEN 3850 SNAMES 360 T:CDEFGABCDEFGABCD 38200 T:RCVASDFGHIJKLTYUI 3880 T:1 3 5 6 8 101213151718202224252 Wane: BUMPAS REVIEWS On January 18, 1983 the IRS finally recognized ACE is exempt from Federal in- ‘come tax pursuant to ILR.C. Section 501(c)7}. We now must file tax returns on IRS form 990 by the 15th day of the 5th month after the end of our annual accounting period for any year in which our gross receipts normally exceed $10,000. This exemption was granted upon application filed by filling out IRS form 1024, which you may obtain from any local IRS office. The form is simple to fill out. You don’t need to worry too much about getting everything in the application they want to see. Most likely they will send you a letter asking for additional informa- tion anyway. I've never seen one go through without the IRS asking for additional information. To file for exemption, you need to exist as a formed organization with organic documents in written form. You must provide the IRS with copies of these documents (Constitution, Articles of Incorporation, By-Laws, etc). You are not re- quired to have all these documents (we have only a Constitution). But they do want to see at least one founding document. If you have more than one, they want copies of them all, | believe it may be possible for a non-profit computer organization to gain recognition as a charitable educational organization. This will qualify donations made by persons to the organizations as tax-deductible. ACE does not have this charitable status, and so donations made are not tax-deductible. The donations. are income to AGE, but ACE will not have to pay income tax on this Income. To gain charitable status | think the organization will have to retrain from officially be- ing limited to a particular brand name of computer. The organization will have to be officially oriented more broadly to computers and computer education in general. If you have any specific questions about what I've said here, or get hung up anywhere in the application process, we might be able to answer your questions. Don't hesitate to ask. —Jim Bumpas Co-editor and Attorney for ACE TINY TEXT 1.1 Tiny Text was originally written for members of ACE to produce “machine readable" documents for publication. | first saw it in the November, 1982 newslet- ter, where it received an upgrade from Jim Carr. After using my school's rather limited word processor for the Apple, | wanted at least that much power at home. Since | do not own a disk drive, most of the word processors cannot work for me. Therefore, | dug into Tiny Text to see if | could add a few functions, For instruc: tions on how to use the program, see the November ACE Newsletter. | will only talk about the various text-imbedded commands Tiny Text now sports. CTRL: Ends Current Line CTRL: Indents Next Line CTRLS: Does a Linefeed CTRL: Tabs x Number of Space: CTRL: Sets Center Justify Mode CTRLP: Does a forms feed. The following commands are added! CTALF: Sets Fill Justify Mode CTRLA: Sets Right Justify Mode CTRLL: Sets Left Justify Mode (Default) CTRLM: Sets Left Margin (Sequence terminated with “!") CTRL-G: Sets Line Length (Sequence terminated with CTRLH; Direct Printer Commands Follow (Again, terminated with “!") ‘These new commands allow one to reset the margins from within the text. This allows simple placement of the return address in a letter, the offsetting of a quote in an essay, and so on. Imbedding printer commands allows one to (depending on the printer) set the line spacing, form fee, and perhaps form length. Using the above method causes a new line to be started, making it useless for underlining a single word, superscripting, etc. However, Tiny Text now also allows the imbed: ct printer commands right in the line through elther of the following :SC"control codes may be sent, including null characters. To produce an “ESC"character, simply type the ESC key twice. This allows super/subscrip. ting, underlining, changing character fonts on the same line, etc. A few words of caution: Each time ESC is encountered the program will automatically make room for two more codes. This may necessitate the use of null (CTRL-,) characters to pad those 2-stroke control codes. ‘As well, while fill justifying, should an ESC be encountered near the end of a line, and then be left to be printed in the next line, arather messy situation occurs. The solution: Pad the offending line (the one just before the ESC code) with spaces). Some experience will be the best explanation to this. The other method is to imbed inverse video control characters which the printer recognizes. Unfortunately, this will not work in the fill justify mode. To use the new commands which are delimited with the ‘!!"character, first type the CTRL character which designates the function you wish to use, then type the string or values you wish to pass, and end the sequence with "I". for example, suppose you want to set the left margin to “20"halfway through your text. You type “CTRL-M20!”. ‘Another added feature is the allowing of a zero form feed for those of us who have printers which can be programmed to skip at the end of each form. ‘Those of you who already have the Tiny Text listing from the November newsletter can save a lot of typing. The only changed lines are the following: 115, 716-719, 721-723, 790, 750, 752, 782, 815, 820, 850, 2200-3135. In addition, lines 610 and 670 are deleted. In order to save memory, you may wish to delete the REMs in these lines. While Tiny Text is still no replacement for a full blown word processor, it can still satisfy the needs of many people, and, best of all, it is absolutely free. If you continue to have troubles, don’t hesitate to write me: Dale Lutz, Box 373, Holden, Alberta, Canada, TOB 2C0. —Dale Lutz GORF REVIEW Gort, by Roklan ($34.96), is a very fast action game consisting of four screens: AstroBattles, Laser Attack, Space Warp and Flag Ship. A fifth called Galaxians in the Arcade version was left out. It went between Laser Attack and SpaceWarp. AstroBattles Is a typical Space Invaders type set up. You have a shield which disappears when you press the button, and reappears when you let go. You try to blast three rows of invaders. ‘The second, Laser Attack, has you in space, and you have to shoot two sets of five invaders. There is one fed "GORF", as well as three yellow Kamikaze ships and one blue anti-matter laser-bearer per set. In the next screen the ships stay in the middie until, one by one, they come circling out. There is a web-type series of lines which confuse you. You can only shoot them as they circle, and they try to bomb you until they escape. Lastly there is the dreaded FLAGSHIP. You must blast holes in its shield and blow pieces off the ship until you can get the reactors. It is very difficult, and true to the Arcade Game. | recommend it highly. —Eric Wright
1 REM S8seaaagsgessassasaaagsasesass u TINY TERT 1.1 " ry 2 REM #4 by Stan Ockers Sept. 81 3% 3 ACE Newsletter Nov. 81 4 3 REM u Originally modified by #8 48 Jim Carr 01 Oct. 82 48 Hi ACE Newsletter Nov. 82 8 48 Second upgrade by ay $8 Dale Lutz 04 Jan. 83 $8 5 REM S8Sssssssaassagegasgaaaggaagyy ADD THE FOLLOWING LINES AND DELETE LINES 610 AND 670. 115 MODE=1 216 IF B=6 THEN MODE=3 717 IF Be18 THEN MODE=2 716 IF B=12 THEN MODE=1 749 IF B=3 THEN MODE=4 701 IF Be? THEN 2200 722 IF Be13 THEN 2300 123 IF B=6 THEN 3100 730 IF T$(TP+1,TP+1)=" " THEN TP=TP+1 P=P+1:REM CHECKS FOR SPACES fil THE BEG INNING OF A LINE, NOT WHAT WE WANT 750 A=ASC(TS(TP,TP)) :IF hat AND AQ)27 AMD A()O THEN C=0:GOTO 780 ‘152 IF -A=27 THEN RL=RL+3:REM ADDS THRE E TO LINE IN ORDER TO COMPENSATE FOR THE UNPRINTED ESCAPE CODES 782 IF MODE=1 OR MODE=2 ie MODE=4 THEN AS$=T$(P41,TP-1):60T0 810 815 IF OP=3 AMD FF)O THEN LINE=LINE+: TF LINE) (PS~ FE) THEN LINE=1:FOR I=1 10 FF:LPRINT " ":WEXT 1 820 SP=LM+(B=9)8IND+(B=20) STAB+ (MODE=4 8 (LL-1 br eit ec LEN(AS)) :IF SP)100_ THI pe tae THEN rae i TO 1000:NEXT A: 2200 TP=TP+1:GOSUB 3000:LL=TEMP:GOTO 7 tnt TP=TP+1:GOSUB 3000:LM=TEMP:GOTO 7 3000 TEMP=0 3010 TEMP=TEMP#10+VAL(T$(TP,TP)):TP=TP +1:1F TS(TP,TP)="!* THEN P=TP: RETURN 3020 GOTO 3010 3100 TP=TP+l:A$="":1=1 3110 IF TS(TP,TP)="!" THEN P=TP:GOTO 3 130 PEO ASL ISTS UTE TE) THLE STP=TP+1:G0T 0 3130 IF OP=3 THEN LPRINT AS 4135 GOTO 715 Machine Language 4 by Stan Ockers =0058 =O0CB 6000 0600 68 0601 A204 0603 ASS8 0605 85CB 0607 ASS9 0609 BSCC O60B A921 060D A000 O60F 91CB 0611 C8 0612 DOFB 0614 E6Ce 0616 CA 0617 DOF6 0619 18 061A 90FD =H008 =00CD =006A 0610 0258 68 0259 A900 O25B 85CB 025D 85CD O25T AVEO 0261 8500 0263 AS6A 0265 38 0266 E905 0268 856A 026A 18 0268 6901 026D 85CE O26F A204 0271 A000 0273 BICB 0275 91CD 10 ; Fill the screen with A’s 20; 30 ; Note: Locations used are defined 40 ; at the beginning of the program 50; 60 SAVMSC = $58 70 INDLO = $CB 80; 90 t= $0600 0100 ; 110 PLA i For USR function 0120 LDX #804; 4 pages 0130 LDA SAVMSC ; Lo byte screen pointer 0140 STA INDLO ; into indirect pointer 0150 LDA SAVHSC+! ; Hi byte also 0160 STA INDLO+1 0170 LDA #821; An ‘A’ in screen code 0180 LDY #800 =; Offset is initially zero 0190 LOOP! STA (INDLO),Y ; Put byte on screen 0200 In i Next screen position 0210 BNE LOOP! =; Until Y is rero again 0220 INC INDLO+1 ; Up one page 0230 DEX i Last page? 0240 BNE LOOP1 =; Not yet 0250 LOOP2 CLC ; Loop continually 0260 BCC LOOP2 =; (to prevent screen clearing) 0276 | LISTING #1 0280 | 0290 | 0300 | 0310 ; Move character set from ROH into RAM 0320 | 0330 FROMPT = $CB 0340 TOPNT = SCD 0350 RAMTOP = $6A 0360 ; 0370 ts 600 0380 | 0390 PLA ; USR again 0400 LDA #500 0410 STA FROMPT 0420 STA TOPNT 0430 LDA #8E0 ©; Char set is at $£000 0440 STA FROMPT+! ; Hi byte char. set 0450 LDA RAMTOP ; Lower RAMTOP S pages 0460 SEC ; (necessary for subtraction) 0470 SBC #505 0480 STA RAMTOP ; Area now reserved 0490 cLe i Back up one page 0500 ADC #501 0510 STA TOPNT+1 ; Hi byte new char. set 0520 LDX #504 =; 4 pages 0530 LDY #500 =; index initially zero 0540 FILL LDA (FROMPT),Y ; Byte from ROM 0550 STA (TOPNT),Y ; into RAM i Initialize Lo bytes of pointers
0277 CB 0276 DOFY 027A E6CC 0270 E6CE OL7E CA O27F DOF2 0281 60 0278 20054 20055 0002 0025 =0002 20015 0282 0600 68 0601 AD7802 0604 C9OE 0606 DOOA 0608 AGS4 060A E002 0800 FO04 O60E 9002 0610 C654 0612 C90D 0614 D008 0616 A654 0618 EO1S 061A BO02 O10 E654 O6IE C9OB 0620 DOOA 0622 A655 0624 E002 0626 F004 628 9002 O62A C655 620 C907 O62E D008 0630 AbSS 0632 E025 0634 Boo? 636 E655 638 60 0680 ; ANSWER TO PROBLEM #5 NY BNE FILL Wext byte i Rest of page INC FROMPT+! ; Next page from INC TOPNT+1 ; Next page to DEX i Finished? BNE FILL « Not yet RIS LISTING #2 0690 STICKO = $0278 0700 ROWCRS = $54 0710 COLCRS = $55 0720 LILIM ="802 0730 RTLIM = $25 0740 TOPLIM = $02 0750 BOTLIM = $15 0760 | 0770 t= $9600 0780 ; 0790 PLA 0800 LDA STICKO 0610 CHP AS0E 0820 BNE DN 0830 LDX ROWCRS 0840 CPX #TOPLIM 0850 BEO DW 0860 BCC DN 0870 DEC ROWCRS 0880 DN CMP #50D 0690 BNE LEFT 0900 LDX ROWCRS 0910 CPX #BOTLIM 0920 BCS LEFT 0930 INC ROWCRS 0940 LEFT CHP #50B 0950 BNE RIGHT 0960 LDX COLCRS 0970 CPX #LTLIM 0980 BEQ RIGHT 0990 BCC RIGHT 1000 DEC COLCRS 1010 RIGHT CMP #507 1020 BNE OUT 1030 LDX COLCRS 1040 CPX #RTLIM 1050 BCS OUT 1060 INC COLCRS 1070 OUT RTS SYMBOLS 20015 BOTLIM =0055 COLCRS 0612 DN 0273 FILL =00CB FROMPT =00CB INDLO O61E LEFT O6OF LOOPL 0619 LOOP2 =0002 LTLIM 0638 OUT =006A RAMTOP 0620 RIGHT =0054 ROWCRS =0025 RTLIM 20058 SAVMSC 20278 STICKO 20002 TOPLIM =00CD TOPNT stick op? i no reached top? ROWCRS = TOPLIM ROWGRS ( TOPLIM no, up one stick down? no reached bottom? ROWGRS )= BOTLIM down one stick left? no reached left side? yes, skip COLCRS ¢ LTLIM one right move stick right? no reached right side? COLCRS )= RTLIM one move right Back to Basic Machine Language Programming by Stan Ockers #4 Indirect Indexed Addressing This session introduces a powerful addressing mode especially useful in mov- ing lots of memory around. in the process we will learn how to write the program of problem #3 without having it modify itself. Rather than refer to an address directly we are going to refer to it INDIRECTLY by refering to another address (two bytes actually). The two bytes making up the indirect address must be located in zero page. We will use $00CB and $00CC. To further complicate matters we will tack on an index which must be Y. The instruc: tion written LDA ($00CB),Y reads ‘load the accumulator indirect modified by Y" and has the following meaning: Get an address by using the number in $00CB as ‘the low byte and S00CC in the high byte. Add to it the value of ¥ and use that ad- dress as the one from which to fetch a number and put it in the accumulator. Why all this round-about-ness? The power comes because it's easy to modify the zero page location and not change our program while doing so. Consider listing #1 which is a reworking of our “il screen with A’s' program. Use ‘Hexpoke’ (Dec.Jan. issue) to try it. Notice that after setting up our indirect address with the location of the screen (upper left corner). We use Y to successively fill 256 bytes, ‘The high order byte of our pointer is incremented and Y goes through another 256 iterations until 4 pages are filled. There are eight instructions which use the indirect indexed addressing mode but the ones we will use most often are: LDA (IND) with op-code B1 STA (IND) with op-code 91 Another good use for the indirect indexed instructions is in moving the character set from ROM to RAM. You must do this if you want to change some characters. The character set starts at $E000 and is 1K long (4 pages). One way to create room for the character set is to put it at the very top of memory and fool the Atari into thinking there is less memory than normal. This is necessary because the display data is normally placed highest in memory. In fact it's possible for display data to overide the top of memory in some cases. ‘$006A (106 decimal) telis the Atari how many pages of memory are >. It we drop this by 5 pages and then go back up one page to insert our character set, the set will start on a 1K boundary (a requirement), and space is available for any display overflow. You must remember to give a graphics mode ‘command (e.g., GR. 0) after this process to reestablish the display list and data. Location 756 (decimal) must also be POKEd with the page location of the new character set after any graphics mode command, (POKE 756,PEEK(106) + 1). If any PM graphics work is done, remember that RAMTOP is no longer on a 1K boun- dary.
110 REM 34 MOTIE u
120 REM 4% 5.0. 2/83 8
130 REM 4 FROM GAME BY 33
140 REM #% MAC OGLESBY ¢8
150 REM Sasgsssssessssssss
ie fat 48 THIS GAME WILL NOT FIT IN 1
160 DIM GMS (11) ,MMS(11) ,GNS(38) ,MNS(SS
DMPS(AL), YPSC11) DSC11) E8049) WIS(2E
W289) LIS) 1280)
170 REM Gardian offset into moves list
180 RESTORE 190:FOR J=1 TO 11:READ A:G
M5(J,J)=CHRS(A):NEXT J
190 BATA 1,5,9,13,17,20,26,29,32,36,38
200 REM Molie offset into moves list
210 RESTORE 220:FOR J=1 TO 11:READ A:M
M5(J,J)=CHRS(A):WEXT J
at DATA 1,5,10,15,20,24,33,37,42,47,5
230 REM Allowable Gardian next moves
240 RESTORE 250:FOR J=1 TO 38:READ A:6
NS(J,J)=CHRS(A):WEXT J
250 DATA 1,2,3,11,2,4,5,11,1, qe AL,2,
56,1155, 7,11,4,6,7,6,9,11,5,9,11,6,10
111,7,9,10,11,8,10,01
260 REM X positions of moves
270 RESTORE 280:FOR J=1 TO 11:READ A:X
PS(J,J)=CHRS(A) :WEXT J
280 DATA 20,15,20,25,15,20,25,15,20,25
220
290 REM Y positions of moves
300 RESTORE 310:FOR J=1 TO 11:READ A:Y
PS(J,J)=CHRS(A) ‘NEXT J
310 ae $,5,5,3,39.1
420 REM All Motie next moves
330 RESTORE M0: FOR J. “I TO 55:READ A:M
N6(J,J)=CHRS(A): tire J
340 DATA 1,2 245 11,003,514
1,0,2,8,6,41,1,8,4 AD,1,2,3,4,6,7,8.9,
480 DATA 3,5,9,11,4,5,6,10,11,5,7,9,10
11,5,6,8,10, ES On
480 'REM'Warp subroutine #
390 RESTORE 400:FOR J=1 10 21:READ A:W
18(J,J)=CHRS(A) :WEXT J
400 DATA 104, 162,0,172,193,2,189,194,2
8,144, 245,140, 200,2
Bh (193,2,232 224,
410 REM Warp subroutine #
420 RESTORE 430:FOR J=1 10 19:READ A:W
25(J,J)=CHRS(A) :WEXT J
430 DATA 104,162,7,172,200,2,189,193,2
1157,194,2,202 ,16,247,140,193,2,96
440 REM Lanes
: Wd: ay th
460 REM Draw warp screen
470 GRAPHICS 10:R=INT(RND(0)$16)$16:RE
STORE 460:FOR [=1 TO 8:READ A:POKE 704
+1 A+R: NEXT |
460 DATA 2,4,6,8,6,4,2,2
490 Q=1:FOR 1=0 TO 38:COLOR Q:k=1:Y=18
2:PLOT X,¥:DRAWTO tle LOT i Yet: DR
AWTO 79-X,Y+1:DRAWTO 7 190-Y
500 DRAVTO X,190-Y: bur 29-K,190-Y+1:D
RAWTO X,190-Y+1:DRAWTO X,Y: Qs041:1F a)
& THEN d=!
340 MEXT I
$20 REM save pointers, lower memory
530 LOSAV=PEEK (560) :HISAV=PEEK(561) :PO
KE 106, PEEK(106)-32
OCKERS’ MOTIE
Had GOSUB 1960:REM Change character se
at GOSUB 1190:REM Directions-selectio
585 REM I$ holds screen configuration
$60 Is="ggtgheteent®
$70 REM random free position for Motie
580 ReINT(RND(0)89)+2:1F R=3 THEN 580
590 18(ReL,Re1)=CHRS (109) :MOTN=R
600 tek LCGL=32 :MCOL=182 :GCOL=246 :B
KCOL=9 : TURN=|
610 GOSUB 1560:REM draw galactic map
620 REM Choose Guardian move
630 IF STRIG(O)=0 THEN 630
640 GOSUB 1780
650 IF 2()37 THEN 630
fe hata GURN: POSITION X,Y:? #6; ""&":R
are in inverse char. line 660
ne ir pees THEM 670
660 MFLAG=1
690 GOSUB 1
200 IF rae ie BST KY:? 06;"%
8": MFLAG=0:G0T0 630
710 IF 2()35 THEM 690
720 MFLAG=0
730 REASC(GMS(GNUM+!))
740 K=ASC(GNS(R+J)):1F Kell THEN 690
750 IF CURN()K THEN J=J+1:GOT0 730
760 X=ASC (RPS (GNUM+1)):Y=ASC(YPS (GNUM+
1)):POSITION X,Y:? #6; "88": 15 (GNUM#I 6
MUM+1)="8"
720 X=ASC (XPS (CURN+1) ) : Y=ASC(YP$(GURM+
1)):POSITION X,Y:? #6; "4": 1S(CURN#L,C
URN+L)="q"
780 REM Check for Guardian win
790 POKE 77,0:1F Is="#g@tagtgtt#" OR J
S*ettatgatigh? OR [$="#686888qggm" TH
M1450
800 REM Check for 3rd repetition
810 IF 18()125 THEN REPT=0:GOTO 630
820 REPT=REPT+1:{F REPT=3 THEN 1490
830 12s=118:118=18
840 REM Warp and redraw map
850 GOSUB 1700:GOSUB 1560
ae IF PFLAG={ THEN GOSUB 1100:GOTO 10
ito FOR J=1 TO 6:FOR K=15 TO 0 STEP -
:POKE 711 ,MCOL+K: Aarty ie ee 10,10: 3
OUND '1,240-K,10,10:F
880 MEXT L:WERT K: went Sound 0,0,0,0
:SOUND 1,0,0,0
890 REM Computer chooses Motie move
900 J=INT(RMD(0)$3):R=ASC(MMS (MOTN*L))
910 K=ASC(MNS(R#J)):IF Kell THEN J=0:6
OTO 910
920 IF Is="#8dtggtmtge" THEN K=10
930 IF 15=*#tttgggtnt" be K=10
HERE Gag N K=9
0 IF [s="#tbgtghtgnt™ Th K=10
960 IF [s2"#gttiginget” THEN K=10
970 IF MOTW=1 AND 18(1,1)="@° THEN K=O
980 IF MOTN=2 AND I$(1,1)="#" THEN K=0
990 IF MOTN=3 AND 18(1,1)="#* THEN K=O
HH IF [$=" aettegogni® THEN K=5
Q IF [s="8880gttaggt” THEN K=5
iat AEASCUNPSUKeII) YeASC(YPS(K+1)):L
OCATE X,Y,Z:1F Z()35 THEN J=J+1:GOTO 9%
M0
1030 POSITION X,Y:? #6; "!(":X=ASC(KPS(
MOTN+1)): Yeasc Ps (WOT) ae x
1Y:7 86; "#8" °REM “(ARE I
jogo 1s(MOTNel | MOTH )e°¥: ined, Fat)
10
"a": MOTNEK
1050 REM Check for Motie win
1060 IF MOTN=0 THEN GOTO 1490
1070 TURN=TURNe1:1F TUBN)14 THEN 1490
it ae 25,11:7 86;15-TURN;* TUR
SLE
{9d GOTO
1100 IF Sretgo)=0 THEN 1100
1410 POSITION 25,11:? #6;" Motie turn”
“MFLAG=2 : CURN=MOTN
1120 GOSUB 1780:J=0
1130 IF 2035 THEN 1120
1140 ReASC(MMS (HOTN+1))
1150 K=ASC(MMS (ReJ)) :1F Keli THEN 1120
{ie IE IF ak THEN J=J+1:GOTO 1150
i Le The ‘ot' in line 1190 are in
1190 DELAG=O: GRAPHICS Ae RST fi Ae
2 #6; “Motle" :POSITION 2,6: ECT
1 Player *:POSITION
1200 POSITION 1,8: 06; "OPTION
tions" :POSITION 7,10:? #6; "STAI
1210 FOR J=4 70 30:WEXT J:POKE 1279, 8
:IF PEEK(53279)=3 THEN GOTO 1260
1220 IF PEEK(53279)=5 AMD PFLAG=0 THEN
PELAG=1: POSITION 9,6:? #6;°2 Players”
:G0T0 1210
1230 IF PEEK(53279)=5 AND PFLAG=1 THEN
PFLAG=0:POSITION 9,6:? #6; "1 Player “
1240 IF PEEK(S3279)=6 THEN RETURN
1250 GOTO 1210
1260 GRAPHICS 0:POKE 752,1:7 :? :?"
3 Guardian starships protect the"
1270 ? “Human Empire from attack by a
tie”
1260 ? "vessel.
player’
inh, 7 “the computer moves the Motie 5
If there is only one
136 2 “Two players alternate using st
iia ,
e
iit 2 “downscreen while the Motie ves
22" The Guardians can’t mov
lio 2 "can move any direction along t
aa 2 "indicated starship lanes.”
1350 ? "Moves are to adjacent empty po
sitions®
1360 2:7 *
ie is"
1370 2 “trapped (has no legal moves)."
1380 ? “The Moties win if 15 turns has
Guardians win if the Mot
e
1390 2 “elapsed, if there is a 3-ti
iit 2 “repetition of position or if t
eir*
vessel reaches the lowest posi
4 27 "PRESS KEY TO START":POKE 76
4,
1430 IF PEEK(764)=255 THEN 1430
1440 GOTO 1190
1450 GRAPHICS 18:POSITION 2,2:? #6; "Th
e g tote tassel sPOSITION 5,3:2 #6;"CAR
iste REM All strings in 1470 in invers
a0 POSITION 3,5:? #6;"The Guardians”
:POSITION 5,6:? #6; "HAVE SAVED": POSIT)
OM 2,7:? #6;*the human empire"
1480 POKE 764,255:60T0 1530
1490 FOR J21 TO 300:NEXT J:GRAPHICS 18
:POSITION 5,3:? #6; "THE MOTIES*:POSITI
OW 3,4:? #6; "have conquered™
1500 REM Ist and last strings in 1510
in inverse char.
6; “THE GUARDIANS"
i ea EMPIRE":
is .
1520 position Hf ti ? is: “again?-PRESS
key": POKE 7:
1530 IF Peete 255 THEN 1530
1540 GOTO 5:
ae REM sabroutine to draw galactic »
i860 GRAPHICS 1:POKE 756 ,CSPAGE: DL=PEE
Bist) ePEPA SEL ISSA: FOR J=DL+7 TO DL+
45:POKE J, 5:NEXT
1570 Jed+1:IF PEEK) (65 THEN 1570
pe fa K=O TO 2:POKE DL+20+K, PEEK(J+
1585 ORE 208, LCOL:POKE 709,86:POKE 71
0,GCOL:POKE 711 ,MCOL:POKE 712, BKCOL
1590 POKE 67,0:F0R J=3 10 7 STEP 2:FOR
aa TO 24:POSITION K,J:? 06;"¢*:NEXT
T J
1600 FOR J=4 10 6:POSITION 15,J:? #6;"
)":POSITION 25,J:2 €6;°)":NEXT J:FOR J
=2 10 8:POSITION 20,J:? #6; ")":NERT 4
1610 pret 18,4: BH POSITION
34:7 POSITION 1
22 86; "Ee: ff
age
1630 FOR J=1 1 11: X=ASC(XPS(J)) :Y=ASC
(¥PS(J)):POSITION X,
2 46; "#5" :NEXT J
46;"Motie World":P
fuman Empire”
1660 IF 18(J,J)="q" THEN X=ASC(RPS(J))
:YsASC(YPS(J)):POSITION X,Y:? #6; "h4"
1670 IF I8(J,J)="m" THEN X=ASC(XPS(J))
:YeASC(YPS(J}): POSITION X,¥:? #6;°/(":
REM ‘( ARE IN ee CHAR.
1680 NEXT J
1700 GHAI 1h: PORE 560, LOSAV:POKE 5
61 ,HISAV:W1=ADR(W15) :W2=ADR(W2$)
1710 R=INT(RND(O)#16)16 RESTORE 480:F
OR I=1 TO 8:READ A:POKE 704+] ,A+R:NEXT
I
1720 FOR J=150 TO 50 STEP -1:A=USR(WI)
1730 GOSUB 1770:NEXT J
1740 FOR J=50 TO Ase Fok beUSn(iD)
1750 GOSUB 1770:WEXT
er rotate ine! A 00M 1,0,0,0:SOUND
1770 Suu i, JM, 12:S50UND 1 ,J42,12,12:
ere 2,344 ,10,6:RETURN
S REM Move cursor subroutine (stick
i
1780 X=ASC(XPS (CURN+1)):Y=ASC(YP$ (CURN
#1)):LOCATE X,Y,Z:LOCATE X+1,Y,2Z:POS1
TION X,Y:? #6; a (33); CHRS (34)
1790 FOR J=1 10 2
1800 IF MFLAG=1 HEN SOUND 0,150+J,10,
10:SOUND 1,170-J,10,10:NEXT J
{a6 POSITION X,¥:?' 86 ;CHRS(Z) ;CHRS (ZZ
20 S=STICK(0)
1830 IF (S=14 AND Y)3) OR (S=14 AMD Ke
20 AND Y=3) THEN Y=¥-2
1840 IF (S=13 AND ¥(7) OR (S=13 AMD X=
20 AND Y=7) THEN Y=¥+2
1850 IF S=11 AND X15 AND Y)1 AND Y¢9
THEN X=X-5
ieee S=7 AND X¢25 AND Y)1 AND ¥(9 T
1820 FOR J=1 TO A4:1F ASC(XPS(J,J)) CX
THEN NEXT J
1860 IF ASC(YP$(J,J))()Y THEN NEXT J
1890 CURN=J-1
1900 IF STRIG(O}()0 THEN 1760
i SOUND 0,0,0,0:SOUND 1,0,0,0:RETUR
1920 Eat te This subroutine reserves 5
pages #
1930 REM $4 at the top of RAM, mov
es the 8
1940 REM H character set from ROM and
changes #
1950 REM Hi the characters ! thru , 4
1960 DIM MCS$(42): RESTORE 1970:FOR J=1
TO 42:READ A:MCS$(J,J)=CHRS(A) :NEXT J
1970 DATA 104,169,0, 133,203,133, 205,16
9,204,138, 204,165,106,80,285,5,133,106
2d
1960 DATA 105,1,133,206,162,4,160,0,17
7,203,145, 205, zi, 208,249,230, 204,230,
206,202 208,242
1990 isis: CSPAGE=PEEK( 106)
+1:05=2563CSPAG!
2000 RESTORE Ibo: FOR ae ae 05+103
:READ A: ae J A:NEXT J:R
1160
8,0
37,10
8
15
i 24,2
art DATA 60,220,215, 221,223,220,220,6
2080 DATA 60,55,215,119,247,247,55,60
2090 DATA 0,2,1,2,1,2,1,0
2100 DATA 2,1.8,4,32,16,128,64
2110 DATA 0,0,0,24,0,0,0,0
2120 DATA 128,64,32,16,8,4,2,1
ERACE
Next meeting: 7.30 pm, April 5, 1963
295 Foxtail Dr., Eugene, OR. GO7-2138.
10 2 ")°:DIM AS(5),B8(5) ,C8(5) ,DE(S) A
WS(1) ,28(5):2)
20 POKE 710,1 KE 709,14:2 :? ,* HU
"THIS 15 A ONE OR TW
NGRY ae &
0 PLAYER 6
a rd PERSON CONTROLS A HAWK :
"2? TDLAYER 1 CONTROLS HENRY CHICKEN
a5?
iu. 1 PLAYER 2 CONTROLS HARRY HAWK-EYE
:? "HENRY 15 BLUE. & HARRY I5 BROWN
0 POKE 752,1:? :? "PLAYER 1 USES JOYS
ua 1":? “PLAYER 2 USES JOYSTICK 2°:?
22 "USE THE JOYSTICK TO MOVE SIDEWAYS
is 2 “AND PRESS fue FIRE BUTTON TO SWO
OP":? “DOWN ON THE PREY.
40 2 :? "PRESS THE START BUTTON TO STA
RT GAME":? 7." by SYDNEY.H. BROWN -
- COMPCO ";
70 IF Leet aes Ray 70
75 Ags" wox ":BS=" “:C8=" wea "DS
s* yon ": PORE 106, PLEK(106)- 1
80 GRAPHICS 2:POKE 710,0:POKE 708,14:P
oe ee 40:POKE 711,222
S6/"ANIMAL®:? 6; "frog 3 poi
He ae; trabbit 5 points™:? #6;"t
urtle | point*:? #6;"chicken 2 po
ints"
91) 86, "a1
101 POKE 10, 0: pone. 7, te SPOKE 709,40
SPOKE 711 ,222:A=PEEK(106)4256: FOR Bed
TO 511
102 IF Bai Ada READ D:POKE A+B, D:NE
AT B:G0T0 1
106 POKE re oEEK( 5734408): NEXT B
EE POSE 0,8:2 #6; "PRESS START BUT
AML IF PEEK(S3279)()6 THEN 110
112 POSITION 0,0:2 €6;")":POKE 710,140
:POKE 756 , PEEK(106)
190 VieL:V2=1 :Hi=1:H2=14:C1=0:C2=0:51=
0:52=0:NA=0
195 POKE 709,142:POKE 711,24:POKE 712,
128:POKE 710,200:POSITION 0,0:? #6, “sc
orel=0 scoresef
199 GOSUB 5:
ie SesTTcK(0): IF S=11 AND Hi)0 THEN H
ri IF S=? AND H1(1S THEN Hi=Hi+l
202 IF STRIG(O)=0 THEN ful
205 POSITION H1,Vi:? 46,2!
210 ON R GOSUB 500,510, aa 330,540
223 IF C2=1 THEN GOSUB'400:GOTO 235
224 IF C2=2 THEN GOSUB 450:G0TO 235
225 S=STICK(1):1F S=11 AND H2)0 THEN H
2=H2-1
226 IF $=? AND H2(1S THEN H2=H2+1
al IF STRIG(1)=1 ue Lh onl
}0 POSITION HZ, Vi
He ON R GOSUB su, un a ‘S30, S40
246 IF Cl={ THEN GOSUB 300°GOTO 260
249 IF Cl=2 THEN GOSUB 350:G0TO 260
250 S=STICK(0):IF S=11 AND H1)0 THEN H
dsHI-1
251 IF S=7 AND HI(15 THEN Hi=Hi+l
252 IF STRIG(O)=0 THEN fel.
285 POSITION Hi ,V1:? #6;
260 ON R GOSUB 500,510, A 40, 540
273 IF Cl=1 THEN GOSUB 400:GOTO 285
274 IF C2=2 THEN GOSUB 450:GOTO 285
275 S=STICK(1):1F S=11 AND H2)0 THEN H
2sH2-
BROWN’S HAWKS
276 IF S=7 AND H2(15 Hed Wael
277 IF STRIG(1)=0 THEN C:
280 POSITION H2,V2:? #6; tt,
285 ON R GOSUB $00,510, 520,530,540
297 IF Cl=1 THEN GOSUB 300:GOTO 210
298 IF Ci=2 THEN GOSUB 350:60T0 210
299 GOTO 200
300 POSITION Hi ,Vi:? #6;28:Vl=Viel:POS
ITION H1,Vi:? #6;A8:1F Vi(8 THEN RETUR
N
305 Cl=2:LOCATE Hi+2, Viel 21:1F Z1=32
THEN RETURN
310 AC=1
350 POSITION Hi,Vi:? #6;28:Vi=V1-1:P0S
ITION H1,Vi:? #6;BS:COLOR Z1:PLOT Hi+2
iVi+1:COLOR 32:PLOT Hi+2,Vie2:1F V1)1
‘THEN RET!
"URN
35§ Cl=0:1F AC()1 THEN RETURN
356 SOUND 0,255,10,14:COLOR 32:PLOT Hi
a fiat FOR W=1 TO 21:WEXT W:SOUND 0,0
Fa #1 esas: POSITION 7,0:? #6;S1;:AC=
0:60T0 550
400 POSITION H2,V2:? #6;26:V2=V2+1 :POS
He TION H2,V2:? 06;C8:1F V2¢® THEN RETUR
tts C2=2:LOCATE H2+2,V2+1,22:1F 22=32
no reed
‘0 0 POSITION H2,V2:? #6; 28:V2=V2~-1:P05
ITION H2,V2:? #6 ;D$:COLOR 22: PLOT H2+2
Veet ;coton 32: PLOT H2+2 ,V2+2:1F V2)!
TURN
455 C2=0:1F AC()2 THEN RETURN
456 SOUND 0,123,10,14:COLOR 32:PLOT H2
h Haze FOR W=1 TO 21:MEXT W:SOUND 0.0
is » 7052 +AS POSITION 17,0:7 06352; AC
=0:60T0 550
$00 IF AC«)O Pine HET
$01 IF X)19 THEN
502 IF FC=0 THEN POSITION K.9:? 46; ANS
503 FC=FC+i:1F FC/9()INT(FC/9) THEN RE
TURN
504 SOUND 0, i 10,44:2°R Wet TO 10:NE
AT W:SOUND 0,0,0,0
505 COLOR 32:PLOT 4,9
als TF X(20 THEN pestiton i 9:7 #6; ANS
509 COLOR 32:PLOT X-3,9
S10 IF AC()O pune HTN
S11 IF X)19 THEN
512 IF X=0 THEN POSITION X92? #6; ANS:
A=Xe1 RETURN
$13 XX=INT(RND(0)#3):1F XX=2 THEN XX=0
514 IF XX=1 THEN SOUND 0,14,10,10:FOR
Wel TO S:NEAT W:SOUND 0,0 t
$19 POSITION X-1,9:? #6;*
Ki9:? 46; ANS :KeXeXX: RETURN
Sto IF AGCO a le
$21 IF X)19 THEN
ut ne X=Q THEN postTIOK X92? GANS:
X=K+1: RETURN
525 POSITION X-1,9:? 46;" ";:POSITION
X,9:7 06; ANS :eX40. 25: RETURN
530 IF AC(OO ne is
$31 IF X)19 THEN
Poe IF tat ae post TI0K R92? $6;ANS:
Re)
$33 SOUND i 1, ‘S 10:FOR Wel TO 3:NEXT WV
:SOUND 0,0
12
$35 POSITION X-1,9:7 86," ";:POSITION
K,9:? 4G;ANS oKeXe0.5-RETURN
540 IF ACC3O Ld hie
$41 IF X)19 THEN 5
Hee ia X20 ie posiTiOx R927 06;ANS
545 PositiOn R-1,9:7 065" ";:POSITION
K9:) ok RETURN’
Pes OMASMAGL STF WASS1 TH
S51 PoKE 77,0:FC=0:COLOR 32:PLOT 19,9
AsO: AC=0: RefNTaMD(OD AS: ON R GOTO
$6, 552,553,554, 555
552 AS=5:POKE 708, 10:ANS="\":RETURK
553 SOUND 0,255,8,14:AS=1:POKE 708,22
ANS: "3": RETURN
554 AS=2:POKE 708,222: ANS="°": RETURN
58 0,7,8,8:AS=2:POKE 708,56: AN
556 AS=3:POKE 708, 188:ANS=°C":RETURN
600 POSITION 6,5: 2 06;"THE END*:? 86
1 He" press start button® 22 86:7 86;
\ =
605 IF PEEK(53279)()6 THEN 605
609 GOTO 111
1000 DATA 28,42, 255,227,247 42,65, 162
6,15, 31,61,46,32,64,0,48, 120,252,222,
342.1428
1005 DATA SACU M OE:
$4, 72,132
1020 DATA 4,11, 4,252, 124,56,8,20,10,1
21,142,138, 206,254,124
Game Writers’ Column by Jon Atack, Eugene A.C.E. Welcome back to the GAME WRITERS’ COLUMN. This month, due to a number of requests, we'll go over how to convert SynAssembler source code to Atari EditoriAssembler source code, and vice versa. | haven't used the Atari Assembler for some time now and am not overly familiar with it, so if I'm wrong about a con- version, please let me know so can publish the correction. Here is a list of the SynAssembler opcodes, and their equivalent opcodes on the Atari Assembler: AS daaa..ad 00100 .AS “THIS IS AN ASCII STRING” The .AS daaa...ad directive translates the string of characters into their ASCII bytes. The string can contain any printing character and can be of any length. | don't think there is any equivalent command on the Atari Assembler (I'm not positive though, 80 ask someone who knows just to be sure) except to translate the bytes yourself and to use a .BYTE directive. Example: .BYTE $34,$25,$26,$3F,$21 etc. AT daaa...ad (00100 .AT “THIS IS AN ATASCII STRIN‘ ‘The .AT directive is the same as .AS except it translates into ATARI ASCII Bs exp (any valid number or expression) (00100 .BS 44 00200 .BS $16 Reserves a block of exp bytes at the current location in the program. The expression just specifies the ‘number of bytes to advance the location counter. “There is an equivalent opcode for the Atari Assembler, but | don't have the Atari manual and | haven't been able to find it. If there are only a few bytes you want reserved, then just use a .BYTE 0,0,0,0,0,0,0.0,0,0,0 for the number of bytes you want. DA expression or label (two bytes, LSB first) DA #exp or label (one byte, LSB of exp or label) DA lexp or label (one byte, MSB of exp or label) ‘The .DA data directive creates a constant or variable in your program. Here are some examples: ‘4000: 64 00 00100 .DA 100 4002: 64 00110 .DA #100 4003: 00 00120 .DA /100 4004; FF 3B 00130 .DA LOOP1 4006: FF 00140 .DA #LOOP1 4007: 38 00150 .DA /LOOP1 Equivalent directives on the Atari Assembler are BYTE (for DA #exp), .DBYTE (for DA exp), or .WORD (which outputs using MSB-LSB, Instead of the normal LSB: MSB). EN (00100 .EN Telis the SynAssembler where to stop assembling the source program. .EN Is purely optional if you want to assemble the entire program. | think the equivalent for the Atari Assembler is END. label EQ expression Defines the label to have the value of the expression. ‘00100 PMBAS .£Q $0400 (00110 HPOS1 .EQ 53248 00120 STICK .EQ $278 The equivalent Atari Assembler directive is ‘00100 PMBAS = $0400 label HS aabbecddeett. DATA1 .HS 3400AA4F039B001A Stores the string of hex digits at the current location, two digits per byte, There must be an even number of hex digits in the string. ‘There is no equivalent command on the Atari Assembler except to use the BYTE directive, Example: DATA1 .BYTE $34,0,$AA,S4F,$3,$98,0,81A LI OFF AND LI ON (00100 .L OFF (05680 LI ON These directives turn the assembly listing on and off, and can both be put anywhere in the program. The program assembles much faster without a listing, although the SynAssembler assembles so fast it usually makes no difference. ‘The equivalent Atari Assembler directives are .OPT LIS and OPT NOLIS. LIN [file name} (00100 .IN “D:SETUP” (00110 .IN “D:PART.SRC” (00120 IN “D:SCORING” Causes the specified source file to be included in the assembly at the current location of the program counter. The program in memory at the time the ASM ‘command is typed is called the “root” program. Only the root program may have AN directives in it. The .IN directive is useful for assembling very large programs which cannot fit in memory all at once. It is also very useful for connecting a library of subroutines with the main program. | don’t think there is an equivalent command for the Atari Assembler. LOR expression (00100 .OR $4000 02160 OR START +$1C00 This sets the Program Origin and the Target Address to the value of the expres: sion. Program origin is the address at which the object program will be executed. Target address is the address at which the object program will be stored during the assembly. The .OR directive sets both of these addresses to the same value, which is the normal way of operating. For the Atari Assembler use * =. Example: $4000 or * =START +$1600. A ‘expression (00100 .TA $4C1F Used the same as the .OR command, .TF sets only the Target Address at which the object code will be stored during assembly. Object code is produced and ready to run at the Program Origin, but is stored starting at the Target Address. | don't think there is a similar function on the Atari Assembler. TF file name) (00100 .TF "D:PROGRAM.OBJ” ‘Causes the object code to be stored on a binary file on disk rather than in memory. Only the code which follows the .TF directive will be stored on the disk, ‘To simulate this command on the Atari Assembler, use the ASM command as follows: ASM ,,#O:filename, Other miscellaneous changes and differences: 1. For the SynAssembler, remove all references to “A”. For example, in the in- struction LSR A, the “A" should be removed. The SynAssembler assumes the "A" reference automatically. Likewise, the “A” is required for similar instructions on the Atari Assembler. 2, SynAssembler has no multiply or divide, so these must be put in by long hand. 3. To get HI and LO bytes, make the following changes: Atari Assembler LDA #PLACE/256, high byte LDA HPLACE255, lo byte ‘SynAssembier LDA PLACE high byte LDA #PLACE lo byte 4, Finally, don't forget to change all the Atari directives to the above SynAssembler equivalents (or vice versa.) '5, Local labels on the SynAssembler (labels starting with a period, such as .1 or 23) must be changed to the regular Atari label format of capitals and numbers. On the SynAssembler, local labels can be used over and over (instead of making up a new name for every label) as long as they aren't used more than once between normal labels. | hope this helps in converting source programs from one assembler to the other. Be watching for next month's column on machine language sound techni- ques, with some mind-blowing example programs in BASIC and machine language. Also, for you game players, be ready for some hot new games coming ‘out from Atari, Datasoft, and Synapse Software in the next few months. | ain presently in the middle of a new game for Synapse that should hit the market ‘sometime this summer — more on this in next month's column, Until then, good luck and great game-making! — Jon Atack FLASH! The ATARI Service Contract, reported several months ago in ACE is now available through your localAtari Service Station. Costs $45 a year for the 400 and $120 for the 800. It includes coverage onal! Atari made equipment -- disk drives, joysticks, cassette, printer, etc. Your computer must beworking at the time you sign up. Hi-Res is a new magazine for the Atari looking for writers. Longwood Business Center, 755-B W. San Lando Springs Dr., Longwood, FL 32750 13
CALL TO ASSEMBLY
from S*P*A*C*E by Tom Newman
How to use pictures created with MICRO-PAINTER in your machine language pro-
grams (part two).
In part one of this article, which appeared in volume two issue 9 of the Space
news letter (September 1982), | shared a program with you | had written to load
MICRO-PAINTER files into a specified area of RAM, and display the pictures on
the television screen. In this the second of three parts, | will show you how to
‘compact the picture data and automatically save the condensed information to
your disk drive for future use in a program. The first program was written with
ATARI'S assembler/editor cartridge. The program included in this article was writ-
ten with the SYNASSEMBLER from SYNAPSE SOFTWARE. The
SYNASSEMBLER is as much as fifty times faster than the assembler/editor car-
tridge, and supports all of the 6502 opperations, which the cartridge does not.
Conversion: between the two assemblers should not be difficult for anyone with
‘even minimal experience in the use of such programs. Eg:
ATARI SYNASSEMBLER,
ts sasewewommeniits st aasaceaaned OR
BYTE $A0,$20,$3E. HS A02D3E
‘S "STRING"
BYTE “STRING, cscsseesssosesaveesees aewasee
_ —£a
‘This program was written for a 32K machine with at least one disk drive.
In any picture created by the computer, there will always be patterns repeated
In either a vertical or horizontal direction. This program takes advantage of this
fact and creates an inter-leaved table of data values and the number of times they
are repeated, using a vertical scan of the screen refresh area. | have found through
‘experimentation that a vertical scan results in the most efficient use of this type
program. As explained earlier, MICROPAINTER uses antic mode *E’, which is a
four color single line resolution mode. Each line contains forty bytes of data and
‘each byte represents four pixels. Each pixel uses two bits to define its color and
shape:
00 BACKGROUND COLOR
01 PLAYFIELD 0
10 PLAYFIELD 1
17 PLAYFIELD 2
Since each pixel requires two bits for color definition itis also twice as wide as it
is high.
‘There are a total of 192 lines used to make up the picture, and 192 times 40
bytes per line equals 7680 bytes. This program should at least cut that in half for
‘most pictures and do even better on simpler ones. | have included a couple of
screens from the DONKEY KONG program my sons are working on to give you
‘some idea of what | consider to be an average picture. Screen 1 was reduced to
3508 bytes, and screen 2 was reduced to 4057 bytes. The un-compaction program,
which will be presented in part three occupies less than one page of memory, 80
the combination of controlling program and data base can be very cost effective
in terms of memory useage. Even if you have only one playfield image this pro-
{gram will give you a ‘blueprint’ of the original image, eliminating the need for disk
access each time the program is rerun. Now let’s examine the program.
Lines 130 through 290 contain the equate table. The labels of the equate table
allow us to use words to identify memory locations or values used in our pro-
grams, which we may have difficulty remembering. The labels also allow the
assembler to keep track of where in memory things are, so we don't have to
calculate their locations.
Lines 330 through 500 contain the initilization program. This Is the part of the
program which sets up all the starting values, such as data locations and counter
initilization,
Lines 540 through 1090 contain the main body of the program. The program
starts by getting the first byte from the screen refresh area and comparing it to
each sucessive byte in the column. A counter called BLKSIZE keeps track of how
many bytes have been examined up to a maximum of 256. When a mismatch oc:
cures of a count of 256 has been reached the program jumps to a subroutine call-
‘ed SAVEBLK and starts building the data base. SAVEBLK saves the data value
first and then the number of repetitions indicated by BLKSIZE in encoded form,
Any byte examined will be repeated at least once, but no more than 256 times. A
single byte will hold numerical values from 0 to 256. Since nothing will ever be
repeated zero times a literal use of the counter contents allows only 255 values to
be stored. The answer to this inefficiency is found by complementing each bit of
the the counter value. It is the complemented byte you will find in the table, The
lun-compacting program uses a counter which counts to zero, as an example:
‘$00 XOR SF equals $FF, $FF counts to zero in one step, so SFF represents 1.
SFF XOR SFF equals $00, $00 counts to zero in 256 steps, so $00 represents 256.
‘The %X' register is used to keep track of the line count. When it has reached 192
the column counter (the “Y’ register) is incremented and the home address is,
restored to the indirect buffer pointer. This is necessary because forty had to be
added to buffer address each time a byte in the column was examined, but the
starting address of each column is sequential. After all of screen RAM has been
‘examined and the data base is built, the program waits for the user to press
SELECT and OPTION keys simultaneously. It will then save the data base as a
binary file using the filename ‘COMPACT. TBL’
Line 2000 contains the filename. You can insert any legal filename you like bet-
ween the quotes. Remember to change this name if you want to save multiple
compacted pictures on the same disk.
The created file contains all the proper header information of an ATARI binary
file, and may be loaded into RAM at $4000 by DOS, or the ASSEMBLER) EDITOR
cartridge.
Lines 1140 through 1230 contain the program which waits for the user to press
the SELECT and OPTION keys at the same time. The program also expects you to
hold them down for about ¥4 second before acting
Lines 1270 through 1430 set up the header bytes for the compacted file.
Lines 1470 through 140 calculate the table length in bytes, which is needed by
SIO for the save routine,
Lines 1590 through 2090 set up IOCB #1 for a byte aligned binary save
1. 1OCB #1 is closed 1590-1620
2. 10GB #1 opened for write 1660-1760
3.1008 #1 executes the save 1800-1900
4, 10GB #1 Is closed 1940-1960
In order to make use of this program you must first have the MICRO-PAINTER
retrieval program assembled into memory.
Its execution point is at HEX 5F00. Remember to change the filename in the
program to match the picture filename you are interested in. Now assemble the
‘compactor program in this article and execute it at HEX 5CO0. Wait a second, then
press OPTION and SELECT. Disk drive one should come on and the compacted
data base will be saved. That's all until next time. If you have any questions fee!
free to call, (206) 1-858-7649
00010 LI OFF
90020 OR $5000
00030 BAsaaaaenaaaaseeggaaareagesaaas
00040 & COMPACT. ASM ft
00050 4 NEWSLETTER ARTICLE (PART2)
00060 & BY TOM NEWMAN t
00070 + NOVEMBER 1982 1
00080 S.P.AC.E. Seattle, WA *
60090 4 1
OOL00 Stseeaasaaeacacssagaagagasagesy
00110 4 EQUATE TABLE ’
00120 RARRReasaagaaaaessresreegsagaes
00130 BUFFER £0 SFO
00140 BUFFLO EO SFO
00150 BUFFHI £0 SF1
00160 TABLE EQ $F2
00170 TBLLO =. £0 $F2
00180 TBLHI EQ $F3
00190 SAVEY EQ $F4
00200 REF £0 $F5
00210 HOMELO EQ sF6
00220 HOMEH] «©. EO $F7
00230 BLKSIZE £0 $F8
00240 COUNT EO $F9
00250 HEADER EQ SFA
00260 LENLO EQ SFC
00270 LENHI EQ sFD
00280 NMIRES EQ SD40F
14
00290 CONSOL £0 SDOIF 00300 tesaaeagesesserasaasaseesa sages 00310 + IMITILIZATION ' 00320 S2Sageaaeaagacsssaseaageaaaagse 00330 START LDA #850 00340 STA BUFFLO 00350 STA HOMELO 00360 LDA #861 00370 STA BUFFHI 00380 STA HOMEHI 00390 LDA #800 00400 STA COUNT 00410 STA TBLLO 00420 STA BLXSIZE 00430 TAY 00440 LDA @$FA 00450 STA HEADER 00460 LDA #83F 00470 STA HEADER+! 00480 LDX #800 00490 LDA #840 00500 STA TBLHI OOS10 SRRGRRRRSER RASA AREAS TRAE LETTE 00520 + PROGRAM BODY s 00530 SESSRNRRSRER TASER Eee ea a aes TTT 00540 BLOCK LDA (BUFFER), Y 0550 STA REF 00560 NEXT INC BLKSIZE 00570 BNE CONTINUE 00580 JSR SAVEBLK 00590 CONTINUE DEX 00600 BNE SKIPCOLM 00610 JSR NXTCOLM 00620 UMP CORRECT 00630 SKIPCOLM CLC 00640 LDA BUFFLO 00650 ADC #828 00660 STA BUFFLO 00670 LDA BUFFHI 00680 ADC #800 00690 STA BUFFHI 00700 CORRECT LDA REF 00710 CHP (BUFFER) ,¥ 00720 BEQ NEXT 00730 JSR SAVEBLK 00740 JMP BLOCK 00750 SAVEBLK STY SAVEY 00760 LDY #800 00770 LDA REF 00780 STA (TABLE) ,Y 00790 JSR STEPTBL 00800 DEC BLXSIZE 00810 LDA BLKSIZE 00820 EOR @SFF 00830 STA (TABLE) ,Y 00840 JSR STEPTBL 00850 LDA #800 00860 STA BLXSIZE 00870 00880 00890 00900 00910 00920 00930 00940 00950 00960 00970 00980 00990 01000 01010 01020 01030 01040 01050 01060 01070 01080 01090 01100 01110 01120 01130 01140 1150 01160 01170 01180 01190 01200 01210 01220 01230 01240 01250 01260 01270 01280 01290 01300 01310 01320 01330 01340 01350 01360 01370 01380 01390 01400 01410 01420 01430 STEPTBL AXTCOLM LDY SAVEY RIS cle LDA TBLLO ADC #801 STA TBLLO LDA TBLHI ADC #500 STA TBLHI RTS INY CPY #628 BEO OUT LDA HOMELO STA BUFFLO LDA HOMEHI STA BUFFHI LDX #8CO RIS PLA PLA LDA REF JSR SAVEBLK PIDPEIIIISIStGTEet iti t WAIT FOR USER INPUT & PRESS ‘OPTION AND SELECT’ 1 Ay SISCIEEOTISSSiiitiectiiisi ties USER WAIT LDA CONSOL CMP #501 BNE USER LDA NMIRES AND #840 BEQ WAIT INC COUNT LDA COUNT CMP #514 BNE USER PEPREIiitisisiiiticetiiiiiicis SHEADER SETUP FOR BINARY FILE * PIPIEEELELECLiSeLitisi ii eeny 15 LDY #800 LDA #SFF STA (HEADER) ,Y INY STA INY LDA STA INY LDA STA INY LDA TBLLO STA (HEADER) ,¥ INY LDA TBLHI STA (HEADER) ,Y (HEADER) , ¥ #500 (HEADER) ,Y #540 (HEADER) , ¥ O144D BRsRaeeaeeasteeasaaaa aaa ssse tes 01450 % ESTABLISH BUFFER LENGTH = ¢ 01460 asnegassasasacsaneaasccassates 01470 SBC #840 01480 STA LEHI 01490 cle 01500 LDA TBLLO 01510 ADC #507 01520 STA LENLO 01530 LDA LENHI 01540 ADC #500 01550 STA LENHI O1S6O easunssaneacassassanssaes sagen 01570 4 CLOSE IOCB #1 s O1580 Aesaegssansaasrsaeacssssaseggays 01590 LDX #810 01600 LDA #500 01610 STA $347,X 01620 JSR $E456 1630 Shaegagaaaaecaanagaaesssaggcsgas 01640 «SETUP I0CB #1 FOR WRITE * 01650 SRSsaassaaansasaassageasaseaasy 01660 LDA #03 01670 STA $342,X 01680 LDA #FILE 61690 STA $344,X 01700 LDA /FILE 01710 STA $345,X 01720 LDA #808 01730 STA $34A,X 01740 LDA #500 01750 STA $34B,X 01760 JSR $E456 01770 sheagaeassasaagacantaaeagstagey 01780 4 GO WRITE THE FILE ‘ OL790 ARSARRSRSERRA SEERA Agee as sa sete 01800 LDA #508 01810 STA $342,X 01820 LDA @SFA 01830 STA $344,% 01840 LDA #83F 01850 STA $345,X 01860 LDA LENLO 01870 STA $348,X 01880 LDA LENHI 01890 STA $349,% 01900 JSR $E456 01910 Sasaaangansaasagagsacagsagagys 01920 & CLOSE JOCB #1 ‘ 01930 Seseasacengcsaaacsacssscagsaes 01940 LDA #400 01950 STA $342,X 01960 JSR $E456 01970 sassaaagnaagcascassassgsascsgey 01980 $ © FILE NAME FOR TABLE s 01990 SEsgaeegeaaaaeaasesesaaaaaaass 02000 FILE -AS “D: COMPACT. TBL" 02010 -HS 9B 02020 BRK 02030 END
MARCH MEETING WILL BE HELD AT THE L.C.C. CAMPUS IN FORUM Son Wed. Mar 9 at 7:30 pm FORUM is on the SOUTH side of campus. The FORUM bldg is near the middle of the south parking lot area. TYPESETTING FROM YOUR COMPUTER ATARI OWNERS: If you have a modem, text editor, and com- munications program to send ASCII files, you should consider the improved readability and cost savings provided by TYPESETTING your program documentation, manuscript, newsletter, or other lengthy text instead of just reproducing it from line printer or daisy-wheel output. Computer typesetting by telephone offers you high quality, space-saving copy that creates the professional image you want! Hundreds of type styles to choose from with 8 styles and 12 sizes “on line” And it's easy to encode your copy with the few typesetting commands you need. COMPLETE CONFIDENTIALITY GUARANTEED — Bonded for your protection — PUBLICATION DESIGN, EDITING, & PRODUCTION edkting & Design Services Ine. 30 East 13th Avenue Eugene, Oregon 97401 Phone 503/683-2657 5 ne OR 9740: FIRST CLASS AIL USIASTS ©. Euger 62 Vine Maple Dr Bie Computer 36 Atari Computer Enthusiasts A.C.E. is an independent computer club and user's group with no connection to the Atari Company, a division of Warner Communication Company. We are a group interested in educating our members in the use of the Atari Computer and in giving the latest News, Reviews and Rumors, Al our articles, reviews and programs come from you, our members. Our membership Is world-wide; membership fees include the A.C.E. Newsletter. Dues are $10 a year for U.S., and $20 a year Overseas Airmail and include about 10 Issues a year of the ACE Newsletter. ‘Subscription Dep't: 3662 Vine Maple Dr., Eugene, OR 97405 President—Kirt Stockwell, 1810 Harris #139, Eugene, Or 97403 / 503-683-3005 Vice Pres—Larry Gold, 1927 McLean Bivd., Eugene, Or 97405 / 503-686-1490 Secretary—Charles Andrews, POB 1613, Eugene, Or 974401613 / 503-747-9892 Librarian-Chuck and Jody Ross, 2222 Ironwood, Eugene, OR 97401 / 503-343-5545 Editors—Mike Dunn, 3662 Vine Maple Dr., Eugene, Or 97405 / 503-344.6193 Jim Bumpas, 4405 Dillard Rd,, Eugene, Or 97405 / 503-484-0925 ERAS.E, (Educational SIG Editor —Ali Erickson, 295 Foxtall Dr., Eugene, Or 97405 / 603-687-1133 ‘Send.a business-size SASE to the Ross’ for the new, updated ACE Library List!! Bulletin Board (603) 343-4352 On line 24 hours a day, except for servicing and updating. Consists of a Tara equipped 48K Atari 400, 2 double-density disk drives, an Atari 825 printer, a Hayes SmartModem; running the ARMUDIC Bulletin Board software written by Frank L, Huband. See the Nov "82 issue for complete details.