Dale’s Atari 800 Games › ACE newsletters
The newsletter of ACE, the Atari Computer Enthusiasts of Eugene, Oregon. Read the scanned issue (PDF).
Scanned from my own copy of the newsletter. I sent my scans to Kay Savetz in 2021, and Kay put this one on the Internet Archive as ACE_1985_11.
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.
Asari A c Computer E ENTHUSIASTS 3662 Vine Maple Dr Eugene OR 97405 NOVEMBER, 1985 Mike Dunn, Jim Bumpas & Larry Gold, Editors
BUMPAS REVIEWS
This is the first issue of the ACE Newsletter in which all the articles.
are edited using the Atari 520 ST. I'm using ST Writer (Atari Writer ported
over) as my word processor. It's really nice having the full 80 columns
with which to work. Now I can see better what the article will look like
after it’s printed.
$10 to The Soft Cellar, 29 Red Cedar Drive, Rochester, NY 14616
will get you “T: A Text Display Device” which is an autoloading machine
language utility to display text directly on any graphics screen. An APX
award-winner.
WARNING: If you're using DOS2.5XL (the patch to your DOS 2.5
appears in this issue), better keep a copy of your original DOS 2.5. The
patch apparently conflicts with the memory location used by
SETUP.COM to store the RS232 handler. | tried to setup an autoboot
modem program and couldn't get the handler to load when created with
DOS 2.5xL.
Otherwise, DOS 2.5XL seems great! It puts the entire DOS-OUP
system into the unused area of memory in the lower 64k of the XE/XL
machines. With an XE you can then erase the DOS and DUP from the
ramdisk and free up the entire 499 sectors for storage. You can still call
up DOS at any time with no further disk reads.
PANZER GRENADIER
Panzer Grenadier (SSI, $40) is Roger Damon's latest work. He's
still perfecting the game system he developed with Operation Whirlwind
and carried through Fire Fight. Five scenarios, each with three levels of
difficulty give this novice to intermediate level game {in complexity)
enough challenge to keep the experts busy, too.
The scenarios are all WW2 Eastern Front scenarios for one player
commanding the Germans against hordes of Russians. The line-of-sight
rules for the human player seem more realistic than in his previous games.
Once in awhile you get a shot you might not expect. And the Russians
seem to be able to fire through any obstruction to get at you.
The maps are plenty large enough for the units commanded. Terrain
consists of woods, towns, rivers, hilltops, rough ground and clear. Units
include assault guns, tanks, anti-tank guns, mortar, rifle and machine-
gun units.
Tums are divided into phases for friendly fire and movement, and
separate phases for enemy fire and movement. You command units of
‘company, platoon and section size. The units on the map may be removed
at any time to see the terrain. The Option key will toggle the units back
onto the map,
Certain foot units can mount half-tracks and trucks for more
protection (in the case of half-tracks) and mobility. Foot units can “dig
in” for greater protection on the ground. Tanks can also overrun enemy
units, and infantry and pioneers can assault enemy targets by attempting
to enter their space. Pioneers may also re-build destroyed bridges.
The 8-page manual includes scenario descriptions, as well as 2 pages
of drawings and descriptions of the weapons used in the game. At the
highest level of difficulty, this game takes a lot of skill to win,
BASIC XE
OSS has expanded their product, Basic XL, to take advantage of the
extra memory in the XE machine. It’s a lot of fun to load.in a program,
read the result from PRINT FRE(O) and see 17000. Then type “EXPAND”
in direct mode. Now a PRINT FRE(O) might show 31000! And a PRINT
FRE(1) might show another 51000! What has happened? Well BASIC XE
moves your program into the upper 64k RAM when you type EXPAND.
The lower 64k is used for program variables. With the FAST command
in your program, OSS claims an execution speed increased by 2 to 6
times.
The product comes on a super-cartridge and disk. You can use any
DOS, and if you copy certain files onto your boot disk you'll be able to
do such things as renumber your program, perform sort operations and
speed up program execution, among other things.
When | first used the product, | automatically tried to call up a DOS
menu to see what | had on the disk. Well, you can't do it from the supplied
disk. But you don't need to! All, or most, of the DOS menu items are
easily and quickly accessible from within BASIC XE. You can load and
save binary files. You can read directories, delete, protect and unprotect
files. You can rename files.
The manual contains well over 100 pages, including some
information reprinted with permission from the Atari Basic Manual. BASIC
XE is supposed to be fully compatible with all Atari Basic programs. But
I tried to run one without modification which failed when it tried to read
string data into memory during the initialization routines. This occured
both with the upper 64k in use and without. | haven't gone into the code
or the BASIC XE manual to see what there is about these strings which
needs changing. BASIC XE supports several string functions not found
in other Basics available for the Atari. LEFT$, MIDS and RIGHTS are
supported. FIND is used to determine if a given substring is in a given
larger string. HEX$ will convert a decimal number to hex format.
The manual discussions of graphics and player-missiles is much more
complete than is found in the Atari Basic Manual. Added Basic statments
include PROCEDURE, IF...ELSE, WHILE...ENDWHILE, AND PRINT USING.
Discussions are accompanied by many little programming examples. The
S-page index and 5-page table of contents make it possible to find
anything you need quickly. If you use an Atari 130 XE, this product will
expand your horizons.
GAMES PEOPLE PLAY
Games People Play, 112 East Market St., York, PA 17401, has made
a special deal for members of A.C.E. They've given us their 3 disk sides
of material plus documentation together with permission to distribute
these items to members. Then any A.C.E. member can sign up for their
BBS at half price: $15 and receive 5 free hours on the service. They
charge $6/hour.
GCP is a graphics BBS for 8-bit Ataris only. | guess if other computers
call, they get only text? The disks contain maps of the city and the games
(I saw BIOWAR, CYBER SHIP, and CYBER TANK). You can use the joystick
to move your personal graphic character down the streets of the town.
Go to the postoffice and read mail. Go to a telephone booth and chat
with another user. Go into doors for system help, and to go to the games
area of town, The town is walled, so you have to go into a door to exit.
Commands may be given by keyboard if you're all the way across town
and don't want to walk (shades of teleportation!)
The BBS may be reached by a local number through Telenet, or some
such service. You configure your boot disk with the local service you'll
use, and the disk automatically completes all dialing and log-on
procedures except your personal password. After you get the disks and
documentation from us, give GCP a call and enjoy!
Jim Bumpas
REMEMBER
EXT MONTH
WE ARE HAVING
OUR ANNUAL
SWAP MEET
STuff Jim Bumpas ACE. ST Librarian 4405 Dillard Road Eugene, OR 97405 We presently have the following items as of October 25, 1985: ST Writer (an enhanced AtariWriter) — including a lot of support and configuration files — 232k NEO-Chrome (an excellent drawing program) — 32k SLIDENEO.PRG and EFFETS.PRG to show *.NEO & “PIC files — 2k *.NEO and *.PIC (about 20 files of 32k each) WINDOW.NEW uses ‘PIC files to select pictures for showing (includes "PIC files) — 332k Low-Res Demos — 524k Med-Res Demos — 519k Hi-Res (monochrome) Demos — 283k Utilities (ramdisks for half-meg & 1-meg systems) — 210k If you want our disks, let us know which ones. Until we get a lot of disks, I'l try to cusomize them for you. Send us $15 ($20 for a double sided disk) and let us know which files you want. ST WRITER ST Writer has some new features not found on the 8-bit Atari Writer. One of the most interesting is the option to receive a file from an 8-bit Atari using the 850 interface. No modem or software is required, but you do need to cable from the 850 into the RS232 port on the ST. Once the Receive option is selected, use DOS to copy the file to the R: device. Or, you can use Atari Writer, or any word processor which will write a file to any device, and write the file to the R: device. Voila! The file moves at 9600 bps! This is the maximum the 850 interface handles. The computers could do it at 19,000+ bps, If you use a monochrome monitor you have an option which is really fantastic. You can display double the normal lines of text AND edit in this super mode, Just think: No extra hardware to buy, or special configuration software. And you can display enough text to show nearly a complete 8.5x11" page. The characters are just as clear and easy to read as the larger ones. They're about the same size as normal typing ‘on paper. You'd have to spend more money than it takes to buy an Atari ST system just to give you the same capability on a PC-DOS machine. This machine will make a bigger impact on the business market than any machine since the introduction of PC-DOS machines. Searches may include carriage returns in the search parameters which allows for much more flexible search and replace operations than I've previously seen in a program. This is a feature I've not seen in word processors even for the IBM. Another nice feature not found on the Atari Writer options menu is the “Transform Colors” option. This switch toggles between black writing on a white background (which | prefer) and white writing on a black background. Color is used in other ways, too. Carriage retums and control characters are red, for instance. It’s really exciting to run up the program and see | have 164k for a text buffer! | can put the whole Newsletter in one file! There is a print preview option which permits you to see your text just as it will appear on paper. It might be nice if, as the program is improved, that this feature be integrated into the editing mode. On-screen underlining might also be nice. ST Writer is being distributed with each Atari ST sold now, so if you don’t have yours, contact your user group librarian and request a copy. Atari is retaining the copyright, but they've given us permission to distribute it as widely as we desire. NEO-CHROME Neo-Chrome is another great Atari Corp. program which is being distributed freely to users. Again, Atari is retaining the copyright. All distribution is with Atari permission. Neo-Chrome v.0.5 is the latest version we have, and it’s great! My father-in-law is visiting us and he always enjoys the drawing programs we've had. Two years ago when he was here, all we had was the 8-bit system. He played with it, but it wasn't interesting enough for him to want one for himself. He's a commercial artist. He’s buying an Atari ST primarily on the strength of the possibilities he’s been shown by the operation of this Neo-Chrome program, That's how good it is. And the promise for the future is even greater. — Jim Bumpas You can draw on a full screen, or on a half screen with the options menu at the bottom. There is a “grabber” function permitting you to move the picture around so you can work on a critical area and keep the menu on-screen. There are no figure-drawing functions yet (like circles, ellipses, etc. and this is an obvious need in the program). But there are well-implemented copy, cut, paste and move functions. You can use these options to re-locate parts of your picture from one part of the screen to another. You can also mark a part of a picture (up to a half-screen), then load in another picture file and past the old half- screen on top of the new picture. Shades of overlay! And cell drawing! There's a wide selection of brush strokes and another whole mode called “nozzle” with which you can get a simulated “airbrush” effect. Used for shading, you can make it as light or heavy as desired by varying the speed of the mouse as you draw. There's a Text mode with which you can place text in your drawing, You have a half-dozen or so font styles which can each be displayed in one of another half-dozen or so sizes on the screen. There's an “expanded” text mode which seems to invoke the european character set. One exciting feature permits a kind of simulated “animation”. The colors can be shifted (YOU can control the speed of the shift). The well- known waterfall picture demo can now be seen with the water cascading down the falls. Very exciting. Graham Smith is working on a volcano with a lava flow. It should be possible to show moving figures, too, using this feature. You have a palette of 16 colors with which to work at all times. The menu options permit selection of any one of the 512 colors by placing them into the pots on your palette. One interesting note: These computers can really only display 16 colors at one time. However, the speed of this processor and the screen refresh rate permits one to create the “illusion” of all 512 colors on the screen at one time. The “box” from which colors are selected contains all these hundreds of colors which can be seen at one time. This is a great program with which to begin unleasing the power of the Atari ST. And the price is right! PS: The cover graphic this month was drawn by my father-in-law, Harry Franz. He’s a commercial artist, but he's never really cared for computers before. He's seen my 8-bit Atari in the more than 4 years since I've had it. But he's just purchased an Atari ST on the strength of this admittedly unfinished program, NEO-Chrome, which he used to draw the turkey. News and Reviews by Mike Dunn, Co-Editor Well, the rains have come to Oregon, the sun is gone until spring, and the fly-fishing season is over, so back to work on the newsletter. The Atari continues to grow in support, more and more independent reviewers are impressed with the ST, and the STs are selling well. Software is becoming more available for the ST, and much is still coming out for the trusty old 8-bits. Many are converting their B-bits to 256K and their ST to 1 Megabyte; we will hopefully reprint the directions on article on the latest in ST news. Home Computer Magazine (POB 70288, Eugene, OR 97401, $25 year) is a Eugene based computer magazine which started as a TI 99/4 newsletter, and has grown to a huge 146 page tome without any advertising, filled with articles and many programs, Often the same program will be given for the Apple, Commodore 64, IBM-PC, and now the Atari, The current issue has Atari programs like “The NanoProcessor”, the principles of programming a simple machine language computer; “The Plains of Salisbury”, a graphics adventure war-game in Camelot well written reviews and the “Programmer's Window” carefully explaining how and why the programs in the newsletter work. Very As mentioned in previous newsletters, PaperClip, the highly cursor sometimes went crazy when deleating and end up in the middle spelling checker. Broderbund Software and it's Synapse division continues to pour out Atari software at a staggering rate. The last remaining large game software house seems to have faith in us to contiunue to buy their fine products. Released this month, and to be reviewed in this and the next issues of ACE, are included the long-awaited Championship Lode Runner, Karateka a cinema-like Karate game, two more ‘Electronic Novels” from Synapse, and more, The reviewers have them now, and they will be printed when received.
VP RAMBLINGS Here we are into November and turkey day is almost upon us and the Atari scene looks good. More and more software and hardware is being made available to all of us. A number of people have made memory enhancements for all the 8 bit machines. In fact we will have one is use on our BBS in the very near future together with a new 2400 baud modem. Many of you seem to have trouble either getting on the BBS or once on how to use the different functions. When you go to log on the BBS enter your name, phone no., and a 4 letter password. After hitting the RETURN key a prompt appears to ask if everything is the way you want it and you must answer YES if it is and NO if it is not. If YES then it will check if everything is all right and then let you on the board. If NO you will be allowed to do it over again and only when it gets a YES will it go on and let you on the board. Once on most everything is menu driven and easy to follow except how to send messages. If you just remember these 2 signs you will have no trouble, The first is /A, this one allows you to abort your message. The second is /S and this one sends your message to where you want it. Remember these two prompts and you will have no trouble with the BBS. The BBS is now working so well that it even scares me. | think we have one of the finest in the country and if you haven't tried it or haven't tried it in a long time | think you will be in for a surprise the next time you use it. If you have any ideas which might make it even better leave me a message and | will see what | can do to follow your idea As we go into the holiday season remember to give thanks that we can have computers, modems and all the other things that make computing what it is and enjoy it all in the company of our fellow Atarians. Larry Gold LODE RUNNER'S RESCUE LODE RUNNER'S RESCUE by Josh Scholar, from Synapse. A challenging 3-D game, with easy to use game editor. My son and his buddys like this game. They had even had more fun, when they found ‘out by using the game editor to win the game. Now here's the name of the game. The Lode Runner has been captured by the minions of the evil Bungeling Empire and you, his brave daughter, must save him! he's imprisoned in a cell deep within a labyrinth of 46 mazes. Each maze holds many keys, that you must collect while you are avoiding guards. These keys will let you out of each of 46 mazes. The screen editing Option. This is an icon-driven screen which will let you make your own game screens. The 16-page instruction book covering the game editor is very good. It is easy to understand how to use the icons. This 3D game editor, will let you hide keys behind walls, in pits; to use trapdoors, elevators; to put it in rivers and magic mushrooms; etc. You also can put in restart goals to a new part of the screen if you bite the big one or to catch a magic cat to give you anew life. You can save up to 46 screens per disk, for a game of your own design It has a playtest mode so as you make your screens, you can see if it will work. Well that just about covers it for my first review except to say that | liked the game. PS: It’s a one player game. WALDEN'S C Recently when | was working on an update for DVC, | wanted to know how many bytes a file had in the last sector. | also wanted to know exactly how large the file was. The program FSIZE.C returns the number of bytes, the number of sectors, and how many bytes are in the last sector of the filename. The function inverse() at the end of the program is a handy little function for converting strings to inverse. It is fairly common for C programmers to build up a large library of small functions like this, which can then be included in the LNK file, Ralph Walden FLEA MARKET This year's pre-Christmas flea market to benefit WISTEC will be at our December meeting. If you have anything you wish to sell (original software and/or hardware} contact Larry Gold and give him your $5.00 donation. WISTEC will issue you a receipt for tax purposes. C-AMIGA The Commodore AMIGA will appear at our November meeting. Come see the third personal computer entrant in the G8k sweeps (after the Mac and the Atari ST). We'll have the Atari ST there, too, so you can compare the two systems. 1200 XL TO 800 OS (Reprint: RAM, September 1985) Bummed out with the hassles built into the 1200XL OS? Wanna burn your translator disks, but can't shell out the $80 for a Boss? Follow these simple instructions to replace the nasty 1200XL OS with the nice old 400/800 OS, for $16.50 or less! 1, Pull the Rev.8 ROMs out of the motherboard of a 400, or from the 10k ROM board of an 800. Make sure the chips function properly! 2. If you can't find a set of ROMs, order them from: American TV, 15338 Inverness St., San Leandro, CA 94579, 415-352-3787. They charge $16.50 (including shipping) for the chips. 3. At this point you should have three chips, marked CO12399B, 0124998 and CO145998. 4, Place the CO14599B piggyback on the CO12499B chip with the notched ends facing the same direction. Solder pin 1 to pin 1, pin 2 to pin 2, etc, for all 24 pairs of pins. 5. Open the 1200XL using a small Phillips-head driver on the screws, and a needlenose pliers to pull the pop rivets holding the RF shield together. This step is completely non-destructive: There is nothing to cut, unsolder or mutilate. 6, Locate the two 24-pin ROM chips on the 1200XL board near the cartridge slot. Notice they are marked U12 and U13 in white letters on the board. Noties alee, which way the notched ends of the ehips are acing. 7. Remove these ROM chips and give them to someone you don't like. 8, Pop the chip marked CO12399B into the slot marked U12, with the notch facing in the proper direction. Piace the piggyback chips in slot U13, with the notches properly oriented. 9. Test the board before putting the 1200 together again. You now have an 800 with a 1200 keyboard, the best of both worlds This modification was created by Brent Borghese of Atari Computer Enthusiasts of Columbus, Ohio, courtesy of the Dr. Download BBS, featuring 300/1200 bps access to 3 Mb of public domain programs. Call 614-587-3774, 24 hours daily, No password, no time limit. Just huge phone bills. Battalion Commander $40 by Strategic Simulations Inc., 1985 Battalion Commander is an expanded version of Combat Leader, although in many ways not as challenging. The variables which may be altered in this version are fewer, primarily terrain. One of three armies (Soviet - U.S. - Chinese) may be chosen, and one of four campaigns (Pursuit & Exploitation - Meeting Enagement - Attack - Defense). The maps, and there are 40 of them, are twice as large as those in Combat Leader. This gives you quite a lot of territory in which to manuever. Each game, Attack, Defense etc., has a set number of units, which you may not vary, other than in the relative strengths as presented in a percent ratio. One of the nice things about the game is that each unit is based on the actual figures for a unit of that type in modern U.S., Soviet or Chinese armies. In the back of the instruction manual you will find an appendix which breaks down each unit into title and weapons, both light and heavy. This gives you an understanding of the relative firepower of each unit. A second appendix gives you a breakdown in the number and type of vehicles available for each unit. The third appendix lists the 40 terrain maps and gives a break down of their features. ‘All of these variables, and the general game mechanics are listed in a nice instruction manual. A typical SSI job, clean and easy to read, with extra bits of interesting information placed at the end of each section. The game mechanics are almost identical to Combat Leader. so anyone familiar with that system should have no trouble. In play you are allowed to control an individual company or to simply maintain a battalion level control. In either case you can only tell your units how to go to a general area. In each game I've played | have found units trying to move through the enemy lines just because that was the easiest route, taking into account terrain. The only way to avoid this is if you move your units in small increments, and since this is a real time game you are giving the computer a big lead. You may target your units by company unless you have taken over a specific company. Then you may target individual units. | have often given my company commanders fire orders and have had no results, until | took personal command of the company, Some of this may be due to the fact that it is difficult to determine line of sight for your units. Despite the problems | have just stated, and the fact that | don’t find this game to be as challenging as some others | have played by SSI | still recommand any person interested in war games to check this one ‘out. The problems mentioned, while frustrating can also be viewed as a challenge, and in general this game is up to SSIs high standards. It will certainly give you many hours of enjoyable play time. — Nick Chrones
SORT NU 8 REK. FILE: SORTMUM.BAS 18 REM 108 GOSUS 1000:REM Cane) 208 GOSUB 2008:REH 308 GOSUB 3080:REM (LEC IMAM ES MEET 358 END 400 REM Mt. BUEBLESORT aie 420 43 at 450 46 478 508 sie 528 55 PLUBPCKE STARTEND OF SOFT KEY POKE 203,@:POKE 204,4 REM POKE 205,6:POKE 206,@ REM (CR AZUSRCABR (SORTS) , ADR (NUNS) +10 , 2 RETURN KEM FOR IF S(1-42)5C0) THEN T=I:H=S (1-1) :5 (1-192500) 5-H 578 575 588 7 585 =2 TOK 680 618 621 630 648 658 66 670 688 698 78 74 720 698 73 RoW FOR LL=INT(W/2) TO 41 STEP -1 HOLD=S(LLd GOSUS GBO:MEXT LL:LL=1 FOR R=N-1 TO 4 STEP -1 HOLD=5 (RL) ScRHI=5 CD GOSUB 688:MEKT R:? :RETURN SELL T=J2J=285 OM 245GNCJ-RI GOTO 718,720,738 IF SCJ0(SCJ#1) THEM J=J+i IF HOLD<S(J) THEN S(TD=5(J3:G0 TO HOLDZ=HOLD: HOLO=5 (13 15 (1) =HOLD2:? IGETKEY ROUTINE] MBER BASIC 808 POKE 764,255 810 IF PEEK(764)=255 THEW 810 820 KEY=PEEK(764) 830 POKE 764,255 849 RETURN see REM THER ROUTH 988 OLDTIME=TIME 918 FLAG=1-FLAG 920 TIME=PEEK (20) +256% (PEEK (19) +2564PE eKc18)) 930 TIMESINT (1008*TIME/60) /1008 940 ELAPSE=TIME-OLDTIME 2} TIME THEN ? “ELAPSE = 978 RETURN 980 REM a 1008 ? CHRSCi25) 1818 POKE 712,8 1028 POKE 718,4+16*INT C16*RMD (1) 1838 POKE 789,12 1188 DIM TYPSCL) ,MUMSC4) ,5(9999, SORTSC 1263 1185 GOSUS 6068 1110 7 :? “Which sort to execute?" 1128 2 (8) Bubblesort” 1125 7:7? "GD ALL. Bubble! 1138 2 1:7 "CHD Heapsor 1140 GOSUB 808 1158 IF KEY=21 4455 IF KEY=37 4168 IF KEY=57 1178 IF TYPSQ)"B™ AND TYPSQ)"HY AND TY PSC" THEM GO TO 1140 12 How many itens do you wa at to sort” 1205 2 "Max = 999, Minimum = 1218 IMPUT MUMS 1228 TRAP 1210 1238 M=VAL (NUNS) 1248 IF W(1@ THEN 1285 1250 IF M)999 THEM 1205 1268 W=INT(W):TRAP 34567 1840 OPEM W1,4, 1850 FOR I=1 TO 1860 INPUT #1,A 1878 SCI)=A 1680 WEXT I 1930 GOSUB 988 1988 RETURN 1998 REM THEN TYPS=" FROM 2018 2028 2988 2998 LAST ISSUE D0 MY THEN GOSUB 488 THEN GOSUB 586 iN” THEN GOSUB 666 PRINT RESULTS) GosuB 968 s05uB 80 FOR I=1 TO" 21,5 WEXT I RETURN WSR Sort rovtine-relocatable| REM REM REM fidmending positions (reiatived REM fiamiength, and ascend vs descnd REH REM REM PISBREC LENGTH=17 :POKE 205, RL Pramosc=0, DESC=1":POkE 206," REM FOR T=1 TO 126:READ A SORTS C13 =CHRS (A) :NERT I RETURN DATA 104,104,153, 217,184, 135,216 DATA 184,133,209, 184,133,288, 169 OATA 8,133,218,133, 267, 162,1 DATA 165,216,133, 214, 165, 217,133 DATA 245,24, 165,714,133, 212,101 DATA 205,133,214, 165,215,133, 213 DATA 185,8,133, 215,164,203, 165 DATA 286,240, 18,177, 214,209,212 DATA 144, 44,248,12,176,19,177 DATA 214,209,212, 144,13, 248,2 DATA 176, 38,200,196, 204,248,227 OATA 176,25,144,225,169,1,133 DATA 218,164,205, 156,177,214, 72 DATA 177, 212,145,214, 184,145,212 DATA 192,8,208, 241,232, 224,8 DATA 208,2,230, 207,228,288, 208 OATA 172,165, 209,197, 207,208, 166 DATA 165,218,201,8, 208, 144,96
COMPUTER ASSISTED DESIGN
2 DIM OS¢1):G0TO 1280
3 DIM KC33,29
5 DIM CIRC(3O, 2), OLD(3@, 29
6 DIM COLORS (1), RF (38) , VMC3@)
7 PI=22/7:ARC=(PI/2)/98
8 GOSUB 9588:G0SUB 9260:RETURN
12 GOSUB 7000
13 C=CRND (89149 #1
14 SETCOLOR 2,C,8
15 SETCOLOR 4,C,8
16 SETCOLOR 1,€,8
30 ? CHRS (125)
402
=
452"
om
15 0 SSS sae S ZT
=
7 ES
=
0 2a SRY
=
52 RETURN
108 C=RMD CO) #16
A1@ GRAPHICS 8416
128 SETCOLOR 1,C,8
138 SETCOLOR 2,C,18
148 SETCOLOR 4,C,18
145 COLOR 1
150 RETURN
168 GOSUB 160
208 FOR L=1 TO HORS
240 DIS=(158/CHORS-1))
228 CIRC(L,1)=188
238 CIRC CL, 2)= C(DISHL) -DIS) +21.
235 OLDCL, LI=CIRCCL, 1)
236 OLD(L,2)=CIRC(L, 2)
748 WEKT L
258 RETURN
38 FOR O=1 TO HORS
328 PLOT CIRC(D, 19-48, CIRCCD, 2)
WEXT D
PLOT 168,@:DRAWTO 166,194
GOsuB 680
PLOT CIRC(1,1),CIRC(L,2)
FOR D=2 TO HORS
PRANTO CIRC(D, 1), CIRCED, 2)
COMPUTER a55 15 TE
a
335
336
at
368
378
388 NEXT D
400 IF STRIG(®)=8 THEN GOSUB 686
440 S=STICK (8)
415 IF PEEK(S3279=6 AND VERT)1 AND AN
6)@ THEN GOSUB 7\ OTO 908
416 IF PEEK(532792=6 AND ANG{1 THEN 17
a8
447 IF PEEK(5S3279)=6 AND VERT<L THEN G
RAPHICS @:GOTO 1268
419 IF PEEK(532799=5 THEN GRAPHICS 8:6
oro 1288
420 IF
430 IF S=14
5, 2)-4:60T0
440 IF S=13
5, 2341:60T0
458 IF S=11 THEN CIRC (PRES, 1)=CIRCCPRE
5,1)-1:60TO 888
460 IF S=7 THEM CIRCCPRES, 1)=CIRCCPRES
/AD+1:60TO 688
478 IF S=6 THEM CIRCCPRES,12=CIRCCPRES
ADL; CIRC (PRES ,2)=CIRCCPRES, 29-1: 6070
eee
475 IF S=5 THEM CIRCCPRES, 1)=CIRCCPRES
AD FL: CIRCCPRES, 29 =CIRC (PRES, 23+1:60T0
808
480 IF S=9 THEM CIRCCPRES,1)=CIRC (PRES
AIL ICIRC (PRES, 29 =CIRC (PRES, 23 #1:G0TO
898
485 IF 5=18 THEN CIRCCPRES, 1)=CIRC (PRE
$,4)-L:CIRC (PRES, 2)=CIRC (PRES, 2)-1:60T
0 808
a
THEM 488
THEM CIRC (PRES, 2)=CIRCCPRE
ee
THEM CIRC (PRES, 2)=CIRCCPRE
age
499 GOTO 408
600 PRES=PRES#1
619 IF PRES=HORS#1 THEN GOTO 698
620 RUB=PRES~1
630 IF RUB=@ THEN RUB=HORS
648 COLOR 2
658 PLOT 158,0:DRAHTO 138,191
560 COLOR 1
678 PLOT 138,CIRC (PRES, 2)
685 RETURN
690 COLOR 2:PLOT 130,@:DRAHTO 138,194:
PRES=1
691 PLOT 148,8:DRAWTO 140,191:COLOR 1
695 FOR T=1 TO HORS
696 PLOT 148,CIRC(T,2):MEKT T:G0TO 626
800 IF CIRCCPRES,23<=8 THEN GOSUB 988@
SCIRC(PRES,2)=1:G0T0 408
805 IF CIRC(PRES,2))=191
80: CIRC (PRES, 23=198:G0TO
818 IF CIRC(PRES, 12)=168
80: CIRC (PRES, 13=161:G0TO
820 IF CIRCCPRES,19)=319
OB: CIRCCPRES,1)=319:G0TO 408
825 IF PRES=1 THEN GOSUB 858:GOTO 898
830 IF PRES=HORS THEN GOSUB 84@:GOTO 8
98
835 GOSUB 848:G0SUB 858:G0T0 898
848 COLOR 2:PLOT OLDCPRES, 1), OLDCPRES,
Fa)
841 DRAHTO OLDCPRES~1,1), OLD(PRES-1,23
THEN GOSUB 9@
400
THEN GOSUB 96
400
THEN GOSUB 98
844 COLOR L:PLOT CIRCCPRES, 1), CIRC (PRE
6
3,2)
845 DRAHTO CIRCCPRES-1,1) ,CIRCCPRES-1,
2) :RETURN
850 COLOR 2:PLOT OLD (PRES, 1), OLD{PRES,
2
B51 DRAHTO OLDCPRES#1, 1), OLD(PRES#1, 2)
854 COLOR A:PLOT CIRCCPRES, 1), CIRC (PRE
3,22
855 DRAWTO CIRC(PRES+i,1) ,CIRCCPREStI,
22: RETURN
898 OLDCPRES, 19=CIRC (PRES, 19
895 OLDCPRES,22=CIRC(PRES,2):GOTO 408
908 GOSUB 18@:G0SUB 4808
918 GOSUB 38
928 FOR T=1 TO HORS
938 ERROR- PLOT 1604CIRCCT, 1)-1605*K
(1,1), YHOTD ARF CT KC, 23
948 FOR D=1 TO 33
950 K=16B+ (CIRC (T, 1)-168)#K CD, 1) :¥=UHC
TD RF CT) KC, 29
965 IF ¥<@ OR Y)191 THEN B=1:G0TO 999
970 IF B=1 THEN PLOT X,Y:8=8
988 DRAHTO X,Y
999 NEXT D:NEXT T
1088 C=(2¥PT)/VERT
1885 FOR K=@ TO (2HPI)-C STEP C
1086 SH=SIM OH) :CK=C05(K)
1818 FOR TO HORS-4
1028 RDAA=CIRCCJ, 13-168
183@ RDIB=CIRCCI+1, 1-168
1088 H1=168+RDIAKCK: YI=UW CID #RF CJHSK
1898 K2=168+4RD1B¥CH: Y2=UMCJ#L) #RF CJ41)
5K
1108
1110
1128
4138
1148
1158
1168
1185
IF ¥i<@ THEM ¥:
IF ¥i)191 THEN ¥.
IF ¥2<@ THEM Y:
IF ¥2)494 THEN ¥2=194
PLOT KL,Yi
DRAHTO K2,¥2
WERT J:MEXT HK
cose seeo
1198 IF STRIGCOI=1 THEN 1190
1208 GRAPHICS @:G0SUB 12
1205 7: Construction lines Mi
Pi
12187 + Change viewing anglefil)
oa
1228 2: Go to drawing page
-
1238? Begin new design PRI
card
1248 2 Draw current design igi
ne a
4242 7:7" Help OP 1]
Og
COMPUTER ASSISTED DESIGN CON'T
1245 7 3? K 10 SE}
1250 S=STICK(@>
1255 IF PEEK(S32799=3 THEN 10000
1260 IF 5415 THEN 1368
1278 IF STRIG(8)=8 THEN 1448
1260 GOTO 1258
1308 4 AMD HORS)1 THEN GOSUB 12:
Goro
1310 IF S=13 AND HORS)1 THEN GOSUB 12:
GOTO 1368
1326 IF STICK(@)=11 AND HORS)1 THEN GO
SUB 108:PRES=HORS:GOSUB 668:G0SUB 70e8
1G0TO 335
1338 IF 5=7 THEN 1400
1349 GOTO 1258
13582575757" Number of Lines i
design is “;VERT;
me Change to
1356 7:7 37
UT VERT:GOTO 1288
1358 GOTO 1288
AsO? 8% G7 ee Angle of view in
design is “;ANG;" d
egrees.
1364 2 “Change to;"
1366 INPUT ANG:GOSUB 3aee:GOTO 12e8
1488 GOSUB 12:7 : Do you wan
ta new design (¥/W)";:INPUT O$:IF OS=
on" THEM 1260
1418 CLR :GOSUB 8:GOSUB 12
How many construction
INPUT HORS:CIRCLES=1:G0SUB 2
ea
GoTo 1708
IF HORS<L THEN 1258
IF VERT(A THEN GOSUB 12:GOTO 1358
IF ANG<1 THEN GOSUB 12:GOTO 1360
IF HORS)1 THEN GOSUB 7880:G0TO 98
GOTO 1258
FOR U=1 TO HORS
A=90-ANG
IF CIRCCY,2){96 THEN H=96-CIRCCY,
3018
2); M=INT CHESIN CARCHAD} : UHCUD=CIRC CY, 29
+CH-W):G0TO 3108
3028 H=CIRC(V, 29-96: N=INT CHXSIN CARCKAD
2: VMCU)=CIRC CV, 2) - CH-ND
34108 NEXT ¥
3418 RETURN
4888 FOR V=1 TO HORS
4085 G=CIRC(V,1)-168
4018 RF (U)=INT (GESINCARCKANG?)
4028 WEXT ¥
4030 RETURN
5080 SOUND 0,10,16,14
5018 FOR K=1 TO 7
5020 FOR T=1 TO 3:MEKT T
5850 SOUND 1,28,16,14
5048 FOR T=1 TO S:NEXT T
5858 SOUND 1,30,10,14
5068 NEXT K
5078 SOUND 8,8
5075 SOUND 1,0
5080 RETURN
7008 SOUND 8,10,10,14
7018 SOUND 1,15,10,14
7020 FOR K=1 TO 8:NEKT ¥
7997 SOUND 8,8,6,8
7998 SOUND 1,8,0,8
7999 RETURN
8008 IF CIRCCPRES,1))319 THEM CIRCCPRE
$,1)=349:G0SUB 980: RETURN
8010 IF CIRCCPRES,2)<@ THEM CIRCCPRES,
23=1:G05UB 9600:RETURN
8028 IF CIRCCPRES,2))191 THEN CIRCCPRE
5,29=191;G0SUB 9808: RETURN
9008 SOUND @,200, 10,14
9818 SOUND 1,208,6,14
9026 FOR X=1 TO B:NEXT X
9838 SOUND 0,8,6,8
9848 SOUND 1,0,8,8
9058 RETURN
9200 FOR D=1 TO 33
9205 K=K+O.2
9210 KCB, 19=COS CK) :K(D, 2) =SIN CKD
9228 MEXT D:RETURN
9588 GOSUB 12:K=1
9518 POSITION 6,18:7 "{C) SAM SMALL AU
G 1983 (.20"
9528 POSITION 8,16:?7 "CT
Moment iy
9538 RETURN
1998e GoSUB 12
19018 ? :? "C47 CLOAD and RUN."
10028 7 "[2] MENU displayed.
19038 7 "{3] All functions are locked
out. except ‘new design‘
19948 2 "(41 Select ‘new design
10858 7 "{5] ‘New design Y/N" is disp
layed for checking."
10068 7 "(61 Program creates COS and
SIM arrays for faster circle drawin
a"
10870 7 "[7] Select how many construc
tion circles are required.”
1908@ 7 "[81 Return to MENU.
18898 2 Drawing page is now avai
lable.
19106 2 o
7
ONTINUE Ba]
10105 IF PEEK (53279) 3 THEM 16185
18118 GOSUB 12
10120 7:7 "£101 DRAWING PAGE"
10138 7 3? Select which segment
to be dravn with fire button"
10140 7:2" Joystick will then ‘r
ubber band" drawing line to the d
esired”
10158 7 al profile, All eight d
irections are supported and there 2
re limit checks."
10168 7:7" ET then draws desi
gn if other parameters have
been entered."
10178 7:7" SEMAAMgoes back to 4
enw"
10168 2:7"
aa;
10198 IF PEEK(S3279) 3 THEN 10198
10288 GOSUB 12
10218 7 1? “ELT
16728 7:2"
current design
er parameters
MAIN MENU"
Attempting to ‘draw
without entering oth
will result in*
19249 7:2" program asking for t
hese entries."
10258 ? :? ‘praw current design
‘will draw three-dimensional re
presentation of drawn profile.”
16278 7:2"
CINE a
18275 IF PEEK(S3279)()3 THEN 10275
10280 GOSUB 12
10290 7:27:27 :7 "{12] PARAMETERS"
1ozae 27:2" "Construction lines.
Any number from i u
pwards."*
19516 2:2" ‘angle of view!
@ deg - eye level,
9@ deg - overhead."
10328 POSITION 4,29:? " STESMTRSCT
10340 IF PEEK(S3279)()3 THEN 10348
18358 GOTO 1208
REN J HRRHRAHBEE EERE EE EEE ECE, REM. A Disk Utility Programme. REM. Copyright HAPSOFT Ltd. REM . By Ron Levy. REM Reprinted from the U.K Atari REM Wewsletter, Sussex, England REM by the Ptagscoz ine Maple, Eugene 197405 14 ESAS IIIA ‘9 BUFF=1536:UNIT=1:POKE 709,15 SNOWMAN R © 2 19 DIM F$(38), OPTS(18) ,HEKS (512) , TS (16 2, MUALS (30) , #5 (4) , ¥9 (4) , SECTORS (10) , DT SKS (5) ,B (7), BYTS (256) 12 FOR X=1 TO S:READ Y:DISKS(H,K)=CHRS (YD INERT X 18? "STAGE 1" 19 REM ((¢ SET UP HEX CONVERTER >>) 20 T$="8123456789NBCDEF" 22 FOR H=4 TO 256 24 YSINT COR-1) 16) 1 Y2=H-YEL6 3 YEE 26 L=LEW CHEXS) +1: HEXS (L,LI=T5(¥,¥) L=LEW CHEXS) +1: HEXS (L,L9=1$(¥2, 92) NEXT x C=53279:REM Consol Switches. 2 "STAGE 2" 40 REM << Set Up Character Array )) 44 FOR BYT=1 TO 255:BYTS(BYT,BYT)=CHRS eyT) 44 IF BYT)26 AMD BYT<S2 OR BYT)124 AND BYT(128 OR BYT)154 AND BYT(168 OR BYT 2252 THEN BYTS(BYT, BYT) =CHRS (8) 46 MEXT BYT 5@ REM (<<< Create Display List >))) 52 D=S61:DO=PEEK (0) :01=D8-1:DL=PEEK (56 0) +D6%256:DL1=DL-256 S3 FOR A=1 TO 6:POKE DL1+A, PEEK(DLtA): NEXT 54 FOR A=6 TO S@ STEP 2:POKE DL1ta,O:P OKE DLItitA,2:MEXT 55 FOR A=52 TO S3:POKE DLith, PEEKCDL#A “230 NEXT 0 56 POKE DLit54,PEEK(S61)-1 27 26 38 39 108 REM C<<<CKCKC Main Menu. >>))))>> 182 GRAPHICS @:POKE 789,15:CMO=@ 1057" Sector Utility 19067" 2 105 2" By Ron Levy." 1122" Disk Directory ...... <1)" 114.7" Load Sector . «2 1162" Save Sector sn 118-7" Edit Sector .......4. C4)" 420.2" Examine Directory .., (5) 15@ POSITION 13,21 "Option ~~)"; 168 CLOSE H2:0PEN #2,4,8," 2CLOSE 2 178 H=H-48;1F 441 OR X)S THEN 100 188 ON GOTO 1998, 2096, 3080, 4080, 5008 SECTOR 200 FOR I=4 TO SIZE 1008 REM <<<<<C DISK DIRECTORY >)>)>) 1828 GRAPHICS @:POKE 769,15 1108 TRAP 1608:0PEN #1,6,0. A118 INPUT B1,F9:7 FS;" 5 1128 INPUT #1,F$:? FS:GOTO 1118 1608 CLOSE ML:INPUT KS:IF KS= ee 1630 "De THEM 1 GOTO 1088 REM <<<<<<¢ Load Sector )>))))) a 2 LOAD Sector Routine 2288 2?" Which Sector <HEK) --) " 2218 INPUT SECTORS:IF SECTOR PRINT :GOTO 2408 2228 IF LENCSECTORS)<)3 THEN 2068 2238 I=ASC (SECTORS (1,19): J=ASC (SECTORS (2,23) :K=ASC (SECTORS (3, 33) 2248 IF I<65 THEM I=I-48:G0TO 2268 2258 I=I-55 2268 IF J<65 THEN J=J-48:60T0 2286 2278 J=J-55 2280 IF K(65 THEN K=K-48:G0TO 2308 2298 K=K-55 2308 SECT=IN256+IKL6+K 2310 IF SECT<1 OR SECT)S72@ THEN ? CHR $(253):GOTO 2008 2330 SECTOR=SECT:GOSUB 10008:G0TO 140 2480 2" Which Sector <DEC) --) "; 2410 INPUT SECTORS:IF SECTORS="" THEN PRINT :GOTO 2508 2430 TRAP 2480; SECT=VAL (SECTORS) : TRAP 40800 2440 IF SECT<1 OR SECT)72d THEN 2 CHRS (253); :60T0 2408 2458 SECTOR=SECT:G05UB 10000:G0TO 160 2508 7 "TYPE * TO LOAD SECTOR ";SECTOR 2528 INPUT SECTORS:IF SECTORS<)"*" THE 4 199 2530 72: LoaDing Now... 2550 GOSUB 18@08:GOTO 148 3008 REM K<<KKKK Save Sector )>))))> 3188 TRAP 40808:CMD=1:GRAPHICS @:POKE 709, 15:PRINT site 2" THEN SAVE Sector Routine. 3209 2?" Which Sector (HEK) --) "; 3218 INPUT SECTORS; IF SECTORS: THEN PRINT :GOTO 3408 3228 IF LEN(SECTORS)()3 THEN 3008 3230 I=ASC (SECTORS (1,19): J=ASC (SECTORS (2,23) :K=A5C (SECTORS (3, 39) 3240 IF 1465 THEN T=1-48:G0TO 3268 3258 I=I-55 3260 IF J<65 THEM J=J-48:G0T0 3286 8 3278 J=J-S5 3288 IF K<6S THEM K=K-48:G0TO 3308 3290 K=K-55 3380 SECT=IN256+ SKL6+K 3518 IF SECT<1 OR SECT)5728 THEN ? CHR $(253):G0TO 3008 3328 SECTOR=SECT:G0SUB 10001 3348 GOTO 108 3488 27." Which Sector <DEC) --) "1; 3410 INPUT SECTORS:IF SECTORS="" THEN oTO 108 GRAPHICS @:POKE 789,15:PRINT :TRA 3508 3438 TRAP 3408: SECT=VAL (SECTORS) : TRAP 40000 3440 IF SECT(1 OR SECT)728 THEM ? CHRS (253); :60T0 3408 3450 SECTOR=SECT:GOSUB 18808:GOTO 160 3560 PRINT 3518 7 :? "Type * To SAVE Sector ";SEC TOR:" "3; 3520 INPUT SECTORS: IF SECTORS()"*" THE W108 3538 2 :? "Ok, ~~ SAVEing Now. SUS 18088:GOTO 188 4008 REM <<<<<<< EDIT SECTOR >))>?)) 4048 GRAPHICS @:POKE 789,15:POKE D,D1: TRAP 40000 4050 7 "Sector)";:PRINT SECTOR 4055 POSITION 14,0:? "File)"; 4060 BYTE=PEEK(BUFF#125) :605UB 11008 4065 FILE=(BYTE-B(1)*2-B(0))/4:? FILE; 4078 MXTSEC=PEEK (BUFF +126) +256%(B (1) #2 +B(8)) 4074 IF PEEKCBUFF+127))127 THEN NKTSEC =8 4875 POSITION 23,0:? “Next Sec.>";NKTS EC 4080 POSITION 8,1:7 "5"; 4885 H=INT(SECTOR/256) 2? HEKS (K2+2, KE 242); :K=SECTOR-HE256:? HEXS (HE2+1, XZ 2; 4090 POSITION 16,1:7 "$";HEXS (FILEXZ#1 )FILEX2+2) 5 2 H=B C1248 (8 4108 POSITION 32,1:7 "S$"; 5) 4105 2 HERS (HH2#2, H¥2#2); 4118 Y=PEEK (BUFF +126) :? HEKS (YX2#1, ¥82 +2) 4i6a 2" 4567" 4178 POSITION 3,3:7 CHRS(17); 4188 FOR X=1 TO 8 4184 7 CHRS (18) ;CHRS (18) ;CHRS (32); 4186 NEXT # = 4208 FOR L=@ TO 15 STEP 1 4218 POSITION 1,L#4:? L} 4228 POSITION 3,L 44:7 CHRS (124); 4248 IF PEEK(C)=5 THEN 4309 @i2 3 4 5 6 7 e123
POSITION 4,L+4
FOR PK=@ TO 7
BYT=PEEK (BUFF +PK4L¥8)
7 HEXS (BYTHZ#4, BYTHZ#29 5";
WEXT PK
REM... PRINT CHARACTERS ...
IF PEEK(C)=3 THEN 4408
POSITION 28,144
FOR CH=@ To 7
BYT=PEEK (BUFF +CH+L¥8)
TF BYT=0 THEN ? CHRSCO);:G0TO 439
PRINT BYTS(BYT,BYT) ;
MEXT CH
IF PEEKCC)=6 THEM 4508
NEXT L.
REM ...EDIT-IT...
2 :POSITION 4,21:7 "H Co-ord.-)";
INPUT KS:IF KS="" THEN 168
THEM SECTOR=NKTSEC: CMD=
GOTO 408
THEN GOSUB 12@08:CLOSE
THEN SECTOR=SECTOR-1:CH
0=8:605UB 1e888:G0TO 4aa0
4522 POSITION 4,22:? “Y Co-ord.—
WPUT YS:IF Y$="" THEN 188
4524 TRAP 4588:K=VAL (KS) :Y=VAL CYS): TRA
P 49008
4526 IF <@ OR K)7 OR ¥<@ OR YD15 THEN
4518
4560 EOBYT=Y#8+H:POSITION 23,21:? “Seq
4578 POSITION 4,22:7 "
4588 POSITION 4,22:7 “New Yalue <HEX)~
a
4590 INPUT MUALS:IF NUALS='
" THEN 4700
4601
)
4518
4628
4630
4658
4668
4670
4680
4708
2"
4718
j=ASCCMVALS (1, 13) :K=ASC CNUALS (2,2
IF J<65 THEN
Jad-55
IF K<65 THEN
55
NBYT=J816+K
2 WBYT, HEXS CMBYTX2#1, MBYTH2#2)
POKE BUFFtEDBYT,NBYT:GOTO 4908
POSITION 4,22:? "New Value <DEC)-
-48:G0TO 4650
-48:G0TO 4660
INPUT NUALS:IF NUALS="" THEN 4808
4728 TRAP 4780: MBYT=VAL (HUALS)
473@ POKE BUFF+EDBYT, MBYT: TRAP 4@\
oro 4008
4888 POSITION 4,22:7 “
4885 POSITION 4,22:? “New (STRING) ";
4810 INPUT MUALS:IF NUAL' THEN 108
FOR X=1 TO LEWCNUALS)
POKE BUFFHEDBYT+H-1, ASC CHUALS (XH
4gze
4838
”
4850 MEXT H:G0TO 4000
5000 REM <<<< Examine Directory >)>>
528 GRAPHICS O:POKE 709,15: TRAP 4egea
TCNT=O:CLOSE #1
5026 IF PEEKCC)=7 THEM OPEN M1,8,2,“E:
OKE 709,15: OKE D,D1:G0TO Siee
5840 TRAP 180:0PEK t1,8,0,"P:": TRAP 48
090 :P=1
S@5@ IF PEEK(C)<>7 THEN 5858
5868 Pai
9100 CHT=@:FOR I=8 TO 7:REM <<<sectors
oy
S418 SECTOR=[+361:CMD=8:G0SUB 19908
Side ? M117 ML;"Sector “;SECTOR;" <$";
S145 K=PEEK (7799%2#2: Y= (SECTOR-INT (SEC
TOR/256*256)*2
5158 2 ML;HEKS CH, Hd ;HEXSCY#L, ¥#29 5"
S185 ? HLj"Seq Mor ";I;" <S";HEKS (CIEZE
1, 18242) 5"
S178 ? M1;
S175 ? #1;
5208 FOR J=@ TO 127 STEP 16
S205 2 ML;HEXSCCNTH2+1,CNTH242) 5";
No: Flag Sects Start"
8218
§228
5238
s24a
5258
576
5278
5288
829
ssea
5z98
K=PEEK (BUFF tJ) : FLAG=K
2 MAFHEMS CHMZHL, HM242) 5";
K=PEEK (BUFF tJ#2)
2 MA;HEKS (K*Z+2Z, RZD) ;
K=PEEK (BUFFHI+1)
2 MLSHEKS CKRZ41,KEZ#2) "5
H=PEEK (BUFF J+4)
2 HA; HEMS CHH2#2Z, 242);
H=PEEK (BUFF tJ+32
2 WL; HERS (KEZEL, HHZ429 5" "4;
X=O:IF FLAG)127 THEN K=1:FLAG=8
5408 FOR S=BUFFHJ+S TO BUFFHI+L2
5405 Y=PEEK(S):IF X THEN IF P=@ THEN Y
=Yt128
S418 7 ML; CHRSCY);
S450 NEXT S
5468 2 HL;
5470 FOR S=BUFFtJ+13 TO BUFFHItIS
5480 Y=PEEK(S):IF X THEM IF P=8 THEM Y
=vt128
S485 PRINT #1; CHRS CY);
5490 WEXT SiIF X THEM ? Bij" xHRM;
5500 IF FLAG)9S THEN ? M1; #8;
5600 CNT=CNT#L:? HL:TF PEEK(C)<)7 THEN
GOSUB 5950
9
5650 NEXT J:NEXT I
5898 7 H1;" Rerun <¥) ~~)";
5610 INPUT XS:IF XS="¥" THEN 5080
5988 CLOSE #i:GoTO 188
5949 REM ({ A Little Delay! )>
5958 IF PEEK(C)=6 THEN 5958
5955 IF PEEK(C)=3 THEM POP CLOSE Wi:6
oro 188
5968 IF PEEK(C)=6 THEN RETURN
S961 IF PEEK(CI=5 THEN POP :60T0 5100
5965 IF PEEK(C)=7 THEN 5955
10808 REM <<<<< Disk Interface )>)))
18180 POKE 769,UNIT
Agia IF CMD=@ THEN POKE 77€,87
10128 IF CMD=1 THEN POKE 778,87
18130 POKE 772, BUFF-INT (BUFF/256) #256
18148 POKE 773, INT(BUFF/256)
10158 POKE 778, SECTOR-INT(SECTOR/256)*
256
101608
POKE 779, INT (SECTOR/256)
18399 A=USRCADR (DISKS?)
10408 IF PEEK(771)=1 THEN RETURN
1e4i@ 2 :? CHRS(253):7 "ERROR --) “";PE
EK(774)
10438 2 "Type <) To Re-try ... "3
10450 INPUT XS:TF XS="%" THEN 10308
10478 RETURN
10999 REM
Aiege REM <(<<<<<¢ Bit Map Calc, >))>>>
41108 FOR IT=8 TO 7:BCIT)=O:MEKT IT: B=
BYTE
1114e IF
44120 IF
1138 IF
11148
44150 IF
11168
B)127 THEN B=8-128:B(7)=1
B)6E THEN B=B-64:8(6)=1
8)S1 THEN B=B-32:6(5)=4
B)15 THEM B=6-16:8(4)=1
B)7 THEN B=B-8:8(5)=1
B)3 THEN B=B-4:8(2)=4
14170 IF B)1 THEN B=B-2;BC1)=4
11180 IF B)@ THEN BCQ)=1
411908 RETURN
12008 REM <<<<¢ Printer Routine )))))
12@1@ TRAP 12980: 0PEM H1,6,8,"P:": TRAP
40088
12028 FOR Y=@ TO 28:POSITION @,¥
420308 FOR TO S9:GET 6,a:IF aC3z 0
R ADL22 THEN A=32
1204@ PUT HL, A:NEMT Mi? HLINEXT ¥i7 BL
CLOSE ML:RETURN
12986 7 CHRS(253) , "ERROR -)";PEEK (B51)
12918 ? “<RETURN) To Continue ..";:INP
UT OPTS:RETURN
$0088 DATA 184,32,85,228,96
32767 END
QUICKSORT ACTION
} FILE: © QUICKSRT.ACT
IMCLUDI
ORT .ACT"
; This uses the Quick Sort
; Procedures from the
j} ACTIOM Toolkit
*
MODULE POEFINE GLOBGL VARIGBLES
Fi Sede
*
BYTE KEY, FLAG=(01, TYP, HFLAG
CARD ARRAY 5(1808)
CARD N,K,I,T,H,
R,MZ,L,LL, HOLD, RR, J,HOLDZ, JJ, RZ
| OEE EES AAR IRS IIE IEE
*
PROC GETKEYO. FIGETKEY ROUTINE)
| HOI BITE III IIIA II
*
POKE (764,255)
DO UNTIL PEEK(764)#255 0D
KEY=PEEK (764)
POKE(764, 255)
RETURN
*
Tet Sem IMER ROUTINE
*
20
PRINTC"How wany items do")
jou want to sort")
"Max = 999, Minimum = 18
"
PRINTEC" ")
PUT C22
UNTIL 19 AND NX1880
oD
OPEN(S,"D:MUML@88. RAN", 4,02
j;PEN(3,"D:NUMLOG0. SRT", 4,8)
For I=1 To"
oo
ASIMPUTCD (3)
sca
op
CLOSES)
TIMER Q.
RETURN.
*
PROC PRNTSO
SORE IGR I
*
CARD TEMP
GETKEYO.
FoR I=1 TO 8
bo
IF KEY=28 THEM EXIT FI
PRINTC CI}
PRINT OOD
TEMP=S(1)
PRINTCE (TEMP)
on
RETURN
10
FROM LAST ISSUE
CARD time
BYTE p18=18,p19=19,p20=28
flag = 1-flag
IF flas
THEN
} net ist call
tine = p20 + 256%
(pis + 256%p18)
Printc"Elapsed Time: ")
Printc(tine/60)
PRINTC' AND "9
PRINTCCTIME MOD 68)
Printe("/68 seconds’
3 reset
clock
RETURN
| HEISEI RII III
*
PROC FIRSTSCREENO BICLEGR GND PEIN
BYTE J, FIRST:
IF FIRST=@ THEN GRAPHTCS(@) FI
FIRST==+1
POKE(712,)
J=RAND (16)
POKE(789, 12)
POKE(718, 44168)
PRINTEC" ")
PRINTEC"ThiS is a demonstration of")
PRINTEC*the Quick Sort Procedure")
PRINTEC" "9
PRINTEC" ")
RETURN
*
PUP CHMACMMMMELINITLOLIZGTION ROUTINE]
; sciiieiiiaii SSRI:
*
CARD A
FIRSTSCREEN(
18 REM OLD TEXT #4 OLD TEXT BY M.BYFIELD ¥¥ 78 REM * * 3@ REM IF THIS IS GOING TO BE PUT INTO A PROGRAM THEN IT TO DISK OR CASSETE. 48 REM THEN PUT IN A GOSUB 3e8G8 AND CHANE LINE 38118 TO RETURN, seeee REM NEW CHORGCTER SET] 38885 REM LOGD SET FROM ROM INTO ROM 38018 CHBASE=120*256 30828 DIM CHARS (34) :RESTORE 38048 30838 FOR T=1 TO 34:READ A:CHARSCI, 1) CHRS (A) :MEXT T. yead9 pata 104,104, 133,215,104, 133,214 7169, 224,133,213, 169, 0,133,212,162,4,1 6 30058 DATA » 242,96 yeas yee70 yee8e 39890 30108 yoiie READ POKE STOP 30168 3ai7e ya18e 30198 soz 68 3ezie yo228 onTa pata ATA Data pata pata 3e23e 30248 30258 30268 30278 30298 sasee 30318 30328 DATA DATA pata DATA ata Data pata Data bata 30330 38348 30358 30s68 para pata Data pata 30378 DATA 177,121,145, 214,288,288 249, 238,213,138, 215, 282,208 ATUSR CADR (CHARS) , CHBASED PTBLOGD NEW CHOROCTERS| FOR I=@ TO 1823 CH:POKE CHBASEI,CH:NEXT T 756,128 REM CHANGE TO RETURN IF USED IM & PROGRAM. Cia Main CHORACTER Data 8,6,6,0,0,8,8,8,8 24,24,24,24,0,24,8,8, 102 102, 102,8,6,8,0,8,102,255 182, 102,255,102,8,24,62,96, 6,124,24,8,,102, 108,24, 48 102,78,6,25,54,28,56,111,10 59,8,8,24,24,24,8,8,8 8,0,14,28,24,24,28,14,8 @,112,56,24,24,56,112,0,8 102,68, 255,60,102,0,0,8,24 24,126,24,24,0,0,8. 8,8,24,24,48,8,8, @,0,8,8,8,0,8,0,0 24,24,0,0,6,12,24,48,96 64,6,8,60, 102,118,118, 107,65 8,8, 24,56,24,24,24,126,8 8,60, 102, 12,24, 48,126,8,8 126,12, 24,12, 102,60,0,0,12 28, 68,108, 126,12,8,8,126,96 124, 6,182, 66 168, 96,124 30388 30398 30418 30428 seas yeaae 30458 yease 30478 se4g0 30490 7 yosee 30518 30538 3e540 30558 30568 30576 ses8e 1it 30598 ye60e 30610 128 30628 30638 30658 30660 30678 30688 30698 30708 38718 30728 30738 30748 30758 30778 30786 30798 308ae 30618 36820 30830 30848 s0ase 3 30868 30878 30898 2,8 30988 yes1e bata pata Data pata pata DATA pata pata DATA pata pata pata pata pata para DATA pata pata pata pata Data bata pata Data pata pata pata pata pata DATA pata pata pata pata pata bata pata Data ata pata para pata para pata DATA DATA pata ata pata BY BYFIELD 102,182, 60,8,8,126,6,12,24 39928 DATA 48,48, 0,0,68,102,68,182,107 sa9z@ Data 68,0,8,60,182,62,6,12,56 8,0,8,24,24,8,24,24,0 8,8,24,24,8,24,24,48,6 12,24, 48,24,12,6,0,0,8 126,0,0,126,8,8,96,48,24 12,24, 48, 96,0,0,68,162,12 24,0,24,8,0,60,102,118,110 96,62,0,8,38,55, 103,103,111 59,0,8,38,51,115,126, 115,17 8,8, 38,51, 96,96,112,63,8 8,68, 182, 99,99, 99,126,8,8 30,51, 96,124,96,127,8,0,38 51, 96,124, 96,96,8,8, 38,51 96, 118,99,62,8,8,99,99,99 127,99,99,8,8,127,24,24,24 24,127,8,0,3,3,3,115,54 68,0,8,103, 118,174,124, 188, 60,112,112, 96,96,99,127,8 8,99,99,119, 127,187, 99,8,8 124, 148,118,118, 118,119,8,8 54,99, 99,54,28,8,0, 38,51 51,62,48,46,6,0,28,54,99 99,111, 62,3,8,60,54,54,62 S1,51,8,8,38,51,96,62,3 127,8,8,63,188,188,12,12,27 8,8,54,51,51,51,99,62,8 8,99,99,99,54,68,24,8,8 99,99,107,127,119,99,8,8,99 102,68,28,54,99,0,8,99,99 54, 30,12,24,0,0,63, 162,12 24,51,126,0,8,30,24,24,24 24,30,0,8,64, 96, 48, 24,12 6,0,8,128,24,24,24,24,128 €,8,8,28,54,99,0,8,8 0,8,0,8,8,8,255,8,0 54,127,127, 62,28,8,0,24,24 24,31,31,24,24,24,3,3,3 3,5,5,3,3,24, 24,24, 248 248,8,8,8,24,24,24, 248,248 24,24,24,0,0,8,248,248,24 (24,24,3,7,14,28,56,112,224 192,192,224, 112,56, 28, 14,7, 1,3,7,15,31,63,127,255,8 8,0,0,15,15,15, 15,128,192 224,248,248, 252,254,255,2,4 24,21,0,42,2,32,170,0,84 84,0,176,168,255,255,8,8,0 11 30940 30958 38960 30978 70968 78 38990 bata pata bata DATA bata pata 92,192 s1e18 4 31920 31038 pata bara pata 40,249 s1e4e 31058 31068 31978 51888 31998 site 31118 31138 31148 wise 31168 w1178 24 31188 satg9e y1ze8 34218 31228 342308 a 31258 2 31268 ez 31270 az 31288 31298 31308 RSRSE] 31328 31338 148 m1358 24 31378 31360 s1398 y1408 pata pata pata ata pata DATA pata pata pata Data pata bata pata ata pata DATA bata para para DATA pata ATA bata ata ata pata bara pata pata pata Data pata pata DATA 9,0,8,8,8,8,0,8,8 255,255,0,0,8,0, 246,248,240 248,0,28,26,119,119,8,28,8 8,8,8,51,31,24,24,24,8 8,8,255,255,0,8,8,24,24 24,255,255, 24,24,24,8,8, 168 84,42, 84,188, 6, 215,85,255,1 178, 255,85, 93, 192,192,192,1 192,192,192, 6,0,8, 285, 258,2 24,24,24,24,24,255,255,0,0 4,248, 248,240,248, 248,248,2 24, 24,24, 34, 31,0,0,8,120 96,128, 96,126,24,30,8,8,24 68, 126,24, 24,24,0,8,24,24 24,426, 68,24,8,8,24, 46,126 48,74,0,0,0,24,12,126,12 24,0,0,0,24,68, 125,126,608 24,0,0,8,38,54,118,118, 159 8,8,96, 96,124,187, 182,253,8 @,8,68,112,96,112,273,0,8 6,6,62,182,102,255,6,8,8 28,54,54,28,247,0,8,28, 56 48,62,123,217,26,0,8, 38,58 114,222, 135,60,8,96,96,96,1 102,231, 8,0,24,8,24,24,126 195,6,0,28,0,28,68, 111,285 68,0,48,48,62,54,60,247,8 8,24, 24,24,24,24,231,0,8 0, 51,127,127, 219,219,0,8,8 424,182,102, 182,231,8,8,8,6 162,183, 231,68,0,0,0,124,18 102,124,231, 96,8,8,62,182,1 126, 143,14,8,8,96,126,182,1 195,8,8,8,14,27,51,99, 223 @,0,12,63,12,12,28,247,8 @,0,115,51,51,51,223, 8,8 @,99,54,54,127,205,8,8,8 99,99, 107,127,221,0,0,8,54 126,1410,249,177,0,8,8,27,27 31,54,207,24,8,6,8,182, 91 219,131, 62,8,24,60,126,126, 68,0,24,24,24,24,24,24,24 24,8,8,0,24,24,0,0,8 8,24,56,128,56,24,8,0,16 24,28, 30, 28,24, 16,8
18 REN Modification to 005 2.5 to 11 REM store DUP.SYS and MEM. SAU 12 REM in the bank switch RAM 13 REM behind the 0S ROM from $ceea 14 REM to SFBfF 45 REM 16 REM This mod for 64K KL'S only 20 REM 24 REM Adapted from ANALOG H24 by Robert Luce 22 REM ZS. REH JOO GOI OI II III III 24 REM 38 REM 341 REM 33 REM written by alec Benson 6/85 fron ADELAIDE Atari Club, Box 333, Norwood, Australia 5.a, 5867 Aug ‘85 [6 DEM HERE SEOSE RS OR ERIE 48 REM REPRINTED ACE Newsletter 44 REM 3662 Vine Mapie, Eugene, OR 188 © 185 7 118 FOR IM AS (339) “Reading Data...." To 339 120 READ 0 138 CK=CK+A 148 AS (LEW (AS) #1) =CHRS CAD 150 NEXT T 168 IF CK<)41072 THEN 7 "ERROR IW DATA STATEMENTS-CHECK TYPING" 178 OPEW #1,8,0," END :PATCH2S. OBJ": PRINT BL;AS;:CLOSE wh 188? 1908 1018 1028 1038 16 1e4e 2 1058 1068 3 1678 1980 1698 36 1188 ite 1126 4138 1148 1158 1168 ? PATCH2S.0BJ CREATED: END DATA 255,255,231, 28, 233,20, 32,192 pata pata 23,78, 23,138,235, 32, 85,24 169, 0,133, 212,133,214, 169,29 DATA 133,215, 169,192, 133,215,162, DATA 32,119, 24,169,216, 133, 213,16 DATA ata 7, 32,419, 24, 32,708, 24,96 169,0,133,212, 169,224,133, 21 oaTa bata ata 168,8,162,3,177,212, 72,32 85,24, 184,145,212, 32,78,24 208,208,241, 230,213,262, 16,2 bata pata pata pata 96,234,182, 23,8, 24, 248,73 32,70, 23,286,158, 23, 48,65 32,108, 21, 32,405, 23,169, 255 141,158, 24,141,157, 24,162,168 pata pata bara 169,47, 157, 68,3,169, 24,157 69,3, 32,164,21, 32,85, 24 162,24,169,,133, 212,133,214 PATCH 2.5 4178 169, 31,133, 215,169,228, 133,2 13 1188 1198 Data DATA pata 32,119, 24,32,78,24,169,8 141, 157,21, 141,158, 21,76, 146 25,19, 24,39, 24,32,85,24 169, 8,133, 214,133,212, 169,22 1208 1218 8 1228 re 1238 1240 1258 1268 DATA pata DATA 135,215,169, 54,133,213, 162,2 208, 18,58, 24, 146,24, 32,119 24,32, 78,24, 206, 157,21, 76 152, 32,32, 102,24, 88,169,112 144,14, 212,169,18,141, 14,218 pata pata pata paTA 96,128,169,8,141, 14,212,141 14,218,173, 1,211,41,254,76 107,24,173,1,244,9,1,141 1, 211,96, 234,234,254, 234,32 156,25, 96,168,0,177,214,145 242,208,208, 249,238, 213,238, 1278 1288 1298 1388 1318 1328 25 1338 34 1548 6s 1358 1368 13 1378 9 1388 1398 1408 234 1418 1428 para pata pata pata ata pata DATA 202,208,242, 96,234,234, 234,2 DATA 234,234, 234,254,234, 234,234, 25,109, 25, 32,85, 24,169,8 ABS, 212,133, 214, 169,29,133,2 pata pata DATA 24,169,216, 133,215,162, 7,32 119,24, 32, 70,24, 96,234, 234 234, 234,234, 234,234, 254,234, pata bata pata 254, 234,49, 51,53, 51,178,174 181,216,204 para baTA TONEDIAL 18 REM KK TOME DIAL 80 DIM FLCLA) F211) ,CLCLL) C2 CLL), PHS ey 98 FOR K=@ TO 3:S0UND X,0,0,@:NERT K:P OKE 53768,120 100 FOR K=8 TO 11:READ A,B,D,E:FL CK) 2 (KI =ELWEXT ¥ 128 7 “ENTER tt 130 INPUT PHS: TRAP 128 4156 FOR K=1 TO LENCPHS) 210 W=VAL CPNS CK, HI) 230 POKE 53762,CL(W) :POKE 53768, F1(W): POKE 53766,C2(W):POKE 53764,F2(W) 12 248 250 278 298 308 338 358 368 378 368 398 408 410 428 438 440 458 468 POKE 53767,168:POKE 53763, 168 FOR D=1 TO 16:MEXT D POKE 53767,8:POKE 53763,8 FOR D=1 TO 8:NEXT D WEXT X GOTO 128 DATA 158,2,176,3 DATA 221,2,253,4 DATA 15@,2,253,4 DATA 87,2,253,4 DATA 221,2,151,4 DATA 15@,2,131,4 DATA 87,2,131,4 DATA 221,2,19,4 DATA 158,2,19,4 DATA 67,2,19,4 DATA 221,2,176,3 DATA 87,2,176,3 acTrron SoRT con'T Rd * PROC MAING IIA AI TIT 169,192, 133,215, 162,16, 32,11 o IWITO CSORTCS,M, 8) TIMERO. POKE(752,1) PRINTEC" "9 PRINTEC" Press any key to see list"? printec" Press ESC to exit") PRUTSO IF KEY=28 THEN EXIT FI RETURN
a. SECTOR The Missing Link (reprint: Page 6) The idea of SECTOR is to allow those of you with an Atari 810 disk drive to experiment without being limited by DOS to the file structure. With SECTOR you are able to load, edit, and save ANY sector on the disk. With a reasonable understanding of DOS II's file structure you can perform all kinds of “nifty” things, such as retrieving deleted files and repairing damaged files. Examining and altering auto-boot disks is also greatly simplified. As an understanding of the way data is stored by DOS Il will be of help, | will briefly outline its file structure. The 810 drive organizes the floppy disk as a collection of numbered blocks of bytes called “sectors”. There are 720 sectors or blocks, and each holds 128 bytes or characters. As each file is created, an empty block is found and the data is poured into it. When the sector is filled, for another free sector has to be allocated and somehow linked to the first so when the file is being read the second sector can be found. The directory information for this file only tells the DOS where to find its first sector. So how does DOS find the rest of the file? Well, only 125 bytes in each block are used for the user's data, The remaining 3 bytes are kept and used by DOS to provide 3 functions: 1. To point to the next sector in the file; 2. To say which number file the sector belongs to; and 3, To indicate if the sector is a short" sector, and if so how many bytes are valid. The pointer is obviously the key to the way in which DOS finds the next sector allocated to the file. The second function is not really essential, but it is useful, because as DOS created the file it notes the occurrence of the file's name entry in the directory and places this number into one of the last 3 bytes of each sector used by the file. Whenever the file is read back, if there is ever a discrepancy between the value of this byte and the directory, DOS assumes there has been some problem. It will report this to the user as the dreaded “ERROR 164”, file number mismatch, This unhappy event is usually caused by the careless user either “BREAK’‘ing or “SYSTEM REST"ing during a disk operation, or swapping disks in a drive while a file is still open on the drive. Both are |!**!!* mistakes which should be avoided at all costs! The last function is a vital one, for a file may not have used all the bytes in its last sector, and if this is the case DOS needs to know this. fact and how many bytes of that sector are allocated to the file. There are 3 functions and 3 bytes, so it seems logical to have one byte per function. This cannot be so, however, because there are 720 sectors on a disk. So more than one byte is needed to store the next sector information. Since the directory position byte number does not have to be larger than 63, it does not require all 8 bits of its byte, so two of its bits are used by the next sector pointer. BITS 76543210 T FILE NUMBER |2HIGH ,FILE NUMBER [7zIe'| 125 eR eel w NEXT SECTOR POINTER 1265 1 yo Sp adictastecter el a BYTE COUNT 127 (1k) BRB eae ee ts ta This is how the sector's bytes are allocated. Looking at the diagram you will see one of the bits has not been explained yet, the "'S" bit on byte 127. If the last sector of a file is not completely used, then the ""S” bit is set to logic high, and the BYTE COUNT will give the actual number of valid bytes. THE DIRECTORY There are 8 sectors (361-368) allocated to the disk directory, each holding 8 entries; ie., 64 entries total. The 16 bytes of each file directory are allocated as follows: BYTE FLAG BYTE ° SECTOR LOM Lt COUNT HIGH 2 starting) | LOW _ | 3 SECTOR HIGH 4 5 6 7 8 FILENAME, |. — -.——-4 9 10 n 12 13 EXTENSION 14 15 The flag byte is used to indicate the status ot the file and the bits are mapped as follows: BIT No * IF SET HIGH, THEN BIT 7 * FILE HAS BEEN DELETED BIT 6 * FILE ENTRY EXISTS BITS * FILE IS LOCKED BIT O * FILE IS OPEN FOR OUTPUT The flag byte is used to indicate the status of the file and the bits are mapped as follows: BIT #———— If set HIGH, then 7 File has been deleted 6 File entry exists 5. File is locked © File is open for output Thus the flag byte may have the following values: VALUE ————— STATUS $00. Entry not yet used $40 Entry in use (normal closed file) $41. Entry is in use (and file is currently open for output) $60. Entry is in use (AND file is locked) $80 Entry is available (prior file has been deleted) The sector count (number of sectors in the file) and the starting sector number are obvious, as is the filename. Note, however, that DOS does not insert the full stop before the extension. The directory manager routines remove and insert this for the user's convenience. THE PROGRAM The precise format of the program is important, so be careful to include the correct number of spaces and characters where applicable, otherwise you may find some strange numbers will result. The program, when first RUN, will take over 10 seconds to initialize its string and arrays, s0 if you BREAK out of the program you can resume it by typing GOTO 100 and avoid the long 10-second wait. This continues without having to re-initialize! The program is based around a menu and has 5 options. 1. Normal Directory Listing: This gives the standard disk directory listing in two column format. Typing RETURN will take you back to the menu, Any other key will re-run the directory. 2. Load Sector: This allows you to load a sector into the buffer, and will first ask you for the sector number in HEX", ie, 001 to 2D0. Typing RETURN only will cause the program to ask for a decimal value in the range 1 to 720. A further RETURN will allow you the option of loading the current sector by typing '*
3. Save Sector: This is identical to the load sector option in use.
4. Edit Sector: This is the major section of the program. The current
buffer contents are displayed in the form of a matrix, and there are several
options available. These include:
Pressing START aborts the matrix display and asks for the X and
Y coordinates to edit
Pressing OPTION suppresses the printing of the hexadecimal buffer
listing, but still gives the character;
Pressing SELECT suppresses the printing of the character buffer
listing, but still gives the hexadecimal byte value table.
When the program asks for the X co-ordinate to edit, the following
commands are available
+ loads and displays the next disk sector
loads and displays the previous disk sector.
N loads and displays the next sector in the same file as the current
sector lif valid)
P dumps the display to a printer.
If none of these options are required, you can either type RETURN
to get back to the main menu or type the X co-ordinate of the byte you
wish to alter. You will then be asked for the Y co-ordinate, after which
you can insert the hex or decimal number, or an ASCII string
5. Examine Directory Sectors: This allows you to examine the disk’s
directory sectors directly. It prints out the flag byte, the number of
sectors, and the starting sector for each file entry to the screen. If the
START key is held down while this is entered, everything is printed to
the printer rather than to the screen. Pressing START after the routine
has been entered will pause the output to screen or printer. SELECT will
retart at the first directory sector, and OPTION will return you to the main
menu.
USING SECTOR
Quite apart from simply experimenting and learning about the disk
system, there are many practical uses for SECTOR, For instance, if you
have accidentally deleted an irreplaceable file on a disk, it can be retrieved
by finding its old directory allocation using option § (examine directory
sectors), then using the sector edit facility to alter the FLAG byte to $40.
You should then copy off to a fresh, formatted disk all the desired files.
One important part of the ATARI DISK SYSTEM is the VOLUME
TABLE OF CONTENTS (sector 360) in which DOS keeps track of which
sectors are in use and which are free for new or extended files, This is
the subject of another article. Meanwhile | hope you have many
interesting hours of experimentation.
— Ron Levy
MEETING
WEDNESDAY
NOVEMBER [3TH
7:30 PM
SOUTH
HIGH
14
Solder two wires to the two conductors on the jack. Join the two
cut wires from the speaker with the ones from the jack. Make sure you
have got the right wires going where. In other words, the connection
to the speaker is the same except in the middle the leads of the jack
are attached to pick up the signal. You've got to protect these, so either
wrap electrical tape around them or use those insulated connectors.
Now you're done with the TV set. It’s time to solder two wires to
the two conductors of the plug. Hey! You with the earphone in your TV,
wake up! You've got to do this too! Ok, now you have two wires coming
from your plug. Take these two wires and wrap them to the two wires
‘on the side of the transformer which has two wires (The other side has
3, that’s the 1000-ohm side). Once again, protect these connections.
Take the other side of the transformer, the one with 3 wires, and
connect the two on the outside to the red and green wires of the phone
line. You can do this anyway you want, | leave it up to you. | suggest
protecting the transformer somehow. Mine is in my phone, Well, you're
done!
TONE DIAL is a program which generates the tones and puts them
through the speaker. However, | didn’t write this. It’s from (*Gasp",
Copyright!) A.N.A.L.OG. Magazine issues 19 and 21
Theoretically, this should work with ANY modem if you can put the
subroutine into the terminal program. | know it works on the 835, | own
one! So, now you can tone dial like the big modems do.
FSIZE BY RALPH WALDEN
/* [si2E.C - returns size of file ¥/
include “getname.c™
main $¢
char name{20];
int ioch, len, divisor, kbytes, remain;
fastQ;
iocb=getread(name," ");
divisor= (peek (@xi3iit (name (1]-'6'))
2)? 283:125;
/* single or double density sectors *
/
inverse (name) ;
len=bgets (lomem (108) ,highmenQ —
lomem (188) , 10Cb) ;
closeallQ;
kbytes=len/i924; /% number of K ¥/
remain= (C1en%1024)*18) /1824;
printfCisi\n%d bytes, %d.%dK\n",
name, len, kbytes, remain) ;
printfe"%d sectors + %d bytes\n\n",
len/divisor, len#divisor);
exitO;
9
7* convert a string to inverse
characters #/
inverse(str)
char ¥str;
$e
whiletstr) xstrt+ [=128;
/7* OR the inverse bit #/
9)
10/11/85... Following is the text of an official press release issued today by Sam Tramiel, president of Atari Corp., concerning the recent agreement between DRI and Apple. SUNNYVALE, CALIFORNIA -- In an agreement between Digital Research and Apple Computer, Digital Research has agreed toa make certain superficial changes ta three of its application programs: "GEM Desktop”, "GEM Paint”, and ”GEM Draw”. Contrary to reports, the not require changes to GEM ortu Atari Corp.’s TOS uperatingsystem,. agreement does. DRI, as part of its normal development process, has preparer enhancements to its GEN application products which further set it apart from the Apple Macintosh. Atari is reviewing these changes. Atari promises to its software developers and custmers) that Atari will make no changes that will reduce the capabilities of the Atari ST system and software. Further, Atari promises that any enhancements will maintain compatability with GEM applications software on the market and in development. Digital Research’s GEM and the applications software which uses its capabilities will continue toprovide the most powerful andeasy-to-use computer interface onthe market. The Atari S20ST continues to be the most powerful computer delivering these features and will continue to do so at an affordable price. 15 FADEOUT 1e GOTO 36@ 97 REM sR 98 REM * FADE IN AND OUT SUBRONTINE * 99 REM HERE 106 B=3 118 FOR L=8 TO 14 STEP 2 12@ SETCOLOR 1,8,L 138 GOSUB DELAY 140 WEXT L 159 D=108:G0SUB DELAY: D=2 168 FOR L=i4 TO @ STEP -2 170 SETCOLOR 1,@,L 18@ GOSUB DELAY 198 WEXT L 197 REM 30H 198 REM * DELAY SUBROUTINE * 199 REM Hee 208 POKE 26,8 218 IF PEEK(20)<D THEN 216 228 RETURN 297 REM sH0e 298 REM * INIT ROUTINE ¥ 299 REM HH0EE e@ GRAPHICS @ 318 POKE 752,1 320 FADE=100:DELAY=200 33@ SETCOLOR 1,0,@ 348 SETCOLOR 2,0,0 347 REM HORE 348 REM ¥ MAIN LOOP * 349 REM 38H 358 7 CHRS(125) 368 POSITION 10,8 378 7 "THIS I5 AN EXAMPLE” 380 POSITION 17,18 390? "OF" 488 POSITION 13,12 418 7 “FADING TEXT" 428 GOSUB FADE 438 0=20:G05U8 DELAY 440 2? CHRSC125) 458 POSITION 6,18 460 2 "THE LETTERS FADE IN AND OUT" 470 GOSUB FADE 488 D=20:G0SUB DELAY 498 GOTO 358
Atari Computer Enthusiasts A.C. is an independent, non-profit and tax exempt computer club and user's group with no connection to Atari Corp. 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 $14 a year for U.S., and $24 a year Overseas Airmail and include about 10 issues a year of the ACE Newsletter. Subscription Dep't: 3662 Vine Maple Dr., Eugene, OR 97405. *President— Dick Barkley, 2907 Wingate, Eugene, OR 97405 503-344-5843 Eugene, Or 97405 503-686-1490 8-bit Librarian— Chuck & Jody Ross, 2222 Ironwood, Eugene 97401 (503) 342-4133 rian— Jim Bumpas, 4405 Dillard Rd., Eugene OR 97405 503-484-4746 Editors — Mike Dunn, 3662 Vine Maple Dr., Eugene, OR 97405 503-344-6193 Jim Bumpas, 4405 Dillard Rd., Eugene, OR 97405 503-484-4746 E.R.A.C.E. (Education SIG Editor)— Nora Young, 105 Hansen Lane, Eugene, OR 97404 / 503-688-1458 Send 50c stamps or coin ($1 overseas) to the Ness’ for the new, updated ACE Library List—new in May 85! Bulletin Board (503) 343-4352 On line 24 hours a day, except for servicing and updating. Consists of an 800 XL, 2 double-density double sided disk drives and 2 double- sided, double-density, 80-track disk drives, an Epson MX80 printer, a 1200 baud Prentice P212ST modem, running the Mindlink Bulletin Board software distributed by SofMark. Best of ACE books Volume 1 contains bound issues of the ACE Newsletter from the first issue, Oct 81 to June of 1982 Volume 2 covers July 1982 to June 1983 Only $12 each ($2 extra for Airmail). Available only from: George Suetsugu 45-602 Apuapu St Kanoehe, HI 96744 Vice Pres— Larry Gold, 1927 McLean Blu ST Libr TYPESETTING FROM YOUR COMPUTER ATARI OWNERS: If you have a modem, text editor, and com- munications program to send ASCII files, you should consider the improved readability and cost savings provided by TYPESETTING your program documentation, manuscript, newsletter, or other lengthy text instead of just reproducing it from line printer or daisy-wheel output. Computer typesetting by telephone offers you high quality, space-saving copy that creates the professional image you want! Hundreds of type styles to choose from with 8 styles and 12 sizes “on line’ And it's easy to encode your copy with the few typesetting commands you need. COMPLETE CONFIDENTIALITY GUARANTEED — Bonded for your protection — PUBLICATION DESIGN, EDITING, & PRODUCTION 30 East 13th Avenue Eugene, Oregon 97401 Phone 503/683-2657 SortFinder Index A composite index of Atari related articles in four popular computer periodicals, including ACE. Volume tcovers April, 1981 to June, 1983, Volume 2 covers July, 1983 to December, 1985. Only $6 per printed copy or $11 per disk copy for ACE members: Jim Carr 2660 SW. DeArmond Corvallis, OR 97333 ic RONTHUSIA 12 Madie D: Cugene OR CS FIRST CLASS MAIL