Dale’s Atari 800 Games › ACE newsletters
ACE newsletter, April 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_04.
In this issue:
- Dale Lutz Tidbits: tips for disk users (page 4)
- Stan Ockers Life (page 8)
- Stan Ockers Life in Action! (page 14)
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)
Arani é Ng Computer ENTHUSIASTS 3662 Vine Maple Dr Eugene OR 97405 APRIL, 1984 Mike Dunn & Jim Bumpas, Editors
Page 2 (scan)
News and Reviews by Mike Dunn, Co-Editor There is not a lot of news from the Atari Company yet, but our President, Kirk Stockwell is going to the San Francisco Computer Faire and should come back with lots of new info — see next month's ACE. However, several ex-Atari employees are coming out with “Super-Atarilike” computers. The first, mentioned several months ‘ago, is, according to reviews, a super graphic IBM-PC compatible 80186 computer from MindSet (617 N. Mary, Sunnyvale, CA 94086). Designed by a team of ex-Atari people headed by Roger Badertscher, the head of the Atari Computer division in the early years, it has several special super-graphic chips like the GTIA, etc. It is supposed to have graphics and animations superior to what you see on TV cartoons, all for under $3000 for a complete unit, It is so good many of the software houses now producing top Atari software such as Synapse and DataSoft have already produced some fantastic games and graphic utilities for it. Looks like a real winner and | will love to get my hands on one. Another ex-Atari designer, Jay Minor, who designed the Atari super chips now works for Amiga and has designed another fantasitic graphicsianimation machine costing less than the IBMPCJr and be compatible with it Another new program annouced for the Atari is Jane. This is an integrated package with a word processor, Calc and database programs and uses a mouse. It is supposed to be like a combination of the Apple Mac programs and Lotus 123. By Arktronics (113 S. 4th Ave., ‘Ann Arbor, MI 48104) | am looking foward to seeing it Closer to home, we have several new disks ready for the exchange library, including a “Best of ACE #8” for $15 including an Iron-on ACE patch. This disk includes the TinyText update from the Dec. issue, run time versions of the ACTION! programs which do not require the ACTION! cartridge (thanks to Clint Parker, the Author of ACTION}), KONG! for those who cannot read the listings, and some surprises. Another is ACTION! Disk #1 that has the Source listings of our programs and more, including several utilites by Clint Parker, the author of ACTION! ($15). There is also a new PILOT disk, and a new Utility disk is almost ready. For a real bargain and some of the nicest programs | have ever seen, the Jacksonville ACE group (1187 Dunbar CT., Orange Park, FL 32073) has sent us several of their disks. Costing only $8 each, they include some of the nicest music/graphic programs I've seen/heard, and some great utilities, including MENUPLUS, which is on our BEST of ACE #8 above. Disks 25 and 29 have some great programs, and their Music. disk has to be heard. Please contact them for details. We charge more for our disks because the income is used to support our Newsletter (no advertising!) and Bulletin Board. Speaking of the Bulletin Board, there have been no new programs put on it recently because of lack of room, however, we have ordered two 8"drives which should give us plenty of room. Last months listings did not come out well. The ACTION! listing by Stan Ockers was mixed up (no line numbers to check!) and the KONG. listing was smeared. Elsewhere in this newsletter are the corrections. Sorry! BUMPAS REVIEWS Scroll | ($20, Superware, 2028 Kingshouse Rd., Silver Spring, MD 20904 301-236-4459) is a machine language program you can use as a subroutine in a program of your own design. Your programs may now easily include continuous scrolling in 8 directions. You may also control the speed of the scroll, and you can change the ANTIC chatacter mode. You can do all this without having to understand all the details of fine scrolling The manual is not a tutorial, but use of this program can be very instructive for someone learning about scrolling. The user is referred to "De Re Atari"and to the October, 1983 issue of ANALOG magazine for more information on fine scrolling. The 5-page manual describes the simple steps needed to incorporate the routine into a program. The disk also contains a demo program with a map of the Western Pacific Ocean. The scrolling routine is supplied in the form of a string variable, but it is also supplied in DATA statement format in case you cannot use a long string variable. I've always been a bit intimidated by scrolling. This package makes ‘me want to experiment with it in Several programs, BRUCE LEE In BRUCE LEE (Datasott, 19808 Nordhoff PI., Chatsworth, CA 91311, $30), Datasoft points the way to the next level of arcade games. AS Bruce Lee, you must work your way through 20 rooms to find and destroy the evil wizard. Each room in the wizard’s oriental castle has a series of hanging lanterns which, if knocked out singly or in a combination, will open a secret passage to the next room. Sound simple? If might be, except while you're doing this, you are being pursued by a large sumo wrestler called a Green Yamu, and a black Ninja. These, along with the Sword, Flaming Bushes, and energy traps create a myriad of hazards. You use the joystick to make Bruce Lee climb, run, leap, duck, chop and kick, Points are scored by entering new rooms, striking and knocking out the Ninja and the Yamu, and knocking down lanterns, Bruce Lee starts with 5 “falls and earns an additional one for every 40,000 points. The graphics are supurb, and the challenges quite varied. The manual implies that if you should win and destroy the wizard, the next sortie into the wizard’s castle will be tougher. I've only been able to survive through the first 10 rooms, so | haven't been able to check this point out yet. Besides the basic 1 plaver vs. computer, Datasoft has provided two other options: 2 players taking turns vs. computer, and player vs. player. This last option is unique and will give this game a longer life than most arcade-style games. One player runs Bruce Lee while the other runs the Green Yamu. This, in effect, gives the computer as Much intelligence as your opponent. All in all, | find BRUCE LEE to be a most challenging and satisfying program — Nickolas Chrones GUITARADE The Guitarist's Home Companion $29.95 by Richard Lindgren (Enabler Software, P.O.Box 58, Lamoni, 1 50140) To get away from the usual reviews about wargames, adventures, etc,, | volunteered for this review. As an avid guitar player, | find this program especially interesting. The Guitarist's Home Companion is a utility to help you improve your guitar playing. | must say the sound capabilities of the ATARI are used to the fullest, This program consists of four parts. They allow the user to display over 300 guitar chords, find the best chords for a song, transpose chords into different keys, and even help you tune your guitar. The chord encyclopedia holds over 300 guitar chords and can play the notes which make them up. If you want. you can dump the diagrams to a printer. The chord finder has the user input the known notes of a chord and the computer will find and play suitable notes to fill out the chord. You can also dump this to printer. The chord transposer can transpose a chord into any key. It comes complete with a chord diagram printed on the screen. Very helpful. Once again you can dump to a printer. | feel the guitar tuner is the best part of the program. | have used it to tune my bass guitar and a six-string guitar. A function allows the user to move up or down octaves or play notes not included in the main menu, | have never seen the sounds of the ATARI used so well. There was some distortion at very high and very low sounds, but this is. negligible. There is another function to change the default mode from sharps to flats Overall. | this is a very good job all around. The chord encyclopedia could be larger, around 1000 chords, but it is fine the way it is. When combined with a printer and a stereo hookup, this becomes a very powerful tool. Useful for all levels of guitar players. This program is compatible with ATARI 800, 800XL, 1200XL with a disk drive. The documentation is quite complete and easily understood. — Aaron Ness
Page 3 (scan)
Boulder Dash (First Star Software, $30) This is a very good arcade-style game modeled after the popular Dig-Dug game. The fact that it's produced by First Star, a company well known for it's hi-res graphic pages, should give you some idea of the well-done screens. In the game you move a constantly digging ant-like creature called Rockford through the earth, avoiding death by a falling boulder, or by any of the cave’s other occupants. To score points, you must collect rainbow colored jewels which dot the different caves, while keeping an eye on the ever falling time limit. After all the jewels in a cave are collected, you advance to the next cave, which, of course, is more difficult. In the beginning caves, there are just boulders and jewels, but beyond these ‘easy’ levels are ones containing deadly fireflies, butterflies, or even the dreaded Amoeba. These seldom visited lower levels are extremely difficult because of combinations of these characters, There are options for one or two players, a pause feature, and an allowance for difficulty selection. The documentation is adequate, but could be better. The game has its funny parts too. For instance, if you pause for a bit, Rockford will begin tapping a foot, patiently waiting for a response from the player. This is a popular game around our house. Even my parents enjoy playing it, and that's pretty rare for them to enjoy an arcade style game. The best attribute of the game is challenge. This is one of the hardest games I've yet seen for the Atari. If you love a good challenge, this one’s for you. — Tim Ebling ACE PICNIC The ACE picnic will be at Jasper Park, August 8, 1984. We're planning early, aren't we? One of the events at this year's picnic will be an auction, and 10%.0f the proceeds will be donated to the Willamette Institute of Science and Technology (known locally as "WISTEC’), The other 90% of the proceeds will go to the persons who put items up for auction. The items must be computer related, and software must be original retail copies with the complete original documentation, This will be an opportunity for people to exchange their software which they no longer use. New users can try out some commercial software for a low price. People wanting to upgrade hardware might find a buyer for old hardware. Those who cannot attend this year's picnic may still participate in the auction. Sellers must ship their items to Bumpas & Ridder, Attorneys at Law, 492 East 13th Ave., Eugene, OR 97401. Items which are not accompanied by enough money to reship to the seller and which remain unsold after the auction will not be returned until the seller arranges to pay for the shipping. Sellers must notify Jim Bumpas of the name and description of any items they wish to sell before 1:00 pm, Friday, June 22, 1984. The reason for this is the July newsletter will contain a notice announcing the list of items for sale at the auction, The list of auction items will be sent to anyone accompanying their request with a self-addressed and stamped envelope. This will give those out of town time to review the list to see if they wish to bid on any items. Sellers may specify a minimum bid they will accept. | advise you to keep the minimum as low as possible to stimulate the start of bidding. Once bidding on an item begins, the price rises dramatically, We won't spend a lot of time ‘on each item. If no one bids promptly, we'll pass the item and it'll probably remain unsold, Buyers from out of town will list the items for which they want to bid and the highest price they will bid. These lists will not be seen by any bidders at the auction until it’s over. Auction officials will bid $1 higher than the current bid on the selected items until the seller's limit is reached. Absentee bidders must accompany their lists with a check made out to ACE drawn in an amount equal to at least 25% of the maximum total of all bids they wish to make. Buyers whose checks do not clear before the day of the auction will not have their bids executed. If any balance is owing for purchased items, buyers must pay the amount due within 10 days after the auction, or else these items will be sold to the next bidder on the item. Buyers must pay for all shipping costs. Buyers attending the auction must pay cash for items purchased. Sellers will receive cash or check for 90% of the price their items bring at auction, plus a receipt for the other 10% signed by an official of WISTEC. XBASIC (by George Schwenk (c) 1983 by SUPERware 2028 Kingshouse RD, Silver Spring MD 20904) Description: Atari BASIC enhancement Medium: Disk or cassette Requirements: disk drive or cassette recorder, Atari BASIC, 16K RAM (XBASIC uses less than 3K of RAM) Cost: $29.95 XBASIC adds a library of thirty new functions which will help you accomplish otherwise time-consuming programming chores with relative ease. Each of these machine language subroutines is accessed by the USR command from Atari BASIC. The disk version of XBASIC contains an initialization file and six examples of short programs which use several of the functions. A thirty-page manual concisely describes each of the functions with examples of how to incorporate them in BASIC programs, but does not explain much about how it all works. However, SUPERware offers to provide the source code to those who might wish to modify or better understand what Mr. Schwenk has done. The cost for the source code is $5. Furthermore, permission is given to include XBASIC in commercial software, provided credit is given to SUPERware. ‘An example of one of the functions in XBASIC is DLIST. By typing X=USRIDLIST), you will get a disk directory listing without calling bos. If you have wished Atari BASIC had string arrays, you might appreciate XBASIC’s four string functions. SDIM dimensions string arrays; PSTR puts a character string into a string array; GSTR gets a character string from an array; INSTR searches a string array for a substring. Also included are three similar array functions tor integers. iO functions are PCHRS, GCHRS, SSAVE and SLOAD. Use PCHRS to put bytes from RAM to a disk or cassette file; GCHRS gets them back. These are great for saving or loading your own character sets. SSAVE saves the screen; SLOAD loads it from disk or cassette. SMOVE. a related function, changes the RAM area to be displayed on the screen, which is useful for page flipping. Memory functions are CLM (clear memory), FILL (fill memory), MOVE (move memory from one location to another; used for character sets or players, etc.), DPEEK (double peek a two-byte sequence) and DPOKE (a two-byte poke). Also included are two timing functions. STIMER (set timer) sets a countdown timer. DELAY waits for the amount of time you specify. Two sound functions, VDIM and XSOUND, are used to play a sequence of sounds during vertical blank interrupt, one sound each 160th of a second. XBASIC has a special graphics call (SGA) which makes it easy to set up ANTIC modes 4 and E, with or without a fourline text screen. For example, “GR.0:DUM =USR(SGR.2)"sets up a full-screen four- color ANTIC mode 4 screen. Finally, XBASIC provides seven playerlmissile graphics functions, which enable, move, set the size and color of, and detect collisions of players and missiles. PMOVE moves the desired player to any x.y location and uses shape data from any part of RAM. There are two ways to use XBASIC. The first is to add it to an existing program. The procedure is to LIST "D:YOURPROG" (or LIST "C:"), LOAD XBASIC, and then initialize XBASIC by typing GOSUB 32500 in the immediate mode. [XBASIC uses line numbers 1-12 and 32490-32502] Next, ENTER your program back into memory. Finally, type X=USR(XSAVE)SAVE “D:YOURPROG” (or CSAVE). This procedure will save XBASIC along with your BASIC program. The second method is to use XBASIC when writing a new program. You must begin by loading and initializing XBASIC before typing in your program. When editing your XBASIC programs, it is necessary to begin each editing session by initializing XBASIC, and to use X =USR(XSAVE) before saving. | learned that the hard way, although | had read the directions prior to starting. My problem is | like to save my programs frequently, and | occasionally forgot to use XSAVE, or else forgot to initialize XBASIC at start-up. XBASIC uses page 6. | spent several hours trying to convert a program from a magazine to XBASIC, only to discover it would not operate correctly because it already had a non-relocatable machine language routine stored in page 6. Although 40 bytes (1561-1600) are used only by DLIST and are free for your use unless you use DLIST, you must face the reality of this limitation to XBASIC if you already use other routines designed for page 6. The object code for XBASIC is, stored as part of the variable name table. | find it difficult to recommend XBASIC to beginners, but more experienced BASIC program developers may find these new functions facilitate faster programming, as well as faster program execution. Mr. Schwenk appears to be a conscientious programmer who offers others a way around re-inventing the wheel. And if you are one of those hackers who like re-inventing in the hopes of making a better Wheel, perhaps you should take advantage of his gracious offer to provide the source code. —Deloy Graham
Page 4 (scan)
TIDBITS Tips for Disk Users This month | am going to start in with some quips of special interest to those with disk drives. But before | do this, | want to address some comments to those of you who enjoyed the first Tidbits articles. Now that | have the attention of all three of you, | will continue. If you yearn to learn of more locations to PEEK and POKE, you should check out the following publications which | feel are very good: Mapping the Atari (by COMPUTE! Books), Master Memory Map (by Educational Software), and De Re Atari (available from the Atari Program Exchange — this is not really a memory map, but it will tell you alot about how to use some of Atari's fancier features). Even the back of the Atari BASIC feference manual contains a short list of locations you may wish to POKE around. First, a POKE of interest to all users. Location 65 controls whether or not you will hear the buzzing and beeping of disk and cassette in- putioutput operations. POKE it with a0 to turn the sounds off, a 1 to turn them back on again. This may be useful in a professional applica- tions program or if the noise irritates you, but personally, | like to be able to hear what is going on. If you ever want the files in your disk directory to be in a certain spot or order, this next tip is for you. First of all, place a freshly initialized disk in your drive and write the following dummy program: 10 DIM D§(20):FOR A. 20 DS = "D:JUNK":D8(7 30 SAVE DS:NEXT A Now to put a program wherever you want, simply delete the dummy program in the spot you wish to use, and SAVE out your chosen pro- gram. The reason this works is that DOS always uses the first empty spot it finds in the directory. You can change the values in the FOR- NEXT loop if you want more or less ‘slots’ reserved. have some friends with Apple computers who are always giving me a hard time about my 800 and its disk operating system. They en- joy making claims about how easy it is for them and how hard it is for us to manipulate disk files from BASIC. Well, they don't know about the XIO command. It allows Atari BASIC to lock, unlock, rename, and delete files as slick as the proverbial whistle. It's so easy | won't even explain it here — page 30 of the BASIC reference manual gives ex- amples, and, if those aren't clear enough, just look over the TinyDOS listing from a couple of months ago. Have you ever wondered what is in your Atari's memory? Some day if you have nothing to do and want to try something different, type the following immediate-mode line: FOR A =600 TO 32000:?CHRS(PEEK(A));:NEXT A Watch for words to appear. Most of what you see Is of absolutely no meaning to you, but you may notice something interesting. Now, if we change the 600 to a 40960 and the 32000 to a 49152, we can see the side of the BASIC cartridge. If you are patient enough, you're bound to come across some BASIC words. So what? Well, if you can PEEK memory, you should be able to POKE it, too, so we can change words, etc, to what we want. Unfortunately, the BASIC cartridge is ROM, which means we can POKE it all we want and it will just ignore us. But we can change RAM, and so we could change such things as DOS. Program 1 this month is just such a program. It is for those of you with OS/A + 2.10 who might like to change the commands, When run, this program will show you the existing command, and ask you for your ‘command, Hitting only RETURN will result in the command not being changed, otherwise, enter in your three letter command and press RETURN. The program will POKE your changes into memory. If you wish to make the commands part of the system whenever you boot up, use the INIT command to write a new DOS file to your disk. — Dale Lutz ‘Canada TECHNICALLY SPEAKING (reprinted trom the Dec., 1983 issue of the Huntsville, Alabama Atari Users Group Newsletter) Last month | showed an example of a machine language routine called from BASIC via the USR function. That routine to porform a search was binary loaded on page 6 of memory. There are several different ways to incorporate these routines into a progam The method | want to demonstrate involves converting the machine code into an ATASCII string. The BASIC program has to dimension a string variable and then define the variable. The machine language routine is then available with a USR call to the address of the string variable. Since the string is defined by the program, it is saved as part of the program and does not have to be poked into memory. Another advantage is you don’t have to limit yourself to a routine which must fit into a safe part of memory (ie., page 6) because BASIC will keep track of the routine as a string, preserving it. Since we do not know where in memory the string will be at a given time, it is generally best to make the routine relocatable. The search routine | showed you last month is relocatable; all branches were relative branches without JMP and JSR instructions. Therefore the routine could be anywhere in RAM and work properly. If you must have your routine in a certain place in memory, you can have the routine relocate itself to that location. Of course you will have to move it to a location you have protected. Converting a machine language routine to an ATASCII string could be a lot of work, Fortunately | wrote a BASIC program to do all the work for you. Listing 1 is a program which will read the binary fite (your object code for the routine) from the disk and generate the BASIC lines to dimension and define the string as MLS. You then input a filename and the program LISTS those lines to the disk. Since this program generates those lines beginning at line number 1, your BASIC program should start with a line number of 10 or greater depending on the length of the machine language string. Then you only have to load your BASIC program, ENTER the file with the lines for the string, and resave the program. Since BASIC will not allow you to define a string variable with a quotation mark character and since an EOL (return) does not have a printable screen character, line 1130 of Listing 1 checks for these codes and changes them to question marks. The program then generates additional lines for the BASIC program which defines those individual codes with the CHRS function. | took the search routine from last month, ran this program on it, and merged the generated lines with last month's BASIC test program. Listing 2 is the result, Line number 1 dimensions MLS and line 2 defines the string variable as the ATASCII representation of the machine code. If there had been ‘a code in the routine which represented an ATASCII quotation mark, then a third line would have been generated reading: 3 MLS(x,x) = CHRS(34) where x is the position of the “in the string. The only change necessary to this program is at line 80 where USR(1536....) is changed to USR(ADR(MLS)...). If you typed in the assembly source code last month, give these two programs a try to see how easy this method is. If you use the program at Listing 1 to convert your own ML routine to ATASCII strings, keep in mind it will work only with object codes saved as normal Atari DOS simple binary files. This means you must save your code in one step using no append function. —C. Mueller . HARK AK KKK AKER M.U.L.E. TOURNAMENT 12 NOON, APRIL 15. 2160 West 11th Avenue, 1984 Eugene $3 Entry Fee All fees = for more information, Prizes for Winners call: Jim Bumpas 484-9925 FOI 4
Page 5 (scan)
Shane Rolin: PROTECT YOUR PROGRAMS Programs and routines copyright 1983-84 Shane Rolin (P.A.C.E-, 118 South Ridge Dr., Monroeville, PA 15146) This article will describe to the user several ways of protecting 'SAVEd' Atari Basic programs. The main problem in protecting Basic programs is with the 'SAVE' to disk or cassete command. The task of protecting a 'SAVEd' programs is difficult because of the many different ways a program cen be stopped by the user or by errors. I will explain the following methods: 1: Protecting against the [BREAK] key. 2: Protecting against [SYSTEM RESET]. 3: "BLOWING' the Variable Name Table. 4: Erasing End of Statement pointers. 5: Other. 6: Routines to do the above. Protecting against the [BREAK] key The Break key has always presented problems for protection because when the user presses the [BREAK] key, program execution is stopped, and the program is then listable. Disabling takes tuo simple POKE values. The tuo values aret POKE 16,112 POKE 53774112 POKE 16,112 is a POKEY interrupt. It's shadow is 53774. POKE 112 into both of these locations in order to prevent the [BREAK] key from stopping your program. It should be noted that the GRAPHICS command will re-enable the [BREAK] key, so the user should POKE these values very frequently. A good idea is to use the Machine Language Subroutine that I have written. Put the subroutine at line 999 and in your program define the variable 'BREAK' to equal 999 and throught your program execute several 'GOSUB BREAK’ commands. The subroutine will execute and then RETURN. Protecting against [SYSTEM RESET]. When the user presses the [SYSTEM RESET] key, a JMP $AO4D is executed in the BASIC cartridge which is the Warmstart subroutine, and all previous 'POKEd' values are returned to default. The tuo POKE values to disable the [SYSTEM RESET] key are: POKE 580,1 or POKE 9,255 Location 580 is the coldstart flag. If this location is 'POKEd' with a 1 (powerup in progress flag is set) , the computer will reboot whenever the [SYSTEM RESET] key is pressed. Any non-zero number betueen 1 and 255 will also do the same. Location 9 is the boot flag success indicator. When 'POKEG' with 255, the user program will lockup when [SYSTEM RESET] is pressed. Use the Machine Language routine that I have already described. It also contains these tuo POKE values. "Blowing' the Variable Name Table. Blowing the VNT is one method of preventing a program from being modified. This will allow the program to be listable, but all of the variable names will be ‘messed’ up. By executing the second routine that I have written, it will change all of the variable names to a RETURN, which will make the program almost inpossible to understand. Execute this routine by a GOTO 32700 comand from direct mode. Erasing End of Statement Pointers. Erasing End of Statement Pointers is a good way to protect programs from being 'LOADed', 'LISTed', and modified. By executing the third subroutine I have written through a GOTO 32700 command, the current statement pointer will be set to O and will allow your program to 'RUN' normally even though it cannot be 'LISTed' or 'LOADed'. Other methods. Another method of program protection is by doing both Blowing the VNT and Erasing the ESP’s. The fourth routine I have supplied does just that. Execute this routine by doing a GOTO 32700 from direct mode. This will almost make the program impossible to change through any other method except the program that I have uritten to reverse this process which will soon appear in the neusletter. ROUTINES
Page 6 (scan)
O REM Listing 1: 1 REM Disable the [BREAK] and 2 REM [SYSTEM RESET] keys. 3 REM 4 REM Machine Language Subroutine 5 REM by Shane Rolin 6 REM 7 REM TO USE: 8 REM Simply put 'X=USR(1536)" 9 REM in any program line. 10 REM 100 FOR A=O TO 17:READ B 110 POKE 1536+A,B:NEXT A 120 DATA 104,169,112, 133,16 130 DATA 141,14,210,169,1,141 135 DATA 68,2,169,255,133,9,96 140 REM 150 REM Subroutine in M/L as follows: 160 REM PLA 170 REM LDA #$70 180 REM STA $10 190 REM STA $D20E 200 REM LDA #$01 210 REM STA $0244 220 REM LOA #SFF 230 REM STA $09 240 REM RTS 250 REM 0 REM Listing 2: 1 REM Subroutine to change all 2 REM variables to CHR$(155)~ 3 REM the RETURN character. The 4 REM user may change the POKE 5 REM value in line to any ATASCII 6 REM character. Change the SAVE 7 REM in line line 32710 to your 8 REM own filename or Cz 9 REM 10 REM by Shane Rolin 11 REM 12 REM TO USE: 13 REM Type GOTO 32700 in direct 14 REM mode. 15 REM 16 REM 32700 FOR VNT=PEEK(130)+PEEK(131) *256 TO PEEK(132)+PEEK(133)*256 32705 POKE VNT,15S:NEXT UNT 32710 SAVE "D: filename" O REM Listing 3: 1 REM Subroutine to erase the 2 REM End of Statement Pointers. 3 REM 4 REM by Shane Rolin 5 REM 6 REM TO USE: 7 REM Type GOTO 32700 in direct 8 REM mode. 9 REM 32700 POKE PEEK(138)+PEEK(139) *256+2,0:SAVE "D:filename":NEW 0 REM Listing 4: 1 REM Subroutine to change all 2 REM variables to CHR$(155)- 3 REM the RETURN character. The 4 REM user may change the POKE 5 REM value in line to any ATASCIT 6 REM character. Change the SAVE 7 REM in line line 32710 to your 8 REM oun filename or C: 3 REM This program also erases 10 REM the End of Statement 11 REM Pointers. 12 REM by Shane Rolin 13 REM 14 REM TO USE: 15 REM Type GOTO 32700 in direct 16 REM mode. 17 REM 100 FOR A=0 TO 17:READ B 110 POKE 1538+A,B:NEXT A 120 DATA 104,169, 112,133,16 130 DATA 141,14,210,169,1,141 135 DATA 68,2,169,255,133,9,96 140 REM 150 REM Subroutine in M/L as follous: 160 REM PLA 170 REM LDA #$70 180 REM STA $10 190 REM STA $020E 200 REM LDA #$01 210 REM STA $0244 220 REM LOA #$FF 230 REM STA $03 240 REM RTS 250 REM 999 X=USR(1536) 32700 FOR VNT=PEEK(130)+PEEK(131) *256 TO PEEK(132)+PEEK(133)*256 32705 POKE VNT,155sNEXT VNT 32710 SAVE "D:filename":NEU MEETING Weds Apr Il South Eugene High Cafeteria 6 7:30 PM Hear about the Faire
Page 7 (scan)
David Fuller: GLOBAL CHANGE
1 REM
2 REM ¥* GLOBAL FILEMANAGER CHANGES ¥
3 REM we by David Fuller cad
4 REM * reprinted from H.A.c.K. #0
5 REM ¥(Helpful Atari Computer +e
6 REM * Knewsletter, Feb 9, 1984
7. REB OBOE IOIIE
10 TRAP 1028:GOSUB 110@:PRINT CHRS (125
2; TTL
28 REM * GET FILE WANE
38 PRINT :PRINT “ Insert Filemanager D
ata Disk
5@ PRINT :PRINT " Enter name of file "
jEIMPUT ANSRS
6@ FILES=AWSRS: FILES (LEM CFILES) #1)=".F
MT": FLNAMS=QNSRS :TDH=1
78 REM ¥* GET AMD DISPLAY FIELDS
88 PRINT CHRS(125);TTLS:POKE 752,8
98 OPEN #1,4,8,FILES
108 INPUT #1;NUMFLDS
11@ INPUT 1 ;FLONS
126 FOR =i TO S:IWPUT ®1;A:FMOND=O:NE
XT Wea:
130 CLOSE Mi:LE=LEMCFILES) :FILES(LE-Z,
LED=".IDH":OPEM M1,4,8, FILES
148 FOR TO StIWPUT Mi ;IDK1:WEXT WM:
IMPUT 11; IDM2: INPUT M1 ;1DK3
150 PRINT :PRINT "File ";CHRS (34); FLNA
MS ;CHRS (34) ;" has “;MUMFLDS;" fields"
16@ PRINT :PRINT “Field names"
178 PRINT LINS: 51C=3
180 FOR N=1 TO WUMFLDSX12 STEP 12:0=0+
ry
19@ B=BA:IF @=11 THEM C=28:B=6
208 IF A=18 THEM C=2
218 POSITION C,B:PRINT 4;". “;FLONS(H,
weit?
220 MEXT M:POSITION 2,16:PRINT LINS
238 IF IDK=@ THEM PRINT " HO INDEX FOU
ND ":G0TO 288:REM “CIMVERSED"
248 PRINT “Indexed fields: ";
250 IF IDKi)@ THEM PRINT IDHI;
268 IF IDK2)@ THEN PRINT
278 IF IDM3)@ THEM PRINT ".
28@ PRINT :PRINT :PRINT " Which field
to search on
298 PRINT “Which field to change ";:IN
PUT CHGFLD
308 REM # DISPLAY INSTRUCTIONS
3410 PRIWT CHRS C125); TTLS: CHGFLDS=FLONS
CCCHGFLD~1) #1241, (CCHGFLD~1)#12412)
320 SRCHFLDS=FLOMS ((SRCHFLD-12%1241, (5
RCMFLD-19%124129
‘330 PRINT :PRINT “* “;CHGFLDS)" has ";
FNCCHGFLD) ;" characters
‘340 PRINT "X "; SRCHFLDS
NFLD);" characters, ":PRINT
350 PRINT LINS:PRINT “ If entry is enc
losed in Quotes"
368 PRINT
TEST; CHRS (34)
378 2“ any record in which this field
“contains the letters between":?
" the quotation marks will be changed,
388 PRINT LINS:PRINT " If entry is enc
losed in asterisks":PRINT " ZAM)
3TESTH": PRINT " any records in whi
ch this field
396 PRINT " not contain the letters be
tween" :PRINT “ Asterisks will be chang
ed.":PRINT LINS
408 REM ** GET CRITERTA
495 CHES=" ": CHGS (255)=CHGS:CNGS(2)=CH
6
4418 POSITION 2,18:PRIMT “Search for: "
jsIMPUT CRITS
428 POSITION 2,1
HINPUT ASRS
425 CHGS (1, FM CCHGFLD? )=ANSRS
438 POSITION 2,28:PRINT “Use Query (Y/
Wp SINPUT ANSRS
440 TF ANSRS CLL
0 460
458 QUERY=@
460 POKE 752,1:POKE 764,255:POSITION S
/22:PRINT " CORRECT MY[Vfnd)
476 PE=PEEK (764) :1F PE=255 THEN 470
480 IF PE=35 THEM POSITION 2,16:PRINT
“QRERED'; :POKE 764,255:POKE 752,0:60T0
410
490 IF PE=42 THEN RUM :REM "E"
506 IF PE=43 THEW 520:REM “'¥"
518 GOTO 478
528 REM ¥* BEGIN SEARCH
538 PRINT CHRS(125) ;TTLS:RN=1
540 FILES (1, 14LEW(FLNAMS))=FLNQMS:FILE
S$ CLEN (FILES) #19=", DAT"
558 CLOSE ML:0PEM 1,12,8,FILES
568 H=1:FOR TO MUMFLDS
578 IF SRCHFLD=" THEN STSRCH=
CH=FNOD
580 IF CHGFLD=N THEM STCHG=H:LMGTHCHG=
FMCW
598 HEKEFM(ND INERT W
680 REM ¥* GET FILE AMD CHECK FOR HATC
"
610 FOR N=1 TO LEMCCRITS) :MS=CRITSEW,H
?
GEETIMMA: "; CHRS €34) ;"
:PRINT “Change to:
MGTHSR:
620 IF HS="%" THEN STYPES="()":POP 360
To 658
630 IF HS=CHRS(34) THEN STYPES: PoP
6010 650
648 WEXT W:STYPES: 16070 698
65@ LHTH=LENCCRITS? :1F CRITSCLNTH,LNTH
2 OR CRITS CLNTH, LHTHD OCHRS (34) T
HEM 676
668 CRITS=CRITS(2Z,LEM(CRITS) :GOTO 688
7
678 CRITS=CRITS(2,LNTH-1)
680 LNTHSLEM(CRITS?
698 MOTE M1,5EC,BYTE:INPUT Wi ;INPTS
70@ POSITION 2,2:PRINT “Record #: ";RW
748 POSITION 2,4;:PRINT SRCHFLDS;":"5
728 POSITION 5,6:FLDIS=IMPTS (STSRCH, ST
SRCH* (LNGTHSRCH-1)) :PRINT FLDIS
738 POSITION 2,13:PRINT CHGFLDS; "5";
748 POSITION S,15:FLOZS=INPTS(STCHG, ST
CHG+CLNGTHCHG-1)):PRINT FLD2S
758 POSITION 2,19:PRINT "Changed to: "
768 POSITION 5,2@:PRINT “{XxmEREEI"
778 IF STYPES="()" THEN 83@
788 IF STYPES: * THEM 886
798 REM #* CHECK FOR = OR >
808 IF FLDIS(1,LEMCCRITS)2=CRITS THEN
818 RN=RNH13G0TO 698
828 REM ** CHECK FOR (>
838 REM
840 FOR W=1 TO LENCFLD1$)-LNTH
850 IF FLDAS(N,MFLNTH-1)=CRITS THEN RN
=RNFL:G0TO 696 =
868 MEXT M:GOTO 928
878 REM ¥* CHECK FOR =
888 FOR W=1 TO LEMCFLDIS)-LWTH
890 IF FLOASCN,NHLNTH-LI=CRITS THEN 92
6
908 NEXT N:RM=RN+1:60T0 698
918 REM ** CHANGE FILE @MD PUT BACK
928 IF QUERY=6 THEN 988
930 POKE 764,255:POSITION S,22:PRINT “*
Change this record (¥/W) 2
940 PE=PEEK(764):IF PE=255 THEN 940
950 IF PE=43 THEM 980:REM "Y"
968 IF PE=35 THEM RNRN+L:GOTO 698:REM
rH
978 GOTO 940
988 POSITION S,21:PRINT CHGS(1,LNGTHCH
G) SIMPTS (STCHG, STCHG? (LMGTHCHG-1))=CHG
$
998 POINT M1, SEC,BYTE:PRINT #1 ;INPTS
1880 RN=RM+1:60TO 698
1018 REM %% CHECK FOR ERRORS
1028 TRAP 1676:ERR=PEEK (195) :ERLIN=PEE
(186) #256¥PEEK (1879
1038 IF ERR=136 THEN 1060
1040 IF ERR=178 AND ERLIW=13@ THEN IDK
=8:G0TO 158
1058 POSITION 2,22:PRIMT “Error ";ERR;
"at Line ";ERLIN:5TOP
1068 CLOSE Mi:POSITION 16,22:PRINT “ (i
“TPILES (LE-3,LED=", IDK":
RIO 33,1, 0,8,FILES
1078 IF (CNGFLD=ID¥12 OR {CHGFLD=1Dx2)
OR (CHGFLD=IDK3) THEW DEL=1
1088 IF DEL=1 THEN POSITION 10,22:PRIN
Te FILES (LE-3, LED=".
TOR":IO 33,21, 0,8, FILES
Page 8 (scan)
5 ACTION! LISTING
$ ACE WENSLETTER, 3662 VINE MAPLE DR
4 EUGEHE, OR 97465 $22 YEAR
4 LIFE BY STAN OCKERS, APRIL 1984
MODULE $ LIFE in Action!
BYTE x,y, tot, consol#53279, hue
BYTE ARRAY 01d(488) ,new(496) near (7)
CARD cat,pos,pop,gen
PROC Nbors() } Find # neighbors of sq.
tot=# posaya2ex
SetBlock(near,8,8)
IF y> THEN
TF x6 THEN
IF old(pos-21))8 THEN
tot==+! near(#)=0ld(pos-21)
FIFI
IF old(pos-26)>8 THEN
tote=+i near (1)=0ld(pos-29) FI
TF x<19 THEN
IF old(pos~19) 8 THEN
tote#+1 near (2)=0ld(pos-19)
FIFI FL
TF (19 THEN
IF old(pos+l)># THEN
tot==+1 near (3)=0ld(pos+!) FI FI
IF y619 THEN
TF x19 THEN
IF old(pos+2i) 6 THEN
tot=*+1 near (4)=0ld(pos+21)
FIFI
TF old(pos+26))8 THEN
tote=+! near(5)*old(pos+26) FI
TF x) THEN
IF old(post19) 8 THEN
tot==+1 near (6)#0ld(pos+19)
FIFI FT
IF x6 THEN
IF old(pos-1)>8 THEN
tot==+1 near(7)=old(pos-1) FI FI
RETURN
PROC Init()
CARD dl
Graphics(1) x=19 y=18 hue=1
Setblock(old,480,8) Setblock (new, 480, 8)
dl=Peek (568) dl==+256#Peek (561)
Poke(d1#25, 78) Poke(dl+29,6) Poke(82,6)
Poke(d1+38,6) Poke(456,#) Poke(657,7)
Print("l1Fe*) Poke(657,29) Poke(752,1)
Print(*Written in Action!") Poke (656, 1)
Poke (487,22) Print (*generation")
Poke (656, 2)
Poke(657,2) Print (*populatio
RETURN
a")
Stan Ockers: LIFE
PROC Dly(CARD wait)
DO waite=-1 UNTIL wait=# OD
RETURN
PROC Cursor ()
BYTE stk,under
Dly(1966) Position(x,y) PutD(6,128)
Diy (1868) Position(x,y)
under=old(y#26+x)
TF under#@ THEN PutD (6,32)
ELSEIF under#1 THEN PutD(6,42)
ELSEIF under=2 THEN PutD(é, 16)
ELBEIF under#3 THEN PutD (6,178)
ELSEIF under=4 THEN PutD(6,138) FI
stkeStick(6) stkes!15
TF stkel THEN IF y>8 THEN y==-1 FI FI
TF stke2 THEN IF y(19 THEN yaee! FI FI
TF stkid THEN IF x8 THEN xe=-1 FI FI
TF stk THEN IF x<19 THEN xeee] FI FI
IF STrig( THEN
IF old(y#26+x)=@ THEN old(y#26+x) =hue
ELSE old(y#26+x)=6 FI Poke(77,6)
DO UNTIL Strigi#)=1 OD FI
DO UNTIL STrigi@)=1 OD
TF consol#5 THEN hues=+1
IF hue=5 THEM hue=t FI FI
TF consol<>6 THEN
DO UNTIL (consol&7)=7 OD FI
RETURN
PROC Fillser()
Position(8,6) pop=8
FOR cnte@ 10 399
DO IF old(cnt)={ THEN PutD(6,42)
ELSEIF old(cnt)=2 THEN PutD(6, 18)
ELSEIF old(cnt)=3 THEN PutD(s, 178)
ELSEIF oldicnt)=4 THEN PutD(6, 138)
ELSE PutD(s,32) FI
TF oldicnt)>9 THEN pop==+1 FI OD
Poke (656, 1) Poke(657,35) PrintCigen)
Poke(656,2) Poke(457,15) PrintCipop)
Print(® =")
RETURN
PROC Nxtgen()
BYTE try,j
FOR y= T0 19
DO FOR x=8 TO 19
DO Nbors() new(pos)=8
IF old(pos)>6 THEN
IF (tot=2)0R(tot#3) THEN
new (pos) =old (pos)
FL FT
IF old(pos)=8 THEN
IF tot#3 THEN
FOR cnt=@ 10 7
8
DO try=near (cnt)
FOR jzent+! 107
DO IF(near(j)=try)AND try)6
THEN huestry EXIT FI OD OD
new(pos)shue FI FI
oD oD
RETURN
PROC Main()
bo
Init’) geneé
‘DO Cursor () UNTIL consol=6 0D
DO Nxtgen() Fillscr()
FOR cnt=@ 10 399
DO old(ent)=newient) OD
genese!
IF consol#3 THEN EXIT FI OD OD
RETURN
GLOBAL (con't)
1698 CLOSE M1:FILES(LE-3,LE!
KE 764,255:G0TO 88
1108 REM * SET UP VARIABLES
1118 PRINT CHRS (125) ;:DIM TTLS (362 :TTL
go" GLOBAL CHANGE PROGRAM
1128 DIM ANSRS (255) , FILES (17) , FLOMS (26
8), LINS C40) , CHGFLDS (12) , FCTS (48) ,FLNA
S17), CRITS (38), SRCHFLDS (12)
41138 DIM CHGS (255), IMPTS (255) , HS (1), ST
YPES(2) , FLD1$ (255) , FLD2$ (255) , FM (26)
FMT" :P0
1158 RETURN
MEETING
Weds Apr 11
South Eugene High Cafeteria
7:30 PM Hear about the Faire
Page 9 (scan)
ro <I niieeiineieineiiciaitiiiainiiininainaiieied 20: DIG=0;: E=0: COLOR 76:PLOT AH, Av: 200 ST=STICK(O):IF ST=14 AND U4 THEN LOCATE H,V-U,2Z:IF ZZ(78 THEN COLOR J: U<23 AND L<3 THEM Loc ATE W,U+U,ZZ:IF 2278 THEN COLOR J:PLO TH, »TZ:IF 72(78 THEM COLOR J:PLOT H,U:H=H 203 IF ST=7 AND H(36 THEM LOCATE HtU,Y sEZ:IF ZZ(78 THEM COLOR J:PLOT H,V:H=H 4 204 SS=STICKCUD1IF PL=1 THEM 218 205 IF 5: > AV)Z THEM LOCATE AH,A -U,K:IF K=J THEM COLOR J:PLOT aH, V=AV-1:COLOR 78:PLOT al 206 IF 55-13 AND QU(23 THEN LOCATE aH, UHH, KF THEN COLOR J:PLOT AH, Av: AV=AUEL:COLOR 78:PLOT AH, av 207 IF SS=11 AND QH)4@ THEN LOCATE aH- 1,AV,K:1F K=J THEM COLOR J:PLOT aH, avs QH=AN-1:COLOR 78:PLOT AH, AV 208 IF SS=7 AMD AH(38 THEM LOCATE ants 2AV,KSTF K=J THEM COLOR J:PLOT AH, AV:0 OLOR 78:PLOT AH, AY 9 THEN 998 THEN GOSHB 368 18 AND CY=@ THEN L=3 1) AND V=21 AMD CY= AND U=4 AND BP=B THEN 600 AMD CH)OT THEN SOUND U,21,8 THEM POKE P,@:P=P-1:F=PEEK( KE P,AS:IF F(34 THEM 258 FOR W=15 TO @ STEP -2:SOUND U,77,8 WiNERT Wi CRELLG:SOUND Ua HU:FOR WU TO 35:MEXT W:COLOR J:PLOT H 1VtGOTO 98 688 COLOR 32:PLOT 3,4:COLOR 79:PLOT 3, 3 685 SOUND U,0,0,:FOR W=258 TO 38 STEP ~AO:FOR MH=M TO W-25 STEP -1:SouND 0, WH, 20, 10:NEXT WH:MERT W G18 POSITION 2,1:7 SHS; :POSITION 2,3:7 3 ‘OR WE3@ TO S STEP -1:SOUMD 0, H,10,10:NEXT W 62@ POSITION 2,1:? SHS(18,12) :POSITION 2,212" UMD Q,H,18,18:WEXT 636 POSITION 2,1:7 @ STEP -1:FOR W=3@ TO 5 STEP -1:SOUND 0,H,10,WM:MEXT M:MERT HA 658 GoSuB 958 699 LEV=LEV#i:G0T0 949 888 FOR Wi TO 35:POSITION 2,2:7 SHS;1 SOUND U, PEEK (53776) ,8,15:POSITION 2,2: POSITION 2,3 NEXT W 818 FOR W=iS TO @ STEP SOUND U,PE £K (53770) ,8,W:MEXT W:GOTO 980 899 GOTO 399 986 SOUND U,0,0,0:G05UB 32¢:G0SUB 320: GOSUB 950:K: 918 POSITION 12,0:2 “6 HF F.IJ 940 IF PEEK(S3279)()6 THEM POKE 709,IN ‘TCRMD C0)*15)*16410:G0T0 948 248 SC=O:LEt 949 POSITION 6,2 an 958 POSITION 22,0:7 "LM ";DIG;" ":FO R HEU TO DIG:FOR WH=15 TO OQ STEP -2:50 UND Q,7,18,WH:MEXT Wo:SC=SC+U:POSITION 6,0 955 ? SC:NEMT M:POSITION 22,0:7 " R"; OR Well TO 77:WEXT W 966 IF ROK) THEN FOR H=U TO ROK:FOR W W15 TO Q STEP -U:SOUND Q,21,10,HH:NEH 1 WHrSC=SC#2:POSITION 6,0 965 POSITION 22,0:2 " 70,0, 0:RETURE 32080 DIM PRS (5S), SHS(132 Br PRS CU, 41) =" $),Z,4):FOR M=Z+128 TO 2+20; KE H,D:MEKT Wr SHS: 32015 FOR WZ+272 TO Z+511:READ W,D:POKE W,D:NEXT W:POKE 752, 1536 TO 1551:READ DIPOKE W,D:MEKT W 32028 POKE 756,CB: EEK (560) #2568PEE K(561) :POKE DL#3,69:FOR H=6 TO 28:POKE MEDL, 4:NERT WiPOKE DL+8,132 32108 POKE 708,54:POSITION 0,0:? “BCDE Fe ” 3"; SPOKE Z-11,4:POKE 718,24:POKE 769,14 9 Sydney Brown: DIAMOND MINE 10,8 250 IF P<SCREB6 THEN POKE P 288 OM L GOTO 298,488,500 298 IF (22=76 OR ZZ=77) AMD ST(>15 THE 4 GOSUB 300 295 LOCATE H,V-U,ZZ:IF Z2=82 THEN GOSU B38 299 Z2=255:6010 200 308 FOR W=O TO 15 STEP 2:SOUND Q,35,8, M:MEXT HiSOUND @,0,0,0:D1G=DIGtU:RETUR " 310 EW=U:RH=H:RU=V-UZLOCATE RH, RV-U, XR SIF MM=82 THEN COLOR J:PLOT RH,RU-U:CO LOR 82:PLOT RH,RV+U:GOTO 908 319 POKE 77,0:ROK=ROK+: RETURN 320 FOR H=3@ TO @ STEP -U:SOUMD 0,77,6 W/23HERT WiSOUND 0,0, 0,0:RETURM 358 LOCATE RH,RU+U,XX:COLOR J:PLOT RH, RU:RUERUFUZCOLOR 82:PLOT RH,RU:IF HH=7 9 THEN 968 355 IF RV(23 THEN LOCATE RH, RUtU, XK:IF XK=J OR HX=79 THEN 356 359 EW=0:60T0 328 368 COLOR J:PLOT H,V:LOCATE H-U,V,Z1:I F Z1=88 THEM H=H-U:GOTO 365 362 LOCATE H#U,V,21:1F Z1=88 THEN H=Ht U:GOTO 365 363 LOCATE H,V-U,21:1F Z1=88 THEN V=u- u:GoTO 365 364 v=uew 365 COLOR 79:PLOT H,U:FOR WH=U To L:FO R WE3@ TO @ STEP -U:SOUMD 0,7,10,W/2:" ERT W:SC=SC+1@8:POSITION 6,0: CI 366 IF L=3 THEN UP=1 369 RETURN 490 CY=CYti:IF CY)4 THEN C! b(O)#11)+22:LOCATE R, 20,22 1 THEM E=u 405 IF cy=2 AnD THEN FOR W=14 TO @ STEP -2:S0UND 0,7,18 410 IF EU THEN SP=CY#+19:COLOR R,SP-U:LOCATE R, SP,ZZ:COLOR 8: sP 416 IF CY=4 AND E=1 458 IF ZZ=79 THEN 9 460 IF (HC21 OR W312 AMD CY=4 THEW L= 2E50 499 Z2=285:6010 299 GOTO 888 THEN GOSUB 306 ‘505 IF U=8 THEN COLOR 2@4:PLOT ICOLOR 61:FOR W=U TO HICOLOR J: 516 CY=CY+U:IF CY)1@ AND CY(17 THEN CO LOR J:PLOT 17-cY,41 S15 IF 17-CY<H AMD Y=10 THEN S5@ 549 GOTO 299 S58 COLOR J:PLOT H,V:COLOR 79:PLOT HU
Page 10 (scan)
aT A USHL
513,6:POKE 54286,192
32128 POSITION 15,2:
{\] SLHLM"; :POSITION 14,3
mT SLNLMLMLAL
‘32138 FOR W=4 TO 22:POSITION Q,H:? “LH
(LALO LL
“;:NERT WiCOLOR 76:FOR W=0 TO 38
32140 PLOT W,23:MERT W:POKE Z-Ul,44:5CR
=PEEK (DL+4) +256XPEEK(DL+5)
32158 COLOR 204:PLOT 28,23:DRAHTO 28,1
9:DRAMTO J,19:DRANTO J,23:COLOR J:FOR
N=2i TO ZA:FOR Y=2@ TO 23:PLOT #,¥
32168 WERT Y:WERT H:PLOY 20,21:PLOT J,
24:POSITION 21,28:7 “aonagongaad™; :Pas
ITION 21,23:7 "PH PUP My
32478 POSITION 0,91? SIT
Tow @,16:7 "):POSITION Q,11:?
e@essss2"; POSITION 0,12:? “OT
32188 GOSUB 32480:m1
508
32308 FOR M=11 TO 2 STEP -U:POSITION W
U2? SHSIFOR WHEU TO 21:S0UI
10,6:MERT WH:WERT W:POSITION 2,0)
PALL
POSITION 6,0:? SC
t7MLEV:GOSUB 32
32310 POSITION 2,2:7 SHS;1FOR WHEU TO
21:SOUND 0,Z14WH,10,6:NERT WA:FOR W=48
TO 16@ STEP 1@:FOR WH=U TO 21
32320 SOUND Q, WWM, 10,6:NERT WHIWEXT W
SOUND 0,0,0,Q:COLOR J:FOR Well TO 211m
EXT W:PLOT 3,3:POSITION 3,4:7 “Os
32399 RETURN
32418 DRAWTO 26,14:DRAHTO 26,17:PLOT 3
DRAWTO 34, TO 34,12:PLOT 34,3
32428 COLOR SB:PLOT 3,2@:PLOT 17,4:PLO
T 34,4:PLOT 26,17:PLOT 38,22:PLOT U,1@
RETURN
32500 COLOR 82:FOR WU TO MR
‘32510 K=INT (RNDCODHT9) : Y=INT CAND COD*L9
De4:LOCATE H,¥,ZZ:1F 22076 AMD ZZ077
THEM 32518
32515 IF C9 AND Y(12 THEN 32510
32528 PLOT X,Y: NEWT W:RETURN
32699 RETURN
32788 DATA 32,136,136,136,136,136,136,
32, 32,168, 32,32,32,32, 32,168
32701 DATA 32,136,8,8,32,32,128,168,32
32702 DATA 136,136,136, 136,168,8,8,8,1
68,128,128 ,1
32783 DATA 32,136,128, 168,136, 136,136,
32,168,8,8, 32,32, 128,128,128
32704 DATA 32,136,136, 32,136,136,136,3
2, 32,136, 136,136, 40,8,136,32
32718 DATA 40,130, 128,48,2,2,138, 40
@,8,34,32,32,34
32711 DATA 8,8,8,34,34,34,34,8,8,0,8,3
4, 34,32, 32,32
32712 DATA 8, 34,42, 32,34,8,168, 32,
32,32, 32,32,32,32
32713 DATA 128,128,160, 136,136,136, 136
7136 ,8, 8,32, 136,136, 136,136,136
32714 DATA 8,8,40,136,136,136, 136, 40,8
8, 32,178,178, 32,
32728 DATA 255,255, 255,267, 255,255,285
1 243,255, 63,255, 255,255,243, 255,255
32721 DATA 48,158, 48,20,85,65,65,65,20
185, 20,2@, 158,150, 130,138
32,168,168, 32,178,3
70,42,42,8,8,
32723 DATA 16,84,84,85,69
715,15, 63,63, 255,243
32724 DATA 192,192, 48,268, 282,252,243,
21,20,3,3
32730 DATA 2,2,9,18,38,37,178,178,178,
170,255, 40,40, 255,178,178
32731 DATA 128,126, 96,160,152, 88,170,1
70,85,107,27,27,5,5,1,1
32732 DATA 85,105,108, 108,81
8,10, 42, 166,149,166, 42,18
32733 DATA 138,178,178, 162, 85,102,178,
170, 8,168,178, 162,86, 102,178,168
8, 64,64,
8,158, 130,150, 130,178,136
32740 DATA 72,173,10,218,9,42,141,23,2
169, 8,141, 26,208,
64
1. RE 20H E HH RHR EEE GHECI RIAA IIT
2 REM % MACHINE LANGUAGE STRING MAKERX
3 REM ® by C, Mueller *
4 RE StRe HOB HBBEBABHERHEGBRRaHEREEEGE
5 REH
6 REM
1050 N=B:DIM P(2@) , CODE (20) , AS (15)
1868 PRIMT CHRS(125):PRINT “ENTER FILE
SPEC OF OBJECT CODE":PRINT “DON'T FORG
ET THE Di":IMPUT AS:IF AS="" THEN 1868
1878 OPEW #i,4,0,05
1088 GET 1, %:GET #1,X:GET #1,L58:GET
1, HSB
1898 ADST=L58+256xHSB
4108 GET #1,L5B:GET #1, MSB:ADEMD=LSB+2
S6eMSB
1418 LEWML=QDEND-ADST+1:DIM BSCLENML)
1128 FOR I=1 TO LEWML:GET #1,%
113@ IF H=34 OR H=155 THEN W=N+L:PQD=
T: CODE CW) =K:X=63.
1140 BS(T,12=CHRS CH) :MEXT I
1156 CLOSE mi
:POSITION 2,12:PRINT LN;" DIM
LEM (BS) ;"2"":60SUB 1296
1178 a=! Os LN=2
1188 IF LEN(BS)(B+1 THEN B=LEM(BS?
1198 POSITION 2,12:PRINT "ttt
766,1:PRIMT LW; MLS"; 03", "3B;
RS (34) | BS CA, BD; CHRS (34)
1288 GOSUB 1298
4218 Q=B+i:IF LEW(BS)>B THEM B=B+90:60
Te 1188
1228 IF N=@ THEN 1258
1238 FOR To #
1240 POSITION 2,12:PRINT “ttt
766,4:PRINT LW;" MLS O";PCTD 5", ";P CD 3"
CHRS (CODECT} :GOSUB 129@:MEXT I
1258 PRINT CHRS(125):LIST 4,LN:PRINT :
PRINT “THESE @RE THE LINES TO BE EWTER
ED AND ADDED TO YOUR PROGRAM"
1260 PRINT :PRINT “UNDER WHAT FILENAME
DO YOU WONT IT TO BE LISTED TO DISK?"
HINPUT AS:TF @: THEN 1268
1278 IF ASC1,19O"D" THEM PRINT :PRINT
“USE D: PLEASE":G0TO 1268
1280 LIST $,4,LW:EWD
1298 POKE 766,@:PRINT "CONT"
1388 POSITION 2,18:PRINT ;:POKE 842,13
1348 STOP
1526 POKE 842, 12:LN=LN#1: RETURN
New ACTION! Bulletin Board
by Clint Parker, Author of
ACTION! Utilities, etc
716-235-3394
Page 11 (scan)
Ed Slawson: COLORS
4 DIM AS C4), CC$¢20)
2 GRAPHICS 2:POKE 712,8:POKE 82,1:POKE
83, 38:POKE 752,1:SETCOLOR 2,6,8:POSIT
TOM 4,4:2 96;"% Colona *"
3? “by:Ed Slawson,P.0.80x 36,Harren,H
aine" 04572 * Feb.1984":FOR D=
1 10 4800:MEXT D
4 GRAPHICS @:POKE 752,1:POKE 716,196:P
‘OKE 789,0:POKE 712,96
oT This utility was designed to ev
alu- ate either or colored
text"
6 ? “on any of the 128 colors availabl
@ in Graphics @. It prints out the co
Jor"
7? “numbers from 1-15 along with the
Lum- inance levels for each color, The
me"
8? “are the same numbers used in the
Set- color format
Ag
1@7" Also printed on screen are the
Poke values for location 71@ ¢ backgr
ound"
ii? “register in Gr.@}. This method
may beused to change colors the same a
5 the"
12? "Setcolor Statements. Simply pok
@ the number of the color wanted into
‘the
13 2 “location of the register desired
“>
15?" once running there is plenty o
f texton screen to evaluate which comb
ina-"
16? “tions are the most pleasant to t
he eye, and the most readable."
Press Any Key To Continue
19 IF PEEK(764) (255 THEM 21
28 GOTO 19
21 POKE 764,255:? ™
no ee
m7
U2" To MEV program at any poi
at just press @WY KEY
nye
IMSTRUCTIONS = ¥
252 a"
267" To program at point
of pause, press th
en
272" START KEY"
287 a"
22" To program, to End or
Rerun, press the OPTION KEY
ze?
uu?
32 IF PEEK(764)(>255 THEM 34
33 GOTO 32
34 POKE 764,255
188 GRAPHICS 2
128 SETCOLOR 2,8,
148 POSITION 1,337 16.
ERS"
168 POSITION 4,
188 POSITION 3,5:? #6;
208 INPUT A$
[PRESS ANY KEY TC CONTINUE |
‘WHAT COLOR LETT
‘ARE DESIRED"
'bLACK OR WHITE"
THEN 326
“M" THEN 348
268 7." PLEASE ANSWER ONLY 6 OR WY
280 FOR Z=1 TO S@@:NEXT Z
308 ? :60T0 148
328 GRAPHICS @:SETCOLOR 1,8,0:G0T0 368
‘340 GRAPHICS @:SETCOLOR 1,9,8
‘368 SETCOLOR 2,8,8:SETCOLOR 4,0,8
‘388 FOR COLOR=@ TO 15
488 READ CCS
410 IF CCS="KIM" THEN 645
47e2" “COLOR;
4487
466 FOR K=i TO 18:WEXT K
488 FOR LUM=@ TO 14 STEP 2
485 IF PEEK(532792=3 THEN 20080
498 IF PEEK(764)(>255 THEN GOSUB 21688
588 P=PEEK(710)
528 7 “LUMINANCE
Py
548 SETCOLOR 2,COLOR, LUM
‘S66 FOR Y=1 TO 268:NEXT Y
580 NEXT LUM
688 MEXT COLOR
648 DATA GRAY, GOLD, ORANGE, RED-ORANGE,P
INK, PINK-PURPLE , PURPLE-BLUE, BLUE, LIGHT
~BLUE, TURQUOISE , GREEN-BLUE
641 DATA GREEN, YELLOW-GREEN, ORANGE-GRE
EM,LIGHT ORANGE
642 DATA KIM
645 7
28800 GRAPHICS @:POKE 752,1:POKE 716,1
82:POKE 789,8:POKE 82,2:POKE 201,9
"3008
“SLUM; , “OH 7408
11
20802 7 "544s Use the or
button to":? :? “highlight your choic
€ below, then"
20804 7 :? “press the button."
:FOR ME=@ TO 8:POKE 53279,ME:NEHT ME:6
OSUB 20620:SEL=11
20886 POSITION SEL,SEL:? “GEO nIERD
aK"
28088 BUTTON=PEEK (53279) :IF BUTTON=7 T
HEN 20088
28018 GOSUB 26828:1F CHOICE=6 THEN 260
22
20012 SEL=SEL#2:IF SELD1S THEM SEL=i1:
GOSUB 28828:60T0 26086
20014 IF SEL=13 THEN GOSUB 2602@:POSIT
TOW 11,5EL;? “(ETT : core 20
088
20816 IF SEL=15 THEM GOSUB 28626:POSIT
TOM 11,5EL:? “UEGE TREE": coro 2
ees
20018 GOTO 28888
20028 POSITION 11,11:? “RERUN THIS PRO
GRAM":? 2? ,“RETURN TO BASIC":? :? ,"R
UN MENU PROGRAM: RETURN
20822 TRAP 20888:POKE 2@1,10:1F SEL=15
THEN ? LOADING MENU: RUM *
DI MENU! TRAP 32767
20024 IF SEL=13 THEM GRAPHICS @:? :? "
Basic’
nD
20026 TRAP 32767:RESTORE :GOTO 2
20028 GOSUB 26034
28038 CHOICE=BUTTON: BUTTON=PEEK (53279)
:IF BUTTON()7 THEN 20630
28032 GOSUB 26034:RETURN
20834 FOR ME=@ TO 8:POKE 53279,ME!MEXT
HE :RETURW
21088 POKE 767,255
21020 IF PEEK(53279)=1
:POKE 764, 255:RETURN
21040 GOTO 21028
31800 REM THIS UTILITY WRITTEN BY ED 5
LAWSON, FINISHED 11/12/83.CHANGES COLOR
5 AND LUMINANCE LEVELS TO EVALUATE W
31999 END
32888 GRAPHICS @:POKE 82,1:POKE 83,38:
POKE 718,196:POKE 789,@:POKE 712, 96:7
m:2 "READY WHEN YOU ARE !":REM
MIS") :POKE 752,0:TRAP 32767:E
THEM POKE 767,8
Graphies by Print Wiz
{Allen Macroware, POB
2205, Redondo Beh, CA
90278, $29)
Page 12 (scan)
8 REN Henn HBERE HB HBHEBABHBREIH
1 REM #* == POLYCOPY UTILITY a
2 REM %%* FROM JACKSONVILLE ACE = -*#
3 REM Ke DISK m 29 ci
4 REM %* 501 CRUSIER LANE sil
5 REM #* ATLANTIC BEACH, FL 32233 4
6 REM JeeHeHHEHEHHBEEHEIRRERHOBHRHOE
18 GOTO 375
25 GOSUB 250:I1F IP=DSM THEN 40
3@ IF IP<DSN THEN GOSUB 3SS:IF Z=YES T
HEN 25
35 IF IPCKL THEN 235
40 MAK=IP-Ki:? “Type 'Y' if o.k. "3:60
SUB 335:? :IF ZOVES THEN 235
45 IP=K@:OP=K@:S5PLIT=HI:APMD=HI:G0TO 5
5
56 ? :G0SUB 325
55S ADDR=ADR (YS) : ROOM=BUFF
68 IF IP)WAX THEN IP=IP-K1:GOSUB 145:6
oro 240
65 Y=IP:GOSUB 230: TRAP 8@:0PEW HK1,K4,
K@,DSNS: TRAP TOFF
78 IF SPLIT()IP THEM ? “Loading ";D5NS
336070 108
75 TRAP 88:POINT #K1,SEC,BYTE: TRAP TOF
FiAPND=IP:? “Contin'g ";DSNS;:GOTO 168
8@ TRAP TOFF:Z=PEEK (195) :CLOSE MKL:1F
ZO470 THER 110
85 2 1? DSNS;" not found,":?
want to try another disk?
98 GOSUB 358:? :IF Z=VES THEM ? “Inser
t new disk";:G0SUB 33@:G0TO 65
95 KCIP,KO)=KO:IP=IP+K1:60T0 68
108 KCIP,KO)=ADDR
15 SIZE=USRECIO,K1,7, ADDR, ROOM) :Z=PEE
K (B51) :TF 24128 OR Z=156 THEN 115
2 :G0SUB 376:60T0 95
SIZE; 1K CIP, KAD=SIZEL IF
++do you
Z=136 THEN 125
1202") OTE KI, SEC, BYTE: SPLIT=IP
125 7 :CLOSE aKL
130 ADDR=ADDR+SIZE:ROOM=ROOM-SIZE:IF R
OOMDKA THEN IP=IP+K1:G0TO 68
135 GOSUB 145:IF SPLITOIP THEN IP=IP+
Ki:IF IP)MaX THEN 66
148 GOTO 58
445 IF ROOM=BUFF THEN RETURN
150 7 :? “Insert ‘to! disk
155 ADDR=HCOP, KA) :SIZE=K COP, KA) :1F ADD
R=K@ THEN 228
F APMD=OP THEN
Z2=0tKL
165 TRAP 185:0PEW 1K2,Z,K@,DSNS:TRAP T
OFF:IF APMD=OP THEN ? “Append'g ";:GOT
0 475
178 ? “Writing ";
175 2 DSNS;" size="; SIZE
188 Z=USRCCIO,K2,11, ADDR, SIZE)
4185 Z=PEEK(867)
198 TRAP 19@:CLOSE WK2:TRAP TOFF:IF Z<
128 THEN 226
195 IF 274162 THEM GOSUB 378:60TO 228
208 ? “Disk full, try another?
EEUERE'; :605U8 335:1F ZOYES THEN 235
205 TRAP 216:HI0 33,0K2,K@,Ke,DSHS
218 TRAP TOFF:IF APMD()OP THEN ? “Inse
pt new disk"; :GOSUB 336:G60T0 155
245 IP=OP:SPLIT=HI:APMD=HI:POP :GOTO &
8
228 IF OPCIP THEM OP=OP+K1:G0TO 155
225 RETURN
236 DSHS: SMS (KD =HS CYRKAZEKL, YRK
12#K123:G0TO 368
235 ? Buseraborted! ii
248 GOSUB 355:IF Z=YES THEM 15
245 CLR SEND
258 GOSUB E25:CLOSE WKI:OPEN HKI,6,K6,
DI TF IPCK@ THEN IP=K@:KS: =
255 IWPUT WKZ,YS:IF LEMCYS)<17 THEN 32
8
268 DSNS: ‘OR Z=KE TO 13:1F Z=41 THE
W DSHS (LEW CDSNS) #1) ="
265 IF Y$(Z,Z)=" " THEN 275
278 DSWS (LEM (DSMS) #K13=VS(Z,Z)
275 WEXT Z:1F DSMS="DOS.SYS" THEN 255
288 IF LEMCDSNS)(K12 THEM DSNS(LENCDSM
$2 #KL,K12) ”
285 SEC=K@:TRAP 298: SEC=VAL CYS(15,17))
298 TRAP TOFF:? IP+K1;:POKE €OL,5:? DS
WS;:POKE COL,28:? "?' GOSUB 348
295 IF Z=67 THEN ? CHRS(38); 36070 3
18
308 ? CHRSCERASED;: IF Z=81 THEN 328
385 GOTO 255
‘31 4S CLEW (KS) +K1)=DSNS: TI
=DSM THEN 320
315 GOTO 255
‘320 CLOSE MKI:RETURN
325 2 "Insert 'from' disk";
33e?", press any key!
335 GOSUB 340:2 CHRSCERASED ; :RETURK
348 GET &K4,Z:IF Z=27 THEN POP :GOTO 2
5
45 RETURN
358 GOSUB 348:7 :RETURN
385 2:7 “any more files?
36@ Z=PEEK (764) :POKE 764,HI-K1:IF Z=28
THEN 235
36S RETURN
378 ? "(";Z;"1 1/0 error on DSMS:? "
vesSkipping to next file!':? :RETURM
375 REM OEE beginning)
380 GRAPHICS Ke:POSITION 13,12:7 “GEE
12
SIPHKASIF IP
395 DSW=16:DIM DSMS C16) , HSCDSHEKI2) , KC
DSN-K1, Ki)
400 CIO=968:FOR Y=K@ TO 42:READ Z:POKE
CIO+Y,Z:EXT Y:POKE 769, PEEK (716)
485 DATA 104,104,104, 16,10,10,10,178
410 DATA 104,164,157,66,3,104,157,69
415 DATA 3,184, 157,68,3,104,157,73
420 DATA 3,104,157,72,3,32, 86,228
425 DATA 189,72,3,133,212,189,73,3
438 DATA 133,213, 96
435 HOH=84210PHD=35
448 IP=375;0P=450:REM Lar}
londan dl numbers!
445 GOTO 468:REM 5
458 2 CHRS (225)
5:2? Z:WEXT Z:?
POKE MAX,13
455 STOP
468 POKE WOX,Ki2:BUFF=FRE(K@)-APND:DIM
YS (BUFF) : BUFF=BUFF-K3:G0T0 15
12 :FOR Z=IP TO OP STEP
CONT" :POSITION KB, KG:
Page 13 (scan)
DEVICE HANDLERS One of the few things the many books on the Atari don't say too much about are Device Handlers. This may lead you to believe these handlers are very hard to make. They aren't The BASIC program with this article is a home brewed Memory Drive which works with BASIC or Assembler. Just enter the program, save it, run it, go to DOS and binary load the file “D:MEMORY.LOD Go to BASIC and do a 2USR(1536). Then load a BASIC program. To test this handler, do a LIST"M:". BASIC will dump your program into our handler, Now type NEW. Then Enter’m:"and the handier will load the program back into BASIC. The file you listed will survive a RESET, but the handler won't. The program will also survive DOS, but not a copy of the duplicate file Now for making your own handler. First initialize the handler, took at lines 170 to 350. The table trom 370 to 430 holds vectors pointing to different IO operations. Whenever you access any handler, CIO JSRs through these vectors to do each operation. For example, you do an OPEN command in BASIC. Then BASIC calls CIO, and CIO jumps through the OPEN vector in the vector table for the device All OPEN does is prepare the device for 10. CLOSE ends all the operations to the device. READ gets one byte trom the device, and returns it in the Accumulator. WRITE sends the value in the Accumulator to the device. I'm not really sure what STATUS and the UMP to initializing do. The Special vector is used for operations which don't use OPEN, CLOSE, READ or WRITE directly. For example, DELETE or RENAME for the disk handler. All errors are sent with the Y register. If the Y register is 1, the operation is successful. You can, of course, OPEN different devices inside your own handler routine, This could lead, for example, to a handler to OPEN the disk and print the directory. Now for IO operations: GET and PUT are easy, the variable you specify is sent directly to the device accessed. But what about INPUT and PRINT? Well, through trial and error | figured that all PRINT and INPUT are is a series of PUTS and GETs for each character. How do you tell the length of INPUT and PRINT? PRINTs finish when the entire string is sent, but INPUTs are completed when the handler sends an EOF. When your string is sent, just load Y register with 136, or the OS end of file. The source listing | include with this article has enough comments to clear up most other questions. If have any more, just call (301) 972-8324 or write me: Greg Menke, 22500 Old Hundred Road, Barnesville, MD 20838 — Greg Menke HACKER’S VIEW Atari 800 XL If you have been considering buying an XL series Atari but haven't because it is so new it might have some serious bug, you have nothing to worry about. The XL has BASIC built in. This version is FAST — almost half again as fast as normal BASIC. The BASIC is located in bank switched memory toggled on boot-up by pressing the OPTION key. ANTIC graphics modes 4 and 5 are added. The keyclick is piped out to the TV speaker. There is no internal speaker. The function keys are set flush in the case down the right side. The SYSTEM RESET does a chip reset, resetting the 6502 and other component chips. However, a program will still be in memory intact, and the system won't reboot. You can recover from system crashes by hitting SYSTEM RESET without losing your program! There is a parallel bus connector allowing direct connection to the 6502. This will permit even more expandability than the regular Atari 800. The 8OOXL has 64k, but only 37k is free in BASIC without DOS. Atari says the 16k (above 48k) can be accessed only through certain programs Like the 1200, the new XLs won't work with some software. The fault isn’t with Atari, but with the people who made the software. All Atari software should work, The Translator disk tor the 1200 (free from Atari, call: 800-538-8543 or 800-672-1404) will remedy many compatibility pro- blems. NOTE: The Translator won't work on the 600XL because it lacks enough memory. The manual supplied is the pits. If you don't know BASIC, get a good book. The much vaunted HELP function is a useless waste of memory. All its tests can be duplicated in BASIC with a few lines. If you want to use the HELP key in your programs, PEEK to location 732 to detect if HELP has been pressed. Because of the modified Operating System, some OS routines are in different locations. Here are a few of interest to Assembly language hackers SF2B0 - New location for $F6A4 SF2FD - New location tor $F6E2 $F223 - Entry point for Self Test SF24A - New location for SF63E. The new XL series of Ataris are a good bet, well worth the purchase price. | give them a resounding “A” in performance and looks! If Atari releases a good technical manual and memory map, these computers, will be hard to beat — Greg Menke ELAS H HEWLETT-PACKARD WILL DEMO THEIR NEW LOW-PRICED INK-JET PRINTER AT THE APR MEETINGI Direct from the factory in Corvallis, OR. 13
Page 14 (scan)
Life in Action!
The game of Life is a good test of the speed of a language. In the
game, one to four players arrange an initial ‘colony’ on a grid in some
pattern. Each colony is then transformed into a new colony, the next
generation, according to two simple rules:
1) Each organism with 2 or 3 neighbors survives to the next
generation.
2) Each empty space with exactly 3 neighbors has a ‘birth’ of a new
organism in the next generation.
In this version, the grid is 20 X 20. Consider how much calculation
must be done for each generation, Eight adjacent squares must be
investigated for each of the 400 grid positions, a total of 3200
locations. The whole grid is examined before any changes are made.
Since this version runs at about 58 generations/minute, you can see
how programs created with Action! run quite fast.
Use the joystick to plant organisms for the initial population.
Pressing the trigger will set or reset the location. ‘Select’ allows
cycling between four available colors. Press ‘Start’ when you are ready
to view the changing generations. Pressing ‘Select’ will clear the
screen for a new initial population.
You may at first have difficulty in creating colonies which can exist
for a very long time. If you want proof that simple arrangements can
lead to long lasting populations, try the Pl arrangement. The Pl is
made of a square, three unit on a side, with the central bottom
organism missing. Gliders are also interesting. On the same three unit
square, put in only the bottom, the middle right and central upper
organisms. This glider will repeat itself after four generations and
gradually slide off the lower right portion of the screen.
| have modified the rules slightly because of the different colors
When rule 2 is obeyed, the birth organism appears only when there are
at least two parents of the same color. It then takes on the color of the
parents
— Stan Ockers
GLOBAL CHANGE
Filemanager 800 Utility by David Fuller
(reprinted from the 2/9/84 issue of HACK, Helpful Atari Computer
Knewsietter from Warwick, Rl)
Filemanager 800 is one of the best all-round data management
programs. It has many nice features like subtiles and changing
formats. One thing | felt a need for and didn't have was a GLOBAL
CHANGE FUNCTION. After thinking about it for some time, | decided
to write one.
If you look at the files on a Filemanager data disk, you'll see fou
files for each one you created. If your file is named “TEST”, you'll see
“TEST.DAT”, “TEST.IDX", "“TEST.FMT" and “TEST.CMP”, “FMT” files
contain the number, names and lengths of the fields you set up.
“DAT” files contain the actual records you typed in. The “IDX” files
contain the number of records entered, which fields are indexed, how
long the indexes are, and the index itself. As a point of interest, if the
program does not find an “IDX” file it automatically goes to the RE
INDEX FUNCTION. The “DAT” file is the only one you have to copy to
keep a back-up.
My program allows you to make the same change to as many
records as you want without having to enter the information each time,
Upon RUNning, the program will ask for the name of the file. Next it
puts the list of the file's fields on the screen. You are asked which
fields you want to use for search criteria and which field you want to
change. These may be the same field. You simply enter the number of
the field. You will also see which field or fields are indexed. | you
change an indexed field, you will have to re-index the file.
The next screen shows a few instructions for entering the search
information. You'll next be asked to enter the search and change
information. A “Y” to the “Query” prompt and the Atari will show you
each record it proposes to change and give you a chance to keep any
given record unchanged. The program gives you one last chance to
change the criteria you've entered. You may change the search.
change and query information if you choose.
The Atari will then begin processing the records. As each record is,
ead from the disk the search and change fields are displayed on the
screen. If the search field matches the search criteria, the Atari will
change the information in the second field and put the record back on
the disk. If you responded “Y" for Query, the Atari will ask if it's ok to
change each record. If you enter "N', the current record won't be
changed, “Y” will have to be pressed for each record you want to
change. The change will be displayed. The record number is shown to
let you know how far along the process has gone.
After all the records have been looked at the Atari will return to the
list of fields. If the change field was one of the indexed fields, the
index will be erased.
Type the program and save it before running it. | also suggest yor
make a backup copy of the file you want to change (in case you type
something wrong).
DIAMONDS
Low on fuel, you land your space craft on an astroid. The Snargs.
own a Galactic Diamond Mine here, and you need to steal all the
diamonds to fuel your craft. As you move with joystick 1, you dig into
the astroid. You may move under a rock if you are quick, but two rocks
stacked vertically will surely get you. Falling stalactites in the bottom
cave and the draw bridge in the top one also provide hazards.
‘A second player may control the mine guard near the tank. If you are
quick enough, you will refuel your craft before the tank destroys your
space craft
— Sydney Brown
Colors
by Ed Slawson, P.O.B0x36, Warren, Maine 04572 * Feb.1984
This utility was designed to evaluate either light or dark colored text
on any of the 128 colors available in Graphics 0. It prints out the color
numbers from 1-15 along with the Luminance levels for each color.
These are the same numbers used in the Setcolor format. Also printed
on screen are the Poke values for location 710 ( background register in
Gr.0 ). This method may be used to change colors the same as the
Setcolor Statements. Simply Poke the number of the color wanted into
the location of the register desired. Once running there is plenty of
text on screen to evaluate whict) combinations are the most pleasant
to the eye,and the most readable
TYPING AIDS
| typed in Stan Ocker's Action program, Rats’ Revenge and | noticed
a couple of errors. At the bottom of page 9, 1st column, the Update
procedure seems to end without a “RETURN”. At the bottom of the 2d
column there appear 6 lines of code between two RETURNS with no
procedure name. These 6 lines, and the RETURN which follows them
are the remainder of the Update procedure.
The 3d column on page 9 contains only two procedures: Openrt and
Setbar. The line “PROC Rats” appears incorrectly inside the Setbar
procedure. Delete this line.
KONG
In Line 10050, the C1$ comtains the following
characters ("C-"| = Control characters): = C-, G-,
one-up-arrow \ H Esc-Tab-Insert 2-down-arrows i § d O-F
The C26 contains the following characters: » Ge,
i-up-arrow 1-down-arrow C-I—-Ese-Tab-Insert oA
I-right-arrow C-R C-5 0 C-, C-,
Lis is: C-, C-, C-K G-X C-H I-right-arrow inv-y C-Y
x A ing-" C-B
L2$ is: C-, G-, C-R C-K C-HC-X.8X inv-C-X C-H G-H
: RIS is: C-, C-, C-X C-XC-P inv-x J-inv-right arrow
inv-C-X 1-left arrow C-R 5 @
Sis: C-, C-, C-R C-X C-P C-X J-up arrow 6-2 C-¥
C-P C-P C.
-K
In Lines 20100-20500, all the Cand \ are ine-( and
iny-\
DIAMONDS
In Line 32000, PRS(U,41) is: fh inv-C-E inv-0 b
inv-C-E ing-M ho oh inv-C-E inv-T inv-) inv-C-, iny-C-E
inv-L ing-) inv-C- inv-C-£ inv-M inv-" inv-C-A inv-spe
i
-C-, inv-1 iny-L inv-C-0 inv-N inv-H inv-P inv-y inf-f
inv-M ing-f inv-O inv-h i
inv-d inv-T inv-P inv-p C-. inv-C-,
Line 32010 SHS i VW X spc l-down-arrow 4-left
arrows Y inv-0 7 5
Line 32170: All the
inverse.
14
letters being printed are
-- JB.
Page 15 (scan)
PRINTER INTERFACES
So, you are thinking about getting a printer for your ATARI. You have
even convinced your wife/ husband! mother! father to let you buy one
when you discover ATARI charges around $200 for the privilege of
connecting it to their computer. Never fear, alternatives are here! in
the three years we have each had an ATARI we have owned or used
four different printer interfaces. We hope our experiences can help
you become aware of some of the advantages and disadvantages of
these magic boxes.
Axiom AT-846
This direct connect parallel printer interface is cheaper ($100) than
the ATARI 850. It will support only parallel printers. It connects into
the serial bus and has an expansion port so you can put it anywhere in
your serial device chain. The cable to the printer is 19" long with a
Centronics plug. The I/O cable is 29" long and the “unit” is 5.5"x 3.5"
1", Although not always needed, an external power supply is provided
with a 70” line. If your printer provides 250 milliamps of 5 volt power on
pin 18 of the Centronics plug you can switch the unit to run on this
power and not use the power adapter. The Axiom provides the
capability to make four other modifications to the unit. These allow
the unit to support a wider range of printer types and user preferences.
The Axiom does pass all eight bits to the printer so if your dot matrix
printer will support dot graphics, the Axiom will too. We have run a
wide variety of software using the Axiom and it has worked perfectly,
The Axiom is well engineered and an excellent product.
Ape Face
We cannot say the same for the Ape Face. This interface has-no
expansion port so it must be the last peripheral in your I/O chain (like
the 410 recorder). This is not convenient for us, and may not be for you.
The Ape Face will support only a parallel printer and it also has a
Centronics plug. The I/O cable is about 36” and the printer cable 19”. It
draws power from the ATARI which is OK, but the ATARI is not
designed to support this extra load. You may run into a power supply
problem and we think we have already seen one. A far more serious
Problem is the Ape Face is not 100% compatible with all the available
software. We could not get Ape Face to function with B/GRAPH by
Inhome Software, SUSPENDED by Infocom, and GRAPHIC MASTER
by Datasoft. It did work with all our BASIC programs and passed all
eight bits. The Ape Face seils for $59, but remember, you get what you
pay for.
MPP-1100
‘An innovative product is the Microbits Peripheral Products
MPP-1100 ($100). This unit plugs into joystick port #3, so it won't work
‘on the XL computers. It comes with a chip you must install on your
‘operating system board. Although this sounds terrifying to some, it is
an easy and well documented procedure. The purpose of this chip is to
allocate joystick port #3 to the printer device inside the ATARI. But
MPP doesn''t stop there. They improved one feature in the operating
system and fixed a bug in another. The MPP-1100 allows LPRINTs in
FOR-NEXT loops in the dot graphics mode. A 48” cable to the ATARI is
provided along with a 12" cable (Centronics plug) to the printer. Our
biggest complaint is the Centronics plug fails to lock onto the Epson
connector. Although it is powered from the computer we never noticed
any power supply problems. The MPP-1100 is a great product if you
have joystick port #3 and don’t use it.
{Note from the Editor: While the MPP-1100 is still on the market,
MPP now manufactures only the MPP-1150. It’s also $100 and needs
neither a joystick port nor a printer handler. It's a greatly improved
product, and a printer buffer is easily added with a memory chip]
We have seen at least three articles in various publications showing
how to make a “Home Brew Interface”. It uses two joystick ports and
works just fine, BUT you must load in a driver routine to make it work,
This severely limits the uses for this kind of interface. Cable lengths
are variable and costs are minimal. See ANALOG Magazine #16 for
details.
There are many interfaces on the market and we hope this article
will help you select the right one for you. Be alert for interfaces which
only pass 7 bits (no dot graphics) and interfaces which only work in
specific modes (for example, only when the modem is on),
—Lynn Clock
Phil Fitzjarrell
AVOID DOS!
(reprinted from the Dec., 1983 issue of the Huntsville, Alabama Atari
Users Group Newsletter)
You can write DOS to a disk directly from BASIC with the direct
mode command (i.e, no line numbers): OPEN
#1,8,0,"D:DOS.SYS":CLOSE #1. This will open the drive and write
DOS.SYS to a formatted disk. DUP.SYS will not be written. You must
CLOSE #1 or END, or the file will be written and left open and not
show up on a later Directory search! If you keep getting an error on
this attempt with no drive action, type END to close all |OCBs and do
it again
The other DOS functions may also be directly accessed (or from
within a program) with XIO commands:
FORMAT: XIO 254,#1,0,0,"D1:"
UNLOCK: XIO 36,#1,0,0,"D1:filename.ext”
LOCK: X10 35,#1,0,0,"Dt:filename.ext”
RENAME: XIO 32,#1,0,0,"D1-filename.ext”
DELETE: XIO 33,#1,0,0,"D1:tilename.ext”
Can you find the others?
DOUBLE YOUR PLEASURE
(reprinted trom the Dec., 1983 issue of the Huntsville, Alabama Atari
Users Group Newsletter)
Last week | decided to hook up a second monitor to my Atari — a
green screen monitor — primarily for word processing, Then, without
changing anything, | could still play games since the color monitor
and monochrome monitor would be hooked in parallel, displaying the
same thing at the same time. Well, | booted in my word processor and
started typing out a letter. All of a sudden | couldn't believe my eyes!
You see it tured out | made a mistake and hooked up the second
monitor in series with my color monitor. Now | was looking at the text,
of my letter flowing from the green screen to the color monitor. Yes, |
was looking at an 80 coiumn display!
Needless to say | was totally awed with this fortuitous discovery.
Well, | later put in the Pac-Man cartridge to play a bit. There | was on
the color monitor; the green screen was dark. | exited the left-hand
door to escape Inky, but | didn’t come back in the right-hand door! No,
the green screen to the leff lit up a second Pac-Man maze, but with a
twist. The joystick directions were reversed. When | pushed left | went
right. Those clever people at Atari! | later did some experimenting and
found by doing a slight circuit modification to put the vertical blank of
the two out of phase and putting one monitor on top of the other, |
could have 48 lines of text. Just think what | could do with four
monitors. Come to think of it, just think of the possibilities of two
printers.
— CM,
FROM THE LIBRARY
The next edition of the library list will be available about April 10.
The January printing has been exhausted and is being revised to
include the Best of ACE #8, Utility #3, Pilot #3, and Education #6,
In the "For what it's worth department”, | will pass along this: Last
week, | received an order trom one of our members overseas. He
mentioned that blank disks cost him about $5.00 each and asked me
to use only one side of the disks for his order and leave the other
blank, He said he appreciates the opportunity to save a couple of
dollars by using both sides of the disk but in his case it was less
expensive to buy than single sided. The choice is yours.
In the mail bag: Last month, we published Dice Probability by Ken
Waibel of Hawaii. John Kelley of Portland read it and it stirred up
memories of some programs he had written. John went through his
collection and polished up YATC, and CRAPS, and wrote 2 programs
for his grandchildren and great-grandchildren calied Dice Arithmetic
and Domino Arithmetic. We will be sharing these with you in the
coming months and they will be on Education disk #6. Thanks John!
— Ron Ness
15
Page 16 (scan)
TYPESETTING FROM YOUR COMPUTER ATARI OWNERS: If you have a modem, text editor, and com- munications program to send ASCII files, you should consider the improved readability and cost savings provided by TYPESETTING your program documentation, manuscript, newsletter, or other lengthy text instead of just reproducing it from line printer or daisy-wheel output. Computer typesetting by telephone offers you high quality, space-saving copy that creates the professional image you want! Hundreds of type styles to choose from with 8 styles and 12 sizes “on line’ And it's easy to encode your copy with the few typesetting commands you need. COMPLETE CONFIDENTIALITY GUARANTEED — Bonded for your protection — PUBLICATION DESIGN, EDITING, a PRODUCTION Editing & Design Servic Eugene, Oregon 97401 30 East 13th Avenue Phone 503/683-2657 Best of ACE books Volume 1 are bound issues of the ACE Newsletter from the first issue, Oct 80 to June of 1982 Volume 2 covers July 1982 to June 1983 Only $12 each ($2 extra for Airmail), Available only from: George Suetsugu 45-602 Apuapu St Kanoehe, HI 96744 SortFinder 1.2 Composite index of Atari related articles trom 5 popular computer periodicals from Apr ‘81 to June ‘83, including ACE, Only $6 for ACE member from: vim Carr, Valley Soft 2660 S.W. DeArmond Corvallis, OR 97333 Arai Computer HUSIASTS ine Maple Dr Eugene OR 97405 FIRST CLASS MAIL 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 Bivd., Eugene, Or 97405 / 503-686-1490 Secretary -Bruce Ebling 1801 River Loop #1, Eugene, OR 97404 / 503-688-6872 arian Ron and Aaron Ness 374 Blacktoot, Eugene, Or 97404 (503)689-7108. Co-£ditor Mike Dunn 3662 Vine Maple Dr., Eugene, Or 97405 / 503-344-6193, Co£ditor Jim Bumpas 4405 Dillard Rd, Eugene, Or 97405 / 503-484-9925 E.R.ACE. (Education SIG Editon Ali Erickson 295 Foxtail Dr., Eugene, Or 97405 / 503-687-1133, E.R.A.C.E. Corresponding Secretary Robert Browning 90 W. Myoak, Eugene, OR 97404 / (503)689-1513 so¢ $L00 Send 3#e stamps or coin ($@t overseas) to the Ness’ for the new, up- dated ACE Library List —new in Feb 84! 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 double density Percom disk drives, an Epson MX80 printer, a Hayes SmartModem; running the ARMUDIC Bulletin Board software written by Frank L. Hu- band, 1206 N. Stafford St, Arlington, VA 22201. See the Nov ’82 issue for complete details.