Dale’s Atari 800 Games › ACE newsletters
ACE newsletter, December 1984 – January 1985
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_12.
In this issue:
- Stan Ockers XYGRAF part 1: XYENTRY (page 4)
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)
ENTHUSIASTS 3662 Vine Maple Dr Eugene OR 97405 DECEMBER 1984 - JANUARY 1985 Editors: Mike Dunn, Jim Bumpas, Larry Gold
Page 2 (scan)
News and Reviews by Mike Dunn, co-Editor The big news, as | am sure you all know, is the Atari 800XL has dropped in price to $120 and the 1050 drive to $180 — only $300 for a complete disk-based computer system! Atari plans on selling 500,000 during the holiday season. This new Atari, | hear, is not exactly like our old 800XL's. They are disposable — no sockets, everything soldered in, and if anything goes wrong during the warranty period, they just give you a new one. In January, at the CES show, will be an- nounced all kinds of new 16 and 32 bit computers, to compete with the Macintosh for under $1000. We have several new disks to end out the year. Best of ACE #10-Game: filled with most of the games since the July issue. We have not been able to make a “run-time” version of “Double-bounce”’ by Stan Ockers, but the rest is there, including run-time Actior games. Best of ACE #11-Utilities includes all the utility type programs since July, plus the ultimate version of Stan Ocker's “TinyText” with a 80 column display, done by Neville Williams from Australia and with complete documentation. From the Jacksonville ACE group, a well documented disk filled with Modem programs, including one allowing you to download programs from CompuServe with an Atari Modem — but not from Bulletin Boards. Please read Ron Ness’ article about the exchange library. Last month, | reviewed BossXL (Allen Macroware, POB 2205, Redondo Beach, CA 90278, $80), and have now received their new board allowing you to switch to either the BossXL or to the original OS. Works well, now included in the package. PrintWiz by Allen macroware is what we use to dump the pictures for the newsletter, and Typesetter (DataArts, POB 1613, Troy, NY 12181) makes all the fancy titles you see on the listing pages. Both are excellent products. Gary Furr, the author of the print drivers for AtariWriter, will sell you for $10 the driver for your printer. He has drivers for the EPSONS, Okidatas, IDS, Gemini, Mannesman-Tally, C. Itoh and Nec., Silver Reed, etc. Write Gary at POB 1073 Mountain View, CA 94042 This month, we received two books | can highly recommend to the intermediate to above Atari Owners. Both are similar to previous books, but cover new ground. The Master Memory Map by Craig Patchett and Robin Sherer (Reston, $16). The first memory map for the Atari was done by Robin Sherer when he owned Education Software. The first edition was just a xerox'ed sheet of locations and their uses; but was quickly expand- ed to a 30 page, breezy and easy to understand booklet. Last year, lad Chadwick came out with a 194 page book, Mapping the Atari (Com- pute!, $15) covering every memory location quite well but not as enter- taining as Robin's book. Now we have the latest, The Master Memory Map, with 361 pages, covering everything, and is a real joy to read. It has 13 appendices, 67 figures, and covers the XL computers. You'll love it ABC's of the Atari Computers by Dave Mentley (DataMost, $15, available from D.E.M. POB Box 325, El Cerrito, CA 94530 with $1.50 shipping). Written by the past president of ABACUS (Atari Users Group in San Francisco), this in an encyclopedia of useful information about the Atari. Much of it is gleaned from the best of the user group information, it includes many useful programs and hints. Do you want to know how to modify your Axion Ramdisk so it won't crash with some software? What really is a “Framing Error"? Want a program to analyze a binary file for the RUN and INIT address? How about the printer codes for a large number of printers? It is all here and very well written. The book is similar to the also very excellent The Atari Users Encyclopedia by Gary Phillips and Jerry White ($20, The Book Com- pany), but covers different material and has different programs. ACE BAZAAR This year our December meeting will include a Bazaar at which members may sell or trade their hardware and software with each other. To participate as a seller, set up your wares on a table in the fear of the room, so as not to interfere with the meeting program. The meeting agenda will be short this month to allow time to browse among the tables. Software must be original and accompanied by the original documentation to be eligible for sale at the bazaar. Members are sure to find bargains here, and sellers will have some extra money to try some new software. Before you leave the meeting, please see our VP, Larry Gold, to give him 10% of your gross proceeds. He will make a note of your name, address and the amount of your donation to WISTEC. WISTEC will send you a receipt you may use for tax deduc- tions on your tax returns. Have fun! CHRISTMAS PICKS by the Editors Hardware: The price of an Atari 800 XL is now officially at $120. The price is lowered in anticipation of a more cheaply produced model next year. If you buy quickly, you might get one produced to sell originally at $399. The Indus GT disk drive seems to be the most popular double density drive on the market. I've used one for a year and love it. You have your choice from among a number of good printers in the $300 price range. For a couple hundred more you can get near letter quality. You can also get real letter quality with low cost daisy wheel printers for less than $500. The Abati seems to be one of the better built of these low priced daisy wheel printers. Microbits now has an 1100E modem which will switch an incoming call to the handset to ring until you pick it up if it doesn’t receive a car- rier detect from a computer at the other end. A nice feature! The best monitor on the market now seems to be a 13” Mitsubishi. But it's very ‘expensive, close to $500! Maybe the technology will be used in less ‘expensive models soon. Software: Atari users have their choice of several excellent word processors which are as good as many used on IBM machines. The higher priced Writer's Tool by OSS, and Letter Perfect by LUK are the top of the line. But AtariWriter and Letter Wizard are also full-function processors and can be purchased for half to one-third the price. Letter Wizard is also being marketed with Spell Wizard in a single package for under $70. Letter Wizard is the only one of the four which will not work in double density. The Syn-Apps packages from Synapse Software are also top- featured programs. SynCalc is the best spreadsheet program I've seen for an &-bit computer. SynFile + is also the best filing program I've seen for 8-bit machines. These programs are compatible with each other, and they take advantage of virtual memory features permitted with the use of Axion and Mosaic ram disks. How about a 128k spreadsheet file on an Atari? SynComm is the most full-featured com- munications program on the market now, although a review in the cur- rent Analog magazine describes HomeTerm with many of the same features. SynCalc and SynFile + are less than $70. SynComm is under $40. This has been a difficult year for new arcade games. The best new one I've seen is Firebug which appeared in a recent issue of Analog magazine. Family games are dominated by the dozen or so faddish trivia games. Many people are having a great deal of fun with these. A lot of attention in software development for the Atari lately has been directed towards various “translator” systems. This will become less important the longer the XLs are on the market. But for now, a significant portion of Atari software requires a translation to run suc- cessfully on the XL. The BossXL seems to be one of the best of these for your use. Infocom continues to come out with the best text-adventure games. And Epyx has one of the better sports games with their Summer Games package. We haven't seen their Baseball game, but they adver- tize it as the “best”. Electronic Arts has a wild and popular game in their One on One basketball game. In strategy games, Electronic Arts has a winner with Archon Il — Adept. Strategic Simulations has a real challenge for board wargamers in their War in Russia. U.S.Adventure Although billed as an adventure type game, we found Jerry White's U.S.Adventure by First Star Software the perfect addition to the family collection of quiz games. The adventure part of this game is the uni- que approach to the question format accomplished by the use the joystick to pick the course of the game. ‘The educational objective of this game is to teach the history and ‘geography of the United States. We feel it does this in an interesting way. The object of the game is to acquire as many points as possible. The user travels from state to state in the order the states were admit- ted to the union by correctly selecting the year in which events in U.S. history occurred. The children especially liked the “time tunnel” used to display the dates for selection. When a choice has been made the user is told either that the event occurred in the year selected, or that the event took place before or after the year specified. We find this game challenging and fun to play as a group. We especially liked the “trivia break” which appears once every ten cor- rect events. If your family is into history or the current trivia and quiz game fad, this is a game not to be missed. — Ruth Ellsworth
Page 3 (scan)
BUMPAS REVIEWS GULF STRIKE (Avalon Hill, $30) is a one or two-player strategy game simulating a hypothetical operational scenario pitting the USSR and Iraq against Iran, supported by the US, Britain, France, Kuwait, Saudi Arabia and the Gulf States. The game lasts 25 turns, and will end as soon as the USSR player captures 9 of the 21 victory point spaces. The turns are divided into 3 Phases: Surface movement; Air movement and combat; and Surface combat. The first turn or so might take players an hour or more to complete. But after a few turns, the time required drops dramatically to as little as 7 or 8 minutes for the last turns The map is very large, smoothly scrolling across more than 24 screens, containing 17 different types of terrain features. One type of terrain seems to have no purpose in the game — seaports. The play- ing area covers geography containing more than 100,000 km sq., divid- ed into a 55x65 grid of spaces. Iran, Kuwait, Bahrein, Qatar, and parts of the USSR, Iraq, Saudi Arabia, and the United Arab Emirates are por- trayed on the screen. The players control units differentiated among over 30 types, all with varying characteristics. The screen is divided into 3 windows. The top contains one screen of the map — an area of 8x18 spaces. Below that is a grapics window in which up to 19 of the units in a stack are shown, along with the ter- rain under the stack. A player may only perform operations on these 19 units in a stack. All other units in the stack are off-screen. You might find it advisable to keep stacks below this 19 unit limit for max- imum flexibility. At the bottom is a S-line text window displaying unit characteristics and status of the unit selected. A unit is selected by placing the cur- sor over a stack on the map; then over the unit symbol in the graphics window below the map. Then a combination of joystick directions and button pushes permits the player to select from among 6 attack or defense formations, and to move the unit. An entire stack may also be moved, unless there is a naval unit in the space. A naval unit must be moved individually (why?), and no stack may move until all naval units are first moved out. Air combat occurs when you send a strike of one or more aircraft to a space containing an enemy stack. The strike might be intercepted if the enemy has aircraft assigned to intercept, and the range and radar permit. The success of radar seems to be somewhat random. Surface combat occurs between adjacent stacks of enemy units. If a unit is adjacent to more than one enemy stacks, it attacks the unit with the lowest space number. During combat the map is scanned across the screen from the upper left corner. If you can position your units above and to the left of enemy stacks, you will have an advan- tage by attacking first. Combat results include only loss of hit points and elimination. Air strikes may only reduce a target to 1 hit point, but naval bombardment may eliminate units. All player input is by joystick, except for pushing the Start key at the end of each phase. The large, multicolor map is a wonder, coming close to the standard set by Chris Crawford in his games, although the colors are a bit drab. The programming seems very sophisticated, permitting wide player flexibility without getting in the way of play. The only indication of a failure by the programmer is the need to hold down the Option key for 40 seconds or so while the program loads on an XL machine. A poke could have taken care of this without making the player guess how long the key must be held down. | look forward to seeing this game system developed in future scenarios. Mean- while, Gulf Strike will give you several hard-fought play-throughs solitaire. You might never run out of combinations of game strategies in the two player game. IMPERIUM GALACTUM (Strategic Simulations, Inc. $40) is a game ‘of space exploration and conquest for 1 to 4 players. Each player begins the game at the dawn of space exploration on their home world, Players control population, the number of mines and industry and farms on controlled worlds, and after you've raised your technology level you may also improve the environments on controll- ed planets, permitting greater population growth. The winner is the player with the largest population when you decide to cease playing. Exploration is conducted with transports and warships. Ships are built by players from a menu of 8 warships, divided among small, medium and large classes. A warship class may also be redesigned and renamed. | was unable to successfully redesign any but a small class of ship. | couldn't get medium and large classes to take a speed characteristic and thereby exit the design mode of the program. Players may also build trading ships to transport goods between planets. Transport ships carry only armies and colonists. 3 ‘One very unique feature of this program is the ability to conduct diplomacy with the computer players. The negotiation menu shows your attitude (friendly, neutral or hostile) towards the other players, and theirs towards you. You may freely change your own attitude, but the computer players will mostly refuse your efforts to change theirs towards you. They will also mostly refuse your efforts to get one or more of them to help you by attacking another player (computer or human). But when they accept your offer, it’s extremely gratifying. Another menu permits you to negotiate with independent worlds, which can also be valuable allies. Warships must be assigned to a task force and given one of 6 mis- sions, including Garrison, Repair, Patrol, Commerce Raid, Embargo and Move. Combat might occur at the end of one of the two move phases each turn. Combat may occur between warships, or between ships and planets. Enemy planets may be captured, or just purged of all civilization. Most of the game is played on the series of text screens. There is a strategic map, a 20x40 dot grid showing all the star systems. A system may have from 0 to 2 habitable planets. There is a tactical map showing approximately ¥% the strategic map, with star systems and task forces displayed in larger size. Friendly task forces are shown, along with the presence of task forces of other players in systems containing friendly task forces. The game moves very quickly and is fun to play. No one has to look away from the screen for very long while another player does a portion of a turn. The phases are broken up so long periods of inactivity are avoided. The multi-player feature and diplomacy with the computer players make this a fun game of many possibilities in play and out- come. Stealth (Broderbund) is a 5-level 3D arcade game. You are the pilot of a Stealth bomber trying to fight through to the enemy tower and destroy it. The tower shows on the screen so you can see it as you ap- proach. Enemy ground batteries and aircraft shoot you on the way in. You may also increase energy by flying through energy fields. This will extend your range and help you reach your goal. The game is played with the joystick and you control speed and direction. Altitude is constant. This is an improvement on the Zaxxon- type game. Get your joystick muscles limbered up! WHISTLER’S BROTHER (Broderbund) is an action adventure game reminiscent of Hard Hat Mack. Your quest is to guide your brother over territory he covered the year before, to pick up all the chapters to his book written for credit at the university. You can find tools to help you in your quest and to fight off various beasties who will try to stop you, ‘An interesting feature of this game is you not only have to look out for yourself, but you must also protect your brother. If he runs into any hazard, it will end your turn as quickly as if you ran into it yourself. The only control you have over him is your “whistle” (done with the joystick). You must whistle to keep him nearby. If he wanders off, it's danger for you! The graphics and sound are excellent in this program. The scenes of each chapter are very well and interestingly drawn. This game will give you hours of fun. — Jim Bumpas, co-editor VP’s RAMBLINGS All the indications point to an upsurge in Atari use by the public. The next few months should see people buying more and more Ataris and the other things going with it; i.e., disk drives, printers, modems, etc. Since Atari seems to be dropping the price on everything and making owning a computer affordable to just about everyone, the user groups should be prepared to help the new users. We have started a new group of people called “Bugbusters”. These are people all over the country who have special skills and are willing to help those with problems. You will find the first names and phone numbers and ad- dresses in this issue of the newsletter, also these names and numbers will be listed on the BBS in a special section called “Bugbusters” of course. The BBS is going along just fine and we are sorry we had to erase all the old passwords and make you call in again so we may bring all members up to level 7 to take advantage of the new programs for members only. Remember: if you are a member please call and sign in again. Thanks. Since this is the holiday season | want to wish all of you the best and may all your wishes come to pass and may you have nothing but happy computing with no errors. — LARRY GOLD
Page 4 (scan)
XYGRAF PART 1: XYENTRY. I've occasionally had need of a program to produce a simple X-Y graph. | thought certainly there must be a program in all my back issues of magazines. Well, | couldn't find anything | liked, so. | decided to write my own. ‘XYENTRY’ is the first part of this process. It allows you to enter data pairs, modify them, save them to disk or recall them as necessary. Run the program and choose option 1 to enter or modify data. An orange cursor shows where the next X or Y value will be entered. A ‘summary of the commands is listed at the bottom of the screen. All alphabetic one letter commands require the CTRL key be pressed along with the letter. Here is a further description of each of the com- mands: CTRL (arrows). (move the cursor). The cursor keys move the cursor to valid positions on the page. Enter a number to have it occupy the Position. Numbers can have up to 15 characters, (only 9 or 10 digits are valid). The cursor will automatically advance to the next position, the next page if necessary. Once entry is started, a blinking cursor reminds you entry has to be completed. Not every position need be occupied, a DELETE will clean up unoccupied lines. CTRL M (Mark a pair). When operating with a set of data you often wonder what will it look like to remove this pair or that one. You could delete them from the set but you would have to type them in again to replace them. Instead, provision has been made to mark the pair at the current cursor po: mn with an asierisk, Pairs so marked will not be used in calculations or appear on graphs. To make the pair valid again, use the Undo command. Marked data does appear when listed and is marked with an asterisk. CTRL D (mark a pair for Deletion). You can replace a number by entering another in it’s place but to get rid of a data pair you must first mark it for deletion and then do a ‘DELETE’. CTRL D will put a ‘D’ in the mark column. The pair will be removed at the next operation clean- ing up the data. ‘CTRL U (Undo). To take the asterisk off a data pair at the current cursor location, use the Undo command. If the pair is marked for dele- tion, the Undo will undo the deletion mark. CTRL N (Next page). If there is a next page available for data, it will be displayed. The number of pages is equal to the total available data pairs divided by 20. The number of pairs is set at 100 in line 20 (MPTS = 100). Fewer or more pairs can be allowed for, (multiples of 20 are recommended). Larger numbers tend to slow down the cleaning up process considerably. CTRL B (Back up a page). To review data on previous pages (or change it) you can back up. CTRL X (eXchange data). Use this command to switch data in the X and Y columns. Only the X column can be ordered. CTRL R (Read a file from disk). Data can be entered from the keyboard, read off the disk, or a combination of both. Data from the disk will be added to data already in the set. If you want only data from the disk, you must do a CLEAR before asking for the data. CTRL (Save file on disk). Files are saved with the extension '.DAT’. If necessary, a cleanup and deletion of data will be done before the file is saved. CTRL (Order the data). For some operations like graphing the data must be ordered. The ordering is done on the X column of values — a cleanup of data precedes the sorting. CTRL E (write Equation to change values). Suppose you want to graph log(¥)'s rather than Y's. Using this command you can write a Basic line (line #980) which is inside a loop indexed by J running over the available data. The line Y(J)= LOG(Y(J)) changes all Y's to log Y's. When prompted with the 980, you can write any valid Basic line using the variables X(), Y(J) and J. It is possible to write incorrect lines or lines which will not work with some vaiues (taking the square root of a negative number for example). If you get an error message, you should check your data again as it may have been partially transformed. If you ask for this option when there are no entries, it will be assumed you wish to create X values using an equation. You will be asked for the maximum entry you want to create. For example, to set up 40 vaiues of X in increments of 5 you could set the maximum to 40 and enter X(J)=J"5. ESC (ESCAPE to menu). Use this command to leave the data entry- modification program and automatically load other programs. DELETE (Delete lines marked for deletion). A clean up of data will take place removing all unused lines and eliminating those marked ‘D. CLEAR (Clear out all data). CTRL F (list Files from disk). Only .OAT files are listed. CTRL T (sTatistics). Simple statistics are given for column Y. CTRL L (List data on printer). Values are listed in E format. The variable NDP in line 30 controls the number of decimal places. Numbers are truncated after the last decimal point, not rounded. This is only the first part of 'XYGRAF". The part that does the actual graphing should be finished by next issue. | welcome comments and suggestions, | know there could be some improvements. I'm aware of the flickering when numbers are entered. It has to do with the display list interrupt routine using WSYNC which is affected by the keyclick routine. De Re Atari recommends using VCOUNT or rewritting the keyboard handler. | haven't had time to try either of these solutions yet. — Stan Ockers RR. #4, Box 209 Lockport, IL 60441 FROM THE LIBRARY First of all, | want to apologize to all of you who have sent for disks and library lists for the slow service you have received during the past 3 months. | assure you we will do our best to improve our service to you as things smooth out over the next couple of months. | also feel an explanation is in order. The main reason for this is my employer for the past 24 years decided to discontinue serving Eugene. This left me and my family in a difficult position. We had only a very short time to decide whether to stay in Eugene where we have lived all of our lives or to accept a company transfer to a location we do not feel is as desireable a place to live. | have decided to give up a career in the airline industry and take up anew career. Just what this new career will be, | don't know. The main thing is we have now made the commitment to stay in the Pacific Nor- thwest. If any of you know of any openings in the airline industry in station operations, dispatch, cargo service, etc., let me know. ‘Anyway, back to the library ... by the time this newsletter reaches you, a new library list should be ready. New material has been coming in and by the time we have it sorted and checked, the library list is out of date. The target date to have the list off the press is December 1. This date may slide a bit. Several people have asked what we do with a program when so- meone sends one in for the newsletter or library exchange. | thought | would pass these tips along to you. Perhaps they will save us all some time. The first step when | receive a program is to make a back up copy. | learned this the hard way a long time ago. The next step is to try and check the various directories to see if this program duplicates a program in the library or is something which could be covered by copyright laws or perhaps is an improved version of something in the library. The third step is to run the program and see exactly what the pro- gram does, and then | deliberately try to make it crash. Is the program properly TRAPped? What happens if false information is entered? If the program is set up for use with a printer, what happens if the printer is not turned on? Can | get back into the program or will it crash or lock up? ‘Assuming the program passes these tests, | then pass it along to the editors of the newsletter or the educational groups for them to try. If the program does not pass the tests, | usually will try and fix it or ask someone in the club to take a look at it or even send it back to the author. The better your program is, the better we like it. Documenta- tion on the disk is greatly appreciated too. PRICE ADJUSTMENTS — Effective with the new library list, we will be adjusting the price of all disks to a flat charge of $10 singie sided and $15 double sided. This is a slight increase for some disks and a reduction for others. This price includes postage and handling to all addresses in the USA, Canada, and all APO and FPO military ad- dresses. Outside the USA and CANADA please add a flat charge of US$2.00 for airmail service. This is a flat charge regardless of how many disks you order whether it be 1 disk or 50 disks being send to addresses outside the USA and Canada. Until next year, HAPPY HOLIDAYS from the librarians and the rest of the Ness family. — Ron Ness 4
Page 5 (scan)
check 10 TRAP 888:GOSUB 980:PRINT CHRS (125); THs 20 REM ¥* GET FILE MAME ‘3@ PRINT " by David Fuller" 40 PRINT :PRINT " How may drives (1 or 2)"; rIMPUT DRIVES 50 IF ORIVES<1 OR DRIVES)2 THEN 48 6@ POSITION 2,6:PRINT "1. Filemanager" 78 POSITION 2,7:PRINT "2. Other" 88 PRINT :PRINT “Enter Type of File "3 INPUT ANSRS 90 IF ANSRS<)' t) a 165 TYP=: 118 PRINT :PRINT “ Insert Filemanager Data Disk" AND ANSRS<)"2" THEN 6 THEN TYP=2:G0TO 718 12@ PRINT “ in Drive 4 and press RETU RN"; SINPUT ANSRS 130 PRINT CHRSC125) ;TTLS:PRINT :PRINT i Files on the Disk":PRINT LINS 140 IMFILS="01:%,%": OPEN H1,6,8, INFILS 150 INPUT #1; FLWQMS:IF FLWAHS (5, 8)="FR EE" THEN 188 168 IF FLWAMS(11,13)="DAT" THEM PRINT FLWAMS C1, 8) FLMAMS (14,17) 178 GOTO 158 188 CLOSE #1:PRINT LINS:PRINT "Which f ile to convert “:PRINT " 3p SIMPUT ANSRS : INFILS: INFILS (33 =ANSRS 198 INFILS (LEN CIWFILS) #13 =". FHT" REM ¥® GET AND DISPLAY FIELDS PRINT CHRS (125) ;TTLS:POKE 752,06 OPEM #1, 4,0, INFILS INPUT #1 ;MUMFLDS IMPUT 1; FLONS HAXLEN=@ FoR TO WUMFLDS:INPUT 1, A:F NCH IF ADMAXLEM THEM MAXLEN=@ 218 228 ‘LEW CINFILS) sIWFILS (LE- 3, LED=' OPEN M1,4,6,INFILS 298 INPUT #1,0: NU 388 FOR N=1 TO 4: INPUT $4; IDKS:MEXT KM: INPUT #1; IDK2:IMPUT #1; IDE 340 PRINT :PRINT "File “;CHRS (34) ;INFI LS (3, LEW CIMFILS) ~4) ;CHRS (34) ;" has "3H une ;" records" 320 PRINT :PRINT ,"Field nanes" ‘330 PRINT LIW j=5 3023 340 FOR W=1 TO MUMFLDSKI2 STEP 12:A=At £ 350 B=B+L:IF A=it THEN 360 IF A=10 THEN C=2 378 POSITION C,B:PRINT 0 Oct. issue for 380 WEXT M:POSITION 2,16:PRINT LINS 398 INT “ is this the right File (Y 7M) 9; INPUT ANSRS 400 IF ANSRSQ)"Y" THEN RUN 401 PRINT ;PRINT “How many records to (WPUT CPY IF CPY<NUMR THEN PASS=2 410 INFILS (LEN CINFILS)-29= 420 REM %© WRITE DIF FILE 430 PRINT :PRINT™ Enter nawe of outp ut file":PRINT "up to @ characters ; INPUT ANSRS 440 QUTFILS="D": OUTFILS (2)=STRS CORIVES 2 SOUTFILS (39=":"s OUTFILS (4) =ANSRS: OUTF ILS (LEW COUTFILS) +1)=". DIF" 442 IF DRIVES=1 THEN GOTO 458 443 PRINT :PRINT “Insert destination d isk" 445 PRINT“ in Drive 2 and press RET URN"; SINPUT AWSRS 45 PRINT CHRSC125) ;TTLS:PRINT :PRINT "Processing, 455 POSITION 5,6:PRINT "Total Records: 7 NUR 46@ POSITION 5,10:PRINT "Field: ITIOW 5,12:PRIMT “Record $:"; 478 QUTS=CHRS (34) 480 OPEN #12,8,0,0UTFILS 481 IF PASS=2 AND START1 THEM GOTO 48 6 485 CLOSE M1:OPEM fi,4,6,INFILS:MOTE tt 1, SEC, BYTE 486 IF STARTC)1 THEN CPY=KUMR 490 PRINT #2; "TABLE": PRINT 112;"0, UTS; QUTS:PRINT #2, SSTRSCCPY-START#L) :PRIMT 12 GQUTS ;QUTS:PRI 508 PRINT #2, 2; QUTS; QUTS 518 PRINT H2;"DATA":PRINT #2;"0,0":PRI WT 2; QUTS;QUTS Sti a=@ Si5 IF TYP=2 THEN ST=@:FOR W=1 TO NUMF LDSIA=A+FMCH) :MEKT W:GOTO 558 528 FOR =i TO MUMFLDS:FTOND=: ‘ S30 IF FWCN))108 THEN FT CW) =: 532 A=AtFNCWD 540 MEXT W:ST=@ 55@ IF a)2S5 THEN PRINT “Total record length over 255 characters, can not co avert ":END S55 FOR Z=1 TO MUMFLDS 560 IF TYP=2 THEM POSITION 13,1@:PRINT Z:G0TO 58e 5 ate "; STRS (MUMFLDS) : PRINT ENON HL TWO =14 578 POSITION 13,18:PRINT FLONS(Z¥L2-14 sTHA2D; ‘56@ PRINT #2;"-1,8' 590 ST=ST+FN(Z) 688 FOR K=START TO CPY 618 POSITION 15,12:PRINT K;" "3 628 INPUT M1; INPTS 630 IF FTCZ: THEM PRINT #2;"-1,) PR INT $2; QUTS; INPTS (ST-FW(Z) +1, 57) ;QUTS 640 IF FT(Z)=1 THEN PRINT $2 VAL IWPTS (ST-FMCZ2 41,5132 :PRINT 12; "0" 650 EXT X 655 IF Z=WUMFLDS THEM NOTE 11, SEC, BYTE 668 POINT #1,5EC, BYTE 678 WEXT Z 688 PRINT #25"-1,0":PRINT 12;"E0D":CLO SE #2 681 IF CPY=KUMR THEN GOTO 690 682 PRINT :PRINT :PRINT “Do you want t © copy the rest of the":PRINT " recor ds ";rINPUT ANSRS:TF ANSRSCL,12 QW" T HEN 698 683 POINT #1,5EC, BYTE 664 START=CPYti 685 IF DRIVES=2 THEN PRINT :PRINT “Ins ert new destination disk “:PRINT " and press RETURM ‘"; INPUT ANSRS 686 PRINT CHRS (125) ;TTLS:GOTO 430 698 POSITION 5,19:PRINT " DONE “":END 708 REH ¥# GET OTHER FILE IMFO 748 PRINT CHRS C125) ;TTLS:PRINT vert other file’ 728 PRINT :PRINT “How many fields in f ile"; sINPUT MUMFLDS 725 PRINT :PRINT "How many records in RINT 112 Con 726 PRINT :PRIMT “How many records to copy ";:IMPUT CPY:PRINT 728 IF CPY<MUMR THEN PASS=2 730 FOR Z=1 TO WUMFLDS 74@ PRINT “Length field #32; : INPUT : FMCZD=X 75@ PRINT “Type of field (5)tring/«Wu IF AWSRS (1,1) 5" ’ " THEN PRINT "5 or w":G0TO 758 760 IF ANSRS(1,1)()"N" THEM FT(Z2=1:60 TO 768 778 FT=@ 788 WEXT Z 790 PRINT CHRS (125) ;TTLS:PRINT :PRINT “ft Length Type": PRINT LINS 808 FOR TO MUMFLDS:PRINT " FFNCZ) 810 IF FTCZ)=8 THEN PRINT "String" 828 IF FTCZ)=1 THEN PRINT “Wunber"
Page 6 (scan)
cif 830 MEXT Z:PRINT LIS 840 PRINT :PRINT “Are all entries corr ect (Y/N) "jr INPUT ANSRS:IF ANSRS CL, 17 Ong" THEN GOTO 718 850 PRINT CHRSC125) ;TTLS:PRINT :PRINT “Enter name of source file":PRINT " ex ample: TEST.DAT INPUT ANSRS 860 IWFILS="D: "3 INFILS (3) =ANSRS 865 STAR 878 PRINT CHRSCL25) ;TTLS:GOTO 438 882 ERR=PEEK (195) :ERLI! ony cant PEEK (187) :PRINT :PRINT “ ERROR: "SERR;" AT LINE “ZERLIW 890 PRINT :PRINT “ Press RETURN to continue ";:INPUT ANSRS 895 RUN 900 REM ** SET UP VARIABLES 948 PRINT CHRS C125); :DIM TTLS (34) :TTLS =" CONVERT TO DIF FILE UTILITY" 920 DIM ANSRS (255) ,IWFILS (17) ,FLONS (24 @) ,LINS (40) , CHGFLDS (12) , FNCTS (48) , FLNA HS (173 , QUTFILS (17) , QUTS (1) 930 DIM CHGS(255) , INPTS (255) , KSC1) , SPY PES (2) ,FLD1$ (255) ,FLD2$ (255) , FW (28) ,FT ey 940 LING: a RINT LIMS: 958 RETURN 5 5 KE" OF LD 92:POKE 707,222: POKE 623,1:G0SUB 18:RE TURN 32788 DATA 1,7,31,63,63,127,127,255,12 8,224,248, 252, 252,254,254, 255 32781 DATA 255,127,127,63,63,31,7,1,25 5,254,254, 252,252,248, 224,128 32782 DATA 1,1,3,3,7,15,63, 255,128,128 192,192,224, 248,252,255 327@I DATA 255,63,15,7,3,3,1,1,255, 252 248, 224,192,192, 126,128 32704 DATA 24,68,68,126,126,126, 255,25 5,255,128, 183,165,165, 183,128,255 32705 DATA 255,255, 126,126,126, 68,68,2 4,192,248, 254, 255,255,254, 248,192 32786 DATA 28,31,26,16,16, 16,16, 16,255 1255, 255,255,255, 255,255,255 32707 DATA 16,2,64,8,8,126,2,16,120,25 4,183,251, 127,222, 124,56 32766 DATA 59,62,64,67 32767 DATA 224,224,128, 128,128,128 CAI by Jeff @ REM FIGURE 4 18 REH C.A.I. DRIVER PROGRAM 28 REM BY JEFF MCHIE 30 PORTA=54016:REM DATA OR DIRECTION R EGISTERS 40 PACTL=54016:REM PORTA COMROL REGIST ER, SELECTS WHETHER PORTA WILL BE DATA OR DIRECTION CINPUT/OUTPUT) REG. 45 POKE PACTL,S6:REM SET PORTA AS & DT wT AMAEETING RECTION REGISTER 5@ POKE PORTA,6:REM SELECT BIT 3 AS AN OUTPUT BIT. OTHER BITS WILL MOT BE US ED & WILL REMAIN AS INPUT BIT 68 POKE PACTL,G@:REM RESET PORTA AS A DATA REGISTER 78 REM MOM IF WE SET BIT 3 (PIKE PORTA 8) BIT LINE 3 HILL GO HIGH, IF WE POK E PORTA,@ BIT LINE 3 WILL GO LOW 8@ REM LINES 18-78 SELECT PORTA,BITS A 5 AM OUTPUT LINE 90 DIM C$(3) 100 INPUT CS 110 IF CS="ON" THEN POKE PORTA,@ 120 IF CS="OFF" THEM POKE PORTA,8 138 GOTO 108 140 REM LINES 168-130 LET YOU TURM OW OR OFF APPLIANCES BY EITHER TURNING OW OR OFF BIT 3 cHie MAGIC 1 & 2 381 IF PEEK(764)<)255 THEN POKE 764,25 S:RUN "D: MENU" 390 IF P<S1@ THEN 360 8 GOTO 378 410 FOR Wei TO S3:MERT W:RETURN 420 REM STRING MAGIC ROUTINE 430 A= CADOR-PEEK (148) #PEEK (1419#256) A HINT (0/256) - (OH#256) : VUT=PEEK (13 450 IF PEEKCO-2)<128 THEN GRAPHICS MOT & STRIW Pp 460 POKE Q,AL:POKE #1, AH: AH=INT (SIZE HGH 256) :@L=SIZE- CAHK256) :POKE Q+2,AL:POKE QS, AH:POKE Q+4,AL:POKE Q+5,AH:RETURN
Page 7 (scan)
GOSUB 3200 REH SHORE RAEI REHAB IHOOE Clo Atari Computer Enthusiastsiad 8 SUB 32108:GOTO 168 1 2 Pe 5062 vine Maple rive | ad 4 5 6 REM baad REM iad id 10 FOR WEPB TO PB#512 STEP 7:POKE H,6: POKE WHL,@:POKE H#2,0:POKE Ht3,8:POKE WHA, @:POKE HES, O:POKE H#6,@:WEXT W:RET urn 188 GOTO 198 198 POKE 788,186:POKE 789,236:POKE 718 *ATG:POKE 741,198: POKE 712,194: HOLE=8 195 POKE 756,224:FOR W=8 TO 11:POSITIO N HEL, Hi? @6;"tee off"; :5OUND 6, (HELIX sand trap':? 6;"" e 204 ? 65" ? (isEselect ‘THE! (eEEstart PTHE GAME ay 208 IF PEEK(S32793()S THEN 268 289 7 16;"R":POKE 756,CB:GOTO 296 290 IF PEEK(S32799=5 THEM 296 293 IF PEEK(53279)=6 THEN 380 295 GOTO 296 296 HOLE=HOLE+i:IF HOLE)S THEN HOLE=1 299 OM HOLE GOSUB 13@8, 1198, 1 |, 1288, 1480: POSITION 1,11:7 #6; "hole “;HOLE: FoR W=i TO 123:MEKT H:GOTO 298 3e8 DEG :POKE 53248,BH:POKE BU, 1:POKE 53249, HH:POKE HV, 64:POKE HU#i,224:POKE HU#2,64:POKE 53258,HH+1:5) IF=8 305 RESTORE 32767:FOR HB TO S:READ D: POKE FUtH,DINEXT H:AG=90 O=INT (RMD (8*368) :POSTTION 1,41:7 865°"; oF 318 POSITION 1,11:7 16;" NT (RND (09360) :POSITION 1,4 wD 'F:POSITION 6,11:7 16; 341 IF STICKCOI=13 THEM AG=AG-1:1F AG< © THEN AG=359 3i2 IF STICK (Ce: 359 THEN aG=@ 315 POSITION 16,11:7 6; "CUTGWR"; AG; " 348 IF STRIGCO)=1 THEN FOR Hoi TO 21:8 EXT WiGOTO 311 319 IF STRIGCO) = 320 IF STICK Ce A3S THEN FC=1 4 THEN AG=AG#1:IF AG) THEN 319 4 THEN FO=FC+i:IF FC) 321 IF STICKC@)=13 THEM FC=FC-1:IF FC< @ THEN FC=135 325 POSITION 10,11:7 H6;"Fforce";FC;" 329 IF STRIGCO)=1 THEN FOR W=i TO 2i:W EXT W:G0TO 328 358 K=STM CAG) :¥=COS CAG) : WMD) 74): Y=¥- (COS CHMDD 74) 408 POKE 77,@:IF DIF=1 THEN DIF: wrcre/2) 402 ST=ST#L: POSITION 7,14:7 96;5T;:IF FC)21 THEN BL=INTCFC/3) :B2=INT (B1¥8.5) :B3=INT(B2%8.75) 404 SOUND 8,7,8,14:FOR Wei TO 3:NEKT WH :SOUMD 0,8, 405 FOR WFC TO 1 STEP -1:POKE 53278,0 OKE BY, @:BH=BH+H:BU=BUtY:POKE BU, 1:P OKE 53248, BH 410 IF BUCPB+Le OR BU)PB+LES OR BH<4e OR BH)208 THEN POKE BV,@:GOTO 588 420 IF PEEK(53268)=2 AND W<7 THEN Gea 430 IF (BI=W OR B2=W OR BI=H) AND FC)Z 1 THEM SOUND 8,99,18,18:GOTO 435 431 GOTO 449 435 SOUND 6,0,0,0:FOR WH=1 TO 28:WEXT WH:IF PEEK(S32522 08 THEN 708 440 IF FC)42 AND W<BS THEM IF PEEK(S3Z 52240@ THEN 708 499 NEXT W:G0TO Sit 58 RESTORE 32766:FOR W=i TO 4:SOUND 8 »8,0,0:FOR WH=1 TO 21:WEXT WH:READ D:5 18, 18:FOR WH=1 TO 77 5@5 EXT WH:WEKT W:FOR W=1 TO 146:MEKT H=KE SINC FO=I 599 ON HOLE GOSUB 1300,1100, 1680, 1280, 1488: POKE 53246, BH:POKE BY,1:G0TO 31¢ 608 SOUND @,21,18,10:FOR WH=1 TO 14:WE XT WH:POP :SOUND @,6,6,8:POKE BU,@ 618 FOR H=i TO 7:FOR WH=15 TO @ STEP - 8.5:S0UND 8,14,18,WW:POKE 706, PEEK (S37 70):MEXT WH:WEKT W:POKE 786,92 698 IF PEEK(5S3279)<)5 THEN 698 699 POSITION @,0:? #6; "K":POKE 53249,0 :POKE 53250, 0:NOLE=HOLE-1:605UB 18:GOT 0 296 708 J=PEEK(S3252) :IF J=4 THEN FOR MH=L 5 TO @ STEP -@.25:SOUND 6,7,8,HM:MEXT WH:POKE BV,8:GOTO 586 74@ IF J=2 THEN POP :SOUND 0,177,8, FOR Wei TO 14: NEXT W:SOUND @, GOTO Sit 720 IF J=4 THEN W=INT(H/2):GOTO 499 738 GOTO 499 POSITION 7 Tee ? 6;" JdSt ISSIIIIIS Yi JISSSIEKIKK BWA SSS IKK IKI IV SSIKIKKK SSE) EI 5" 1084 2 H6;"K) EECCA SIKIKS SEK 3 :BH=48:BU=PB +35: HH=185:HV=PB4218:FU=PB+340: RETURN 1108 POSITION 8,8:7 6; "R":POSITION 1, 22? M6; "SISKIKKIIKIIKISKIKKIIKISSS STEETREK ISI EE Ca; 1182 ? #65" WM IK IJIN ERRIKISS JIKKIIK IKK IKIKK'; ;POSITION 1 F 1104 BH=49:BU=PBt63: Y=PB+299: RETURN jSPBELT7:F 1208 POSITION 6,037 %6;"R":POSITION 8, SKSSKKSSIKS Bo KSIKKS Ksits — JKIS Yai IKK KIS"; 1202 ? #6, wKIS JK a Just KS JK a" wk 1204 ? 16; "KKSERRE] GAGUTEMEIKOKKD OK REX STI IKIKSSIKS IKKE" 5 7 BU PO+87:HH=190:HU=PB4222 : FU=PB4344 1205 RETURN :POSITION 1, $5 j "SIKIKSIKIKKBIKIKSSSIKISSIKSS EVID 1382 7 #6;" MEK IKISIKIIS GE KKKIIKISIKKSS KSIKKIKS. OSITION 18,0:7 26; 1304 BH=56:BU=PB+56:HH=190:) U=PB+310: RETURN 1408 POSITION @. 8 2 265K" :POSITION 8, FIKIKIKKIKSISISIIN KEES EEKKIJJJJ EE @ Kskwith) "; 1402 ? HO; "IIS SiiVKS —JKJJJJK KES uizJIKS KIKI KJJISS Jd JETT JKKI KSEE BBB UK. 1406? 86;°H THR JAI St MK JUKKSIKS Swi i IKI I"; :BH=57 280 =PB+S3:HH=188: NU=PB+208, 1405 RETURN 32088 DIM PRS(5@) :CB=PEEK (106)-4:POKE +338 32010 GRAPHICS 18:Z=CBH256:A=USRCADR(P RS), Z,4):FOR H=Z#408 TO Z#511:READ D:P OKE H,D:WEKT H:POKE 756,CB 32028 FOR W=Z+328 TO Z+351:READ D:POKE H,D:WEXT W:RETURW 32180 POKE 54279, CB:PB=CBx256+51 53277,3:POKE 559,46:POKE 53248, 8: 53249,8:POKE 53250,0:POKE 53251 32110 POKE 704, 14:POKE 705,8:POKE 786,
Page 8 (scan)
XY ENTRY BY STAN OCHERS 10 RE At REM He XYEMTRY * 12 REM % = PART OF KYGRAF 1” 13 REM 3 5, OCKERS 11/84 me 14 REM #% ACE Newsletter Dec 84 ## 15 REM 3662 Vine Maple Di ae 16 REM #® Eugene, OR 97485 7” 17 REM $42 year cd 18 REN JesesHEdEHEBHEHEKHHERRHaHEREH 19 REH 20 MPTS=160:DIM MS(2) ,D5¢20),RS(20),H BLKS (15), FMMS (14) , DATS(4),KCMPTS), bs TS), HARK CHPTS) : MBLK: E 16,112:POKE 53774, 112 99 REN ® HEMI % 168 2 CHRS(125);:2 " (1) ENTER AND MODIFY DATA": RAH AN X,Y GRAPH 150 GET 1,K:IF K(49 OR K)S@ THEN 15@ 160 IF K=49 THEN ? CHRS(125):GOSUB 1 8:G0TO 318 function not] 170 IF K=50 THEN ? OSUB 1378:GOTO 10 309 REM * HAIN KEYBOARD INPUT # 310 POKE 694,0:GET Mi,K:N=(PAGE-C1)¥20 +ROW 320 IF K=28 AND ROW)CA THEN GOSUB 916 RON=RON-C1:G05UB 988 330 IF K=29 AMD ROW(2@ THEN GOSUB 918: ROM=ROFCL:G0SUB 9eB:uPDAT=CL 346 IF K=3@ AND COL=YLT THEM COL=KLT:6 OSUB 928 350 IF K=341 AND COL=KLT THEN COL=YLT:6 OsuB 928 352 IF K=27 THEN GOSUB 91@:G0TO 108 354 IF K=2@ THEN 1700 360 IF (K)47 AND K<56) OR K=43 OR K=45 THEN 41 362 TF K=13 AND CKODOM OR YCHD OND? THEN MARK (ND =! 36S IF K=4 AMD (KON OND OR YOM) (N92 THEN MARK (H)=H2: POSITION MLT,RO! F2UPDAT=C1 364 IF K=21 THEN MARKOWD LT,ROW:? "5 366 IF K=125 THEM GOSUB 911 33" clearing data":60SUB 1081 58 368 IF K=156 THEN GOSUB 11¢8:GOSUB 1@5 8 370 IF K=14 AND PAGECMPGS THEN PAGE=PA GE+C1:605U8 1058:UPDAT=C1 372 IF K=2 AND PAGEC1 THEN PAGE=PaGE- POSITION HLT,ROW:? “% CHRS (125 OSHB 18 CL:G0SUB 1858 373 IF THEM GOSUB 1100:G0SUB 91@:6 0To 958 374 IF K=19 THEN 680 378 IF THEN GOSUB 916:GOTO 1368 376 IF K=18 THEN 7@ ‘377 IF K=12 THEM 1408 378 IF K=15 THEM 801 379 IF K=24 THEN 850 368 GOTO 316 399 REM % INPUT @ NUMBER % 408 TROP SS@:POSITION COL,ROW:? NBLKS; OSITIOM COL, ROW: P=2:MS C1)=CHRS (KD :? CHRS CKD; 482 POKE 752,C8:? " ";cHRS(126); 410 POKE 694,0:GET 11, 420 IF K=155 THEN POKE 752,C1:? " "3:6 oro 58 430 IF K=126 AND P)C1 THEN P=P-C1:mS CP ’ 2? CHRS (KD; 440 IF P)15 THEN 410 450 IF (47 AMD K<58) OR K=43 OR K=45 OR K=46 OR K=69 THEN NSCP,P3=CHRS CK): 2 CHRS (KD; :P=P+C4 460 GOTO 418 S88 P=(PAGE-C1)#20+ROM: RS=NS:N=VAL (RS) 51@ IF COL=KLT THEN KCP)=N:COL=¥LT:G0S UB 928:G0TO 538 520 IF COL=YLT THEN ¥CP: COL=MLT:605 558 POSITION COL, ROW ‘OTO 318 S59 REM ® ADVANCE ROK, CK FOR PAGE CRO SSING * 560 GOSUB 94 THEN GOSUB 960:RETURN 57@ ROW-ROMH1:GOSUB 918:IF ROWD2@ THEN ROW=1:PAGE=PAGE+1:GOSUB 1058: RETURN 588 GOSUB 986:RETURN 599 REM ® SAVE @ FILE * 68@ GOSUB 1100 610 GosuB 121 ‘HZ ;ENTR 620 FOR J=1 TO ENTR G30 PRINT #2; MARK CII 5", "78 C9 648 NEXT J 65@ CLOSE #2:G0SUB 1e5@:TRAP 4e08e:GOT 0 318 668 POSITION 0,21 FILE WOT SAVED xx 658 699 REM * READ A FILE ¥ F ROW=2@ AND PAGE=HPGS OPEN #2, 8,0, FMS: PRINT "YC He DISK ERROR — :605UB 1378:60TO AP 760:0PEN #2, 4,8, FWMS:IMPUT 12, NADD 705 IF ENTR#NADD)MPTS THEN POSITION @, 8 HE FULL sen :G0SUB 1378:60T0 758 718 FOR J=EWTR+i TO EWTR+NADD 720 IMPUT #234,%,¥ 738 MARK CII=H:K CJ) c= 748 NEXT J:EWTR=ENTR#NADD 75@ CLOSE 82:G0SUB 1178:60SUB 1858: TRA P 48008:GoTO 318 768 POSITION @,21:7 " NOT FOUND 2H 0 750 799 REM * BUBBLE SORT OF K'S 808 GOSUB 11 CHRS (125) ;" 810 SFLG=8:FOR J=i TO ENTR-A:IF XCJ+1) KCI) THEN 838 TEMP=K (OS): XCD =KCJ41) KIEL =TEMP: FEMP=Y CJ) 2 ¥ CID=¥ CIEL) FY CSHLI STE 24 88886 FILE "3G0SUB 1378:60T sorting 830 WERT J:IF SFLG=1 THEN 810 846 GOSUB 185@:GoTO 318 649 REM ® EXCHANGE K AND Y DATA * EXCHANGING 852 POSITION 6,22:7 " 866 GOSUB 910:FOR J=1 TO MPTS:TEMP=KC 22M CI=Y C0: Y CD =TEMP:WERT J:G05UB 105 @:G0T0 318 899 REM % POSITION CURSOR ROUTINES * 908 PHC=PMOFFt4x(ROMFCI) :FOR J=ce TO 3 POKE PHC+J,C25S:MEXT J:RETURN 918 PHC=PHOFF+4*(ROHFC1) :FOR J=CO TO 3 tPOKE PHC+J,CO:NEKT J: RETURN 928 POKE 53248, 48+4%COL : RETURN 949 REN * UPDATE X'S BY EQUATION * 950 TRAP 990:? CHRSC175):1F ENTR=0 THE No? 2? “HHAT MAXIMUM VALUE FOR ENTRIES eSIMPUT EWTR 951 IF ENTR)MPTS THEN 958 954 POSITION 7,4 956 GET M1, K:IF 958 ? CHRS CKD; 260 POSITION @,2:POKE 842, 13:STOP 978 POKE 842,12 975 FOR J=i TO EMTR 980 KCIDEK CIEE, 14159 985 MEXT J 986 2 CHRS(125): TRAP 41 GoTo 318 990 POSITION @,21:? "HK ERROR-BE SURE AND CHECK ENTRIES ** “:60SUB 1376:G0TO 986 999 REM ¥ INITIALIZE ARRAYS ETC. * GOSUB 105
Page 9 (scan)
1828 RETURN
1849 REM ® DISPLAY A PAGE *
1858 7 CHRS (125) ;"* PAGE "“;PAGE;" 0
F ";MPGS:POSITION 25, Ct
35,00:?
1051 STRT=(PAGE-C12%28:FOR J=CA TO 21
POSITION JLT,J:? STRT#J;" “:POSITION
MT,
1052 IF MARK{STRT+J)=Mi THEM POSITION
4055 POSITION KLT,J:? MBLKS:IF XCSTRT+
JDON9 THEN POSITION XLT, J:? KCSTRT#I)
1868 POSITION YLT, J:? MBLKS:IF ¥CSTRT#
JOM THEM POSITION YLT, J:? YCSTRT#I)
1078 NEXT J
1079 REM * PRINT OPTIONS AT BOTTOM *
1988 POSITION @,21:? “ CTRLCarrows) Mr
k Del Undo Wxt Bk Xchg"
1082 POSITION @,22:? “Rd Sav Odr Eqn E
SC DEL CLR Fil sTat Lst":GOSuB 90
us 928
1098 RETURN
1099 REM CLEAR UP BLANK SPACES *
1108 IF UPOAT=0 THEM GOSUB 1160:RETURN
1102 GOSUB 918:
LEANING UP DATA’
1104 POSITION 8,22:7 "
1168 IF MARKCJI=MZ THEN 11276
1140 TF (KCI OOW9 OR YCIICN9D OND JCM
PTS THEN J=J#:
1120 FF=J:IF J=MPTS THEN 1168
1140 IF CKCJJ=M9 OR YCJI=N9) AND JCHPT
3 THEM J=J41:G0TO 1148
1142 IF MARKCJI=M2 AND J<MPTS THEN J=J
#1:G0TO 1148
1144 IF
THEM 1168
A158 XCFFI=H (J) 2¥ CFFY=Y CJ) : MARK CFF) =MA
SIF J<MPTS¢1 THEM 4
SFF=O:? CHRS (125) ;"C
AMD CKCII=EN9 OR YCII=N9D
1: ROW=ENTRE
OSUB 92070
A> €9828) | COL=KL
Poa’ TURN
1179 REM * COUNT NUMBER OF EMTRIES *
1188 J=1
1184 TF KCI OM9 OR YCIIOND THEN Jat
‘L:G0TO 1184
1186 EMTR=J-1:RETURM
1199 REM % INPUT FILENAME X
1208 GOSUB 918:POSITION 6,21:
INPUT FILENAME "5
1282 POSITION 6,22:
bat
i124 OSITION 12,22: F NMS:
1220 GET H1,K
1230 IF K=155 THEN 1288
4240 IF K=126 AMD P)3 THEN
7) 2 CHRS CKD;
1242 IF K)96 AMD K<125 THEN K=K-32
1250 IF ((K)47 AMD K{58) OR (K)64 AND
KC94)) AND PCLL THEN FNMS(P,P3=CHRS CKD
12 CHRS CKD ; :P=PHL
1268 GOTO 1228
1280 FHMS(P)=DATS: RETURN
1299 REM % SHON .DAT FILES OW DISK *
1308 7 CHRS (125): OPEM #2,6,8,"D:*, DAT"
TTRAP 1348
1348 FOR K=@ To 20 STEP 20
1330 FOR J=1 TO 22:INPUT 12;0$:POSITIO
WK, Ji? DS;:NERT J:MEXT K
1348 GOSUB 1378
1368 CLOSE #2:G05UB 1050:G0TO 318
1378 POSITION 20,22:7 “(EERE
1380 GET #1,K:IF KQ)32 THEN 1380
1398 RETURN
1399 REM ¥ LIST VALUES OW PRINTER *
1408 ? CHRS(125):605U6 1168:NBR=INTCEN
TR/2) :MARG=9-NDP:ODD=@:IF IMTCENTR/Z)<
DENTR/2 THEN MBR=NBR+1:00
1401 TRAP 1440:0PEN 83,8, :CLOSE
mS
1482 LPRINT :LPRINT " tt
x Y LPRINT * C3
x ve
1404 LPRINT :FOR M1 TO MBR:NS=STRS CH
ELLEN CNS) :LPRINT NBLKS (1, 4-L) 545"
1405 IF ARKH QML THEN LPRINT
GOTO 1410
14065 LPRINT "%
1410 NEKO STF MENS THEN CPRINT NBLKS;
2G0TO 1414
1412 GOSUB 145@:LPRINT MBLKS(1,HARG) ;W
oF
1414 WEY CD GLPRINT © 5:0F N=N9 THEN L
PRINT MBLKS;: GoTo 1416
1416 GOSUB 1458:LPRINT MS;NBLKSC1, HARG
3
1418 IF HEMBR AND ODD=1 THEN LPRINT :6
OTO 1434
1420 NS=STRS CHENBR)
BLKS (1, 4-L) | MENBR
LEM CNS) :LPRINT W
1422 IF MARKCHENBR) OMS THEN LPRINT
“;:60TO 1426
1424 LPRINT "5
CHEMBRD SIF W=N9 THEN LPRIWT NB
1428 GOSUB 1458:LPRINT NBLKSC1,MARG) ;H
$3
1430 W=YCMEMBRD :LPRINT *
EM LPRINT MBLKS:GOTO 1434
4432 GOSUB 1450:LPRINT MS;MBLKS (1, ARG
}
p20F MNO TH
1434 WEXT
1436 TRAP 41 GOSUB 1858:G0TO 318
1440 LPRINT :LPRINT :LPRINT “X¥HEHK PRI
TER ERROR #KKKK"ZCLOSE H3:G0TO 1436
1449 REM ® PUT # IN E FORMAT *
1458 SSTRS OND STF MKB THEN WS=
W502): NFLG=1
1468 J=1:01
LEW CNS)
1470 IF W=@ THEN 1558
1488 IF NSCS, J2="." THEM DP=,
1490 IF MSC, JD THEM J=J+1:G0TO 14
88
1500 FMO=s
1518 J=JtL:IF JDL THEN 1558
1528 IF SCJ, J9="." THEW DP=J
1530 IF WSCJ,J="E" THEN EX=J
1548 GOTO 1518
1550 IF EX>@ THEN EP=VAL (WS CEH#L)) SWS
EK)
1560 IF LEWCNS)(2@ THEN NSCLEM(NS) +1)=
1578
1588
@ THEN EPN=EPN-1
1590 MSCL2=NSCFNO):IF DP)FNO THEN NSCD
PI=NS CPHL)
1688 RS=NS (2) :MS.C2)=NS C1) WS CLL
1620 RS=STRSCABS CEPI) SIF LEM(RSI=1 THE
W NSCHDPS6) iS CHDPE7)=RS:G0TO 1640
1630 NS CHOPS)
1640 IF WFLG=1 THEM MSC1,19="
1650 RETURN
1699 REM ® STATISTICS *
1? CHRS(125):GOSUB 918
BIG=@:LITTLE=1,0E+97;
FOR J=1 TO ENTR
1712 IF ¥CJ=N9
1714 MBR=MBREL
1728 TOT=TOT#Y CI)
1722 IF YCJ))BIG THEN BIG=¥ CI)
THEM 1738
Page 10 (scan)
XY ENTRY
1724 IF YCS)MLITTLE THEN LITTL
1730 WEXT J: MEQN=TOT/ENTR: TO
=MEARKMEQN
4748 FOR J=1 TO ENTR:IF YOU) OMI THEN
TOT=TOT#Y (JD #Y CJ) -HEANSO
1742 WERT J:¥@R=TOT/ CNBR-L) : SD=SORCUAR
d
1758 2 12. 2? ‘HEBBBBEBEHEBEAIAHBEREEIEE
qe STATISTICAL SUMMARY ##!:7
III OBI RIA IAAI IIE
1768 ? 2 “LARGEST VALUE =
SMALLEST VALUE =
1770 2 +? "MEAM VALUE
UNBER OF ENTRIES = ";NBR
1780 7 :? “UARIANCE = ";VAR
RD DEV.
1798 TRAP 49808:G0SUB 1378:GOSUB 1851
GOTO 318
1888 semee ERROR CHECK DATA VALUES
eee: GOTO 1798
2999 REM * PM GRAPHICS *
300G GRAPHICS 7:POKE 106,PEEK(106)-5:P
HEPEEK (106) 41:POKE 54279,PH:GRAPHICS @
:POKE 752,1:? “ initializing"
3018 POKE 788,34:POKE 789,0:POKE 712,14
8
3OS0 POKE 784,56:POKE 559,46:POKE 5327
7, 3:POKE 53256, 3:PMOFF=(PHEZ) #256416
3069 REM * DISPLAY LIST *
387@ DLIST=PEEK (56) +256"PEEK (S61) :POK
E DLIST#3,198:POKE DLIST#6,136:FOR J=7
TO 26:POKE DLIST#J,130:NEKT J
3072 RESTORE 3874:FOR J=1569 TO 1586:R
EAD A:POKE J,A:MEXT J:POKE 512,34: POKE
S13,6:POKE 54286,192
3074 DATA 168,72,173,33,6,73,2,141,33,
6,141,10,212,141, 24,288,104, 64
3079 REM * FLASHING CURSOR SEE COMPUTE
{DEC ‘81 *
3080 RESTORE 3082:FOR J=1536 TO 1566:R
EAD A:POKE J,AINERT J:A=USRCL536)
3082 DATA 104,169,17,141,48,2,169,6,14
1,41, 2,169, 38,141, 26,2, 96,173, 243,241
2,73,2, 144, 243, 2,169, 15,141, 26,2, 96
3098 RETURN
[e
+ HEANSO
MAGIC 1 & 2
by
10 REM EXAMPLE M1 STRING MAGIC
5@ DIM ROMCHRS (i) :REM CREATE STRING FO
R ROM CHARACTER SET
7@ DIM RAMCHRS(1):REM CREATE STRING FO
R ROM CHARACTER SET
96 DIM 51$ (8), 525 (6) , 535 (83,545 (8) :REM
STRINGS FOR WEW CHARACTERS (SQUARES)
10@ REM LOAD BIT PATTERNS FOR SQUARES
110 FOR Hei TO 8
120 READ C3515 CH, WO=CHRS(C) :WEKT H
13@ DATA 255,129,129,129,129,129,129,2
55
140 FOR H=1 TO 8
15@ READ C:525(W,MO=CHRS(C):MEXT W
168 DATA @,126,66,66,66,66,126,8
170 FOR Wei TO 8
189 READ C:535 CW, WO=CHRS(C) :HERT W
198 DATA 0,8,68,36, 36,68
200 FOR Wi TO 8
218 DATA 0,8,
228 READ C:545(H, WD
230 REM SET UP PARHS FOR STRING MAGIC
248 ADDR=57344:REM ADDR OF ROM CHRSET
250 SIZE=1024:REH NEW SIZE OF VAR.
268 UNUM=O:REM USE 15T VAR. CROMCHRS)
278 REM CALL STRING MAGIC ROUTINE
288 GOSUB 588
298 REM MAKE ROOM FOR RAM CHRSET
388 RAMTOP=PEEK (106)-4
310 POKE 106, RAMTOP:GRAPHICS 2+16
328 REM SETUP PARMS FOR WEXT VAR.
338 ADDR=RAMTOPH256:REM RAM CHRSET
348 SIZE=1024:REM SAME AS ROM CHRSET
350 UMUMEI:REM SAME AS ROM CHRSET
368 REM CALL THE STRING MAGIC ROUTINE
378 GOSUB 568
380 REM MOVE ROM CHRSET TO RAN CHRSET
398 ROMCHRS=ROMCHRS
488 REM CHANGE ' CHAR TO A SQUARE
418 RAMCHRS (9, 16)=515
420 REM POINT TO NEW CHRSET
430 POKE 756, PEEK (106)
440 REM PRINT SQUARES ON SCREEN
450 FOR Wei TO 240
460 PRINT 651"; :NERT W
470 REM FLIP THRU DIFFERENT SQUARES
488 RAMCHRS (9, 16)=525:G0SUB 56
490 RAMCHRS (9, 169=535:GOSUB
588 RAHMCHRS (9, 169=545:GOSUB
518 RANCHRS (9, 169=535:G0SUB
528 RAMCHRS(9,16)=525:GOSUB 566
S3@ RANCHRS (9, 16)=515:G0SUB
S31 IF PEEK(764)<)255 THEM POKE 764,25
S:RUN "D: HENL"
548 GOTO 488
55@ REM SLOW DOWN SO WE COM SEE IT
10
Charlie
Parker
560 FOR Wai TO S3:NEXT W:RETURN
578 REM STRING MAGIC ROUTINE
588 A=C(ADDR-PEEK (140) #PEEK (141)%256) A
H=INT (0/256) : AL=A~ CAHE256) : VUT=PEEK (13
4) #PEEK (1359256 : O=UUT+UNUHHS #2
590 IF AC@ THEM A=PEEK (140) #PEEK(1419%
256:GRAPHICS 0:7
55" ;A: STOP
Pp
610 POKE @,AL:POKE Q+1,AH:A1
256) :AL=SIZE~CAH#2S6) :POKE Q+2, fi
Q+3,AH:POKE Q+4,AL:POKE +5, 0H: RETURN
40 REM EXAMPLE #2 STRING MAGIC
5@ DIM PMS(1):REM CREATE STRING FOR PL
AYER/WISSILES
78 DIM Ri$€12) ,R25C12):REM STRINGS FOR
DIFFERENT VERSIONS OF PLAYER (ROBOT)
88 REM LOAD BIT PATTERNS FOR ROBOTS
98 FOR Hei TO 12
108 READ C:R1S(H,W)=CHRS CC) :HEXT W
118 DATA @,0,56, 92,254,124, 68,74, 64,16
FOR =i TO 12
READ C:R2$(H,MD=CHRSCC) NEXT H
DATA 0,8,56, 116,254,124, 68,164,4,1
158 REM MAKE ROOM FOR P/M GRAPHICS
168 ROMTOP=PEEK (106) -4
OKE 186, RAMTOP:GRAPHICS @
POKE 752,1:
SETCOLOR 2,6,0
REM SETUP PARMS FOR STRIMG MAGIC
218 ADDR=RAMTOPHZ56:REM SET TO PHBASE
UMUMEO:REM USE 15T VAR. (PHS)
REM CALL STRING MAGIC ROUTINE
250 GOSUB 436
y
=
3s
268 REM CLEAR P/M AREA
278 PHS (1, 12=CHRS CO) : PMS (2) =PMS C1)
288
REM INITIALIZE P/M GRAPHICS
POKE 623,16:REM SET P/M PRIORITY
POKE 54279,RANTOP:REM SET PMBASE
POKE 704,122:REM SET PLAYER COLOR
POKE 559,46:REM ALLOW DHA P/M GR.
POKE 53256,1:REM SET PLAYER SIZE
340 POKE 53248,120:REM SET PLAYER POS.
POKE 53277,3:REM TURN OM P/M GR.
6
2PHS CP , P12:
PMS CP, P+12:
Page 11 (scan)
PILOT DISK #3 (disk only) RANOSPELL For beginning spellers. You put the words on the screen and the child can study them as long as he wants. The words disappear and the child attempts to type them in correctly. FAMILY SQUARE - A Tic-Tac-Toe type of game but you must answer questions before you are alloed to select your square. Game is not complete. You mist supply the questions. RHYTINE ~ Type in @ word and then try typing in additional words until you find one that rhymes. CHRUTIL - A PILOT character maker. CHRRET - Utility character saver. CHREX - An alternate character set. LETTERMATCH - Match the lower case letter on the screen with the upper case from the keyboard. Best of ACE, Vol. 3 (disk only) NEWOOS - prints error messages on screen along with error number. GLOBAL ~ Used with Filemanager 800 files. FUNART ~ Used with the "Fun With Art" cartridg Toma - Use your joystick to find the keys that open the ‘treasure chanber in the Pharoah's tomb. KRAZY CLIMBER - Use your joystick to climb the outside of a building while dodging objects being dropped on you. ‘MXBODUNP - A revised graphics screen dump for the Epson ‘mx60 printer. PAINTBOX - An "Etch-a-sketch" type of program written in ACTION by Stan Ockers. No cartridge needed. ALPHABEE - For the youngster learning the alphabet. Fly from flower to hive collecting the letters of the alphabet in the correct order. Written in ACTION by Stan Ockers. No cartridge needed. STRINGMAKER - A machine language string maker written in BASIC. FLASH - Nunbers flash on the screen. A good way to speed ing and comprehension. BULLANT - A 2 player game from Australis from the bottom nest to the top. ‘SUPERLOADER - A method for loading assembler programs from within a BASIC program, Move your eggs ACTION DISK #2 (disk only) For the advanced programer. ACTION CARTRIOGE REQUIRED. SYMBOL TABLE - Tuo versions on this disk. Lists local variebles by PROC/FUNC and globals at the end of compilation, SCREEN DEMO - Just uhat it says. CATCH ~ An error trapping routine that can be used in your ACTION prograns. TIME = & calender. 11 COLOR - Puts color bars on the screen. TERMINAL - A modem program in ACTION. Documentation is on the disk. PAINTBOX - An "Etch-a-sketch" type of program written in ACTION by Stan Ockers. ACTION DISK #3 (disk only) MAZE - Creates a maze that can be shoun on the screen or dumped to a printer. Size is variable from 1 by 1 (not really practical) to 25 by 30. Also has an invisible ‘option showing only the outline of the size. ALPHABEE ~ For the youngster learning the alphabet. Fly from flover to hive collecting the letters of the alphabet in the correct order. Uritten in ACTION by Stan Ockers. ESCAPE - Originally uritten in BASIC by David Bohlke. Translated to ACTION by Bob Turner. A 3-0 maze escape. Use the joystick to find your way out and the trigger to see a top view of the maze. BOUNCE - A 2 player game from Stan Ockers. Try bouncing your man into the sky and landing on a cloud. Miss the trampoline and you end up in quicksand. If the bird flying around the screen catches you, you're a gonner. PAGELIST - An ACTION utility to List an ACTION source code file to single sheets on an Epson printer. TINTOWIZ - Converts TINYTEXT files to TEXTWIZARO format. FILEINOEX (disk only) A commercial quality disk inventory program 3 years in developement. This makes keeping track of uhat is on which disk much easier. Complete documentation is on the disk. ‘SOURCE CODES DISK #2 (disk only) Another collection of miscellaneous assenbly and source codes from the newsletter. No documentation - not guaranteed to run. Sone may be just "program modules" to be used within other programs. ACE-C is here by JOHN PALEVICH Modified by Ralph Walden just $10.00
Page 12 (scan)
ATARI COMPUTER ENTHUSIASTS EXCHANGE LIBRARY ‘374 BLACKFOOT STREET, EUGENE, OREGON 97408 (revised 12/1/84) EXCHANGE POLICY The ACE Exchange Library is a service designed to allow the sharing of user-written programs. There are tuo ways to acquire programs from the ACE exchange library: By ordering the disk(s) you desire and enclosing the appropriate amount of money, or by sending us prograns you have written and wish to share with others, in exchange for your choice of any disk in the library. lle strongly support this second way of obtaining programs, and will go out of our way to help you share your prograns with other users. All disks (and tapes) in our exchange library are available for trade except SCOPY B10. le do ask that you play fair and do not send prograns that are copyrighted unless you are the owner of the copyright and will agree to share your program(s) with others. lie will not exchange programs that duplicate existing programs in the library unless they are improved versions. A good exanple of this is TINYTEXT, uhich ‘appears on several BEST OF ACE disks. The original program was written for us by Stan Ockers of Illinois, improved by Jim Carr of Oregon, further improved by Dale Lutz of Canada, improved by Bill Hardwick of Great Britain, and the latest version, an 80 colum display by Neville Uillians of Australia. Programs that are submitted must be accompanied by an explaination of uhat the program does and a description of any "special" programming techniques used. we would also appreciate an accompanying article for the newsletter. Any Atari compatable word processor may be used or if you don't have one, try our oun TINYTEXT (or just type it on your typewriter). ACE is a nonprofit organization dedicated to helping its! menbers enjoy their Atari computers. Programs in ‘the exchange library are contributed by menbers and other user groups. IT IS CONTRARY TO ACE BYLAWS TO EXCHANGE COPYRIGHTED PROGRAMS. TO PLACE YOUR ORDER All disks in the library are $10 each single sided or $15 double sided. le have had no problens with this in 4 years use. Disks available for double or single density drives. Please specify double density with order. NOTE-do not order double (dual) density for the Atari 1050. If you NEw DISKS FOR XMAS are using the 1050 drive, please order single density only. ALL are disks Listed are available on tape unless marked "disk only" next to the title. To order any of the programs, send your check, payable to "ATARI COMPUTER ENTHUSIASTS", in the appropriate amount and your request to: Atari Computer Enthusiasts, 374 Blackfoot Street, Eugene Oregon 97404 In order to keep our costs down, we are not equipped to handle any credit card billings such as VISA or MASTER CHARGE. Prices include postage in the USA and CANADA. FOR ORDERS TO AOORESSES OUTSIDE THE USA AND CANADA, please add US $2.00 per order (regardless of how many disks ordered) for airmail service. OTHER ITEMS AVAILABLE OTRECTLY FROM OUR MEMBERS Best of ACE books - bound editions of the ACE Newsletter. Volune 1 covers all of the issues of the ACE newsletter From the first issue thru June of 1962. Volume 2 covers July 1982 to June 1963. Volume 3 covers July 1983 to June 1984, This is an excellent value. These books are only $12.00 each (add $2.00 extra per book for airmail postage). Order directly from: Softfinder 1.2 Softfinder 1.2 is a composite index to Atari related articles in S popular periodicals from April 1981 thru June 1983. It is especially helpful for those of you ubo perhaps picked up a magazine off the news stand and typed in a program that does not run. The next issue of that magazine probably had the "fix" for that program, This will help you find it. Periodials covered are ACE Newsletter, Analog Computing, Antic, Conpute, and Creative Computing. The price $7.00 postpaid in USA & CANADA, US $8.00 elsewhere. Order directly from the publisher: The above publications must be ordered directly from the publisher. 00 NOT send your order to ACE. Jim Carr. Valley Soft. 2660 5. li. DeArmond. Carvalis. Best of Ace #10 - Games Best of Ace #11 - Utilities 12
Page 13 (scan)
STRING MAGIC
(reprint: Starfleet, November, 1984)
I you already know how to use Atari strings to create and modity
character sets, move player-missiles smoothly and to perform anima,
tion by page flipping, then this article is not for you. Howaver, if you
ant to know how to do these things (and more) then read on. The Key
to all this is a routine | call string magic. The routine allows you to
modify the address and size of any string variable. So what? While
this is no fantastic accomplishment, once you know how to do this
New whole world of “string magic” becomes available.
USING STRING MAGIC
To use the string magic routine you must first initialize the follow:
ing variables:
‘ADDR — this parameter must contain the new address to which
you want the string to point
SIZE — this parameter must contain the new size of the string
Variable, Even if you are not changing the size, you must still initialisg
this variable to the desired size.
VNUM — this parameter must contain the variable number of the
String to be modified. This tells the string magic routine which string
variable is to have its address and size changed.
‘After these parameters are set to the desired values, then you can
Cail the string magic routine simply by doing a GOSUB to the routine
The routine can be placed anywhere in your program since there are
No GOTOs or GOSUBs in the routine. A note of caution — the variable
numbers are assigned by BASIC as the variables are entered, not
pecessarily the order they appear in the program. for example, if you
entered the Line 50 B$=AS before entering the Line 10 DIM
AS(40),B$(40), then the varialble number for the string B§ will be zero
HOW IT WORKS
The string magic routine works by changing the Variable Value
ible BASIC builds. By changing values in the table, we can change
the address and size of any string. For you hackers there is a com-
plete description of how the routine does this at the end of this arti
cle. For the rest of you who just want to use the routine, there are
several things you should keep in mind. The routine can be used
whenever you want to move large sections of memory around quickly
(such as moving the standard character set from ROM to RAM) of
when you want to change sections of memory quickly (as with
Player/missiles). For example, if you point the ‘string RAMCHRS to the
area of memory where you want the character set to be in RAM, then
fo move the character set from ROM to RAM can be accomplished
simply by using the statement RAMCHRS = ROMCHRS. There are
‘some limitations on the routine. The minimum address to which you
can point a string is the address of the string/array area set up by
to a lower memory address, then the routine will display an erro,
variatage and abort. Also, you can use the routine only on string
variables. If you try to change the address or size of a variable which is
not a string, then the routine will display an error message and abort,
CHARACTER SET MAGIC
Example program 1 shows you how to use the string magic routine
fo move the standard character set from ROM to RAM, and how to use
strings to quickly modify the new character set. Before entering the
Program, don't forget to type in NEW, and make sure you enter the
lines in sequence so the variable numbers will be correct. When enter
ing this and the other example programs, you may omit all the FEM
lines if you like since there are no GOSUBs to REM lines.
Take a look at example program number 1. The string ROMCHRS
dimensioned on Line 50 will be modified to point the standard
character set on ROM. You sharp eyed readers may have noticed
Something — the dimensioned size of the variable is only one, Why
One instead of 1024 (the size of the full character set)? This is to save
memory. Whenever you DIM a string, BASIC automatically reserves
Peace in the string/array area for the maximum size of the string,
However, since we are going to change the address of the string sot
will no longer point to the string/array area, then why reserve tocm for
the string? We must DIM the string for at least one or BASIC won't
like It. The same is true of the RAMCHRS string. The string magic
routine will be used to point this string to the area of memory where
we want the new character set. The strings S1$, S2$, S3$ and $4$ will
contain our new characters — different sizes of squares,
Lines 110210 load in the different bit patterns forming the
characters. If you don’t understand how these bit patterns form the
new characters then see COMPUTE'S FIRST BOOK OF ATARI
GRAPHICS.
Lines 240-280 set up the string magic parameters for ROMCHRS
and call the string magic routine. The ADDR parameter is set to 57344
the location of the standard character set in ROM. The SIZE parameter
is set to 1024 — the size of the full character set, and the VNUM
Parameter is set to zero — the variable number for the string ROM-
CHRS.
Next, Lines 300 and 310 reserve four pages (1024 bytes) of memory
at the top of RAM. This is where we will put our new character set.
The GRAPHICS statement on Line 310 is necessary to force BASIC 16
Withee pcisPlay list and display memory under the new RAM top.
Without this, our new character set will conflict with display memory.
The string magic parameters tor RAMCHRS are set up next. The AD.
DR parameter points to the newly created space at the top of RAM
and the SIZE parameter is set to the same size as for ROMCHRS, The
YNUM parameter is set to one — the variable number for RAMCHRS,
After calling the string magic routine we can now move the ROM
Character set to our reserved space in RAM simply by moving ROM.
CHRS to the RAMCHRS. Since the new character set is now in RAM
ang RAMCHRS points to it, we can now modify the character set by
changing values in the string.
Line 410 makes the changes. It changes the exclamation point
Character (!) to our new character contained in the S1$. Don't forget,
the character set is in internal character order. Table 96 in your BASIC
Reference Manual lists the character order of the internal character
Set, To get the position of the bit patterns for a character in the
character set, you must multiply the number of the desired character
by 8, then add one. For example, to find the location of the bit pattern
for the exclamation point in the string, multiply the character nuriber
of the exclamation point (one) by eight, then add one. This gives ning
as the offset. Thus the bit pattern for the exclamation point is in posi,
tion 9-16 of the string.
Line 430 points the system to our new character set and Lines
450-460 fill the screen with our new character — a square. Lines
480-520 rotate the exclamation point (now a square) through the if,
ferent characters contained in S1$, S28, S3$ and $48 (our different
Sizes of squares). Note the GOSUB 560 on each of these lines is to
slow down the process so you can see it. To see how fast you ean
Ehange characters using the string magic method, take out the delay
by changing Line 560 to just a RETURN. This will allow the character
to be modified at full speed,
PLAYER/MISSILE MAGIC
Frogram example #2 shows how you can use the string magic
foutine for playerimissiles. Using a string for the playerimissile
Graphics area allows the players to be moved quickly and smoothly
ply by changing values in the string. On Line 50 PMS is DIMed. The
leg up. By changing from one version to the other, we can make the
robot appear to walk. The bit Patterns for the two versions of our robot
are loaded into R1$ and R2$ on Lines 90-140.
Note each version has two blank lines before and after the actual
robot image. The zeroes at th beginning and end of the DATA
‘Statements create these blank lines. The blank lines are necessary to.
keep the player from leaving a “trail” as it is moved up or down. If you
want to see this trail then change the P= P-2 statement on Lines 370
and 380 to P=P-3. If you were going to actually move the player up or
down three lines at a time then you would need three blank lines
{ihvee DATA statements of zero) at the front and back of the player
and the size of R1$ and R2$ would have to be increased from 12 to 14.
The top of RAM is moved down 4 pages on Line 170 and
GRAPHICS statement is used to move the display list and display
for the string magic routine are initialized on Lines 210-230 and Line
250 calls the string magic routine. Now the string PMS points to the
Playerimissile graphics area and the area can be modified simply by
changing values in PMS.
Line 270 shows you a trick you can use to fill a string with a
Specific value. By placing a specitic value in the first position of a ste
ing, then moving the value to position 2 through the end of the string,
you can fill the entire string with the value. In this case position one of
the string (the first position of the playerimissile graphics area) 1s set
fo zero with the statement PMS(1,1)=CHRS(). Then by using the
Statement PMS(2) = PMS(1) we can clear the entire playerimissile area
of 1024 bytes to zero. This takes only a few micro seconds to perform
8 opposed to several seconds a FORINEXT loop takes,
<r
Page 14 (scan)
After playerimissiles are initialized on Lines 290-350 we are ready to place our robot on the screen and make him walk. This is done on Lines 360-400. By moving R1$ and R2S through the PM$ we are actual- ly moving the player through the player/missile graphics area. The GOSUB 410 on Lines 370 and 380 is to slow the movement down so we can see it. to get the full effect of how quickly players can be mov- ed using the string magic method, take out the delay loop on Line 410 by changing the line to 410 RETURN. (Ed. note: There is another part to this about page flipping which will appear in the December issue of Starfleet) — Charlie Parker APPLIANCE INTERFACE (reprinted from September, 1983 Computer Squad) The Atari home computers are capable of doing much more than just playing games and using classic programming applications. The joystick ports each contain 16 lines which can be set to input or out: put, giving the user a maximum of 64,320 possible external control operations. It is possible to use one of these lines set to output to turn off and ‘on appliances, or to dial your phone under computer control. ‘The C.A.|, (computer appliance interface) consists of the following circuits: ‘A. regulated vd power supply B. two-stage inverting buffer C. opto-isolator (infra-red) D. single stage transistor amplifier E. micro relay F. macro relay The power supply circuit (Figure 1) is constructed out of readily available components and is much larger than necessary to power the CAI. You may add 3 or 4 extra control line circuits and still have plenty of capacity left. The main circuit (Fig. 2) shows the hookup of the two stage inver- ting buffer, the optoisolator, and the amplifier powering the micro relay. All components listed are from Radio Shack, and readily bvailable. the opto-isolator (infra-red) acts as a physical separation bet- ween the computer and the 110 oval being controlled. This provides the best protection possible so if anything were to go wrong, the com- puter won't get zapped with 100 vac. The micro relay specified is manufactured by Allied, Inc., and available at 1355 N. McLean Blvd., Elgin, IL. You can substitute any Syde relay which pulls 50 ma or less. The Allied relay can be inserted into an IC socket, making construction easier. ‘A Gpin connector connects the CAI to the computer. There are several you can use (Atari De9, with De110963-1 shell, or Radio Shack 276-1538, with 276-1539 shell). Soldering these pins to your connector cable and installing in the shell requires a great deal of patience and prior experience. Fig. 3 shows the pin outs to use. The device we bullt uses bit Line 3. By directing the CAI circuit and adding to the control program, you can use bit lines 0,1,2 providing independent control of four separate devices. The power supply is more than adequate to power four con- trol line circuits. Finally, before you attempt to construct the circuit, beware of the following warnings (if these don’t scare you off, heat up your solder- ing iron and go to it!): 4) Hooking up any non-standard device to your Atari will void your warranty. 2) Never attack a joystick controller to the connector ports when you are running the CAI program. Moving the stick to the “left” post: tion could short a line and burn out the PIA chip. '3) Check your circuit for shorts, bridges, incorrect hook-ups, etc. before powering the device. ‘Ok, the warnings didn't scare you off. The circuit is built and you are ready to type in the driver program and try it. But... DON'T! Before you expose your expensive and delicate computer to this strange device, let's bench test the operation to be sure the power Grain on bit line 3 or the computer power supply does not exceed specs. ‘To bench test your device, you will need a Simpson 260 test meter or its equivalent. first set the test meter on 100 milliamp scale and connect the meter in series from the + 5vdc on your power supply to pin 7 on the connector. Now connect a shorting line from pin 4 and be Able to touch the other end to the ground on the power supply. When inserting wires into the connector, be careful not to damage the recepticles by using excessive force or too large a wire. Touch the shorting line to ground. You should hear the macro relay pull in, and your meter should read less than 50 milliamps. Next Temove the test meter. Connect the + 5vdc directly to pin 7, reconnect the test meter (now in the 10 milliamp scale) in series with your shor- ting line and connect to ground. You should, once again, hear the macro relay pull in and your meter should read less than 1.6 milliamps. If either of these tests don't produce the amperage values expected, or the relay does not pull in, something is wrong. STOP and check for shorts, current wiring to transistors, etc. Do not try it on the computer until the above tests check out ok!! ‘When the device bench checks out satisfactorily, type in the driver program (Fig. 4), connect the CAl, set for appliance and try it. Now the hard part is done, let's proceed to the auto phone dialer. Connect the phone to the CAI (fig. 5). Next type in the phone dialer program (Fig. 6), remove the phone from its cradle, and input a phone number. This article only scratches the surface of what can be done to inter- face your Atari computer to the outside world. Other possibilities in- clude adding a 4-16 line decoder to allow control of up to 16 devices using one port plug for remote control of appliances in your home. SYNSTOCK Synstock (by Steven S. Weston, Synapse Software $40) is another fine endeavor by the Synapse people. This program allows you to utilize your home computor to prepare stock price charts and to analyze stock trends. It is fully compatible with many of the other fine “gynApps” series, notablely SynCalc and SynGraph, and allows you to easily convert current files in Atari's Stock Charting to SynStock. As usual Synapse has provided a comprehensive 74 page instruc- tional book, complete with tutorial. The chart produced by Synstock allows you to see daily highs, lows and closing volumes. It also allows you to do technical analyses in the form of moving averages and oscillators. ‘Synstock has the capability to create complete portfolios on your data discs. Each disc may hold up to 50 stocks with up to 300 days of quote data for each stock. However quote data is limited to a volume less than 9,999,999. With high, low, and close prices less than 999,999 and greater than 0. "Another nice feature of SynStock is its ability to down load quotes from CompuServe. For this you need a standard telephone Modem, at least 300 or 1200 baud and a Compuserve |.D. password. You are also required to use an ATARI 850 Interface Module and an 80 column printer using the Parallel Interface cn the 850, with bitimage graphics Capability. This service allows you to quickly create and update your files. ‘SynStock also allows you to produce hard copies of any of your charts. But it should be noted the types of printers which will fully Support this printing are severly limited. You might wish to check and see if your printer is compatible first, if hard copies are a necessity. The only other warning which must go with this program is you must have an understanding of the stock market first. SynStock does not teach you about the stock market but does give you a valuable too! to expand the knowledge you have. This has nothing to do with how easy it Is to understand the program itself. Synapse has done a fine job of making this a very user friendly program. — Nick Chrones TEE OFF This ‘is a quite addictive golf game which looks good. The player may choose from among five different courses. The structure of the code permits easy expansion of the number of courses. Blue = water; Yellow = sand trap; White = ball; Black = hole; Light Green = rough & trees; Dark Green = greens; Pink = flag. The ball, hole and flag appear after selecting the course and press- ing START. With the player as reference point, D is the direction towards which the wind is blowing. H is the number of hits so far. Angle is the angle at which you wish to hit the ball. The compass has 0 degrees at the top, 180 degrees at the bottom, etc. Force Is the force with which you hit the ball, from 0 to 135. The ball has a realistically calculated bounce which can bound over water or sand. The ball will stop dead if it hits sand, and will slow down in the rough. You must hit harder to get out of the sand. If you lose the ball, you are sent back to the tee. — Sidney Brown
Page 15 (scan)
SPACE WASTE RACE “An Animinated Storybook” for Atari 800 and XL Series, published by ‘Sunburst Communications, Inc. Designed for use by grades Pre-K to 2 A REVIEW BY MILES ERICKSON, age 672 When you boot up SPACE RACE, you get a menu that says: CHOICES STORYBOOK LOOK, NOD & SHAKE FUNTIME, END THE STORYBOOK shows pictures and has some words about another moon fighting with earth's moon. The other moon wants gar- bage in space. Earth's moon doesn’t want garbage in space. LOOK, NOD, AND SHAKE would be fun for little kids. You can make a moon look different directions, and nod or shake its head. FUNTIME has lots of choices: MOONDROPS, FALL OUT, MOON PASS, HOLE IN THE MOON, MOON LOOKS, AND SCORE. MOON DROPS is the hardest. You have to count drops falling off of the moon and then type the right number. Other games are easier. Sometimes you have to know numbers, let- ters, directions like above, below, up, down, and right and left. SPACEWASTE was easy to use. | didn't look at the manual at all. Little kids would have to have help. It was so easy. | think it is best for kids age 4-6, not 48. The pictures are very good, | liked it, and | think most people would like SPACEWASTE. Dr. WACKO Dr. C. Wacko's Miracle Guide To Designing Your Own Atari Com- puter Arcade Games is a booki/disk package for any Atari computer. The Guide is aimed at people who have visions of creating a million dollar arcade game. Sound like you? Maybe | should put it differently. This package is ideally suited for people who have an adequate understanding of Atari BASIC, and want to learn the fundamentals of arcade game design and programming in a humorous way. There, now, doesn't that sound more like you? The book is a spiral bound paperback with a colorful cover which will draw attention from 50 feet away. Enclosed in a packet on the in- side of the front cover is the Wacko Disk. The Wacko Disk is a collec: tion of all the listed programs in the book, saving you the trouble of typing them in. Throughout the book are many comical illustrations emphasizing the text and relieving some of the seriousness you might find in other such books. Several hilarious characters are introduced at the start of the book, and are to reappear later in the drawings. The steps to designing an arcade game are thoroughly discussed. Topic areas include; Game design elements, graphics modes, customizing the character set, character animation and movement, joystick control, sounds, and player-missile graphics. Powerful things can be done with these techniques, as is demonstrated in Myrtle the Turtle, an example game which uses most of the techniques. The Wacko Disk is very well set up. The menu corresponds to sec- tions of the book, and the programs in those sections can be called up from the joystick controlled AUTORUN menu, making life much, much easier on the slow typist. found this package to be an excellent buy for the beginning gamer who wants to experiment with arcade-type programming. Yet even this book doesn't lack faults. I felt some things weren't ex- plained enough. The method is given very nicely, but often the WHY of things isn't explained quite clearly. | believe the author assumed the reader will know the inner workings of the Atari well enough to know such things. Don't be misled by the title, either. This is not a good investment for an advanced BASIC graduate who is looking for a way to create a marketable machine language game. The Myrtle the Turtle game could not be compared to a popular machine language game. It's a good programming feat for a beginner to see. As I've said earlier, however, this is a GREAT investment for beginners of all ages and computer interests. This is an excellent $24.95 value, and | readily recommend it to anyone who falls in the category of beginning arcade game program- mer. —Tim & 15 Walden Teaches Assembly Language (In the last issue, Ralph began his column with the article on the 65C02, but his byline was left off. He is working hard on the “C” for AGE, and should be ready soon —ed.) The normal method for accessing one of the handlers (keyboard, printer, screen, etc.) from assembly language is to call the CIO utility at $E456. However, this requires a previously opened IOCB, and in- volves a fair amount of overhead in terms of memory usuage. For ex- ample, one could get a key from the user with the instruction: JSR $FE2 ;(400 & 800’s only!) The keyboard handler ignores all the information the CIO hands it and just returns the next key pressed via the A register. The problem with this is it is an “illegal” call, which ‘means it won't work on an XL computer. However, there is a method for doing this legally to work on all the Atari computers. The way it works is to get the address of the routine we want from its legal loca- tion, push the address onto the stack, and do a return, which will ef- fectively jump us to the address. Note the RTS at the end is nec- cessary, and the routine jumped to will return via its own RTS. 0100 GETKEY LDA $425 0110 PHA 0120 LDA $424 0130 PHA 0140 RTS A similar method can be used to send something to the screen: (the A register contains the character to send) 0100 PUTEDIT TAY 0110 LDA $407 0120 0130 LDA $E406 0140 PHA 0150 TYA 0160 RTS ‘One can also use this method to output a byte to a file which has been opened. When CIO opens an IOCB, it puts the PUTBYTE address in $346,X (where the X register equals the IOCB times 16). We can use that address as a way to bypass CIO for a much faster way of output- ting a byte of information. There is one exception, though. The XL operating system broke Atari's own rules when writing the printer handler, so you will have to store the byte into $342,X (the command location) before calling the printer handler. Here is the routine for out- putting to a devicerfile: 0100 PUTBYTE TAY hold the byte while we setup 0110 LDA $0347,x ;X = IOCB"16 0120 PHA 0130 LDA $0346,x 0140 PHA 0150 TYA 0160 RTS — by Ralph Walden
Page 16 (scan)
Atari Computer Enthusiasts A... 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 Communic yn Company. We are a group interested in educating our members in the use of the Atari Computer and in giving FROM YOUR COMPUTER 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- President— Robert Browning, 90 W. Myoak Or. Eugene, OR 97404 rvreserrine our pr cm doc tin Par Vice Pres— Larry Gold, 1927 McLean Bivd., nal feed rom ene antes oe date out éompute typesetting Secretary— Bruce Ebling, 1501 iver Loop #1, Eugene, OR 97404 Fe ecihe peofessicoat tmoge are ny ‘Hundreds of wpe Librarian— Ron and Aaron Ness, 374 Blackfoot, Eugene, OR 97404 Liiad paths joa ae ae es 2 ee) sae Editors— (e0aje80-7106 commands you need. ‘Mike Dunn, 3662 Vine Maple Dr., Eugene, OR 97405 503-344-6193 COMPLETE CONFIDENTIALITY GUARANTEED Bonded for your protection — Ji i Hl I , OR 97405 : im Bumpas, 4405 Dillard Rd., Eugene, OR 97405 503-484-9925 PUBLICATION DESIGN, EDITING. & PRODUCTION E.R.A.C.E. (Education SIG Editor)— Nick Chrones, 2333 Monroe St., Eugene, OR 97405 503-343-6966 sdlitin 5) & [De sig im Servic a G) ea DES e) Send 50c stamps or coin ($1 overseas) to the Ness’ for the new, up- 7 “a dated ACE Library List-new In May’ 64:1 30 East 13th Avenue _ Eugene, Oregon 97401 Phone 503/683-2657 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 Bulletin Board .. . (503) 343-4352 ly 1. ch ($2.0 fell. Aeon forme 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 perpen double sided disk drives, an Epson MX80 printer, a MicroBits 1100E Te Modem; running the FoReM Bulletin Board software distributed by Kanoehe, HI 96744 tochte 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 & Asari | ICo ;PUTER HUSIASTS Vine Maple D: Eugene OR 97405 ini N 900 FIRST CLASS MAIL