Dale’s Atari 800 Games › ACE newsletters
ACE newsletter, May 1984
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_1984_05.
In this issue:
- Dale Lutz Listing for Tidbits (page 5)
- Stan Ockers Johnny's Paintbox (page 8)
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)
MAY, 1984 ge MiKo-DunhyS Jim Bumpass Egiorsic. 3662 Vine Maple Dr Eugene OR 97405 TO uw = = oe a = cl. acacacacacas | Beaea eee Sydney Brown: PHAROAH’S TOMB
Page 2 (scan)
News and Reviews
by Mike Dunn, co-Editor
For those of you who have been disappointed by the lack of many
‘ew programs on our bulletin board, relief is near. Our two 8" drives
should be on line by the time you receive the newsletter, adding 1.2
Mbytes of storage — enough for a long time, | hope. Speaking about
the bulletin board, when we started it over 2 years ago, we obtained
the first Percom double-density double drives made. They worked day
and night, logging in and uploading programs for several thousand
calls a month with no difficulty for all that time. During some routine
maintainance work a few weeks ago, they were shut off, and when
turned on again, did not work. We sent them back to Percom for repair
— they put in all new boards (since ours were “Antiques” which were
no longer being made, and they probably forgot how they worked)
cleaned and checked the drives, and charged us $59 for two drives!!
There are many very fancy drives now on the market, but can they beat
this?
We have a number of new disks in the program library, as well as
new documentation and a new library list. These include Education
Disks #6 and #7 at $8 each, Best of ACE #8 at $15, Action! Disk #1 at
$15, and a new Utility Disk #8 including POLYCOPY which allows you
to select specific programs to copy, QuickDOS, various test programs,
MemMap, etc. Please send 50c ($1 Overseas) to the Ness’ at 374
Blackfoot, Eugene, OR 97404 for an &page list just updated.
Remember, most of our programs now are documented and are also
available on cassette for the same price.
Elsewhere in this issue (I hope!) is a review by Kirt Stockwell on the
great O.S.S. Program BASIC XL ($99). This very advanced BASIC has
many neat fetures, but also is much faster than Atari BASIC. As an ex-
ample, KONG from the March issue is much faster, smoother and
more challenging —without any changes to the programs. You just
load it in like Atari BASIC, as it is completely compatible. A cheap way
to get almost machine language speed and action without the sweat.
For EPSON owners.
Do you own an EPSON printer? Do you want to customize it? The
FingerPrint add-on board (Dresselhaus, 837 E. Alosta, Glendora, CA
91740 ($70) turns the 3 buttons (Online, FF, LF) into a powerful way to
Program your printer. Change to compressed, emphasized, italic or
even the very tiny “subscript” print handy for disk labels. Does much
more, and very nice to have. Requires you to take your printer apart,
and some dexterity required. Another way to customize your EPSON is
described in the CSRA Newsletter as quoted from the Charlotte PC
Newsletter:
EPSON MX-80 Modificaton
by Wayne Setzer
(Article modificated by M.D.)
This article describes modifications to the Epson MX-80 to allow
you to use both the Graftrax-80 character set as well as the Graftrax
Plus set on the same printer, so you can use block graphics as well as.
the advanced features of the Plus.
The Epson uses 3.2716 (2K) EPROM's for the character set. By using
2732's (4k), and a switch to use either the lower or upper 2k, you can
switch to the character set you want. First program the 2732's the
Graftrax-80 in the lower 2k and the Graftrax-Plus in the upper 2k. Install
the EPROM's in their respective sockets, leaving out pin 21. Tie all the
Pin 21's together with a small gauge wire (a wire wrap tool works fine
—M.D). Connect pin 21 to the common post of a SPDT switch, and
mount switch on the back of the printer. Connect one side of the SPDT
switch to ¥%5 volts and the other side to ground. (A ground can be
found marked on the right circuit board, and 5 Volts can be obtained
from the front part of the cut J1, which must be cut if you use an
EPROM instead of a ROM-M.D.). To use the Graftrax-80, set the switch
to ground, and for Graftrax-Plus to + volts. Be sure to turn printer OFF
before changing the switch setting. (FingerPrint works with the above
modification, somehow sensing the different printer codes —M.D.),
Because a different team assembles the text part and the listings
part of the newsletter, two articles last month did not have the listings
Printed due to a lack of communication. They are in this issue—
Device Handlers by Greg Menke and the TidBits article by Dale Lutz.
Sorry!
Also, the Global Change program last month had an omission:
change Line 800 to read at the end “THEN 920",
Gud [2732] Jazse] [a
6 28 1B
{~~ ef" |
ial a 1ado4aot
my
3
Sv
qe
Ln
BUMPAS REVIEWS
Eastern House Software (3239 Linda Dr., Winston-Salem, NC 27106)
has done Atari, Inc. a BIG favor. They have removed one of the most
important reasons one might want to keep an 800 rather than buying
an XL.
MONKEY WRENCH II is now available in cartridge form for Atari XL
computers. The price will be $50 as of June 1, 1984 (the announced
date of availability). We'll be sure to let you know how well it works as
‘soon as we've seen a copy.
LETTER WIZARD (Datasoft, $50) is the latest word processor for the
Atari. I've been using TEXT WIZARD for nearly three years now, so I've
been eagerly awaiting Datasoft’s improved product. And it is improv-
ed. There is a Main Menu from which the user may proceed to Edit a
document, to Print a document, or to go to a Menu of disk file manage-
ment functions including: Formatting a disk, renaming, deleting, lock-
ing and unlocking files. The disk directories are displayed in double-
column format on the screen, with the space bar used to continue if
more than one page is needed. The disk directories may also be called
up from within the editing mode. There is a status window at the bot-
tom of the Edit screen showing the file name, amount of RAM
available, and the number of words and disk sectors in the file.
Many program features are applied by use of the three function keys
in combination with other keys. Letter Wizard moves away from the
use of Control Key combinations to permit users to embed control
characters in the text of documents. The format for these embedded
commands requires the Atari Logo key (inverse) to type the letters
“ch”, together with the decimal number of the control code. This
feature allows me to get more use from my IDS printer than is possible
with most word processors. A very powerful feature. The manual says |
must precede each control code with (inverse) “ch27” (the decimal
value of the ESC key), but for the IDS at least, this code is not helpful.
Only the control code of the printer feature I'm using is required, Since
the inverse key must be toggled on and off, the program features re-
quiring this key usually require two more key-strokes than other word
processors.
Letter Wizard adds two new cursor controls: Now the user can jump
to the beginning or end of any line. And flexibility in handling margins
is expanded by permitting “relative” margins. Without resetting the
margins of the printed page, you now may set off the margins of
Paragraphs within your text. The temporary margins may be inside or
outside the margins of the document as a whole. A very sensible and
easy way to handle this problem. No more calculating how wide the
Paper is. Now you need only decide how many spaces the margins will
move, inside or outside your other margins.
You no longer have to worry about having the cursor at the top of
the file for saving and loading. If you want to save less than all of a
document into a file, separate commands are available to save
everything below the cursor. In the same manner, files may be append-
ed below the cursor with another command. If you make a mistake
when you delete a block of text, a new command permits you to
estore the deleted block. This is a handy feature!
Now for the bad news. The program does not function with any dou-
ble density disk drive. | can’t help think this is a severe marketing er-
ror. Double density drives are flooding the market for the Atari, This
Program requires users to take a step backwards. And after I've con-
verted all my text files to double density, too! Less important, Letter
Wizard has abandoned the support for double-column printing. My
guess is the greater printer support achieved in Letter Wizard has
made it necessary to drop this feature.
Page 3 (scan)
Printer support includes three models of Epson, Atari printers, Cen- tronics, Microline, NEC, C.ltoh, and Gemini. The “other” category is the one | must use for the IDS. | still don’t seem to be able to underline or right-justify proportional print. With Letter Wizard, | gain expanded print. There's even a bit of chrome you might appreciate: Screen color and intensity can be selected by the user. It appears to permit one to cycle through all 256 colors. You can make it a green screen, or an amber screen, or a Screen of your own choosing. Fun to play with, you'll pro- bably tire of it since the default screen comes up the same each time the program boots, Also on the disk is a BASIC program to use to con- vert FILEMANAGER 800+ (Synapse Software) files for direct use within Letter Wizard files. Letter Wizard is an excellent, full-function wordprocessors for any purpose, and is an exceptionally good value for the price. MASK OF THE SUN (Broderbund, $40) is a 4-disk graphic adventure with a very imaginative storyline. You have a lot of open territory to ex- plore in your jeep, tooling around in Central Mexico. You have at least 3 Aztec ruins to explore, each of which has more than one level. There are secret doors, one-way doors, objects and artifacts to collect. The goal of the game is to find the Mask of the Sun and decipher the cure which will save your life. Page flipping of graphics screens is us- ed to simulate animation. The program replies sarcastically to some of your moves. You have an enemy trying to stop you, or beat you to your goal. And there are dangers aplenty to spoil your progress. This is an excellent game, and a fantastic value for the price. Adventure gamers will be lost for hours playing this one. DIMENSION X DIMENSION X(Synapse Software $30), aside from being a graphics spectacular is also very playable and “wears well.” It is sort of across between STARRAIDERS and Synapse’s own game, ENCOUNTER. The objective of DIMENSION X is to eliminate enemy saucers before they eliminate you andlor get control of the “Capital” (represented as a square on a grid map in the upper right corner of the screen display). As the game begins an intialization screen appears which give you choices as to the level you wish to play,the strength of your shields, and the number of alien saucers you wish to encounter. When you make these choices you are immediately projected to the main screen display — and what a display it ist You are in the cockpit of your own ship looking over a scrolling 3-D landscape with mountains and tun- nels in the background and a blue sky and clouds overhead. Moving your joy stick forward moves your ship forward over the checkerboard surface of the planet. You may also move back or from side to side by moving the joy stick. This visually gives you the effect of “zooming” in and out as well as traveling at great speed. Enemy saucers appear from time to time and fire at your ship. You either dodge their shots while firing back or your shields are destroyed and the game ends. The top of the screen has, in addition to (1) the grid map, (2) a scan- ner to help you locate enemy saucers, (3) a fuel gauge, (4) a shield status indicator, as well as (5) a message board which warns you of various hazards. Despite all of these “aids” and the graphic display, the screen is not cluttered. To move from one grid to another it is necessary to pass through tunnels at the edge of each sector. In the tunnel the display changes. What you see is laterally shifting planes representing the edges of the tunnels and a series of gates which you either go over or under. If you hit the sides of the tunnel or do not avoid the gates you will sustain damage. At the novice level these gates are not difficult — but at higher levels with increased speed | got frustrated at times. One of the squares on the grid map has an “F” on it. This represents where you need to go to automatically replenish your fuel supply and to repair all damages sustained in battle, If you succeed in destroying all of the saucers you will be given a rating and classification on a final screen (shades of STARRAIDERS). | succeeded once in reaching a class 1 status mostly by luck. The highest level, labeled “Expert”, is too fast for me to master as yet. This is a good game. It has had good staying power and variety. ‘There are a lot of subtleties to DIMENSION X which are discovered on- ly by playing it. | do very well on the battle field but not so hot maneuvering in the tunnels. The graphics alone make this game a wor- thy addition to the Atari repertoire. — Graham Smith BASIC XL | don't impress easily. A product has to be quite good for me to give it the green light. In the case of BASIC XL ($99 OSS), | am impressed all over myself. | received my computer programming training on Main- frame computers. Most of these have extremely good editors and very powerful versions of BASIC. Needless to say, | was rather shook when T bought my ATARI and found many of the high level commands | was used to were missing. And, while the ATARI editor is the best of all home computers, it still lacks many features. The first thing the programmer will notice is the improved editor. Automatic line numbering, built-in renumber, and block line deleting make it much easier to modify programs. Another powerful aid to pro- gramming is the TRACE function. The trace function is not be par- ticularly useful in graphic programming, as it kills all graphic modes and functions only in GR.. On the other hand, if you are going buggy trying to find just where the extra characters crept into that string, this is the ticket. There are other nice features to the editor, and some which are useable through the editor OR in deferred mode in programs. First, and probably the most desirable is the DiR(ectory) command. If you are like me you probably don't update your disk labels often enough. This makes it fun trying to find which disk has what. Also accessible are most of the standard DOS commands, which saves PLENTY of time if the program you are developing does any file manipulation, ‘such as creating data files. All in all, the editor is among the nicer | have seen. The only more powerful editors are those on larger machines which COMPILE the basic programs prior to running them. ‘One thing you will notice about BASIC XL right away is it runs FAST. Without any modifications to existing programs, any largeish program will run noticeably quicker. As an example, | booted MASTER- TYPE(tm) with BASIC XL in the computer. While the program was thinking it was running at 25 WPM, | counted 34 WPM. Again, this is with absolutely NO changes to the program. On top of this, there is a nifty command which comes in very handy. "FAST" tells the computer to do a basic pre-compile on the program. | won't take the time to ex- plain its operation here, but it can make a very significant differance in speed. One of the things that bothered me the most when | got my ATARI was the lack of string arrays. Once | got used to building my own str- ing arrays, | felt better and found that if | worked at it | could to anything other Basics could do. BUT, it took a lot of extra programm. ing. BASIC XL has all of the string handling features of the best micro- ‘computer basics. Not just string arrays, but MIDS, LEFTS, and RIGHTS. Also included is the FIND command, which makes string searc quite a bit easier. This does not force you to use these commands, as the normal ATARI string handling features are also available. Not being a mathematician, and avoiding number crunching as scrupulously as possible, | couldn't see any changes in the math func- tions. So | compared the command lists in the ATARI BASIC and BASIC XL manuals. Sure enough, no changes. (At least none | could find). For people like myself who just LOATHE mucking about with the details of setting up and manipulating PLAYER MISSILE graphics, there are a whole flock of commands to simplify the process of using PMG. This should open the use of PMG to many programmers who have avoided it in the past. Let's not forget the error codes. ATARI BASIC simply gives you a number when it encounters an error. BASIC XL not only gives you a number, but a short explanation of the type of error encountered. Those of you who don’t goof up enough to have memorized all of the error codes (ike | have) will appreciate this feature. It will save you from looking everything up in the manual. Those of you who intend to do any serious programming in BASIC should strongly consider picking up BASIC XL. Not only do the features make programming easier, but the increased speed in many cases is enough to make the difference between a clunky game and a fast, smooth one. Those of you writing application-type software will find it faster and easier. | have used all of the enhanced Basics that | have seen for the ATARI. Of them all, BASIC XL is the best. In my opi- nion, this is a MUST for BASIC programmers. Now, is anybody listening at ATARI. | have talked with Bill Wilkin- son at OSS. He assures me BASIC XL could be implemented in the new 1450XLD (if there really is to be such a thing) without making any mods to the operating system OR the circuit boards. If you plan on putting out an advanced personal computer, you should use the most advanced implementation of BASIC available. | seriously believe the search for a better Basic ends here. — Kirt Stockwell
Page 4 (scan)
The Computer Faire The 8th annual West Coast Computer Faire was quite a bit of fun, as well as highly informative. Everybody from hobbyists to educators, to programmers and equipment designers can find something of interest there. This year the Faire experienced possibly the most drastic change since its inception. Many people in the computer industry, as well as Potential buyers of home computers were not expecting ATARI to live through the past year. | am happy to report that ATARI Home Com- uter Division seems to be healthy. The ATARI display at the Faire was first rate. The display cases were really nice looking, and the set-up was more tempting to in- vestigate. The new ATARISOFT group was in attendance, with about 35 percent of the total space ATARI had rented. They were displaying programs on ATARI and COMMODORE computers. The quality of the games was quite good, and the selection promises to ‘grow rapidly. When | first heard about the ATARISOFT group last June at the CES in Chicago, | thought it was a good idea but wondered whether ATARI could pull it off. It seems the new management knows Its stuff. It seems there has been a change in the marketing attitudes of the major computer and softwre vendors. Most of you have probably notic- ed that in the past year or two there have been far fewer computer stores around, not to mention the dwindling numbers of those who ‘specialize in any one home computer. The trend in marketing is “a ‘computer can be sold the same way as a toaster or microwave oven” Personally | am not convinced this is an intelligent selling program, but it seems to have caught on quite well. With the major mass market retail chains selling computers, the manufacturers feel very little need to spend the bucks necessary to impress the little people at the Faire. | think this is a mistake, What the major companies are doing is trying to sell computers with absolutely no promise of meaningful customer Support The software companies are another story. Any of you who spend any time looking at software in the stores will have noticed that very few new programs of any type have been released fo any of the home computers lately. Piracy has a lot to do with this. The companies lose ‘so much money on piracy they are afraid to release anything wor- thwhile. They are also spending inordinate amounts of money trying to. protect their sotware from piracy. Personally, | don't think this is the answer. In some cases, the protection is costing the companies more than the author will receive in royalties. The authors also suffer from the delayed release dates, as they don't receive any meaningful com- Pensation until the program is released and begins selling. | should mention that OSS was quite well represented. | had several Opportunities to talk to Bill Wilkinson, who is a very knowledgeable ‘and interesting person. Bill is expecting several developments in the ‘next year. Among these are a parallel drive for the XL series and possi- ble @ parallell HARD DRIVE (10 meg or so) for the XL computers. Bill also says BASIC XL is currently outselling ACTION! by almost 2 to 1.1 expect to see this change this year. Action! is not only easy to learn, but is incredibly powerful. Publishers were in evidence all over the show. One area of the home ‘computer field which seems not to have had a bloodbath this year is the magazines. Antic, Analog, Compute and a host of new magazines were all well represented, as well as magazines spcializing in the other home and personal computers. Time prevented me from talking at length with many of these people, but | did get to spend some time with Jim Caparrel of ANTIC. We discussed the attitudes of users and user groups, and the growing sophistication of computer owners in general In past years there have been many small companies represented at the Faire producing specialty software or unusual peripherals. This year they all seemed to be missing. One of the reasons for this may be the cost of the facilities, Here in the Pacific Northwet (sic), housing can be built fora cost of about 6 to 9 dollars per square foot. When you ay that cost, you OWN the building. The cost of renting the floor. ‘space at the computer faire has risen to $14.50/square foot. For this you get 5 days’ worth of rental, electricity, and rudimentary security. Many small companies cannot foot a bill ike that, especially when you consider the cost of staying in San Francisco for 5 days or a week. Many of these small companies also seem to not have lived through the past year. Ail in all, the Computer Faire was instructive and enjoyable for me, but then | wasn't looking for anything specific. Don Marr, ‘owner of Royal Software based here in Eugene, was so disap: pointed he didn’t stay through the whole Faire. Most dealers | talked to felt the same. They came looking for new software and/or hardware they could retail. For the most part they went away empty-handed. The few companies who were showing anything worth selling tended to pick up lots of new outlets, as the dealers found little new to pick up. The overall thrust of the Faire this year seemed to be toward small business computers. There were more IBM PC clones than | ever im- agined existed (it's beyond me why anybody wants to copy that ob- solete turkey). The PERSONAL COMPUTERS (as opposed to home computers) were well represented, with software and hardware ven- dors all over the place. It is obvoius there is begining to be a very noticeable disparity bet- ween the Home computers and Personal computers. It is likely there will, witin the next few years, be separate shows for Home and Per- sonal computers. A big surprise at the Faire was running into Tom Mannus of Neanderthal Software. Tom visited Eugene last summer, and showed @ prototype of “Turbo 810", a board to give the Atari 810 drives true double-density capacity. Tom insists the board is still under develop- ‘ment and will be released by this summer. ‘One nice thing about the Faire was the weather behaved beautifully. Coming from a L-O-N-G wet winter in Eugene, Oregon, | was happy as. a clam to get a little sun, — Kirt Stockwell THE SHAPE OF THINGS by Ruth Ellsworth This month's article began with one idea in mind and ended with another. The promised articie on more advanced string concepts in ATARI PILOT will appear next month illustrated by several routines which can be added to this program. PILOT is a very powerful language, more powerful than most realize, and can do most of the things it is possible to do in BASIC through peeking and poking. One of the things it can not do is an array. It also can use only twenty-six numeric variables. If this has been a problem, take heart. There are several ways around these problems, and this Program demonstrates one. We have been delighted with the articles in ANTIC MAGAZINE by Phil and Kathy Bergh dealing with character sets and player missile graphics for PILOT. This program is a utility for creating new characters to be used in text or as “player-missiles" in graphics. In order to make the program assign one (and only one) value to each ‘square of the grid | needed sixtyfour variables. Psuedo-arrays and ex- tra variables can be obtained in PILOT by poking values into unused memory locations. For this particulor program we decided it was easier and less typing to assign each square of our grid a memory ad- dress, Since the lower numbered end of page six in memory does not seem to be used in PILOT we chose those numbers to Use as our storage locations. One of the reasons we decided to solve our problem this way is that, although the memory locations can be added, sub- tracted, etc.; we could not get our computer to C(#X = number) + (#Y = number}:store value at specified location. The equation should work, and we can only guess it did not because the values were joystick location points. The use of empty memory locations opens up a world of possibilities in PILOT. For beginners like we are, there are two options which can immediately be put to use. Those locations can be assign- ed variables, such as #A, to be used in numeric functions, or they can be used to store a boolean 0 or 1, and peeked for use in programs where a true or false value is needed. The other concept illustrated by this program is the writing of data to disk storage. This month we are demostrating numeric variables on- ly (next month will be string variables). Lines 2040 to 3040 demonstrate the technique used to store numeric variables to disk (cassette can be used if the D: is changed to C: when the program is typed}. It is possi- ble to Read and Write to a device in PILOT by using the READ: and WRITE: commands. There are several rules, however. WRITE: and READ: must be separated by a CLOSE: command. The device must be specified followed by a:. The data must have a name. Numeric and str- ing variables cannot be mixed. Numeric variables can only be stored and retrieved separately. (String variables are easier to store, but ad- vanced string techniques which we will show next month are needed to separate them upon retrieval.) ‘The retrieval routine listing is designed to be added at the beginning of the progam in which the new character is to used, The shortest and easiest demonstration program for character sets | am aware of is printed in the August 1983 ANTIC by Phil and Kathy Bergh. It should bbe loaded first and renumbered so the retrieval routine will appear the beginning. A line 105 J:*BEGIN and 1 "BEGIN must be added, and the fumbers in lines which read C:@B#W= number must be changed to. ead C:@BHW = variables #A to #H (e.g. C:@BHW=#A), During the run of this program typing C will save the character, and typing E will erase a square on the grid. Additional characters can be ‘saved by renaming the filename in lines 2040 to 3040. The lines at the beginning of the program will initialize the location of the joystick, and the memory locations so typing run will allow the program to be reus- ed without any glitch. In the event someone is curious as to why the grid does not appear in the middle of the screen, next month we will use string techniques to place the numbers on the screen near the grid rather than at the bot- tom of the screen. Until then “get in shape" with the utility. Character sets are a lot of fun. 4
Page 5 (scan)
5@ Pa:168 60 R:THIS PROGRAM MUST BE MODIFIED TO ALLOW THE USE OF CHARACTER UTILITY 65 R:CHANGE ALL #4 BELOW TO MR OR ANY LETTER VARIABLE MOT BETWEEN A TO H INC LUSIVE. 66 R:ADD LINES AS EXPLAINED IW MAY ACE NEWSLETTER, 78 C:HZ=0176/1024%3 88 Crmz=nZKLO24 98 CrtH=RZ 188 C:mA=HZ 118 C:Y=@B756"256 128 C:@B756=80/256 138 Cimx=e 140 ¥MOVEIT 156 C:@BHZ=eBHY 160 CiY=MYHL 178 CiHZ=NZtt 180 CiMM=HRtL 190 JC (1024) :RHOVETT 208 C:tH=Ht (44K8) 238 240 C:@BHH=15 CHMMEHNEL BEEZ 4 CHRMEIMEL C:@BMW=12 Crth=HHeL C:OBHNE63 CoMRERNEL C:@BHN=189 CrtvaeL C:@BHHES7 CHRNEHNEL Cr eBMH=e 268 278 280 298 308 348 328 338 348 358 368 Ts 398 T:Lori Louise London Library 408 E: Superload by Terry Barker Atari Computer Club OK City 1@ REM THESE ROUTINES WRITE @ PROGRAM 2@ REM WHICH, WHEW ENTERED, WILL INSTA LL THE SUPERLOAD 38 REM UTILITY AT THE ADDRESS POINTED TO BY LOCATIONS 48 REM 132 AMD 133 58 CHKSUM=8 68 FOR T=@ TO 11@:REQD X:POKE 1536+I,¥ :CHKSUM=CHKSUMHK:MEXT I 76 IF CHKSUM(>14988 THEN PRINT™SORRY, OWE OF YOUR DATA STATEMENTS IS INCORRE CT." SEND 8 OPEN t1,8,0,"D:SLDATA 98 PRIWTHL,"FOR I=@ TO 11@:GETH7,x:POK E 153641, X:NEXT I 186 FOR I=8 TO 110:PUT M1,PEEKCIS36+1) MENT I 118 PRINTHA, "H=USR (15364108, 160) 128 PRINTHA, "ADML=PEEK (132) #256*PEEK (1 333 138 PRINT#HL, “H=USR (1536, 1536, ADMLT1, 18 au 148 PRINTHL, "CLOSEH7 : END 158 CLOSERL 168 END 178 D.168,8,104,104,133,97,104, 133,96, 164,133,217, 104,133,216, 184, 133,219,17 8, 104,133,218 188 0,104,104, 208,43, 162,2,177,96, 201, 64,48,3,24,105,9,41,15,262,240,9,18,18 110,10, 133,228, 200,144, 233 190 D.5,220,170,152,72, 74,168,138, 145, 216,184, 168, 200,196,218, 208,214, 96,224 8, 288,4,196,218, 248,247,177 208 1.96, 145,216,224, 8,288, 4,208,24,14 4,236, 288, 208, 233,202,238, 97, 238,217,2 4,144,225 218 D.104,104,178, 184,168,138, 162,134, 76,129,168 5 REM YOU MUST ENTER " RUNNING THIS PROGRAM! ISLDATA" BEFORE 18 DIM ASHS (168) 12 REM ~~ CLEAR SCREEW ~~ 45 PRINT CHRS(125) 17 REM -- GET ADDRESS OF SUPERLOAD -- 2 ADML=PEEK (132) +256XPEEK (133) +4 25 REM -- ADDRESS OF SCREEN ~~ 38 ADSCR=PEEK (88) +256*PEEK (89) 35 REM -- INPUT DATA CIM HEK) ~~ 48 D.73757865726C6F6164 45 REAM ASKS 47 REM -- PACK AND MOVE -- S@ H=USRCADML, ADRCASMS? , ADSCR, LEWCASMS 2,8) 55 REM -- MOVE PACKED DATA -~ 56 REM -- DOWN SCREEN —— 6@ FOR I=1 TO 24:K=USRCADML,ADSCR, ADSC RETH41, LEN (ASMS)/2,19:NEXT I 78 POS.2,15 99 END § REM YOU MUST ENTER "D:SLDATA" BEFORE RUNWING THIS PROGRAH! 1@ DIM ASMS (124) 12 REM -- CLEAR SCREEN -~ PRINT CHRS (1252 REM ~~ GET ADDRESS OF SUPERLOAD -~ 26 ADML=PEEK (132) +256KPEEK (1332 +1 25 REM -- ADDRESS OF SCREEN ~~ 3@ ADSCR=PEEK (88) +2564PEEK (89) 35 REM -- INPUT DATA CIN HEAD ~~ 40 ASHS="29G085D885D968686885D66868096 81880186 940C9603B0S3BE960A2030A26D9CAF 0031898F785D8A5D91865D685D 9080781 45 ASMS CLE (A5MS) +1) ="D8295591D888F 03 1890F 466 42 REM ~~ PACK AND HOVE ~~ 58 R=USRCADML , ADR CASMS) , ADRCASHS) , LENE SMS) ,@) 55 REM ~~ MOVE PACKED DATA -~ 56 REM ~~ DOWN SCREEN ~~ 6 Y=PEEK (106) :Y=¥-4:POKE 106, Y-1 85 GR. 7@ K=USRCADML , 224%256 , ¥#256,128%8, 1) 75 H=USRCADRCASHS? ,¥, ASC CH") BKB, 1) 76 POKE 756,¥ 99 END Dale Lutz Pee ML Istine Wf ror Dale Lutz Tidbits A -REM SEE ACE WEMSLETTER APRIL ISSUE PAGE 4 5 REM O5/At 2.18 COMMAND CHANGER 18 DIM AS(3) 28 BASE=5988 30 FOR A=BASE TO BASEtSS 35 B=BHL 48 2 CHRSCPEEK (AD); 45 IF B)2 THEN B=@:GOSUB 188 58 NEKT A 6@ 2 “THAT'S IT, NOW WRITE OUT A DOS F ILE TO KEEP YOUR CHANGES ":END 400 7 "--)ENTER YOUR ALTERNATE CHOICE™ pEINPUT aS 105 IF LENCAS) <3 THEN RETURN 418 FOR C=1 TO 3:POKE A-(3-C),ASCCASEC 03) 415 WERT € 4126 RETURN
Page 6 (scan)
UZL:Q=2:SE=U:GOSUB 3200@:G0SUR 9 888:DIM CPC8), CTC), CREB), D8) 1 REM 2 REM xe ACE MEWSLETTER oe J REM #* = 3662 VINE MAPLE DR xe 4 REN He EUGENE, OR 97405 od S REM ** MAY 1984 $12 YEAR xe 8 REM JHdGHaGHBHREHOREHABEBEEHEEEEBE: 7 REM ¥« TOMB iad 8 REM by aod 9 REM ** Sydney Brown 1 118 REH s8HeHRERRGEREEHOBHGHREHBEEEHEE 198 POKE 788,136:POKE 789,222:POKE 716 O:POKE 711,24:605UB e0@:LEU=1 135 GOSUB 8808:7 "K";GOSUB 2@08:M=ScRt 42;POKE M,186:POKE Mt, 187:CY: =LEUK2+2:60SUB 51 196 MN=LIFOR HOSS TO 48-KP STEP -1:p05 ITIOK 4,8 FOR WHOIS TO 6 STEP - @.5:50UND 67,18, MWZWEXT WHINEXT W 208 ST=STICK(G):D1-G:PE=G:1F ST=15 THE M228 201 IF ST=14 THEM PE=PEEK(H-39) :DI=-40 HIF SCROLL THEM 204 262 IF SI=13 THEN PE=PEEK (Mt41) :DI=40: IF SERCUL THEN 206 203 GOTO 206 204 IF PE=G THEN SCR=SCR#DI:POKE D2, IN TCSCR/256) :POKE D1, SCR-256*PEEK (D2) 206 IF ST=i1 THEN PE=PEEK(M-1) :DI=-2 208 IF ST=7 THEN PE=PEEK (MtU+O) :DI=0 210 IF PE=6 OR PED196 THEN POKE M,G:PO KE M#U,G:POKE MtU,G:=M#DI:POKE M,L:PO KE Mt, LeU 242 IF PE=191 THEN GOSUB 768 214 IF KCLL AND M=LL+196 THEN GOSuB 75 e 216 IF PE>194 THEN 778 228 IF KP)48 THEM 778 230 IF SIRIG(G)=6 THEN GOSUB 880 298 NCNtUDIF MDS THEN M=U:POKE 77,6 255 MAD=MAD+i:IF KAD)200 THEN H=HN:IF WWib)242 THEN MaD= 281 IF DOW OG THEN GOSUB 450 285 IF CY=6 AND MCS THEN GOSUB See 298 IF CY>G THEN CY=CY+U: SOUND &,14-cY +8,10:605UB 308 291 IF MAD=208 THEN GOSUB 398 234 IF PEEK(764)-33 THEM ON SE GOSUB 5 58,578 295 IF PEEK(K()191 THEN GOSUB 708 296 IF PEEK(532792=5 THEN GOSUB 858 297 IF PEEK(S3279)=6 THEN 798 298 IF L=186 THEN L=184:60T0 200 299 L=186:60TO 208 ‘308 IF CY/Q=INTCCY/O) THEN POKE P, CREE JsPOKE P#U,CRCQXO)+U:60T0 385 a:2 4 Sydney Brown: Pharoah’s Tomb 31 POKE P,CRCS):POKE P+u,CRES) + 305 IF CY(12 THEM RETURN 350 CP (WD =P ICY=6 355 RINT C3*RND (G2) 4U:SOUND G6, 14,108,415 CT OM=CRERD 359 POKE P,CTOWD:POKE PU, CT OW +U:S0UN D G,6,6,G:60T0 408 398 MNINT CSHRND (6D) +: RETURN 400 R=INT COROHRMD(6)+U 10H R GOTO 405, 406, 407,408 405 PE=PEEK(CP(W)-U) IF PE=G OR PE)183 THEN D(W)=-Q:60TO 416 406 PE=PEEK CCP.) +u+0: 83 THEM D(NI=0:G0T0 418 407 PE=PEEK (CP (NH) +40) :IF PE=6 OR PED19 3 THEN DOW)=48;G0TO 410 408 PE=PEEK (CP (W)-40):IF PE=6 OR PE)18. 3 THEN DCWD=-49:G0TO 416 489 GOTO 405 410 IF PE)183 AND PE(188 THEN 778 450 PE=PEEK (CP CN) #D(M)):IF PE>183 AND PE(188 THEN 770 451 IF PEDG AND PE(223 THEM 480 452 SOUND 0,255-7#M, 18,3 455. CP CWD=CP CN) +D ON) :POKE CP «ND CT OND: POKE CP (ND +H, CT (ND +U:POKE CPCH)-DEN),G EPOKE CCP CW) +U)-D CN) ,G 459 SOUND 0,6,6,G:RETURN S00 C¥=U: NU=MUFU: R=INT ((S-LEY)¥RND (63) +U:0N R GOTO S81,562,503,504 SO1 P=LL+228:RETURN 562 P=LL+874:RETURW S03 P=LL+268:RETURN 584 P=LL +602: RETURN ‘S10 K=INT C44@HRND (G))*24LL EUS TF PEEK CK 36 THEN 518 S45 POKE K,194:FOR H=15 TO G STEP -6.2 SSOUND G,9,6,W:NEXT W:POKE 764,255:RET URN 558 POKE M,G:POKE MtU,G:POKE 712,14:FO R HU TO 7:S0UND 6,7,18,10:50UND 6,6,6 +GINEXT W:POKE 712,0 560 M=INT (44@¥RND(G))*24LL:IF PEEK CHEL 26 THEN 568 S65 POKE M,L:POKE M#U,L4U:FOR H=123 TO 7 STEP -0:SOUND G,W,8,10:NEXT W:SOUND 6,44,10,15:FOR WG TO 14:NERT W 566 SOUND 6,6,6,G:KP=KP#U:POKE LL-KP,6 x 568 IF KDLL THEN POKE K,G 569 GOTO S1@ 578 POKE 712,14:FOR W=U TO NU:POKE CPC WO, G:POKE CPCH+U,G:FOR WH=1S TO 7 STE P -U:SOUND 6, 14,8, WH: NEXT S75 EXT W:POKE 712,6:NU: 6,G,6,G:KP=KP+U:POKE LL-KP,63:IF KDLL THEN POKE K,6 F PE=G OR PED4 6 599 GOTO S18 608 FOR W255 TO Q STEP -0:S0UND G,H,1 @,28:SOUND U,H-U, 16, 10:POKE 711, H:FOR WH=U TO 7:NEXT WH:NERT W 685 SOUND 6,6,6,6:50UND U,6,6,6:POKE 7 11,24 610 FOR HEU TO NU:POKE CP CH ,G:POKE CP (WO 4H,G:FOR WH=L5 TO G STEP -@.5:50UND 6, 41-We, 8, WA: NEXT WH 626 NEXT W:SOUND G,268,12,15:FOR W=Ox0 TO @ STEP -U:POSITION 35,W: IF W=U+@ THEN POSITION 36,H: 638 FOR WH=U TO 123:NEXT WH:MEXT W:FOR H=1S TO G STEP -@.2:SOUND 6,200, 12,H: WEXT W:FOR WCU TO 5:DCW)=6:NEXT H 696 RESTORE 390@:FOR YY=U TO 12:READ F 1D, T:SOUND G,F,10,15:50UND U,FtH, 10,15 :FOR W=U TO D/Q:MEXT W 691 SOUND U,6,6,G:SOUND 6,6,6,6:FOR H= U TO INTCT/Q) EXT W:WEXT YY: LEU=LEU+U IMUZG 692 FOR W=U TO A23:MEXT W:? "RN IIF LEU DO#O THEN LEV=0+0:H=1 693 IF LEVDU THEM POKE 71@,182:POKE 78 8,436:1F LEU}@ THEN POKE 716, 134:POKE 708,184:1F LEV)U+O0 THEN POKE 710,54:P0 KE 788,184 699 GOTO 799 708 FOR W=? TO 77 STEP 1O:NEKT H:SOUND G,6,6,6 L-KP, 63 789 GOTO 518 758 SCR=LL:POKE D1,164:POKE D2,INTISCR 7256) 752 FOR W=14 TO 8 STEP -@:FOR WH=15 TO G STEP -U:SOUND G,H,10,WH:MERT WH:NEX T W:POKE LL-KP,6:KP=KP-U 754 IF KP<2 THEN 668 755 GOTO 518 768 FOR W=15 TO G STEP -8.25:SOUND G,7 110,H:NERT WiK=LL-40: RETURN 770 FOR W=U TO 21:RR=IMT(254*RND(G)):5 OUND G,RR/Q,8,15:POKE 712,RR:FOR WH=U TO 44:NEXT WA:NEXT WiFOR W=1S TO 6 STE P -0.2 772 SOUND G,RR/Q,8,W:NEXT W:POKE 712,08 773 RESTORE 3908:FOR Y¥=U TO 11:READ F +D,T:SOUND G,F/2,18,15:FOR W=U TO DINE aT 774 SOUND G,G,6,G:FOR W=U TO T/Q:MEXT WIRERT YY:READ D:SOUND 6,0/2,1@,15:FOR WEL TO 123:MEXT H 775 FOR W=15 TO 6 STEP ~ 2,18,W:NERT WiKED 788 W=WtU:IF W=7@ THEN POSITION 3,0:7 as Gp"; 781 IF We14@ THEM POSITION 3,0:? “Gilly :SOUND 6,H,10, SOUND G,D/
Page 7 (scan)
[START Rae 782 IF W=21@ THEN POSITION 3,8 OAHS TOMB"; 783 IF W288 OR W=388 OR W320 OR W=34 © OR H=368 THEN POSITION 3,8:7 "COM PCO “;31F W360 THEN Hol 784 IF H=298 OR W318 OR W=330 OR H=35 @ THEN POSITION 3,@:2 § 785 IF PEEK(53279)=5 THEN GOSUB 850 786 IF PEEK(53279)<)6 THEN 786 798 7 “R":POKE 718,6:POKE 788,136:LEV= u 799 SOUND G,G,G,6:5C! OKE D2, INT(SCR/256) :? oTo 195 888 IF STICK(G)=13 AND SCRCUL THEN DI= 40:G0T0 838 818 IF STICK(G)=14 AND SCROLL THEN DI= GOTO 836 820 IF STRIG(G)= THEN GOTO 849 829 GOTO 808 838 SCR=SCRIDI:GOSUB 849: INEXT H:G0TO 800 849 POKE D2, INT(SCR/256) :POKE D1,SCR-2 S6*PEEK (D2) :RETURN 856 IF SE=U THEN SE=Q:POSITION 19,0:? HAR :POKE Di, 164:P REL TO 21 855 SE=U:POSITION 19, 868 FOR WH=15 TO G STEP -@. SS,10,WW:NEXT WH:RETURN 2808 POSITION 6,1:? “VHUHUNUHUHUHUWUWU WUWVWUHUHUNUHUHUHUHUWUWUH UW v W vn VGH vn SOUND 6,2 2081 7" UM UW UN UN UGH UW UHVHUHUHUH UW UM UM UM UGSHUH OW wn UH UH UN UH; 2082 7 UK UH UW UHUWUN UM vn UWUH UWUH UMUNUHUMUH UN UH UHUHUHUHURURUH vn 2003 2 “UW UHUMUHUWUK UW UH UH UNUHUWUH UMUH UHUH vn UH UH UM UUM; 2084 2 “UHVHUHUN UHUHUHUHUKUH UKUH uMUH uM vn vn UWUH UU UH UW UN UM URUWUHURE; 2005 2" UH UWUN UM UW UW UHUWUH UH UHURUHUH UW UHUHURUH UR UHUH vw ; 2006 2 “UNUHUH UNUHUHUHUM UHV UNH UW UR UHUNUHOH vn vn UHUWUH OW UH UM UHUH 2007 2 “VHUH UW UH UH UH UW vnUH Un UW UW UHUHUWUH UW UM UW UH UW UW 2008 27 "UH UW UU UM oW Un UH URVHUHUHUWUHUKUW VHUWUHUHUHURUHURUNUHUHUHUU" 2889 POSITION @,8:7 PHAROANS TOMB GP':IF SE=2 THEN POSITION 19,8:7 "“G"; 2028 RETURN 3088 ? "R":POSITION 7,8:7 “ace eugene" » "OTS" FOR W=DL+7 TO DL+i8:POKE W OKO: WERT W 3081 POSITION 3,2:7 "UMY UU Wo UWU YD wo UU UUW vuuyuWUY vueuuu ou uw UND YUU wen; yeez 7 "YY UU UU ONY vou UUW UW UU UY UU v u vuuuuUUN YU UU Un 3004 POSITION 7,9:7 "YNUHY UHUHU 0 UUW 9 youve HWOU OH Wi) ey Uy yes 2") YUU UMNO vovuuveoyg vo uNUNY U¥ UMUHUN 3010 FOR XX=U TO Q:RESTORE 3989:FOR YY =U TO 12;READ F,D,T:SOUND 6,F,10, 18:50 UND U,FtU,18,7:FOR WU TO D/3:NEXT W 3028 SOUND 6,G,G,G:SOUND U,6,6,G:FOR W =U TO T/3:MEMT W:MEXT Y¥:NEXT XX 3899 FOR W=U TO 268:MEXT FOR W =DL47 TO DL#18:POKE W,S:NEXT W:RETURN 3908 DATA 86,49,24,75,49,21,72,148.1,7 2,140,1,86,148,14,86,49,21,75,49, 21,72 149,21, 72,49, 22,64,49,21 3901 DATA 64,49,21,86, 148,21 3989 DATA 86,49,21,75,49,21,72,140,1,7 5,140,1,86,140,14,86,49,21,75,49,21,72 149,21, 646,49,21,75,49,21 3918 DATA 72,49,21,86,148,21 3911 DATA 243,245,247, 111,113, 198,208, zat 8080 RESTORE 3911:FOR W=U TO 7:READ D: CROWD =D:DCHD=G:CP (HO =G:NEKT W 8018 RETURN 9088 DL=PEEK (S66) +256¥PEEK (S61) :FOR W= U TO Q:POKE DLtH, PEEK CDLtHEQ#UD :MERT W :POKE DL,71:POKE DL+Q+U,6:5C=104 9085 SCS=PEEK (DL+5) :POKE DL+0#0,69:POK E DL#6,SC5:POKE DL#S,SC:D1=DL+5:D2=DLt 6:FOR W=19 TO 24 9018 POKE DL+h, PEEK CDL+H+1@) :NEKT W:FO RHE7 TO 18:POKE WEDL,S:NEXT W:SCR=SCt 256HSCS:LL=SCR:UL=SCREABB: RETURN 32068 DIM PRS (5B) :CB=PEEK (106) ~4: POKE 106, CB:PRS(U, 419 ="hhh hha ow HIVENTOLPTRET# +": GRAPHICS 6 32005 POKE 82,G:POKE 752,U:? :? P SYDNEY H BROWN 198s UY ESTORE 32768 32818 Z=CBX256:A=USR (ADR (PRS) ,Z,4) :FOR W=Z#432 TO Z+S11:READ D:POKE H,D:NEXT W:FOR H=888 TO 967:READ D 7 32028 POKE WHZ,O:NEXT W:POKE 756,CB:RE TURN 32768 DATA 242,242, 243,0,171,255,255,6 +A7L, 255,255, 8, 242,242, 243,8,18,1,85,6 9,69,15,12,68,128,8,84,132,68,248,68,8 32761 DATA 2,8,21,17,17,15,68,8, 166,64 85, 97,81, 248, 48,68,8,8,6,10,42,178,17 8, 42,125,168, 168, 176, 160,168,168, 166 32762 DATA 63,63,63,63,51,63,65,63,252 1284, 252,48,60,48,60,8 32764 DATA ,3,12,63,255,243,63,15,48, 252,255,255, 204, 248,252,192,66,255,63, S1,15,15,3, 0,240, 264,252,252, 248,252 32785 DATA 267.252,68,31,175,63,15.3,8 11,8,8,192, 248,255,252, 64,16 ,51,221,63 159,63, 63,63,15,8,192,3,15,63,255, 252 32766 DATA 248,3,14,3,15,59,235, 239,51 (192,176, 192,248,236, 235,251,204 May Meeting May 9th 7:30PM South Eugene High Cafetaria The string in Line 32006 of Pharoah’s Tomb by Sidney frown contains the following characters a use the convention of “C* for Controi Key, "I" for inverse)
Page 8 (scan)
JOHNNY’S PAINTBOX Stan Ockers 3-84 Written in Action! (c) 1983 ACB ; i i i } ACE NEWSLETTER, 3662 VINE MAPLE DR 5 EUGENE. OR 97485 NAY 1984 $12 YEAR ; NODULE BYTE j,k,@,paint,consol=53279, key=764, under, stk, vymybyt,sel)x,y)xl,yly x2,y2,r)5pd BYTE ARRAY hue=(@ 239 18 11 8), sign=(18 9 65 8 79 63) INT delx,dely PROC Prtchar (BYTE byt) CARD st, pos TF byt(32 THEN st=(byt+64) #8457344 ELSEIF byt<96 THEN st=(byt-32) #8457344 ELSE st=byt#8+57344 Fl FOR k=8 107 DO byt=Peek(st+k) j=7 pose! WHILE pos(256 DO IF bytkpos THEN color=hue(paint) ELSE color=8 FI Plot (v+j,wtk) jee-1 poseet2 oD OD RETURN PROC Ding(BYTE pitch, CARD dly) BYTE loud CARD wait FOR loud=@ 10 15 DO Sound (9, pitch, 19, 15-loud) FOR wait=1 to diy 00 0D 0D Sndrst () RETURN PROC Mode() } Print aode syabol v=76 w=89 bytesign(sel) Prtchar (byt) Ding (sel #19+38, 608) key=255 RETURN PROC Init() Graphics(23) Poke(752,1) Poke(623,128) Poke(87, 18) Poke(7#4, 12) Poke(705, 76) Poke(786,56) Poke(708, 46) Poke (789,214) Poke(718,134) Poke(712,182) x=40 y=48 delx=@ dely= color=2 Plot(d,8) DrawTo(79, 6) DrawTa(79,88) DrawTo(#,88) DrawTo(8,8) Stan Ockers: Johnny’s Paintbox FOR a=1 10 6 Dd veBent W269 paint=a Prtchar (48a) OD sel=8 Mode() x=48 y=48 under=8 spd=5 RETURN PROC Hues‘) } Change color using keys IF key=31 THEN paint=1 Hode() ELSEIF key=3@ THEN paint=2 Mode() ELSEIF key=26 THEN paint=3 Hode() ELSEIF key=24 THEN paint=4 Node() ELSEIF key=29 THEN paint#5 Mode() ELSEIF key=27 THEN paint#6 Node() ELSEIF key=56 THEN paint= Mode() FI RETURN INT FUNC Abs(INT 1) IF n<@ THEN RETURN( -n ) FI RETURN( n } } From Action! Programmers Disk PROC Circle(INT r) INT Phi ,Phiy,Phixy Phi=@ xler yl=6 DO Phiy = Phi + yityl +1 Phixy = Phiy - xl-xl + 1 Plot (xtut,ytyl) Plot (xx, y#yl) Plot (xtxt,y-yl) Plot(x-x1,y-yL) Plat(xtylyytxi) Plot (x-yi,y#x1) Plot (xtyl,y-x1) Plot (x-yl,y-xl) Phi = Phiy yi = yi #1 IF Abs(Phixy) +8<Abs (Phiy) THEN PhisPhixy xl=x1-1 FI UNTIL yt > x1 OD RETURN PROC Brush() $ Fill in area with color =x WHILE Locate (j-1,y)=8 DO 10D color=9 Plot (x,y) color=hue (paint) WHILE Locate(j,y)=8 DO key WHILE Locate(j,k)=8 DO Plot (j,k) ke=+1 OD key-1 WHILE Locate(j,k)=6 DO Plot (j,k) k==-1 OD Plot(j,y) je#41 OD underscolor RETURN PROC Dly(CARD wait) DO waite=-1 UNTIL wait=@ 0D RETURN PROC Draw() stk=Stick(#) stk==!15 delx=@ dely=@ IF stkkl THEN dely=-1 FI 8 IF stke2 THEN del y=1 FI IF stktd THEN delxe-1 FI IF stkkB THEN delx=1 FI xestdelx y==tdely IF x)78 THEN x=1 FI IF y)87 THEN yet FI IF x(t THEN x=78 FI IF y61 THEN y=87 FI IF Delx<>8 OR Dely(># THEN under=Locate(x,y) FI colors? IF under=9 THEN color=2 FI Plot(x,y) Dly(S8d#spd) IF Strig(#)=8 THEN colorshue(paint) ELSE color=under FI Plot (x,y) Dly(588*spd) RETURN PROC Rectangle() xlex yfzy DO color=d Plot (x,y) DrawTo(x1,y) DrawTo(xt,y1) DrawTo(x,yi) DrawTo(x,y) stkeStick (8) Hues() TF (stktl)=8 AND yL)1 THEN yl==-1 Fl IF (stkt2)=8 AMD yi<y THEN yl==¢1 FI IF(stk&8)=8 AND x1(7B THEN x1==¢1 FI TF (stkt4)=@ AND x1Dx THEN x1==-1 FI color=hue(paint) Plot (x,y) DrawTo(x1,y) DrawTo(xt,y!) DrawTo(x,yl) DrawTo(x,y) IF key=33 THEN IF xtdx OR yi<y THEN under=color FI EXIT FI OD RETURN PROC Letters() key2255, DO IF key<255 THEN xey yew Hues() vx Way IF key=12 THEN EXIT FI IF key=52 AND v>8 THEN vev-8 FI byt=Peek(65342+key) key=255 TF byt<128 AND v<78 AND (8d AND (byt>38 OR byt=32) THEN Prtchar (byt) IF y+B¢78 THEN vev+® FI FI FI undersLocate(y,™) color=hue(2) IF paint=2 THEN colorshue(3) Fl ) color=under RETURN PROC Triangle() xtex x2ex yley y2=y 00 color=8 Plot (x,y) DrawTo(x!,y1) DrawTo(x2,y2) DrawTo(x,y) stk= Stick(@) Hues() Diy (196 IF (sthtd)=@ AND ylD1 THEN yize-1 FI
Page 9 (scan)
IF (stk&2)=0 AND y1<87 THEN yl==41 FI IF (stk&B)=6 AND x2(78 AND Strig(#)=1 THEN x2==41 FI TF (stkt4)=8 AND x2)1 AND Strig(@)=1 THEN x2==-1 FI IF Strig(#)=8 AND (stkkB)=@ AND x1<78 THEN x. IF Strigi#)=@ AND (stkt4)=@ AND x1)1 THEN xts=-1 FI colorshue(paint) Plot(x,y) DrawTo(xt,y1) DrawTo(x2,y2) DrawTo(x,y) IF key#33 THEN TF x4Qx OR x2¢)x OR y1Qy OR y20rv THEN under=color FI EXIT FI OD RETURN PROC Round () re D0 color=8 Circle(r) Hues() stk=Stick (9) IF (stktd)=6 AND r4x(78 AND x-r>t AND r+y<87 AND y-r)1 THEN rest! FI IF (stkt2)=8 AND r>8 THEN 1 FI color=hue(paint) Circle(r) IF key=33 THEN EXIT FI o RETURN PROC CIO-6E454(BYTE areg,xreg) $ See page 137 of Action! aanual PROC Loadfile() BYTE ARRAY filenaae BYTE incb2cad=#362 CARD sern, iocb2buf=$364, jocb21en=$368 filenane="D;JOHNX,PIC" key=255 byt=d DO IF key(255 THEN bytePeek (65278+key) key=255 IF byt)47 AND byt<5@ THEN filenane(7)=byt FI EXIT FI OD IF byt(48 OR byt)S7 THEN RETURN FI OPEN(2,filenane,4,4) iocb2cad=7 scrn=Peek (89) #256 scrn==+peek (88) iocb2buf=scrn iocb2len=3528 C10(8,$26) Close(2) under=Locate(x,y) RETURN PROC Savefile() BYTE ARRAY filenane BYTE iocb2cad=6362 CARD scrn, iocb2buf=6344, iocb2len=6368 filenane="D:JOHNK, PIC" key=255 byt=d DO IF key(255 THEN byt=Peek (6527@+key) key=255 IF byt)47 AND byt<5@ THEN filename(7)=byt FI EXIT FI OD IF byt(48 OR byt)S7 THEN RETURN FI OPEN(2, filenaae,8,8) iocb2cad=66B scrn=Peek(89)#256 scrn==+peek (88) iocb2buf=scrn ioch21en=3526 C10(8, $28) Close(2) RETURN PROC Speed() Ding (38,88) key=255 byt=spd+48 v=78 w=89 Prtchar (byt) DO UNTIL key<255 OD byt=Peek (65278+key) IF byt<49 OR byt>S7 THEN Mode() RETURN FI spd=byt-48 Mode() RETURN PROC Main) Init() sel=# D0 IF sel<>@ THEN sel=6 Mode() FI IF key=33 THEN Brush() ELSEIF key=63 THEN sel=2 Mode‘) vex wey Letters() ELSEIF key=18 THEN sel=4 Node() Round() ELSEIF key=48 THEN sel=1 Mode() Rectangle() ELSEIF key=45 THEN sel=3 Mode() Triangle() ELSEIF key=@ THEN sel=5 Mode() Loadfile() ELSEIF key=62 THEN sel=5 Mode() Savefile() ELSEIF key=39 THEN Speed () FI Key=255 IF consol=3 THEN Init() FI Draw() Hues() op RETURN Fun with Art Picture Loader by Harry Perkins, F.A.C.S. Fresno, CA SCD NEXT T 29028 D.104,169,16,178,76,86,228 29822 MK=15:DIM PICS CHK) 29825 DIM DLIONS (HKD 29038 FOR I=1 TO MH:READ J:DLIONS (1)=C HRS (J) :WERT I 29035 D.164,169,192,141,232,6,162,6,16 8,224 29848 D.169,6,76,92,228 29845 MH=18:DIM DLIOFFS (MH) 29058 FOR I=1 TO MM:READ J:DLIOFFS(I}= CHRS (J) :WERT I 29055 0,104,169, 64, 141,252,6,141,14,24 2,162 29068 D.228,168,95,169,6,76,92,228 29078 REM INIT. VARIABLES ND STEAL SO HE MEMORY FROM BASIC 29075 REM 29088 TOCB=848: OLDSCL=PEEK (568) : OLDSCH =PEEK (561) 29085 PICBAS=CINT (PEEK (742) /16)-2)#16 29898 DLIBAS=PICBAS-9:POKE 741,@:POKE 742, DLIBAS 25095 RET. 29108 REM -~ LOAD AND SHOW A FUN WITH ART PICTURE-~ 29185 REM ROUTINE RETURWS A>-1 IF SOME THING TS WRONG WITH FILE RUTH'S PILOT tcont 2030 LB .BYTE "SECTOR LINKS MANGLED", 6 2048 DSKFULL .BYIE “DISK IS FULL", @ 2058 CR .BYTE "CANT READ/WRITE SECTOR" 8 2068 EOF .BYTE "END OF FILE ERROR ",0 2078 WUMERR .BYIE "BAD DRIVE w,8 2088 TO .BYIE "DISK TIMEOUT ERROR" .@ 2898 END = #5 18 REM X*XFUN WITH ART PICTURE LOADER * 15 REM WEREU,12/83 FOR F.A.C.S. MEWSL ETTERWE 20 REM #XXBY HARRY PERKINS#XK 25 SE.2, RINT K":605. 29808 38 PRINT"ENTER PICTURE FILE 10 Loal PUT PICS 35 G05.29108 40 IF PEEK(764)<)28 THEN 6.40 58 G0S.29408 60 5E.2,0,8 78 6.28 29088 REM --INT FOR @ FUN WITH ART-- 29018 MM=7:DIM CIOS (MH) 29815 FOR I=1 TO MM:READ J:CIOS$(I=CHR 9
Page 10 (scan)
**+* LISTINGS FROM LAST MONTH
Greg Menke: Memory Drive
1 REN sH8dKEHOEOHERRGHEHHEHBHOHERHGHE
2 REM ACE NEWSLETTER Sd
S REM © = 3662 VINE MAPLE DR we
4 REM we EUGENE, OR 97405 od
S REM HK MAY 1984 S12 YEAR Ke
6 REK MEHEEHOR ERE BHEHORRORHHEHBAE
7 REM ** BASTC LOADER PROGRAM xx
8 REM X* FOR MEMORY DRIVE ed
9 REM ** BY GREG MEMKE-see text
*e April ACE for details
JERI RRO IIIS
18 GRAPHICS @:S5ETCOLOR 2,12,4:2 3? “Hr
iting DIMEWORY.LOD";? 22 32
28 OPEN H11.8,0,"D: MEMORY. LOD"
30 READ ALIF AQ>-1 THEN PUT m1,a:coTO
38
40 CLOSE Wi:? “Complete...:? :EKD
999 EMD
1808 DATA 255,255,0,6,215,6,184,162,8,
189, 26,3,261,0,240
1948 DATA 12,201,77,240,8,232,232, 232,
224,38, 144,238,96,169,77
1828 DATA 157,26,3,169,38,157.27,3,169
16,487, 28,3, 96,85
1838 DATA 6,59,6,126,6,99,6,62,6,62,6,
76,8.6,8
1848 DAFA 6,0,0,6,0,0,168,1, 96,168,145
+96, 168,136,968
1858 DATA 24,165,203, 485, 1,153, 203,165
1204,195, 8,133,204, 96,169
1968 DATA 255,96, 169,128,133, 204,169,8
+153, 205, 141,59,6,76,68
1070 DATA 6,160,8,145,283,32,69,6,24,1
73,55,6,105,1, 14%
1088 DATA S5,6,173,56,6,105.0,141,56.6
+76,60,5,173,59
1898 DATA 6,201,0,288,188,173,55,6,201
+8, 288,7,173,56,6
4198 DATA 201,8, 248,191,160.
15%, 207,32,69,6,26,175
4418 DATA 57,6,105,1,141,57,6,173,58,6
1105, 8,141,58,6
1126 DATA 173,55,6,205,57,6,298,27,173
156,6,205,58,6,288
1130 DATA 19,169,8,141,55,6.141,56,6,4
41,57,6,141,58,6
1148 DATA 169, 1, 141,59.5, 165,207, 76,60
16,6.8
1168 DATA -1
177,283,
atari Memory Drive by Greg Menke
32/22/84 V1.8
Uses Atari Assembler/Editor
7@ ; format.
88;
98;
8188 ;.WORD assembles label 10 byte fi
rst into memory, then hi byte
8110 ;.BYTE assembles numbers followin
g into memory
8120 ;TABLE/256 gives hi byte of TABLE
8136 ;TABLE&255 gives 10 byte of TABLE
e148 5
aise *=$608
e16e PLA
8178 START LOX ne
8180 FIND LDA $@310,k ;get 1 byte fro
# HANDLER table
8198 CHP He sis it free?
0288 BEQ INIT syes, use this
one
8718 CMP n'M shave we used i
t before?
0228 BEQ INIT iyes, use this
one anyway
8238 INH
8248 INK jo to next entry
8256 INK 3
0260 CPX S26 send of table?
6276 BCC FIND M0, keep going
0288 (RTS no more space
0296 INIT Loa BH jour Device cod
e
0388 STA $0316,% ;in HATABS
O318 LDA HTABLE&25S =; vector table I
o byte
0328 STA $031B,%
9330 LDA HTABLE/256 vector table h
i byte
6348 «STA Ses1C,x
8358 RTS jreturn
6360 ;
0378 TABLE .WORD OPEN-{ ;OPEW vector
8380 WORD NOERR-1 =; CLOSE vector
6396 .HORD READ-1 ;READ vector
8400 WORD HRITE-1 WRITE vector
8416 WORD MOFUNC-1 STATUS vector
8428 WORD NOFUNC-i =; SPECIAL vecto
é
8436 JMP START-1 jJump to initi
alizing
10
asaa
ease
es
8478 LENSHADOW .BYTE 8,6
LEM
0458 VECTOR .BYTE 6,8 0;
VTE 6,8 :
0488 FLAG .BYTE @
0498
8508 MOERR LDY mi
al error
este
8528 NOFUNC LOY #146
RTS.
allowed error
8530
esaa
e556
e568
as7e
58a
e598
ase
ater
a6ie
0628
0630
a64a
rror
0658
8660
0678
0638
2698
a7ee
e718
0728
a73e
0748
9758
e768
9778
a78@
8798
asea
aaie
e820
ease
esa
ease
6868
0878
ease
ease
8988
e918
0928
RTS.
DONE LDY mi36
RTS
ADDONE CLO
Loa
apc
sta
La
abe
STA
ATs
ERROR LDY #255
RTS
OPEN
sta
ipa
sta
sta
JMP
$cB
mM
$cB
$ec
18
sec
Loa mse
see
ne
$cB
FLAG
NOERR
WRITE LOY me
sta
JSR
cle
Loa
ape
STA
Loa
apc
STA
MP
READ
cop
BNE
Loa
cop
BNE
Loa
{SCB),¥
ADDONE
LEW
mL
LEN
LEWtt
ne
LENeL
NOERR
Loa FLAG
ne
DOME
LEW
ne
cont
LEWtL
sone variab!
iClear potenti
return
i function not
sreturn
yend of file
ireturn
jadd one to
scurrent file poi
home brewed
ireturn
Clear addresses
abort if error
dis detected
clear error
store byte of
sfile in wemory
and increment
jlength
clear error
Page 11 (scan)
a93e ase esse 0968 0978 0988 0598 t 1088 k for 1018 1028 1038 1048 1058 1668 1878 1888 1096 1108 1118 1128 1138 1148 1150 1168 1170 1188 1198 1288 cM BEQ cONT Loa STA JSR eLe 8 A ERROR Loy na : (90B),¥ 5 SCF iget a byte of ADDONE ifile from jmemory, increnen Loa EOF apc sta ipa ape STA Loa cH BNE Loa cop BNE Loa sta sta STA sta La mi STA FLAG OK LDA SCF JP NOERR LENSHADON address and chec mt ; LEMSHADOW LEMSHADOWHS ne LEWSHADOWES LEN LEWSHADOH =; oK ; LENHL LENSHADOWL ox ne LEN LENEL LENSHADOW LENSHADOMHL srestore acc. Clear error More from Greg Menke: 1 REM 2 REM ¥K ACE NEWSLETTER me SREM ¥* = 3662 VINE MAPLE DR #H 4 REM EUGENE, OR 97405 ** S REM *X MAY 1984 $12 YEQR -#K 6. REH SRS R ROH HE RHEE HERE IIO 7 REM ¥* WEWDOS BASIC LOADER = KE 8 REM xe BY GREG MENKE Sad 9 FEW BOR ODEO EIGER 18 GRAPHICS @:SETCOLOR 2,0,8 g DiAUTORUN.SY5, please wi “writin 20 OPEW 1.8,8,"D: AUTORUN. SYS" 38 READ ALIF A=-1 THEN 50 40 PUT Mi,Aa:coTO 30 58 CLOSE Mir? :7 "Done": 1088 DATA 255,255,252,28,123, 31,169, 65 (13S, 10,144, 70,24, 169,29 1816 DATA 133,11,141,74,24,169,32, 141, 214, 18,169, 83,141,215, 18 1028 DATA 169,29, 141,216,18,169,31,144 1232, 2,169, 123,141, 254,2 1038 DATA 32,49,29,96,0,32,252,28, 32,4 9,29, 108, 258,191,169 1848 DATA 76,141, 29,25,169,48,141,38,2 5,169,29,141,31,25, 95 1058 DATA 169,157,141, 214,18, 169,67.1¢ 1,245,148, 169,5, 141,216, 18 1068 DATA 76,159, 23,157,867, 3, 141,108,7 9,201,1,248, 10,173,189 1876 DATA 29,261,8,208,3,76,139,29,178 1108,29,96,8,0,8 1888 DATA 8,162, 31,160, 45,76, 24,508,162 31,160, 68, 76,24,38 1898 DATA 162,31,168.37,76,24,30,162,3 4,168,99, 76,24, 30,173 110@ DATA 108,29,168,192,138,240,241,1 92,166,246, 238, 192,136,248, 219 1L1@ DATA 192,144,240, 208,192,173, 248, 43,192,472, 240, 46,192,171, 248 1120 DATA 49,192,178,248,52,192, 169,24 8,55, 192, 168,24@,58,192, 167 11T@ DATA 240,61, 192,166,240, 64,192,16 5, 240,67,192,164, 248,78, 192 1140 DATA 162,246, 73, 76,103,29, 162,38, 168,98, 76,24, 38,162,308 1158 DATA 166,111, 76,24,36,162, 238, 76,24, 38,167, 50,168 1168 DATA 162,76,24,38,162, 50,160,137, 76,24, 38,162, 38,166,183 1176 DATA 76,24, 38,162, 30,160,252, 76,2 4, 38,162, 38,168, 203,76 1188 DATA 24,360,162, 30, 168,222.76.24,3 8,162, 31,168,11,76,24 41190 DATA 30,162,31,168,32,134, 284,132 203, 160,8,148,187,29,32 1208 DATA 67,36,172,187,29,238,167.23, 177,203, 281,8,248,18,24 1240 DATA 189,116,29,32,78,38,76, 36,34 132,67, 38,173,108,29 1220 DATA 76,183,29,169,155,32.78,30,4 69,155, 32,78, 3@, 96,372 1238 DATA 6,228,148, 96, 38,238, 96,30,17 2,7, 228, 140,97, 38,108 1248 DATA 96,30,0,0,78,79,82,77,65,84, 32, 69,82,82,79 1250 DATA 82,8,65,80,80,69,78,68, 32,68 179, 83,49, 32,84 1268 DATA 79,32,68,79,83,58,32,69,82,8 2,79,82,0,68,73 1278 DATA 82,69,67,84,79,82, 89,32, 76,8 5,76, 76,44,32,54 1280 DATA 52,32,70,73,76,69,83,0, 76,73 476,69, 32, 78,79 1298 DATA 84,32, 78,79, 85, 78, 68,32,69,8 2,82,79,82,8,73 1308 DATA 78,86,65,76,73,68,32,88,73,7 9,32,67,79,77,77 1318 DATA 65,78,68,0,80,79,73, 78,84, 32 176,69, 78, 71,84 1328 DATA 72,32,69,82,82,79,82,8,76,73 76,69, 32, 78,65 1350 DATA 77,69,32,69,82,82,79,82,8, 808 68, 11 129,73, 78,84, 32 1348 DATA 73,78 +76,69,32,72,83 1358 DATA 32,76 187, 84,79, 82,32 1368 DATA 76,73,78,75,83,32,77,65,78,7 1,76,69,68,8,68 1378 DATA 73,83,75,32,73,83,32,78,85,7 6,76,8,67,65, 78 1388 DATA 84,32,82,69,65,66,47,87,82,7 3,84,69,32,83,65 1396 DATA 67,84,79,82,6,65,78,68,32,79 170,32, 78,73,76 1408 DATA 69,32,69,82,82,79, 82.32, 0,66 , 85 ,68,32,68,87 1418 DATA 73, 86,69,32,35,0,68,73,85,75 132, 84,73,77,69 1428 DATA 79,85,84,52,69,82,82,79,62,6 8,8,8,0,8 1436 LATA 0,8,255,8,255,59,224,2,225,2 1 252,28 1458 DATA -1 +86, 65,76,73,68,0,78,72 179,67, 75,65, 68,8, 83,69 DOS Error Handler 005 error handler by Greg Menke. HB 3/12/84 8a 98 jllses Atari Assewbier/Editor j format. e108 eile 5 e120 ; 8138 | @140 ;POKE 7533 ($1D6D),6 - Print erro . e158 168 e178 e188 198 8260 ; e218 5 0220 0236 e248 250 0260 0278 e238 0298 ; eze0 310 A> Don't POKE 7534 ($1D6E),@ - Normal 128 - Inverse *=SACFC BEGIN LDA HNEHDOS&255 STA 16 STA $446 LDA HNEWDOS/256 sta it STA 5458 Loa #520 ; STA $1206 shand complile a
Page 12 (scan)
0320 LDA MSTART&255 ;JSR to the @338 37a $i2D6+1 —;error handling 824G LDA RSTART/256 sroutine into a350 STA $12p6+2 =; DOS. 0368 ; 0378 LDA HEND/256 5 8388 STA 744 set LOMEM past 8396 LDA HEND&255 = ;end of a4ee STA 743 ;progran. @418 JSR INIT 0428 RTS 8436 BRK ad4G 5 8450 INIT2 JSR BEGIN @468 JSR INIT 8476 IMP (SBFFAD 0480 INIT LDA HS4C — ;Modify MEM. SAU 0498 STA $194D routines to @500 LOA WINIT2&255 ;JMP to program STA $i9apt Lda #INIT2/256 STA $i9Dtz RTS 05168 nitialization. 0520 8530 asa 6558: 8568 NEWDOS LDA HS9D ;reset the 0578 STA $1206 ymodi fied DOS e586 Lda #543 back to normal a596 STA SizD6tL =; on BOS call. e600 LDA HSS : a61a STA $izp6e i; 8628 | 863@ JP 6047 jload bas. 8648 | 8650 5 8668 ;Error handling routine starts 8678 ;here. A680 ; 0698 ; 8708 START STA $343,% ;code we repla: din bes. 8718 STA ERROR 8728 CHP mt 8736 BEQ EXIT 0749 LDA FLAG e7se CHP He 8760 BNE EXIT 8770 JMP CONT 8788 ; 9798 EXIT LDA ERROR ese RTS 0810 INDEX .BYTE @ 982@ ERROR .BYTE @ a830 FLAG .BYTE @ 0848 INVERSE .BYTE @ ease ; 8368 CANTREAD LOX HCR/256 8878 LDY HCR&Z55 0888 JMP PRINT 9898 2968 8918 e928 esse e948 8958 0968 89708 8980 as9e 1088 1618 1620 1838 1649 1858 1860 1678 1aae 1098 1168 1118 1128 1138 1140 1150 1168 4178 1180 1198 1268 1218 1228 1238 1248 1258 1268 1278 1280 1298 1308 1318 1328 1338 1348 1358 1360 1378 1380 1396 1408 14i8 1420 1438 1448 1456 1468 ENDOFILE LDX REOF/256 LOY MEOF&255 JMP PRINT DRIVEMUM LDX NMUMERR/256 LDY HNUMERR&255 JMP PRINT TIMEOUT LDH 10/256 Loy nrea&255 JMP PRINT CONT LOA ERROR TAY cPY #138 BEQ TIMEOUT cpy 4168 BEQ DRIVENUM CPY mi36 BEQ EMDOFILE cpy miad BEQ CANTREAD ePY M173 BEQ BADSECTOR epy mi72 BEQ APPEMDITOZ ery mi7i BEQ POINT cpy M178 BEQ NOTFOUND epy mi69 BEQ DIRFULL cPY #163 BEQ CMDINVALID cPY 167 BEG FILELOCKED CPY M166 BEQ LENGTH cy M165 BEQ FILERROR cry ni6é BEQ LINKS cpY 1162 BEQ DISKFULL IMP EXIT BADSECTOR LDH HBS/256 LDY 1858255 JMP PRINT APPEMDITO2 LOX 1A1/256 Loy waLazss SMP PRINT POINT LDX RPI/256 LOY MPI&255 JMP- PRINT NOTFOUND LOX HNF/256 LOY mNF&255 JHP PRINT DIRFULL LDR HDF/256 LOY mDF&255 by 12 1470 SMP PRINT 1480 CHDINVALID LDX tCMP/256 1490 LDY HCHPA25S 1588 JMP PRINT 1510 FILELOCKED LDX WLOCKED/256 1528 LDY #LOCKED&255 1530 JMP PRINT 1540 LENGTH LOK #DLE/256 1558 LDY MDLE&2S5 4568 JMP PRINT 41578 FILERROR LOK HFWE/256 1580 LDY MFWE&255 1598 JMP PRINT 1608 LINKS LDX #LB/256 1618 LDY MLBAZ55 1628 JMP PRINT 1630 DISKFULL LK HDSKFULL/256 1648 LDY BDSKFULL&255 1658 PRINT STH SCC 1668 STY ScB 1678 LDY HO 41638 STY INDEX 4898 JSR RETURNS 1708 LOOP LDY INDEK 1718 INC INDEX 1728 LDA (SCBI,¥ 1738 CHP He 1748 BEQ DONE 1758 CLE 1768 ADC INVERSE 1778 JSR PRINTIT 1788 JMP LOOP 1798 DONE JSR RETURNS 1888 LDA ERROR 4818 JMP EXIT 1828 RETURNS LDA M155 4830 JSR PRINTIT 1840 LDA MISS 1859 JSR PRINTIT 1860 RTS 1878 PRINTIT LDY SE486 1888 STY VECTOR sscreen editor ;PUT byte 1890 INC VECTOR outine +1 1988 LDY $E4@7 ; 1916 STY VECTORS ; 1928 JMP (ECTOR) 1930 VECTOR .BYTE 0,6 1946 BS .BYTE "FORMAT ERROR",@ 1950 Al .BYTE “APPEND DOS1 TO DOS2 ERR 1968 DF .BYTE “DIRECTORY FULL, 64 FILE 3 1978 NF .BYTE "FILE NOT FOUND ERROR" 1988 CMP .BYTE "INVALID KIO COMMAND" 1998 DLE .BYTE "POINT LENGTH ERROR", @ 2008 FNE .BYTE "FILE NAME ERROR", @ 201@ PI .BYTE "POINT IMUALID",@ 2028 LOCKED .BYTE “FILE IS LOCKE! 8
Page 13 (scan)
Ruth Ellsworth: PILOT Character Maker 18 R:PILOT CHARACTER MAKER UTILITY 28 R:Ruth Ellsworth 30 RIQCE NEWSLETTER 48 R:MAY 1984 Eugene, oregon 50 R:LINES 458 TO 478 FIND OUR LocaTIO MIN THE ARRAY. BECAUSE OUR GRID HAS WINE NUMBERS BETWEEN @ AND 8 68 R:USING @ AS A STARTER, WE ORE ABLE TO LOCATE THE RELATIONSHIP OF EACH vA LUE TO NUMBER ADDED 7@ RiTO MEMORY LOCATION OFFSET, IF TH E CONSISTANT REALTIONSHIP OF LOCATIONS HAD NOT APPLIED 86 R:WE WOULD HAVE HAD TO USE THE LESS MATHEMATICAL MEMS SHOWN IN THE R:EKOM PLE MODULE AT THE END OF 90 RITHIS LISTING. 108 GRICLEAR . 118 Crt=-78 120 CrmY=35 13@ Crmmmis4e 178 ¥COURTER 180 C:eBuH=@ 190 CrmNHHEL 280 J CHH(1604) :xCOUNTER 210 E: 228 *GRID 238 GR:GOTO-78,44 248 GR:4(TURN9@;DRAW72) 09; TURMS@ ; DRAN?Z URN-98; G09; TURN-98 ;GO9; TURN-98 CTURNI® ; GO9; TURNI8; DRAH72; TURK 90; 609; TURN-9@; DRAW72) 298 GR:TURNTOR 31e xJ0Y 328 COLSO=1) :tY=tyeD 338 ue 358 368 378 388 398 480 418 42 438 440 458 460 478 480 #FILL 490 GRIFILL 588 C:HC=(Hx-29/9+8 [Column location SLO C:WR=(HY+12/9+3TRow location 528 C:MO=MREBtHCIMemory Offset 530 C:tW=154etMOL1548 has to be used i fi this equation not mH 548 Cctc=8) : eBHU=128 550 C(HC=1) : eBnU=64 568 C(HC=2) :eBHU=3Z 578 CUtc=3): 588 C(He=4): 598 COMC=5) 688 COnC=6) :eBHU=2 618 CORC=7) :eBMU=1 628 J:*Joy 638 E: 648 ERASE 650 GR:FILL9 668 C:HC=(HX-29/9+8 678 = RY ELD 943, 630 690 708 718 72 C(4J8=8) :AK=KED €(%58=2) :HY=RY-9 C4 JO=4) eK=WH-9 C He <-78) :tH=-78 © cK)~79 :K=-7 Cany<-28) :Hy=-28 Cay) 35) :aY=35 GR:GOTORX, nY GR:PEWRED; 4 (DROW; TURN9E) GR: PEMYELLOW; 4 (DRAWS ; TURN9G) J(OB764=18) :*CHAR J(@B764=42) :KERASE TURN-90; G01; TURN-98 ; DRAW7) 738 GR:DRAK- ROHS; TURNIB- 748 C:B764=49 750 768 E: 778 *CHAR 788 C:MH=eB1S4eteBi541+eB1S42+eB1543+e 81544+@B1545+0B1546+0B1547 798 C:G=0B1548+081549+eB15S8+@B1551+2 BASS2#B1553+@B1554+eB1555 888 ‘@B1556+@B1557+8B1558+@B1559+0 81560+0B1561+0B1562+0B1563 818 0B 1564+0B1565+0B1566+eB1567+8 13 B1563+@B1569+@B157e+eB 1573 828 C:D=eB1572+@B1573+eB1574+@B1575+e B1576+@B1577+@B1578+@B1579 838 C:HC=e61588+teB1581+eB1582+eB1583+e 81584+B1585+081536+61587 848 C:#B-@B1588+0B1599+eB159e+eB1591+0 B1592#0B1593+@B1594+@B1595 850 C:th=@B1596+0B1597+eB1593+eB1599+e 81600+061601+e81662+e81683 860 T:ROW 1 = A = ROW 2 = BB = nC 878 T:ROW 4 = wD = oF 888 898 988 910 928 938 948 958 968 ROK 3 ROWS = HE ROW 6 ROW 3 = tH TiROW 7 = RG CLOSE:D: MAKER PA4ee 990 E: GRY=35) :#ROWL(LOCATES ROW HESE LINES TO LOCATE ROWS 1 TO 8 WOULD BE FOUND IM THE FILL MODULE 1038 RC CHX=~78) :@B1540=128 (LOCATES CO LAN 1046 R:THESE LINES WOULD BE FOUND IN * ROW MODULES 16 R:CHARACTER RETRIEVAL ROUTINE 2@ READ:D:MOKER, tt0 30 READ:D: MAKER, #8 48 READ: D: MAKER, #0 5@ READ:D:MOKER, 12D 68 READ:D: MAKER, te 78 READ:D: MAKER, SF 88 READ: D: MAKER, 2G 38 READ: D: MAKER, tt 108 CLOSE:D:MAKER 118 E: 5 Ri@NTIC AUGUST 1983 7 RIPHIL AND KATHY BERGH 16 GR:QUIT 26 T:Please wait while the character 5 et is moved. This takes about 28 seco nds. GOTO PAGE 9
Page 14 (scan)
JOHNNY'S PAINTBOX Johnny's Paintbox is a drawing program offering six colors and a number of automatic shape generators. In addition to the normal line drawing mode there are modes to draw Rectangles, Triangles, Circles the Alphabet as well as modes to Save and Load pictures. NORMAL MODE All other modes return to the normal line drawing mode. Lines are drawn using a joystick in player #1 position. The trigger must be press fed to cause the line to be drawn. This mode is indicated by a horizon- tal line to the right of the numbers at the bottom of the screen. The col- or of the line indicates the color active at the moment. You can select ‘a.new color by pressing the number key corresponding to the desired color. This is also true for the shape modes. Color 0 can be used to erase lines, (again, the trigger must be pressed). The ‘OPTION’ key can be used to clear the screen. Itis only active in the normal mode. There is also a ‘fll’ function in the normal mode. It is activated by pressing the spacebar. An area enclosing the cursor will be filled in using the color currently active. Sometimes only part of the ‘area will be filled in and it will be necessary to move to a blank portion ‘and use the spacebar again. Only background area can be filled in. “The speed of the cursor can be changed using the key with the Atari symbol. When you press it, a number representing the current speed will appear. You may now select any number 1-9 with 1 being the fastest. Any other key will return you to normal mode with the speed unchanged. CIRCLE MODE The circle mode is entered by pressing the ‘C’ key. A circle in the ac- tive color will appear to the right of the numbers. Position the cursor where the circle center is to be located before you press ‘C’. Pushing the joystick up will increase the size and down will decrease the size fof the circle. If you return to the original cursor size, no circle will be drawn. If any part of the circle reaches an edge you will not be allowed to increase its size further. Change the circle color by using the number keys. The circles are actually ovals because of the difference in horizontal and vertical sizes of the pixels. Press the spacebar to exit the circle mode when you have the size of circle you desire. RECTANGLES Use the 'R’ key to enter this mode. The cursor must be positioned where the lower left corner of the rectangle will be. Vertical stick movement incereases and decreases the vertical size of the rectangle while horizontal movement controls the horizontal size. Number keys allow you to change the color and the spacebar is used to freeze the rectangle and exit the mode. This mode is useful to erase blocks of area on the screen. Just expand the rectangle out and contract it back to a point before hitting the spacebar. TRIANGLES Enter using the ‘T’ key. Horizontal joystick movement, (without the button pushed), controls the baseline of the triangle while vertical movement controls the vertical position of the vertex. The starting position is at the leftmost edge of the baseline. By pushing the button while moving the stick horizontally, you can control the horizontal position of the vertex. This mode is a little trickier than the others and may take some practice. Again, use the spacebar to exit. ALPHABET Uppercase letters of the alphabet can be drawn in this mode. The starting position indicates the upper left corner of the first letter. Enter sing the ‘A’ key. An ‘A’ in the active color indicates you are in the alphabet mode. The cursor will move after each letter is drawn. If you want to go back, the backspace key works. Again, number keys can be Used to change the current color. For this reason, you can’t draw numbers, just letters. The program won't let you draw letters if your position is too far to the right or too low for complete letters to be Grawn, You must use the RETURN key to leave this mode since the space is a valid character. SAVE MODE When you have finished your sketch and wish to save it to disk, press the ‘S' key. A question mark will appear to the right of the numbers, It is asking for a filenumber. You have a choice of ten from 0 thru 9. Press one of these number keys to save your picture. If a pic- ture of that number already exists it will be written over. You will automatically be returned to the normal mode when the save is com- plete. Pressing any key other than 0-9 will abort the save. LOAD MODE Press ‘L’ to load a file. The question mark indicates you should press a number 0-9 as the filenumber. The program will load the file to the screen and return to the normal mode. There is no provision to allow for a file not existing, an error condition will occur and stop the program. To prevent this you should save something under each filenumber, even if it is a blank screen. — Stan Ockers EASY MACI65 and AMAG (Atari's Macro Assembler) owners, EASY ($40 from Superware, 2028 Kingshouse Rd., Silver Spring, MD 20904) is here to help you. If you know Basic well and have just a smattering of ‘Assembly Language experience, and have 48k memory, AMAC or MAGI65 Assemblers, and disk drive, Easy may be just what you are looking for. Easy is a collection of Macro routines. Easy consists of three libraries labeled KERNAL, PMGR, and SCROLL. All libraries require KERNAL to be included. KERNAL contains the necessary runtime code, it also contains 1/0, integer math, graphics, sound, error handl- ing, etc. PMGR contains routines for playerimissle graphics. SCROLL contains routines for automatic fine scrolling. ‘The runtime code becomes part of your routine which can be a blessing for debugging your code. On the other hand much of the run- time code is not really necessary. Errors always bring a graphics 0 and an error number. ‘Many of the commands are very much like their Basic counterparts. Macros range from the simple POKE to GOSUB which preserves X and Y registers. Documentation is a little skimpy and the source code has no remarks to let you know what's going on or why. Documentation con- sists of a5% X B-inch booklet and a quick reference card. The booklet gives a brief explanation of requirements and lists some simple ex- amples for each macro showing the expanded code. | found the in- struction booklet a bit awkward to use while typing as it Is stapled rather than bound or looseleat. | finally resorted to a paperpunch and ‘small notebook | had available. It improved the booklet’s usefulness immensely. The macros are scattered through the 57 pages without much order. | like to see more remarks in the source code. ‘had some problems with a couple of the macros. One in particular was the drawto macro. After plotting a point the drawto line began one position to the right of the plotted point. When I looked in the code | found the macro moved the current X,Y position which was un- necessary and gave the wrong starting position. The scrolling macros are relativly easy to implement and work very well. | believe this package will be a good tool for the beginner but as @ serious development tool it has some limitations. — Chuck Ross PHAROAH’S TOMB You have been searching for years and have finally found the tomb of Ramakanaman. But you have to find a series of keys to enable you to enter the treasure chamber. Once you have reached the treasure chamber, you are given a chance to enter another and then another, with each one requiring more keys to unlock. Use joystick 1 to control the man appearing at the top left of the screen. Move him to pick up the key appearing at a random position in the maze. Once you have found the key you must take it and deposit it at the door of the treasure chamber and go and get another until you have found all the keys required for the door. ‘You will see a line of keys under the game's name at the top of the screen. This shows you how many you must find in the current level. Five enemies materialize from certain points in the maze. They wander around trying to protect the treasure. These enemies are birds, serpents and demons. Every so often one of these goes berserk and dashes around the maze. If the berserker touches another enemy, the touched one will disappear temporarily and may help you get by. But be careful, when the mad creature calms down the invisible ones will reappear. ‘You have two forms of protection: 1. Teleport: this will reposition you at a random spot in the maze; and, 2. Super Splatter: this will make all the creatures disappear for a moment. Each time you resort to pro- tection adds another key you must get to unlock the door. If you ever get 18 keys across the top of the screen, the game ends. A T or S at Screen top right indicates the protection mode. You may toggle bet- ween them with the SELECT key. To use your protection, push the Space Bar. Pressing the fire button will freeze the action so you may scroll around the screen to plan your path, find the key, or find your man after Teleporting. — Sydney Brown 14
Page 15 (scan)
SUPERLOAD
(reprinted from the April '84 issue of the Atari Computer Club of OKC)
Presented here is a method for loading assembler programs from
within @ BASIC program. Instantly. That's right — no more irritating
initializing... messages on the screen while data is read and poked
into storage. In addition to this capability, you will also have a USR call
which can move or initialize a multi-page area of storage — the two
major reasons for using machine language programming in a BASIC
environment. And all it is going to cost you is 100 bytes of storage.
Up until now there have been two popular methods for loading
assembler code into BASIC programs: reading DATA statements with
decimal numbers representing object code, and reading DATA
statements with hexadecimal numbers representing object code. The
Second method is more efficient as far as storage is concerned, and
also permits easier modification (as long as it's extremely minor, such
as setting break points for testing). Unfortunately, both methods are
slow.
A third method, letting the object code be represented by ATASCII
Characters has been used, rarely, but is actually a far preferable
method in terms of storage and load speed. However, this method has
its own problems. Several ATASCII characters, such as the quote
character and the EOL character, cannot appear in the string data,
There is a variation of this method: retaining the object code on disk
and reading it into the string at run time; however, this is extremely
‘cumbersome for cassette users.
Fortunately, a fourth scheme has recently arrived: the code can be
“hidden” between two BASIC tables. | refer you to “Atari Safe RAM" in
the October, 1983 issue of COMPUTE. | have chosen this method to in.
{roduce a utility I've found useful. I'll give you a 100 byte machine
language program which is extremely easy to install. You can then call
this routine to load your own assembler programs using the hex-
adecimal digit method — only without any perceptible delay,
Listing One is the program which will create another BASIC pro-
gram on either disk or cassette which inserts SUPERLOAD into a cur.
rent program in memory. If you are a cassette user, change Line 80 to:
OPEN #1,8,0,"C:". When you enter and run this program, you'te ready
for an example of how to utilize SUPERLOAD.
Enter the program in Listing Two, but be sure to save it before pro-
ceeding. Note also in Listing Two at Line 10 that you will have to
dimension a string, ASMS, which will be used as a buffer string. Now,
all you have to do to insert SUPERLOAD into the program is typ
E"D:SLDATA"(disk users), or E."C:"(cassette users). Several BASIC
Statements will be read in and executed in immediate mode, rearrang.
ing several BASIC pointers to protect SUPERLOAD, which is inserted
at the same time. This is a permanent insertion — if you now save the
Program normally, SUPERLOAD will be retained whenever you reload
the program. In other words, you only have to perform the ENTER pro-
cedure once. From the point at which the program is saved, no further
action is required.
Upon execution, a message appears in the upper left hand corner of
the TV screen, repeating itself diagonally towards the bottom. This
displays two of the functions of SUPERLOAD. Line 40 contains the
message displayed on the screen in hexadecimal format. Line 50
Packs the data at the location into variable ADSCR — the address of
‘Screen memory. If nothing happens, or the word “‘superioad” does not
appear, you must go back to Listing One and check each line again.
The USR call has the following format: X= USR(ADML,ADSTR.AD-
DEST.STRLL,OPTION). Where ADML is the address of MLS; ADSTR is
the address of the input data; ADDEST is the address of the output
location; STALL is the length of the input data. If OPTION is 0 STALL
cannot exceed 255. This is the hexadecimal pack, as in Line 40. If OP.
TION is 1 STRLL cannot exceed 65535. No packing occurs and the str.
ing is moved as is, as in Line 60.
If the above procedure checks out, then enter the following in im-
mediate mode: POKE
ADSCR,119:X = USR(ADML,ADSCR,ADSCR + 1,959,1). The entire
Screen should fill with the character “w”. This initialization routine is.
actually @ move routine trick which has been used by assembler pro-
grammers for years. The first POKE acts as a “seed” and the move
simply propagates this byte into the next and succeeding locations.
Here are a couple of more tricks you can do with SUPERLOAD. In-
Stead of the following statement: ADSCR = PEEK(68) + 256" PEEK(69),
use ADSCR = USR(ADML,88,212,2,1). Here's how it works. The two
bytes beginning at location 88 are moved to locations 212 and 213,
These locations are reserved by BASIC for a return value to be passed
back toa BASIC variable after a USR call. So, as long as you move two
bytes to 212 and 213, you can assign any low byte-high byte pair to any
BASIC variable!
I5
Here's another one — instead of using the following statement to
divide a variable into low and high bytes: Hi =INT(X/256):LO =X-
H1*256, use: Y= USR(ADML,X,0,0,1). This one is a little more subtle.
Notice the length parameter is 0. All SUPERLOAD does is pull the
parameters off the stack, storing them into their assigned storage
locations, and executes a return. But since X was passed as a
Parameter, even though it is not necessarily an address, it will be divid-
ed into low and high byte form and stored at the parm1 memory loca-
tions — 96 and 97. So, after the last example is executed, the low byte
of X can be retrieved by PEEK(96) and the high byte by PEEK(97). Y isa
dummy variable only. Both of these last examples are more efficient
than BASIC and execute faster. | offer them as examples only — it is
Up to you to decide if they are easier to use than their BASIC counter.
arts,
Parhe most efficient Utilization of the program load feature is seen
when you use a BASIC string to contain the object code. If you use the
same value for ADSTR and ADDEST — namely, the address of the str-
ing — the resulting object code will be packed into the first half of the
string and will then be directly executable. But the program listing is
unchanged. You therefore have a string which you can list on the
screen and alter with the editory, but when run is object code!
If you'll type in Listing Three you can modify Listing Two to see
what | mean. This program copies the character set (at Line 70) and
modifies the character passed via a USR to be a different color. The
method used is artifacting — every other pixel on the screen is
bypassed. Note the string defined by Lines 40 and 45 is executed
directly by line 75 — after the hexadecimal code has been packed into
object code by Line 50.
Well, there it is. I'm sure you'll find many more uses for
SUPERLOAD besides the ones I've illustrated. And remember all you
future software authors — no more “Initializing...” messages!
— Terry Barker
T.A.C.
T.AG. (Tactical Armor Command, Avalon Hill, $30.00) is a World War
{I armored simulation. You choose tanks, field guns, and infantry from
any one of four countries (U.S,, Great Britain, Germany, and Russia).
You direct their attack upon the enemy forces.
From the menu you choose one or two players, skill level (if playing
the computen, any one of five scenarios, and the points each player
gets for his forces (from 12 to 224).
The game is a stepped-up version of the TANKTICS game (also by
AVALON HILL). This time, the computer not only does all the com-
Putations, but controls the map as well. Each turn consists of several
Parts. The first part is tactical sighting. This is when the “active” ut
looks for all units in its line of sight (friendly and enemy). Next is the
Strategic sighting. Now the tactical sighting is put on the overall map.
Then comes the movement phase. Players set the speed for their
units. Then comes the indirect fire phase. Armor units may fire in-
directly at enemy units (both seen and unseen). Infantry and field guns
may load/unload in this phase. Then comes the second part of the
movement phase. When a player presses the button, the unit begins to
move. Players can turn their units by moving the joystick, but it is very
easy to oversteer.
| love the indirect fire mode. With a squadron of tanks, a skilled
Player can wipe out most slow tanks, all dismounted field guns, and
Infantry halftracks. In the engagement scenario, a player can lose half
his force in a single turn. But to keep a player from losing interest too
soon, there are four skill levels and four other scenarios. These range
from ‘static defense to stalemate. In some scenarios there are
minefields to worry about, besides the other player.
The graphics are excellent. The scrolling is outstanding, There is
some sound, but this is not the same quality as the graphics. The
game designer must have spent some time collecting all the informa-
tion on almost 40 different tanks. The computer determines the effec.
tiveness of a shot by computing the armor thickness, weapon caliber,
time tracked, and speed.
Overall, | think this is very good. But as a Squad Leader fan, | find a
maximum of eight units constricting. And the map is not very large
once a main battle tank gets rolling. This is one of the best wargames
I've seen in a long time.
—Aaron Ness
Page 16 (scan)
Atari Computer Enthusiasts A.C.E. is an independent, non-profit and tax exempt computer club and user's group with no connection to the Atari Company, a division of Warner Communication Company. We are a group interested in educating our members in the use of the Atari Computer and in giving the latest News, Reviews and Rumors. All our articles, reviews and programs come from you, our members. Our membership is world-wide; membership fees include the A.C.E. Newsletter. Dues are $12 a year for U.S., and $22 a year Overseas Air- mail and include about 10 issues a year of the ACE Newsletter. Subscription Dep't: 3662 Vine Maple Dr., Eugene, OR 97405. President— Kirt Stockwell, 4325 Sean , Eugene, OR 97402 503-689-5355, Vice Pres— Larry Gold, 1927 McLean Blvd., Eugene, Or 97405 503-686-1490 Secretary— Bruce Ebling, 1501 River Loop #1, Eugene, OR 97404 503-688-6872 Librarian— Ron and Aaron Ness, 374 Blackfoot, Eugene, Or 97404 (603)689-7 106. Editors— Mike Dunn, 3662 Vine Maple Dr. Eugene, Or 97405 503-344-6193 Jim Bumpas, 503-484-9925 E.R.A.C.E, (Education SIG Editor)-Ali Erickson, 295 Foxtail Cr., Eugene, OR 97405 (503-687-1133 E,R.AC.E. Corresponding Secretary-Robert Browning, 90 W. Myoak, Eugene, OR 97404 (603)689-1513, 4405 Dillard Rd. Eugene, Or 97405 Send 50c stamps or coin ($1 overseas) to the Ness’ for the new, up- dated ACE Library List —new in May 84 ! Best of ACE books Volume 1 contains bound issues of the ACE Newsletter from the first issue, Oct 81 to June of 1982 Volume 2 covers July 1982 to June 1983 Only $12 each ($2 extra for Airmail). Available only from: George Suetsugu 45-602 Apuapu St Kanoehe, HI 96744 SortFinder 1.2 A composite index of Atari related articles from 5 popular computer periodicals from Apr '81 to June '83, including ACE. Only $6 for ACE member from: Jim Carr, Valley Soft 2660 S.W. DeArmond Corvallis, OR 97333 NTHUSIASTS Maple Ds Eugene OR 97405 FIRST CLASS MAIL 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 30 East 13th Avenue Eu ene, Oregon 97401 Phone 503/683-2657 Bulletin Board (603) 343-4352 On line 24 hours a day, except for servicing and updating. Consists of a Tara equipped 48K Atari 400 with a TARA keyboard, 2 double-density double sided disk drives with an ATR 8000 interface, 2- 8” double density disk drives, an Epson MX80 printer, a Hayes SmartModem; running the ARMUDIC Bulletin Board software written by Frank L. Hu- band, 1206 N. Stafford St., Arlington, VA 22201. See the Nov ’82 issue for complete details.