Dale’s Atari 800 Games › ACE newsletters
ACE newsletter, February 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_1985_02.
In this issue:
- Stan Ockers XY Plot (page 8)
- Stan Ockers XYENTRY update (page 14)
Below is the text of the whole issue as read by machine OCR (Tesseract) from the scan. It hasn’t been corrected, so expect mistakes, especially in program listings. The PDF is the real thing.
Page 1 (scan)
Lom ENTHUSIASTS E Ea) / 3662 Vine Maple Dr Eugene OR 97405 FEBRUARY 1985 Editors: Mike Dunn, Jim Bumpas, Larry Gold NEW COMPUTERS FROM
Page 2 (scan)
BUMPAS REVIEWS FIELD OF FIRE (Avalon Hill, $30) is a one-player tactical game simulating eight small-unit infantry combat scenarios from WW2. Those of you familiar with Broderbund’s Operation Whirlwind will notice some similarities in this game. Roger Damon designed them both, and Field of Fire is a further development and improvement on ‘Operation Whirlwind. Each game lasts an hour or two, and all player input is with the joystick. You give orders to your units in separate Fire, Movement and Assault phases. Operations occur during a “real-time” phase in which you must keep close track of the action in the battle. At any time, you may press the Select key to re-target your units’ fire, or the Option key to order an assault. The units are fire-teams of 1-6 men, or individual tanks. There are Headquarters, Rifle teams, Machine Gun crews, Bazooka/Panzerfaust teams, Mortar crews, Forward Observors, Engineers and Anti-Tank Guns. Each unit is identified by the name of its leader. The documen- tation describes each of these men. You might consider the informa- tion when giving each of them tasks to accomplish. The program pro- vides an Editor to allow you to change the names of any of the 32 characters in the game. There are 10 terrain types in the game, including roads, trees, ridges, hilltops, woods, buildings, streams and rivers, mountains and hedgerows. Terrain and distances may block the line of sight to a target. The map scrolls smoothly across 5 screens. Status messages appear at the top and bottom of the screen. The 8 scenarios include a Night Patrol in Tunisia; Forever Road in Sicily; Omaha beach D-Day landing; Night of St. Anne to close a pocket on some Germans; Up From the Beach, breaking out of the beachhead; For Aachen, block-by-block clearing of a city; Ardennes Dawn, the last-ditch German counter-offensive; and Roeher Crossing, one of the last obstacles before the Rhine. The last 8 pages of the 25-page manual is a detailed description of the actual “Night of St. Anne” written by the commander of L Com- pany of the 3rd Battalion, 26th Infantry, 1st Division For players of wargames, this program is an excellent value for the money. The color, graphics and sound are appropriate and well- executed. It is really 8 games in one, as each scenario is complete in itself. The program offers the option of a “Campaign Game" in which you play each of the scenarios in order. Player performance is graded at § levels from Questionable to Strategic. CONAN (Datasoft) is an action-adventure game for one player. It is a game in the "Famous Faces” series (Bruce Lee was an earlier item). All player input is by joystick. The game may even be re-run at the end by pussing the joystick trigger. You are Conan, with 2 lives in reserve and 10 swords. "Your goal is to find and destroy the villainous Volta.” The 7 levels contain foes to fight or avoid, and dangers to overcome. Some of the levels contain magical solutions which, nevertheless, can be figured out with obser- vation and logic. The game is real-time, but there are no penalties for taking your time. And each level has “safe” areas in which you can rest to observe the screen carefully. You may find keys and gems to help you along, but you may carry only one ata time. A large bird is an ally who will give you an extra life when you touch it The graphics are very well drawn, and in great detail. The colors and sound are appropriate. If you tire of the theme music, it can be toggled off. These 7 levels are not easy. They get progressively more difficult. I've only made it onto level 4 so far. DungeonWare (Technimetrics Computing Services, Dept: The DungeonLair, S78 W22750 Terrace Drive, Big Bend, WI 53103) is a “freeware” service to Atari users who are also adventure gamers. They are writing shareable software and encourage you to distribute un- modified copies. They also publish a newsletter, "DungeonLore", for $8 per year. You also receive one or two disks for the subscription price. DungeonWare #1 is a Dungeons and Dragons character generator. #2 is an adventure game with sound and graphics called “Cavern of the Kings”. — Jim Bumpas, co-editor THE NEW ATARIS Atari has 4 new 8-bit computers and 2 new 16-bit computers which will put the PC market on its ear! The 8-bit machines are now called the “XE” line, and all are compatible with the XL software and peripherals out there. The 65XE is equivalent to the 800XL in a new case and without the parallel bus. The 65XEM is the same machine with a MIDI interface. The 65XEP is a portable with built in floppy drive and 5" monochrome monitor. The 130XE is an 8:bit machine with 131k RAM! The prices on these machines range from $99 to $199! The 16-bit machines have the Motorola 68000 cpu, the GEM operating system, and a MIDI interface. You have your choice of BASIC or LOGO as a built in language. They have 4 video ports: TV, composite video, RGB, and monochrome. They have a floppy disk controller and a hard disk interface. Direct memory access is 1.33 Megabytes per second. They have 3-voice sound with frequency range from 30Hz to above audible range. The keyboard has its own microprocessor with one touch cursor control and 18:-key numeric keypad. The ports include a Centronics parallel, RS232C, hard disk, floppy disk, 2 joystick ports (one configured for a 2-button mouse). The graphics power includes an individually addressable 32k bit- mapped screen, 3 graphics modes with 512 colors, The highest resolution is 640x400 pixels! The 130ST has 131k RAM and costs $399; the 520ST has 524k RAM and costs $599. Both come with 196k ROM, expandable to 327k with plug-in cartridges. Talk about the best of a Mindset and a Mac combin- ed! And for % the price! | just hope the production can keep up with demand. This machine will rule 1985 if it is produced in sufficient quantities. — Jim Bumpas, co-editor VP’s RAMBLINGS With the new year upon us and Atari telling us about all the good things coming our way everything looks good in computerland. | hate to say this but | have found one bug in the ointment, and this is in- structions from software houses professing to tell you how something works, or how to do it. There you are, high and dry not knowing how to do something with instructions that don’t work. The next thing you do is call the store where you bought it and they say they aren't sure you can do what you want to do and the software doesn't support that type of operation. Now you call around to your friends and find out if they know how to do what you want. Nine times out of ten they don’t either. What now, a letter to the maker and you hope he answers or even knows what you are talking about. Sound familiar? Well if this has happened to you | think | have one answer to this problem. The next time this happens you write to the software firm who made the program and tell them of the problems you encounterd. If they are of no help send me a copy of your letter and their reply we will keep them on file and if we get enough letters we will publish your complaints in the newsletter. Also tell the software firm that you will hesitate to buy their product in the future if they don’t correct this type of problem and make their programs usable without having to resort to all kinds of extra help from them or others. If all of us get together we can put pressure on the software houses to produce the type of programs we want and can use with the least amount of trouble. Elsewhere in this issure is the first of the BUGBUSTERS. If you want to be a part of this group and know one form of computing real well let us know and we will put your name, address, phone no., and specialty on our list so people in your area can contact you for help. If you have any further ideas on these subjects please let me know. My address is on the back of this newsletter. — Larry Gold 2
Page 3 (scan)
DIF CONVERSION
SYNFILE + is the latest in filemanagement programs and in my opi-
nion is the best. In the 3 years | have owned my ATARI, | have spent
most of my time writing programs for data files. | am very familiar with
ATARI's capabilities and limitations. SYNFILE + makes use of all of
ATARI's attributes, including expanded memory.
| wrote a disk catalog program because the best filemanagement
program was only able to search on the one main index field. The disk
catalog program could search on three. | later modified the disk
catalog program to be a VHS movie file in which 1250 records, the pro-
gram, and the index, all resided on one disk.
SYNFILE +, although the program is on a seperate disk, has the
ability to search on sixteen fields and the size of your file is only
limited by memory for the index. It can search across disks.
Good-bye disk catalog, hello SYNFILE+. | decided | wanted my
files in SYNFILE +. But | first had to convert my files to DIF (Data In-
terchange FILE) files, so | wrote a program to do so.
DIF files were originally set up by the people who wrote Visicalc in
order to have a universal file structure to be used to transfer files bet-
ween programs or between computers. Because of this structure
(which | think was done a little backwards), it takes a long time to pro-
cess data files. The DIF file is set up with rows and columns and the
information is stored by column. All the information in the first col-
umn is written first, then the second column, and so on. When a data
file is being converted, this means the information is written by field.
The data file has to be read from beginning to end once for each field.
If you have 16 fields, the file has to be read sixteen es. This is just
to convert to DIF.
Then the file has to be loaded into SYNFILE+. | did 72 records
which took 45 minutes. The DIF file winds up being much larger than
the source file. If you have a full Filemanager data disk, the converted
DIF file might not fit on one disk. For each field in your data file, there
are at least 8 characters added to the DIF file plus some additional in-
formation to separate the fields.
One way around this is to create subfiles with Filemanager and do
each subfile separately. In the conversion program | have included a
function to break down large files into two smaller files. In addition,
when SYNFILE+ converts the DIF file to its own format, it has a
minimum field length of 16 characters. This means if your data file
has a field with 2 charaters, when SYNFILE + converts it, it will con-
tain 16 characters. This can be modified back to 2 characters with
Modify Form and Merge functions in the Synfile + program. The only
thing | find | didn’t like about SYNFILE + is the fact it doesn’t give you
any idea what is going on when it is converting DIF files. It could take
an hour, or it could take 6 hours, You never know until it is done.
This BASIC program will automatically convert Filemanager files to
DIF files and will also convert other DOS type files if you know the
structure (number of fields, lengths, whether they are strings or
numeric, and the number of records in the file). If you are converting a
Filemanager file, simply insert the data disk and the program will give
you a list of the files on the disk. You then select which file you want
to convert.
The program will show you a list of the field names to make sure
you have selected the right files. You will then be asked how many
records you want to copy. This allows you to create 2 smaller DIF files
from a very large data file. If you enter the same number as the total
records, the conversion will only create one file. If you enter a number
less than the number of records in the file, the coverion will create
one file with the number of records you entered and another file with
the rest of the records.
Next you will be asked for the name of the output file. After all
these entries have been made, the program will proceed to write the
DIF file, displaying the field and record numbers as it goes along.
At the beginning of the program you will be asked if you want to
convert a Filemanager file or other. If you select other, you will be ask-
ed questions about the fields and file names. Then it will again start to
create the DIF file.
After the DIF file has been created, load Synfile, remove the Synfile
disk, insert the disk with the DIF file on it, and then select the “DIF to
Syfile” function. You should now see the name you selected for your
DIF file. Press RETURN and the rest is up to Synfile. This process
could take quite a while to complete.
The file the Synfile creates will have field names such as “A”, “B",
“C”, etc. Any field which had 16 characters or less will now have 16
charaters. Another thing you will find is the conversion only differen-
tiates between character fields and numeric fields. Any fields with
special features in Filemanager such as computed, repeating, or
dollars will now simply be text or numeric. This is not a problem
because you can change them back with Synfile's “Edit Form"func:
tions,
It is important for you to follow the right sequence when modifying
the form. The first thing you must do is to change the field names
back to what they were or what you want them to ber BEFORE chang-
ing the lengths or types, save the new form, Now you can edit the
same form again and modify the lengths and types. DO NOT change
the names of the fields during the second modification. If you do, you
will loose information, If you want to add or delete a field, you must
create a new form, using the same names for the fields you want to re-
tain and using different names for fields you want to add
Changing the field lengths or types makes it necessary to Merge
the file into the new form. This is explained in the Synfile documenta-
tion. If you have a large file, only index the file on one field and set the
index length to one character. This reduces the chance of running out
of memory during the merge.
Well, | hope you enjoy using Syfile as much as | have,
— David Fuller
188 REM JHeAHHEHEHBECHEHHEEHEEE
118 REM ® Joystick Oriver Demo *
128 REM ® by Jonathan Buckheit *
4130 REM J88888HERHEHHEHOHEEHGHOHE
148 REM
158 REM - Joystick Driver -
16@ REM
170 JOYSTICK=ADR ("HAP i] THES EM HERIx
Te FH 4
188 REM
196 REH - Set up Screen —
208 REM
218 GRAPHICS @:POKE 710,@:POKE 752,1:7
228 REN
230 REM - Set up Delta Change Array -
248 REM
258 DIM DELTAC7,1):FOR JB=@ TO 7:READ
DELTAX, DELTAY: DELTA CJB,@)=DELTAX: DELTA
CIB, LY=DELTAY:WEXT JB
260 DATA @,-1,1,-1,1,8,1,1,0,1,-1,1,-1
78,-1,-1
278 REM
280 REM - Put Character onte Screen -
298 REM
380 POSITION KPOS,YPOS:?
316 REM
328 REM - Read Joystick —
338 REM
348 JB=USRCJOYSTICK,8):IF JB=8 THEN 34
8
35@ REM
368 REM ~ Check Coordinates -
378 REM
388 DELTAX=KPOStDELTACJB, 8) :DELTAY=YPO
StDELTACJB,12:IF DELTAX{L OR DELTAK? 38
OR DELTAY<1 OR DELTAY)22 THEM 340
398 REM
408 REM - Erase Old Character -
418 REM - Update Coordinates -
478 REM
438 POSITION KPOS,YPOQ5:? “ "3 :XPOS=DEL
TAK: YPOS=DELTAY: GOTO 280
Page 4 (scan)
RALPH WALDEN Teaches Assembly Language-#3 There's an old saying in assembly language programming (true in a lot of other languages as well): “You should never write the same code twice”. With the use of MACI65 and it’s extensive macro capability, that’s an easy thing to avoid. | have included two macros here to assist in adding and subtracting 2-byte integers. The action taken by the macro will depend on how many parameters you pass it. | will explain how to use the ADD macro; the SUBTRACT macro works the same way. ADD NUMBER? - will increment the 2-byte integer NUMBER1 by one. ADD NUMBER1,NUMBER2 - will add the 2-byte integer NUMBER2 to the 2-byte integer NUMBER and store the results in NUMBER}. ADD NUMBER1,NUMBER2,NUMBERS - will add the 2-byte integer NUMBER? with the 2-byte integer NUMBER1 and store the results in NUMBERS. Note there are no comments included in the macro, Comments within macros take up space in the macro library while assembling, and reduce the overall available memory. If you are unfamiliar with MAC's macros, here are some tips to help you to understand how the macros work: A percent followed by a number refers to the parameter. The first parameter is %1, the second is %2, etc. %0 gives you the number of parameters, By using the .IF directive, we assemble only the section of code we need at time. 0100 .MACRO ADD 0110 IF %0=1 0120 INC %1 0130 BNE @ADDEND 0140 INC %1+1 0150 @ADDEND 0160 .ENDIF 0170 IF %Ot1 0180 CLC 0190 LDA %1 0200 ADC %2 0210 IF %0=2 0220 STA %1 0230 LDA %1+1 0240 ADC %2+1 0250 STA %1+1 0260 .ELSE 0270 STA %3 0280 LDA %1+1 0290 ADC %2+1 0300 STA %3+1 0310 .ENDIF 0320 .ENDIF 0330 .ENDM 0340 .MACRO SUBTRACT 0350 IF %0=1 0360 LDA %1 0370 BNE @SUBEND 0380 DEC %1+1 0390 @SUBEND DEC %1 0400 .ENDIF 0410 IF %0t1 0420 SEC 0430 LDA %1 0440 SBC %2 0450 IF %0=2 0460 STA %1 0470 LDA %1+1 0480 SBC %2+1 0490 STA %1+1 0500 .ELSE 0510 STA %3 0520 LDA %1+1 0530 SBC %2+1 0540 STA %3+1 0550 .ENDIF 0560 .ENDIF 0570 .ENDM — Ralph Walden MONEY WARS Home Accountant vs. Your Personal Net Worth: | have been using Home Accountant for two years and after 4 or 5 versions, | still do not have anacceptable home accounting system. | was desperate when Mike Dunn loanedme a new program: Your Per- sonal Net Worth. in | dived with boundless enthusiasm. YPNW loads data in a few seconds, compared to HA’s minute or more. It allows 4000 transactions per disk vs. 500 for HA. To add/change a budget category while entering checks in HA, you save the data, load a different program, then reload the data, change the category, save the data, load a program, reload the data. Five minutes of waiting before you can enter the nexttransaction. YPNW handles all these functions so the same operations take only a few seconds. | can also review a full screen of data at one time instead of browsing, one record at a time, as in HA. And check clearing is almost instan- taneous. Ha's latest version takes 16 seconds per check; clear 100 checks and waste 25 minutes waiting! The previous version's updating was as fast as YPNW, but searching for data never found any. Continental Software tells me they have no plans to remedy this problem! Why, then, am | going to continue using HA instead of YPNW? YPNW shows much promise but not as a full home accounting/tax record keeping system! The 4000 transactions per disk are at the sacrifice of information on each record. HA’s checks allow “Paid to” (24 characters), as well as memo (25 characters) while YPNW allows 10 characters only to describe the reasonipaid-to, etc. Try “Uncle Johnson's 50th wedding anniversary” in 10 characters! Ok! We can learn to abbreviate. More serious: The YPNW manual says to deposit your paycheck’s net pay and record taxes withheld into their own accounts, | con- tacted Scarborough Systems and asked how to keep track of gross come for tax purposes and yet handle tax, insurance and other deduc- tions from a paycheck. They said to enter a gross deposit and transfer each deduction out of income to their respective accounts. When | mentioned this will prevent reconciling the gross amount with any deposit on the bank statement, they said true, but that’s the way to do it anyway! So much for matching your computer data to the bank's. HA handles the problem by allowing you to split any deposit into as many accounts as you want. | contacted Scarborough Systems and asked about other inconsistencies between the program and the instruction manual. The manual says to print accounts; | couldn't get the program to do it. The manual says posted entries may be corrected, but | couldn't. Scarborough said,""Yes, that’s right.” The clincher comes when they told me they will not supply users. with a back-up program disk, even fora fee. This means you have to send in your bad disk with $5 and probably wait 2 weeks before you can update or review your checks, stock records, property data, etc. | find this barely acceptable in a game and absolutely unacceptable for a program upon which | depend for budgeting and tax purposes!!! Scarborough Systems told me they have no plans to change this policy and no plans to correct any deficiency in this program in the near future. If you want a program to balance checks, keep a record of personal property, or a simple record of stock purchases and sales, then YPNW may be for you. It is easy to use and it’s quick. but as an incomeltax keeping system, | feel you should look elsewhere. HA is a much more complete system, slow and cumbersome as it may be. It will do the job if you have the patience and are not easily frustrated. | do NOT recommend subscribing to, or depending upon their phone help ($20 per year) because even when you can get through to them, you may wait 15 or 20 minutes on hold at your long- distance expense! — Steve Golden
Page 5 (scan)
MULTIPLICATION FLASHO
188 REM XHEX MULTIPLICATION FLASHO 2906
*
118 REM Jim 4. Carr
128 REM
138 DIM DKCL1) , DY C11), 59(1408) ,TS(14),
RIGHT (12, 12) , WRONG (12,12)
148 GOTO 718:REM Skip around high spee
d routines,
156 REM Start a new game
168 FOR PROB=1 TO 12:REM 12 problems p
er set.
170 REM ---- Select multipliers.
188 ASIMTCCHOH-1) "RMD CO) #2)
190 B=INT CCHAX-1) *RND (8) #2)
208 REM ..,, Use another problem if we
got this one right already.
2418 IF RIGHT(A,B){2 THEN RETRY=
238
228 RETRY=RETRY+1:IF RETRY<S THEN 186
238 AB=A%B:TIME=8
24@ REM ---~ Display the probien
250 POSITION 14,7:7 65" a
268 POSITION 14,7:7 6;0;
26-Feb-84
soto
278 REM ---- Track joystick
288 TIME=TIME+L
298 K1=! REM Save last position
388 S=STICK (8) ~:
3410 IF <3 THEN X:
j=K4DK (5) : Y=¥#DY (5)
:REM Check for edge
328 IF ¥<2 THEM ¥=2
330 IF x)12 THEN
348 IF ¥)16 THEN
358 POSITION Ki, Y1:7 #6;"+"
ree
368 POSITION H,¥:? 16;
370 KY=
er
380 POSITION 15,8:7 #6,
‘390 POSITION 15,8:? #6;KY
408 FOR I=1 TO 48:NEXT I
410 REM ---- If trigger, check answer
420 IF STRIGCJS) THEM 288
438 IF XY=AB THEM 500
44@ REM ---~ Answer is wrong,
450 SOUND 8,180, 16,8:WRONG (A, B)=WRONGC
A, B41 :HITS=@
460 POSITION 15,8:7 t6;"
:REM Resto
REM Move "0
'4-3)+18(Y-2):REM Current answ
478 POSITION 15,8:7 %6;AB:FOR I=1 TO 1
0
3O:WEXT T
488 SOUND @. @:FOR I=1 TO 758:MEXT
I
498 POSITION 14,8:7 16;" “16070 56
%
e
508 REM ---- Answer is right.
510 SOUND 8,58,18,8:FOR I=1 TO 99:NEXT I, J)=
Tr
528
538
548
550
RIGHT (A,B) =RIGHT (A,B) +1
TIM-TIME:IF TIM)S@ THEN TIM=5@
SCORE=SCORE+2+ (58-TIM) /10+ (4B) /58
AITS=HITS#L
IF HITS=4 THEN GOSUB 666
REM ---- Display score
POSITION 15,11:7 #6;"
POSITION 15,11:7 #6; INT(SCORE+O.5)
POSITION 15,14:7 m6;"
POSITION 15,14:? #6; INT (LOXTIME/4.
59/18
SOUND @,8,8,0
630 IF STRIGCJSI=@ THEN 638:REM Wait i
f trigger is still pressed.
64@ POKE 77,8:REM Kill atract node.
658 WEXT PROB: RETURN
668 REM Display pat on the back
678 I=14*INT (RMD CO) *SEND+1)
688 POSITION @,19:T5=5$(I-13,1):? #6
$
698 FOR
MEXT I
788 SOUND 0,8,6,@:HITS=@: RETURN
718 REM Initial instructions
728 GRAPHICS 2+16
738 ? jMHOOBEE Flash-0 ERE
748 THE MULTIPLICATION"
6:7 26;" FLASH CARD GAME"
FOR I=1 TO 1208:MEKT I
2°42 “WHAT IS THE HIGHEST MULTIPLI
568
5
TO 96:SOUND 8,1@8-I,18,8:
ER
788 ? "THAT YOU WISH TO USE (5 To 122"
INPUT MAK:IF HAX<S OR MAX)12 THEN
REM One time initialization
REK ~ Draw background.
GRAPHICS 1+16
2 65" CERREETREE:7 6
FOR I=@ TO 14:IF I(1@ THEN ? 16;
7 MOT; Ott eset ee EXT
POSITION 14,18:7 #6;"score”
878 POSITION 14,13:7 #6; "tine"
880 REM Set up joystick move tabi
FOR I=1 TO 11:READ X,¥:DK(1)=K:DYC
EXT I
ATA 1,4, 1-1, 1,8, 9,9, 1,4, -
“1,8, 9,9, 8,4, 0-41,
OSUB 1258
+ Zero answer counters,
TO 12:FOR J=1 TO 12:RIGHTC
5
SWRONG (I, J} EXT J:MEMT I
Start new game
958 SCORE=@:HITS=8
960 FOR SET=1 TO 4:REM 4 sets per game
970 POSITION 14,0:? H6;"set ";5ET
988 POSITION @,19:? #6;"PRESS start TO
60"
990 IF SET=1 THEN POSITION @,21:7 #6;"
PRESS option TO END"
108@ REM ---- Wait for START or OPTION
1010 IF PEEK(53279)=3 THEM 1148
1828 IF PEEK(53279)<)6 THEN 101@
1038 FOR I=1 TO 260:WEXT I
1048 POSITION 8,19:7 16;"
“OREM 17 blanks
1058 POSITION @,21:? 116
“VREM 19 blanks
1068 GOSUB 158:REM Go play a set.
1078 WEXT SET
1080 REM --
es
1096 LAST=INT(SCORE+8.5)
1100 IF LAST)BEST THEM BEST=LAST
1118 POSITION @,18
1128 7 M6;"best ";BEST;" Last “;LAST
1138 GOTO 948:REH Go start new game
1148 REM ===> Display right/wrong coun
ters
1158 GRAPHICS @:POSITION 0,6
1160 7 "ANB 2 3 45 6 7 8 918
11 12
1178 FOR A=2 TO 12:POSITION 8,A*2-2:7
a
1188 FOR B=2 TO 12
1198 POSITION BH3-2,A2-2:IF RIGHT (A,B
) THEN ? RIGHT(A,B);:GOTO 1218
1208 2
12410 POSITION BX3-2, 02-1: IF WRONG (A,B
2 THEN 2 WRONG (A,B); :G0TO 1230
1226 2 "1;
1230 WEKT B:MEXT 0
1240 INPUT TS:EMD :REM Exit on RETURNY
Display best & last scor
key
1258 REM Move messages to string
1268 FOR TO 168:READ TS:IF TS="END
“ THEM SEND=I-1:RETURN
1270 T14=TH14
1288 5$(T14-13,114)="
EM 14 blanks
1298 S$IL4-13, 114)=15
1300 WEXT I:RETURN
1318 REH Pat-on-the-back messages
1326 REM Space for 18@ 14-character me
ssages
oR
Page 6 (scan)
1. REM JORGE HIB IA HOI IIE
2 REM BLACKHOLE *
REM X* Ed Schembri 12-84 -*¥
4. REM SHO HIGH IEE HEITOR
5 REK
18 GOTO 1168
28 REM
3@ REM .
48 REM
5@ POSITION 2,8:? "score-)"; SCORE
68 POKE KEY,MT:GET #1,M
70 IF M=155 THEN GOSUB 240:
B:POSITION A,B:? "i
2 move HOE
0 se
8@ IF H=32 THEN GOSUB 69@:G0TO 50
A:B1=B:POSITION 4,B:?
58
100 IF NOT (H=42 OR H=43 OR M45 ORM
361) THEN WEUSR(BELL) :GOTO 68
118 A=A+2¥(H=42)~2% (HEA) :B:
28 CHEAS)
420 IF adie THEN
136 IF A)28 THEN
140 IF B{2 THEN B:
15@ IF 8)2@ THEN
16@ IF (B)2 AND B(28) AND M=42 THEN A=
28
178
18
188
=28
198
=2
288 POSITION AL,B1:? CHRS(CHRL) :LOCATE
A,B, CHR:POSITION A,B:? CHRS(CHR+126):
CHRI=CHR:A1=A:B1=B:G0TO 584
218 REH
228 REH .
238 REH
248 LOCATE A,B, CHR:POSITION @,B:? CHRS
(CHRD SIF CHR<)168 THEM HUSRCBELL) :POP
26070 58
245 FOR PL=8 TO @ STEP ~1:SOUND 8,PL¥4
4,18, PL:50UND 1,PL¥4442,10,PL:FOR DLY=
1 TO 16:NEXT DLY:MEKT PL
258 Ki=0:¥1=@:HT =
268 TRAP 458:4=A/2-5:¥=B/2-1:DIR=1% (H=
0) +24 (Y=9) +3¥CH=9) +4" C8)
278 OM DIR GOTO 288,298,388, 318
288 U=ACKHL, VEL) :HIT=ACKHL, YD:
¥-4 :60T0 328
298 R=ACK~1, Y-1) :HIT=ACH, YL) :L=A HEL,
Y-1):G0TO 328
3O8 UACK-1, Y#1) :HIT=ACK-L, 1) D=A CHL,
#2% (M61)
IF (8)2 AND B{2@) AND H=43 THEN A=
IF (A)1@ AMD A<28) AND N-61 THEN B
IF (A)1@ AND A<28) AND M=45 THEN B
#* Logic
=ACKEL,
= 418
Y-1):G0TO 328
S18 R=ACK-1, Y#L) HIT=ACK, VEL) 2L=A (KHL,
yi)
320 IF HIT THEW EPS: OTO 468
330 IF (R= AMD L=1) OR CU=1 AND
THEM EPSS="R":GOTO 468
340 IF MOT CU=4 OR D=1 OR L=1 OR R=1)
THEN 368
FSO DIR=L*(R=1) #2% (U1) +3 CL=1) 4% (= 1
dik: a OT0 278
360 ON DIR GOTO 378,398, 418,438
370 K=X+i:IF 4=9 THEN 478
300 GOTO 448
398 Y=Y-1:IF Y=@ THEN 478
4080 GOTO 448
M-ArIF K=@ THEN 476
428 GOTO 446
438 THEN 478
448 =U:GOTO 278
458 EPS!
468 SCORE=SCORE+1:FOR FLASH=1 TO 10:60
SUB 490:POSITION A,B:? EPSS:MEKT FLASH
RETURN
478 Ki=(K#5)%2: YL= (¥+1) #2: SCORE=SCOREF
2
488 P=Pt1:FOR FLASH=1 TO 10:G0SUB 498
POSITION @,B:? MKRSCP,P):POSITION K1,¥
1:7 MKRS (P,P): WEXT FLASH: RETURN
490 FOR DLY=1 TO 3@:MEKT DL'
a, “:POSITION KL,¥L:?
=i TO JO:NEXT DLY:RETURN
500 REM
S18 REM.
528 REH
530 LOCATE A,B,CHR:POSITION A CHR
(CHR-128) :POSITION 12, 4:? “HM: CHRI=32
548 A=12:B=4:A1=0:B1=B
558 POKE KEY,MT:GET #1,¥
560 IF M=27 THEN LOCATE A,B,CHR:POSITI
OM A,B:? CHRSCCHR-128) :RETURM
570 IF M=32 THEN GOSUB 690:GOTO 558
568 IF H=i55 THEN 660
590 IF WOT CH=42 OR H=43 OR H=45 OR M
=61) THEM H=USRCBELL) :G0TO 558
68 A=A+2%(H=42)-2 (MEAS) :B=B+ZECH=6L)
~2¥(H=45)
618 IF {12 THEN A=26
628 IF A)26 THEN A=i2
630 IF BX4 THEM B=18
648 IF 6)16 THEM B=4
650 POSITION A1,B1:? CHRSCCHRL) :LOCATE
,B,CHR:POSITION A,8:? CHRS(CHR#L28) :
CHRI=CHR:A1=A:B1=B:GOTO 550
668 LOCATE A,B,CHR:IF CHR=168 THEN IF
HOLE=HOLES THEM POSITION A,B:? CHRS(CH
6
#e solve #*
RD: HEUSR BELL) GOTO 558
678 IF CHR=168 THEN POSITION A,8:? “}
CHR: OLE#1:GOTO 558
CHRI=32:HOLE=HO
101!
680 POSITION A,
LE-1:60T0 558
698 POSITION 2,22:? "Are you sure you
want to solve it?!
708 GET #L,AN:IF WOT (AN=69 OR AN=78)
THEM W=USRCBELL) :GOTO 781
710 TF AN=78 THEM ? “HP":RETURN
728 POP + ZLOCATE A,B, CHR:POSITIO
WM ,B:? CHRSCCHR-126) :POKE KEY, MT
738 FOR Y=1 TO 8:FOR X=1 TO 6:50UND 6,
WELBHYHLS, 10,10
748 LOCATE H*2+10,¥%242,EPS:IF EPS=32
AMD ACK, YI=@ THEM POSITION #X2+10, YX2+
2:7 ":":WEHT K:NEXT ¥:GOTO 868
758 IF MOT CEPS=2@ AMD ACK,Y2=1) THEW
780
760 FOR DO=5@ TO @ STEP -1:SOUND 8,D0K
96,10,D0/5
778 POSITION KH2+i8, Y¥2+2:?
ON KEZ#18, YX242:7
EXT ¥:G0TO 868
788 IF MOT CACK,Y2=1 AND EPS=32) THEN
sie
798 FOR bO=!
65,18,00/5
808 POSITION HX2+10,¥*242:7 "e"':POSITI
OM KEZ#L8, YH242:2 “O"ZMERT DO:S=S43:NE
XT K:NERT Y:GOTO 860
818 FOR DO=5@ TO @ STEP -1:SOUND 6,00%
84,18,00/5
820 POSITION K¥2+18,Y2+2:
OM weZ+18, ¥*242;
EXT Y
838 REM
840 REN .
850 REM
868 SOUND @,6,8,0:SCORE=SCORE*S:POSITI
ON 2,027 “ERTS; | SCORE: IF
FOR BLS=1 TO 18:W=USR(BELL) :NEXT BLS
878 POSITION 2,22:?7 “MEDVMINSIT Play a9
ain, [DEA quit"
TO @ STEP -1:SOUMD @,DO¥
ap": POSIT
we fini He
THEN POSITION @,2:TRAP 3276
88@ FOR X=1 TO 2@:POSITION 6,2.
(155) :NEXT ¥
598 REM
908 REM .
918 REM
we set-up #*
hs GLACKHOLE
by
Ed Schembri
938 2 :? +? "Do you want: EMI you plac
e holets? IAI randon p
lacement"
Page 7 (scan)
"SOME USEFUL UISLITSES FROM B.G.3./.0. 44 REM PICK LOTTERY BY STEPHEN E. SILVE M PICKING YOUR WINNING NUMBERS" RBERG 42 "K":POKE 82,1:POKE 63,37 5 POSITION 5,5:? “LOTTERY NUMBERS BY T HE CARD by 5.E. Silverberg 9 OPEM 1,4, 1@ DIM L(45), C045), ACS) 5@ ? :PRIHT “THIS PROGRAM IS FOR THE W EW YORK STATE LOTTERY -" 55 7 “IT WILL RANDOMLY PICK 6 NUMBERS OUT OF 44 2 :PRINT * THE LOGIC BEHIND THIS PROGRAM -' “THE W.Y.S. LOTTERY SE LECTS 6 NUMBERS OUT OF 44,""; 78 PRINT " THIS PROGRAM HILL SELECT 76 AME CARDS OF 6 NUMBERS. EACH MUMBERHI LL APPEAR ONCE PER GAME CARD"; 88 PRINT " YIELDING A TOTAL OF 4 2 MUMBERS PLUS ZEXTRA NUMBERS. THIS G IVES A TOTAL OF44 MUMBERS." 61? RESS ANY KEY TO CONTINUE" 82 GET #1,0:7 "5" 85 7 :PRINT “ALL THE NUMBERS ARE CHOSE N RANDOMLY AS THEY ARE IN THE LOTTERY THEREFORE, YOU HAVE f VERY"; 9@ PRINT " HIGH PROBABILITY OF GETTIN @ AT LEAST ONE OF THE 6 NUMBERSCHOSEN OW ANY GAHE cARD."; 4e@ PRINT" f GOOD CHANCE OF HAI NG 2 NUMBERS AND A FAIRCHANCE OF GETTI NG 3 MUMBERS."; 1817" YOUR CHANCES OF GETTING 4,5 OR 6 NUMBERS INCREASE IF YOU COMBINE 3 SETS OF © GAME CARDS AND"; 162 7" THE EXTRA NUMBERS TO PLAY 22 GAMES." 165 7:7 12 "PRESS ANY KEY TO CONTINUE “3GET 1,017 "R" 118 PRINT :PRINT :PRIKT " G00 ® Luck! 120 PRINT :PRINT :PRINT " PLEASE FOR WARD S% OF YOUR MINMINGSTO ME. THANK you." 13@ PRINT :PRINT 166 PRINT “ FOR OTHER LOTTERY SYSTEM SMITH & DIFFERENT GROUP OF NUMBERS T 0 CHOOSE FROM CHANGE LINES"; 161 7" 210 AND 258." 17@ PRINT "IF OTHER THAN 6 NUMBERS ARE TO BE PICKED - CHANGE LINES 358, 368, 378, 538, 628, 658." 188 ? :? :? "PRESS AMY KEY TO CONTINUE 108 GOSUB 9808:GRAPHICS 8+16:GOSUB See 2COLOR 1 HCCTD=O:MERT T sig FoR y=@ TO 95 STEP S:PLOT 8,0:DRAK PLOT @,19@:0RAWTO 319,198-Y:6 208 6: 240 FOR To 45:L(0 REM RESET L&C 258 FOR K=1 TO 44 268 LET L.CK)=INTCRMD (1) #44) #4 270 IF CLCK)<1) OR CL(K))44) THEN 268 260 IF CCL(KI)=1 THEN 260:REM K USED 120 FOR Y=@ TO 196 STEP 6:PLOT 319,95: DRAWTO 8, Y:NEKT Y 138 PLOT @,191:DRANTO 319,191 298 CULO) =: 148 GRAPHICS 8+32:G05UB 588 308 WEXT K 158 ? "To scroll picture up or down," 350 FOR HEL TO 37 STEP 6 168 ? “use the &t and E+ keys. 360 FOR Ta Nt 165 2 "ESC key--back to MENU. T20 FOR MAKEL TOMES 178 P=PEEK(764) :1F P<14 OR P45 THEN 1 380 TF LOOKLOM THEN 428 7” 39@ LET T=LCW) 2 OND=L CKD LD =T 188 GRAPHICS 8416+32:G0SUB 508 420 WEXT W 208 SCR=PEEK (86) #256¥PEEK (89) 430 WEXT K 240 SIZE=7640:LO=SCR+40:HI=SCRESIZE 440 NEST 220 P=PEEK(764):1F P=15 THEN I=USR(SM, 450 J=43 SCR, LO, SIZE) :1=USR CSM, HI, SCR, 48) :GOTO 228 230 IF P=i4 THEM I=USR(SH,LO, SCR, SIZE) SISUSRESH, SCR, HI, 40) :G0TO 228 240 IF P=28 THEN RUN "D: MENU" 258 GOTO 228 508 SETCOLOR 2,@,8:SETCOLOR 1,6,14:RET uRM 8998 REM — 6991 REM 8992 REM 460 FOR I=1 TO 44 470 IF CCL=@ THEM LCJ)=CCT) : J=44 486 MEXT I:POKE 752,1 498 POSITION 21,18:PRINT "GAME CARD # "3G: PRINT 508 H=1 518 FOR A=65 TO 71 52@ PRINT “GAME ";CHRSCAD 53 FOR W=M TO MES: PRINT LHD ;" T M:PRINT :PRINT 568 P=1 8993 REM I=USR(SM, SRC, DEST, SIZED 620 HERG 9800 DIM SMS (182) ; SH=ADR (SHS) 630 NEXT A 9810 SHS="hhsWhrIChsIF HAE ACIAECIAF ODE) HE 648 POSITION 25,16:? “EXTRAS " Hoe palo YeFsIFOV ENSICHED COSICHE? aolar ELLIE 658 POSITION 25,11:PRINT LO43);" "5LC4 bis 902 RETURN 696 FOR I=4 TO S@8B:NEKT 1:7 "K" 708 G=G41:G0TO 218 5S DIM F1$ (15), STS CFRE(O)*@, 85) :GRAPHIC 38 72 32 32 18 ? "MHICH FILE TO PRINT"; :INPUT F1$ 202 27:7 “HOM MANY COPIES"; :INPUT W ‘38 OPEN H1,4,8,F1S 48 OPEN #2,8,0,"P:" 6@ TRAP See 78 GET Mi, A:STSCLEW (STS) 41) =CHRS (4) 8@ GOTO 78 580 IF PEEK(195)<)136 THEN ? :? “ERROR #1"; PEEK C195) SEND 585 CLOSE 1 518 FOR I=1 TON S15 POSITION 2,15:? "PRINTING COPY #"; ue" S16 7 M2;STS:? #2;CHRSC129; S17 WERT I 528 CLOSE #2:END
Page 8 (scan)
XY PLOT by STAN OCKERS
18
28
22
czy
26
28
38
32
a4
36
REM
REM xe
REM %* = PART OF KYGRAF
REM HK 5, OCKERS 12/84
REM ¥* ACE Newsletter Feb, 64
REM ¥* 3662 Vine Maple or.
REM ¥* Eugene, OR 97405
REM xe $412 year
REH JOSS EEB ROBIE IRE EE IOOE IGE
REK
38 GOSUB 1088:GOSUB 952:POKE 752,1:7 C
HRS C125) ;" INITIALIZING": GOSUB 4600
40 MPTS=100:DIM FMS (14) ,05(28),ES(4),
AS (128) , DATS (4) ,KCMPTS? , ¥CMPTS) , MARK CH
PTS), SRCMPTS) , SYCMPTS)
56 DIM HSCL C11), YSCL (14), KTTLS (40), YTT
L$ (24), GTTLS (48) ;DATS=".DAT":OPEN HL, 4
OKE 16,112:POKE 53774, 112
MKER=@:G05UB 3108
XYPLOT
EREEEES
YB
80 IF PEEK(1654)()56 THEN 86
82 F=O:FOR J=1 TO 14: FWMSCJ, JI=CHRS CPE
EK CL6S9+J)) IF FMMS CJ, I=". AND F58 T
HEM L=J:F=1
84 NEXT J:FNMS=FMMS (1,43) :GOSUB 762
86 REX * JUMP HERE IF NO FILENAME TO L
onp *
99 REM ® MENU
108 POKE 752,1:7 CHRS(125);
EMU": ? 3? C1) READ FILE":?
OT GRAPH & AXES"
110 2:2 "(3) LIST FILES OM DISK":? :
(4) CHOOSE TITLES ETC.":? +? "(5) PL
OT ADDITIONAL CURVE"
115 ? 1? "€6) DISPLAY GRAPHIC SCREEN "
Ed (PRESS KEY TO RETURN"
120 7:7 "C7) PRINT GRAPH ON PRINTEI
2:7" (8) CLEAR GRAPH SCREEN":? :?
) ENTER/MANIPULATE DATA"
130 IF LENCFMMS))@ THEN POSITION 18,22
17 “PILENAME="; FANS (3)
158 GET #i,K:IF K<49 OR KDS7 THEN 158
168 ON K-48 GOTO 708, 380,1588, 200,450,
978,178,175,18@
178 GOSUB 1498:GOSUB Seee:GOTO 198
175 GOSUB 956:G0TO 108
180 RUN “D:XYEMTRY"
199 REM * TITLES ETC. FOR GRAPH *
208 7 CHRS(125);" GRAPH CHOICE!
HYPLOT
[c}
BME KHIM, KMOX, YMIN, YHAK 57" KM
IN;" MOK" SS YMINS" 7 YHOX
210 7 2? H-KIS TITLE"? ™ "
HTTLS
242 2 2? “RMD Y-@XTS TITLE? "5
YITLS
214 7 :? “MEM GRAPH TITLE":? "36
TLS
216 7 3? GRIO ";:IF GROFLG=@ THEN
PRINT "CI"
248 IF GROFLG=1 THEN ? “TER
220? 3? “HEM GRAPH STYLE ";:1F STYFLG
SMU LLMMRL INES POINT TO POINT
222 IF STYFLG=1 THEN ? "GOCRERULTEN
228 ? :? “SQNA9 RETURN TO KYPLOT MENU
230 GET t1,K:IF K=32 THEN 108
234 IF K(49 OR KDS4 THEN 238
232 ON K-48 GOTO 248, 268,262,264, 276,2
88
239 REM ¥ NEW MIN OR MAX VALUES *
TRAP 40080;7 CHRS(1252;" CHOOSE 0
222 MCL) KMIM =";KMIN:? 22 "C29 X
="; KM
2422 "C3) YMIN 7YMIN:? 27 "C4 ¥
SUpYMAK:? 3? “EGTA RETURN TO CHOT
WENT
GET M1,K:IF K=32 THEW 206
IF K49 OR K)5S2 THEN 244
OM K-48 GOTO 258,252,254,256
250 TRAP 250:7 CHRS(125):7 +7 :? “INP
‘TO XMIN ("7 XMIN;") ";: INPUT KMIN: GOTO
248
282 TRAP 252:7 CHRS(125) 2? “IMPU
T RHOK C)MMOM;") "; INPUT KMAK: GOTO
248
254 TRAP 254:7 CHRSC125):2 7 3? “INP
TOYMIM CjYMIN;) “4; ;INPUT YHIN: GOTO
248
256 TRAP 256:? CHRS(125):7 17 :? “INPL
T qian cyymag;")" ‘MPUT YMAX:GOTO
248
268 ?
TITLE
262 7
TITLE
264?
TLE
244
12:29
CHRS(125):? i? 2? “INPUT H-AKTS
“;LINPUT KTTLS:G0TO 208
CHRS (125922 22 22 “INPUT Y-AXIS
“;LINPUT YTTLS:GOTO 208
CHRS (125) 1? “INPUT GRAPH T
;HINPUT GTTL$:GOTO 208
270 IF GROFLG=@ THEM GROFLG=1:GOTO 2@8
272 GROFLG=8:G0TO 208
288 IF STYFLG=8 THEN STYFLG=:
282 STYFLG=6:G0TO 208
299 REM % FIND HIGHEST & LOWEST VALUES
*
3O@ KMIN=H (1) :KMAM=H CL): YMINEY CL) : YNOK
=¥a)
320 FOR J=2 TO EMTR
322 IF MARK(JI)8 THEN 362
‘330 IF KCCKMIW THEN GOSUB 364:G0TO 3
ae
8
‘340 IF YCJ)CYMIN THEM YHIN=Y (CJ)
‘350 IF ¥CJ))YMAK THEN YMAX=Y(J)
360 IF KCJ))KMAK THEN KMAK=K(J)
362 MEXT J: RETURN
363 REM * ORDER X DATA SUBROUTINE *
364? Sorting": 5FLG=8:FOR K=
1 TO ENTR-1:IF KCK+L))=KCK) THEN 368
366 TEMP=K CK) 2K CD =X CL) KCK L) TEMP:
SFLG=1: TEMP=Y CKD: ¥ CKD =¥ CK#L) 1 CK#L) =TE.
we
368 WEXT K:IF SFLG=1 THEN 364
378 RETURN
379 REM * PLOT GRAPH AND AXES *
388 GOSUB 958:7 SCALING"
‘382 MSDY=CYMOM-YMIN) /10: MSDK=CKMAK-KMI
0/18
428 GOSUB 1598:GOSUB 1548:GOSUB 1400:
OSUB 16€8:GOSUB 1858:GOSUB 1558
430 IF STYFLG=@ THEN GOSUS 80g
432 IF STYFLG=1 THEM GOSUB 82@
448 GOSUB 952:G0T0 188
449 REM * DRAW ADDITIONAL CURVE *
458 GOSUB 1408:GOSUB 1548
452 IF STYFLG=@ THEN GOSUB 868
454 IF STYFLG=1 THEN GOSUB 828
456 GOTO 168
699 REM * READ A FILE *
708 ? CHRS(125):GOSUS 1288
702 TRAP 768:0PEM 42,4,0,FWMS: INPUT 112
sENTR
718 FOR J=4 TO EWTR
720 INPUT #2;M,K,¥
738 MARK CID=MEK CJ)
740 WEXT Jr? 2?
DED KKK
742 FOR J=1 TO LEWCFNMS) :POKE 1639+J,8
SCCFWMS(J)):MEXT J
758 CLOSE #2:G0SUB 3e@:GOSUB 1370:TRAP
49080:GOTO 198
768 ?
wee": GOTO 758
799 REM ¥ PUT CURVE OM SCREEN PT TO PT
*
88@ COLOR 1:FOR J=1 TO ENTR-1:IF MARK(
J))@ THEM 812
B18 KA=SH CJD HZ=SK CHL) 2 YA=SY (J) 92257
(J#12:G05UB 2238
812 WEXT J: RETURN
819 REM * PUT POINTS OM SCREEN *
828 COLOR 1:FOR J=1 TO EWTRIIF WARK()
2@ THEM 626
822 K=SKCID:Y=SYCIDTIF KDXR OR HCKL OR
YOYB OR Y<YT THEN 626
824 Y=YB-Y+YT:GOSUB 838+MKER
826 WEXT J:MKER=MKER+2:IF MKER=6 THEN
Resarxs
YCID=Y
WMS; LOW
see FILE MOT FOUND
Page 9 (scan)
HKER=@
828 RETURN
838 PLOT X,Y:PLOT K-2,¥-Z:DRAMTO K#2,¥
-2:DRAHTO K+2,Y#2:DRAMTO K-2,Y#2:DRAHT
0 K-2,¥-2:RETURN
832 PLOT X,Y:PLOT X,¥-2:DRAHTO #2, ¥:D
RAKTO K,Y+Z:DRAWTO H-2,Y:DRAWTO K,Y-Z:
RETURN
834 PLOT X,¥:PLOT X,Y-2:DRAWTO K#2,¥#2
:DRAWTO X-2,Y+2:DRAMTO K,¥-Z2:RETURN
836 PLOT K,¥:PLOT K,Y#Z2:DRAWTO K#2,¥-2
TDRAWTO X-2,¥-2:DRAHTO K,Y+2:RETURN
949 REM ® CLEAR GRAPHICS SCREEN *
95@ 7 CHRS(125) : RAMTOP=PEEK (186:
106, INT CTOP+1/256) :POKE 88, SCBL'
89, SCBHI:? CHRS (125) :POKE 186,RAMTOP
952 GRAPHICS @:DLIST=PEEK (560) +256XPEE
K(561) :POKE DLIST+3,78:POKE DLIST+6,6:
RETURM
969 REM * DISPLAY GRAPHIC SCREEW UNTIL
KEY PRESSED *
978 GOSUB 1408;:POKE 764,255
972 IF PEEK(764)=255 THEN 972
974 GOSUB 952:G0T0 168
999 REH % SET ASIDE PLOTTING SCREEN *
1068 GRAPHICS 6+16:5AV8LO=PEEK (568) :5A
YBHI=PEEK (561) : RAMTOP=PEEK (186) :POKE 1
86, (RAMTOP-33) : SCBLO=PEEK (88)
1082 SC8HI=PEEK (89) : TOP=RAMTOP: GRAPHIC
5 @:SCOLO=PEEK (88) : SCONT=PEEK (69)
1018 SAVBLO=PEEK (568) : SAV@HI=PEEK (56.1)
RETURN
1199 REM ® INPUT FILEWAME
1208 POSITION 18,17:? “INPUT FILENAME"
1202 POSITION 9,18:7 “Di DAT;
1210 P=3:POSITION 11,18:FMMS="D:"
1220 GET i,k
1230 IF K=155 THEN 1288
IF K=126 AMD P)3 THEN P=P-1:FHHSC
2? CHRSCKD 5
IF K)96 AND KC123 THEN K=K-32
IF ((K)47 AND K<5SB) OR (K)64 AND
1258
K{91)) AND PCL1 THEN FNMS(P,P)=CHRS (KD
12 CHRS(K);:
1268 GOTO 1220
1288 FMMS(P)=DATS: RETURN
1299 REM ® SHOW .DAT FILES OW DISK *
1388 7 CHRS (125) :OPEN #2,6,0,"D:%, DAT"
TTRAP 1348
1318 FOR K=@ TO 26 STEP 28
A133@ FOR J=1 TO 22:INPUT 42;0$:POSITIO
MK, J:? DS; :WEKT J: NEXT K
1348 GOSUB 1378
1368 CLOSE #2: TRAP 401
PHL
:G0TO 168
1369 REM ¥ STOP FOR SPACEBAR *
1378 POSITION 28,22:? “GEEEEMaTIT"
1380 GET M1, K:IF K<)32 THEM 1386
1390 RETURN
1399 REM % SWITCH TO GR. 24 *
1488 SAVCTL=PEEK (S59) :POKE S59, 0:POKE
560, SAVBLO:POKE S61, 5AV8HI:POKE 88,5C8
LO:POKE 89,SC8NI:POKE 87,8
1418 POKE 559, SAUCTL: RETURN
1449 REH * SHITCH TO GR. @ *
1458 SAVCTL=PEEK (559) :POKE 559, 8:POKE
560, SAVGLO:POKE S61, 5AVOHT:POKE 88,5C@
LO:POKE 89,5COHI:POKE 87,8
1468 POKE 559, SAUCTL: RETURN
1499 REM * FIND WIMDOK-VIEHPORT TRANSF
ORATION *
150 WXL=¥MIN: WHR=KMAX: MYT=YMIN: HYB=YM
ax
1520
1522
1524
1526
MUKM= CUKR-UKL) / CHER-HHLY
MUKA=UKL-WKLXHUKN,
WUYHE CUYT-UYB) / CHYT-HYB)
WUYA=UYB-HYBEHUYH
1539 REM ® CALC POINTS FOR SCREEN
1540 FOR J=1 TO ENTR: SH CJ) =HUKMEK CJ) +H
UKM: SY CJ) =WUYHEY (J) +HUYAINERT J
1542 RETURN
1549 REM ® DRAW GRID & TITLES *
1550 MKL=295:MYL=13:1F GRDFLG=8 THEN M
HL=58:MYL=158
1551 COLOR 1:PLOT 45,13:DRAHTO 45,163:
ORAWTO 295,163:FOR YTL=13 TO 163 STEP
15
185% PLOT 42,YTL:DRAWTO MKL,YTL:NEXT Y
TL:FOR YTS=416 TO 16@ SIEP Z:PLOT 45,¥T
S:DRANTO 58,¥TS:MEXT YTS
1554 FCR XTL=45 TO 295 STEP 25:PLOT XT
L,166:DRAWTO RTL, MYL:WEXT KTL
1556 FOR KTS=45 TO 295 STEP S:PLOT KTS
A6S:DRAWTO HTS, 156:NEXT KTS
1568 Y=164:L=LEWCKTTLS):IF L=@ THEN 15
64
1562 H=€48-L)/2:DADR=ADRCKTTLS) :A=USRO
TADR, ,¥,DADR,L,L)
1564 IF EX()@ THEN GOSUB 1592
1578 K=O:L=LEWCYTTLS) :IF L=@ THEN 1574
1572 Y= (192-L¥8)/2Z:DADR=ADR CYTTLS) :A=U
SRCTADR, K,¥,DADR,L,1)
1574 IF EY<)@ THEN GOSUB 1596
1588 L=LEN(GTTLS) :IF L=@ THEN 1590
1582 Y=O:K=(48-L)/Z:DADR=ADR(GTTLS}
USRCTADR, X,Y, DADR,L,LI
1598 RETURN
1592 H=33:D$=E$: DADR=ADR (DS:
R,K,Y,DADR, 4,4) :KoKt4 Y=¥—4
9
2 :L=LEM(D$) :A=USRTADR,H,¥,DADR,L, LI
1594 RETURN
1596 ¥=172:DS=E$:DADR=ADR (DS) :A=USRITA
DR, X,Y, DADR, 4,2) :K=K#2: ¥=¥+4: DS=STRS CE
YD :L=LEN (DS) :A=USRCTADR,H, ¥,DADR,L,L)
1598 RETURN
1599 REM ¥ DETERMINE EXPONENT & SCALE
VALUES *
1608 KSAV=KMAK: YSAU=YHAK
1608 KHAK=ABSCKMAK) :TF XMOX)=1 AMD KMA
#10808 THEN EX=@:G0TO 1700
1610 IF XMAX)1e0@ THEN 165@
1628 FOR EX=-1 TO -5@ STEP -1:Ki=KMAK®
IMT ((104-EX) #8.01)
1630 IF Xi)1 THEM 1788
1648 MEXT EX
1650 FOR EX=1 TO S@:Ki=KMAK/INTC(LOAEX
240.01)
1668 IF Ki¢10 THEN 1786
1670 WERT EX
1708 YHAK=ABSCYMAX) :TF YMAK)=1 AND YMA
(1008 THEN EY=0:GOTO 1800
1718 IF YMAK)10@ THEN 1758
1720 FOR EY=-1 TO -5@ STEP -4:Y1=YMAKK
INT CCL@4-EY3 +0, 04)
1738 IF Y1)i THEM 1808
1740 WEXT EY
1758 FOR EY=1 TO SO: Y{=YMAK/INTCCLOAEY
248,81)
1768 IF Yi<i@ THEW 1868
1770 NEXT EY
1888 FOR J=i TO 11:XSCL(J)=KSAU-(J-19%
SDK: YSCL (J) =YSAU-CJ-1) HSDY
1818 IF EX<@ THEN HSCLCJ)=KSCL (J) *184~
Ex
1812 IF EX)@ THEM HSCL(J)=KSCL (J) /104E
x
1828 IF EY(® THEN YSCL(J3=YSCL (J *164-
EY
1822 IF EY)@ THEN YSCLOJ)=YSCL (J) /184E
¥
1838 WEKT J
1640 RETURK
1849 REM * PRINT SCALES *
1858 DADR=ADR «DS! B:FOR Jai TO 1
LIMEYSCL J) :KFLG=6:G0SUB 1988
DR, K,¥,DADR, LEN (DS) , 3);
1868 FoR
F CJ/2)=IWT(S/2) THEN Y=176
1862 N=KSCL(J):KFLG=1:GOSUB 196
CTADR, X,Y, DADR, LEN (05) ,4) :K=K#3: NEXT J
189 RETURN
1899 REM * SCOLE NUMBER *
1900 SIGN=@:IF M<@ THEN SIGN=1
1918 W=OBS(W) :DS=STRS CW
Page 10 (scan)
xy plot
cont
1920 IF INTEND <M THEN DS (LEM (DS) #1)="
on
1938 IF XFLG=8 THEN IF LEN(DS))3 THEN
bS=D$(1,3)
1940 IF KFLG=1 THEN IF LEWCOS))4 THEM
DS=DSC1,4)
1942 L=LEM(D$):IF DSCL,L3="."
tu
1950 IF SIGNH=i THEN FOR K=1 TO LEM(DS:
2DS CK, KI=CHRS (ASC (DS (KI) 4128) :MERT K
1960 RETURN
2228 REM ® CLIPPING ROUTINE *
2222 REM ® SEE ANALOG #2 P. 29 MAR/APR
“81 (TOM HUDSON)
2238 L1=8:L2=8:
@:B2=8
2240
2250
2268
2270
2288
2298
2308
2340
2520 IF
" THEN 0S¢
1 R2=@:T1=0: 72:
iBA=
RACK
HLDER
YA) YB
AQT
K2dKL
HZ) HR
y2)¥8 THEN
y2qyT THEM
LAtL2=2 OR
L1=4:G0TO 2260
RIZL
Bi=1:G0TO 2288
Tis
L2=1:60TO 2380
R2=1
B2=1:G0TO 2328
T2=1
RLERZ=2 OR TLHT2=2
THEN
OR BitB2=2 THEM RETURN
2338 KS:
1: YSSVL1M4=K2:Y4=¥2:G0SUB 239
RL=R2:T1=12; B1=B2
ZiRAEKL A>
Yi:GOSUB 2398
2368 IF KiCKL OR KIPKR OR YL<YT OR YL)
YB OR XWCKL OR KHER OR YH<YT OR YH)YB
THEN RETURM
2378 PLOT Ki, YB-Y1#YT:DRAHTO KW, YB-YHt
YT
2388 RETURN
2398 IF LAtTi#Bi+Ri=@ THEN KW=K3: YH=YS
RETURN
2400 IF Li THEM KWEHL: YHCYS+(Y4-YS)*CK
LORY) / CK4-H3) :K3ZKMEYS=YHEIF YSD=YT AW
D ¥3<=¥6 THEN RETURN
2440 IF RL THEM KWOKR: YHOYS# (Y4-Y3)"CH
R-H3) / (K4-K3) :KISKH:YS=YMGIF Y3)=¥T AN
© Y3<=¥B THEN RETURN
2428 IF Bi THEM YH=YB: KW=HE+ (K4-K3D#CY
B-¥3)/ (Y4-V3) :KS=KWEYS=YH:IF K3)=KR AW
D X3{=KL THEN RETURN
2430 IF Ti THEN YHYT: KWOKS+ (K4-HIIECY
T-¥3)/(¥4-¥3) :KS=HH:YS=YMIF K3)=KR AN
D XS<=KL THEN RETURN
2448 RETURN
2999 REM ® DUMP GR. 8 SCREEN TO PRINTE
R*
3088 SC=PEEK (68) #PEEK (899%256
JOLO LPRINT CHRS(27) ;"A";CHRS (6
3828 FOR Y=@ TO 189 STEP 3:FOR
35 STEP S:P=SC+4OHY+K:AS=CHRS (8) :A5 (12
8) =CHRS (8) : AS C2=AS
=USRC1539,P, ADR (ASI) :LPRINT CHRS
}CHRS (128) ;CHRS CO) ;AS; :MEXT Hz
LPRINT :WEXT ¥
3040 RETURN
3099 REM ¥ ML ROUTINE USED IM PRINTER
DUMP x
3108 RESTORE 311O:FOR J=1536 TO 1635:R
EAD A:POKE J,A:WEXT J
3110 DATA 80,48,0,104, 164,133,204, 104,
133,203, 104, 133, 206, 104,133,205, 169,8,
133,289,169, 128,133,207
3112 DATA 169,3,133, 212
3128 DATA 162,8,134,208,188,8,6,177,20
3,37,207
1122 DATA 248,6,165,212,5,288, 133,288,
6,212, 6,212, 232,224, 6,208, 232,164,289,
165,208, 18,145,205
3124 DATA 200, 145,205,230, 269,230,289,
200,145, 205,238,209, 234,234, 234, 234,23
4, 234,234,234, 78,207
F13® DATA 144,193,230, 203, 288,2,238,28
4,165,209, 201,128, 144,177, 96
3148 RETURN
3996 REM * ML ROUTINE FOR GR. 8 CHARAC
TERS #
3999 REM * MODIFIED VERSION OF ANALOG
823 P. 57 COCT ‘84, TOM HUDSON) *
4080 RESTORE 4810:DIM T5(257):FOR J=1
TO 257:READ A:TSCJ, JI=CHRS CAD INERT J2T
ADR=ADR (TS) :RETURM
4810 DATA 216, 104,104,184, 133,205,104,
184,133, 204,169, 8,133, 205,6, 204, 38,205
6,284, 38,205,6, 284,38
4028 DATA 25,165,204, 24,101,88,133,20 °
6,165,285, 101,89, 133,207,6, 204,38, 285,
6,204, 36,205,165, 204,24
4038 DATA 101,286,133, 296,165,285, 161,
207,133, 207,165,206, 24,101, 203,133,206
141, 126,6, 165, 207,185, 0,133
4048 DATA 207,141,127,6, 184,133, 213,18
4,133, 212,184,104, 141,122,6,286,122,6,
104,104, 141,124,6
4050 DATA 169,8,141,125,6,141,123,6,16
9,0,141,121,6,172,123, 6,177,212, 16,5,2
@6,121,6, 41,127, 281,32
4060 DATA 176,5,24,105,64,16,7,201, 96,
176, 3,56, 233, 32,133,204, 169, 0,133,285,
135,288, 6, 204,38
4878 DATA 205,6,204,38,205,6,204, 38,28
5,165,205, 24,109, 244,2, 133,205,164, 208
y177, 204,77, 121, 6,172
10
4875 DATA 125,6,145,206
4888 DATA 230,208,165, 208, 281,8,248,15
165, 206,24, 105,40, 133,206, 144,227,230
207,208,223
4890 DATA 144,168,238, 125,6,238,123,6,
206, 122,6,48,43,173,125,6,265,124,6,28
8,22, 169,0,141,125,6,24,173,126,6
4108 DATA 105,64, 141,126,6,173,127,6,1
@5,1,141,127,6,175,126,6,133,206,173,1
27,6,133,207,24,144, 208,96
mnultiolica tian
ant
1338
1340
1358
1368
1378
1388
1398
1408
1418
1428
1438
1448
1458
1468
pata
pata
bata
pata
oaTa
pata
pata
ata
pata
pata
ata
DO IT AGAIN, SHARP, BRAVO
3% GO XH, HUMDINGER, HOM, GOOD
SUPER, HOT DOG,FIRST RATE
TOP-NOTCH, JIN-DANDY, GREAT
SUPER FINE,TIP TOP,FAR OUT
FANTASTIC, SUPER STAR, HINNER
FIRST CLASS,BULLY FOR YOu
RED HOT, EXCELLENT, HOME RUN
THREE CHEERS, WELL DONE
HURRAY , CHAMPION, CRACKAJACK
CAPITAL JOB, BANG UP JOB
DATA GOOD SHOM, MARVELOUS
DATA GOOD AS GOLD
REM .... Enter more messages here
1478
DATA END
Page 11 (scan)
REM
REM DIF COVERSION FILE UTILITY
REM BY DAVID FULLER 9/6/84
REM ATARI ANONYMOUS OF RI
REH USER'S GROUP
REM 72 CRYSTAL DR
REM WARWICK, RI 62689
REN HOHE RBEME EL SURE
10 TRAP 121@:GOSUB 1248:7 "R";TTLS
28 REM
sez" by David Fuller
40.2 27°" How many Drives (1 or 2) ";:
INPUT DRIVES
50 IF DRIVES<1 OR DRIVES)2 THEN GOTO 4
8
68 POSITION 2,6:? “1. Filemanager™
702 "2, Other"
80 7 :? “Enter Type of File ";:INPUT @
WSRS
90 IF QNSRS<)"1" AMD ANSRSC)"2" THEN G
OTO 68
100 IF ANSRS=
110 TYP=1
128?
kt
1387" in Drive 1 and press
Wr; SINPUT AWSRS
eNeneane
THEN TYP=2:G0TO 1000
“ Insert Filemanager Data Dis
A Files on the
15@ INFILS="D1:%, 3"
PEW H1,6,8,INFILS
160 INPUT Mi;FLWAHS:IF FLNANS(5,8)="FR
EE" THEN 198
170 IF FLWAMS(11,13)="DAT" THEN 7 FLNA
HSCL,82;" “SFLNAMS(14,179
168 GOTO 168
" Which File to
“jSINPUT ANSRS:INFIL
NFILS (3) =AMSRS-
208 IWFILSCLENCIMFILS) +4)=". FHT"
PACMAG GET AKD DISPLAY FIELDS
228 7 “KN; TTLS:POKE 752,08
OPEM 11, 4,0, INFILS
INPUT #1; NUMFLDS
INPUT #1; FLOMS
HOKLEN=@
FOR M=1 TO MUMFLDS:INPUT #1; 0:FNCN
ITF ADHOKLEN THEN MOKLEN=A
WERT W2A=@
CLOSE Mi: LE=LEMCIMFILS) : INFILS CLE-
3,LED=", IDK": OPEN #1,4,0,INFILS
308 INPUT #1; A:MUNR=A-1
340 FOR M=1 TO 4: INPUT Mi; IDKL:WEXT Mz
INPUT #1; IDK2: INPUT #1; IDKS
328 LIWES=8:SCRS=1:SCR(1, 1
330 FOR N=1 TO NUMFLOS:FTCW)=@
d=:
340 IF FNCN))180 AND FCN) C106 THEN FW
CW EL4 FT OWD=L
342 IF FMCW)105 THEN FMCW) =FW CN) 11
FTO
345 KKEKKAFN CHD
350 K=INTCFNCH) /25)
360 IF =FM(W2/25 THEN LINES=LIWES#K:6
oTo 368
378 LIWES=LIWES+1
388 IF LIWES=2@ THEM SCR(SCRS,2)=N-1:5
CRS=SCRS#1:LIWES=@:SCR(SCRS,19=N:KK=FN
OD :G0TO 398
385 IF XK)255 THEM SCRCSCRS,2)=N-1:5CR
S=SCRS+1: LINE CR ESCRS, 12=W: KK=FM CW
5)
390 WEXT W:SCRCSCRS, 2)=HUMFLDS
400 7 27 "File ";CHRS(34) ;INFILS(3,LEW
CINFILS)~4) ;CHRS (34) ;" has ";NUMR;" re
cords"
418 2 ,SCRS;" Screens)"
420? , "Field names
438 7 LINS 123
440 FOR M=1 TO NUMFLDS¥12 STEP 12:0=a+
eT
450 B=B+i:IF A=11 THEN C=?
460 IF A=18 THEN C=2
47@ POSITION C,B:? A;". ";FLONSCN,MHLL
’
480
498
WEXT WiPOSITION 2,16:? LINS
2 Is this the right File (Y/N)
INPUT ANSRS
508 IF AMSRS<)"Y" THEN RUM
518? :? “How many records to convert
INPUT CPY
528 PASS=1:IF CPY<HUMR THEN PASS=Z
538 STAR
548 INFILS (LEW CINFILS)-2)="DAT"
550 REH
5687:2" Enter name of output file”
up to 8 characters ";:IMPUT ANS
OUTFILS (2) =STRS (DRIVES.
:OUTFILS (4) =ANSRS: OUTF
TLS (LEW COUTFILS) #1)=", DIF"
see
IF ORTVES=1 THEM GOTO 610
‘Insert’ Desitnation disk “
in Drive 2 and press
MPUT ANSRS
2 MRM STILS:2 37"
Processing..
628 POSITION 5,8:? “Total Records:
uM
638 POSITION 5,10:7 "Field: ";:POSITIO
M5,12:? “Record #:
648 QUTS=CHRS (34)
11
650 OPEN #2,8,0,0UTFILS
660 IF PASS=2 AMD START)1 THEN GOTO 68
)
678 CLOSE ML:0PEN Hi,4,@,INFILS:NCTE #
1, SEC, BYTE
680 IF STARTCD1 THEN CPY=HUMR
698 7 #2; "TABLE! @,1":7 82;QUTS;
JECTORS":? M12;
710 7 #2;"DATA 388,027 82; QUTS 50
uTs
736 FOR Z=1 TO NUMFLDS
740 IF TYP=2 THEM POSITION 13,18:7
oro 768
POSITION 13,10:7 FLONS(Z¥12-11,Z¥1
2 25°-1,0%:7 2; "BOT"
ST=STHFM(Z)
FOR K=5TART TO CPY
POSITION 15,1
880 A=0:5=1:5PACES=
INPUT $4; INPTS
IF ASCCINPTS(1,19)=255 AND SCRS=1
THEN GOTO 810
817 IF ASCCIMPTS(1,133=255 AND SCRS)L
THEN FOR X1=1 TO SCRS-1:IWPUT #1; INPTS
INEXT K1:GOTO 810
828 IF Z<SCR(5,1) OR Z)SCR{S,2) THEN A
=A+LENCIMPTS) :INPUT #1 ;INPTS:5=541:G0T
0 828
830 IF FICZ)=@ THEN GOSUB i3@@:? 82
1,0"? 82; QUTS; IMPTS (ST-A-FNEZ) #1, SPAC
ES) ;QUTS
840 IF FTCZ)=1 THEM ? #2;"@,";UALCINPT
S4ST-A-FMCZ) 41, STAI) 27 #2;"U"
850 IF 5<)SCRS THEM FOR HK=S#i TO SCRS
SINPUT ML;INPTS:NEKT KK
878 MEXT X
880 IF Z=MUMFLDS THEN MOTE ¥1,5EC, BYTE
89@ POINT #1, 5EC, BYTE
900 NEXT Z
948 7 H25;"-1,0":7 82;"EOD":CLOSE #2
928 IF CPY=MUMR THEW GOTO 986
938 7:27:27 "Do you want to convert th
e rest of the:? " records ";:IMPUT &
WSRSITF ANSRSCL, 1) O"Y" THEN 988
948 POINT ti, SEC, BYTE
95@ START=CPY+1:5T=8
968 IF DRIVES=2 THEN ? :? “Insert new
destination disk and press
NPUT ANSRS
TTLS:60TO 568
988 POSITION 5,19:? " BEQDINY: END
i
a
Page 12 (scan)
difconv
990 REH
1008 7 "KY; TTLS:? “ Convert Other Fi
lett
101@ ? :? "How many Fields in File ";:
INPUT NUMFLDS
41028 7 :? "How many Records in File ";
SINPUT Wil
1038 ? :? "How many records to convert
MPUT CPY:?
1848 IF CPY<WUMR THEM PASS=2
41050 FOR Z=1 TO MUMFLDS
1068 ? “Length Field #";Z;: INPUT K:FMC
a=K
1878 ? “Type of Field t§tring/[jumber]
";EINPUT QNSRSIIF ANSRS(L,1940"5" AND
AMSRS CLA) OUN" THEN 2 "5 OR N"ZGOTO L
a7e
1088 IF ANSRS(1,19="N" THEN FT(Z)=1:60
To 1160
4098 FT(Z)=8
1108 WERT Z
1405 A=O:FOR N=1 TO WUMFLDS:A=A+F (WD:
NEXT NiIF A)255 THEM ? :? “Record leng
th longer than*:? " 255 characters":EW
.
1107 SCRS=1:SCRC1,19=4:5CR C4, 23=NUMFLD
5
1i1@ 2 “RY;TTLS:? :7" # Length Ty
pe't:? LINS
1120 FOR Z=1 TO MUMFLDS:? " ";Z;"
FWD) 3" ay
4436 IF FT(ZI=@ THEN ? "String"
4146 IF FT(Z)=1 THEN ? “Number”
4150 MEXT Z:? LINS
1168 ? :? “Are all entries Correct (¥/
WD“; TINPUT ANSRS:IF ASRS C1, 1)
HEN GOTO 1808
1178 2K 2? “Enter name of So
urce File":? example: TEST.DAT
INPUT AWSRS
1180 INFILS:
1198 START=1
1208 7 “RY; TTLS:G0TO 568
1248 ERR=PEEK (195) : ERLIN=PEEK (186) #256
¥PEEK (187) 2? L ERROR Waa
“EC ERLIN
1228712" Press to continu
MPUT ANSRS
1238 RUN
1248 REH
1258 2 "RK"; 2DIM TTLS (34): TTL:
RT TO OIF FILE UTILITY
1268 DIM ANSRS(255) , INFILS (17) , FLDNS (2
48) , LINS (48) ,CHGFLDS (12) , FNCTS (48) , FLW
ANS (173 , QUTFILS (179 , OUTS C1)
TIMFILS (3 =ANSRS
a0
aad
1270 DIM CHGS(255) , INPTS (255) , KS (1) ,ST
YPES (2) , FLD1$(255) , FLD2$ (255) , FM (20), F
(28), SCR (18, 2) , TESTS (255)
LINS:A=0:8=5:0=2
1298 RETURN
1308 TESTS=IMPTS(5T-A-FN(Z) +1, 5T-A) :5P
ACES=ST-A
1318 FOR Ki=LEN(TESTS) TO 1 STEP -1
1320 IF TESTS CHL, Hi)" " THEN POP :RE
TURN
1325 SPACES=SPACES-1
1338 MEXT ¥1:SPACES=SPACESt.
940 POKE KEY,HT:? “Choice-)";:GET #1,M
1748
950 IF MOT (H=49 OR M=56) THEM H=USRC
BELL):? “please choose either
22 :GOSUB 1055:G0TO 948
968 ? :? “How many holes placed on gri
d? rs?
978 POKE KEY,MT:? “Holes -)";:GET #1,"
THOLES=N-48:7 HOLES
988 IF HOLES<1 OR HOLES)6 THEM H=USR(B
ELL):? "please choose from [EEISM:?
OSUB 1855:G0T0 976
998 2 :? “METMEP':FOR K=@ TO 9:FOR Y=@
TO 9:AK,YI=@:MEXT Y:NEXT X
1088 IF H=5@ THEN 1860
1016 7 “Give me the "x,y! co-ordinates
at the prompt 'H' then hit IEC:
2
1626 FOR CHS=1 TO HOLES
1025 TRAP 1625
L030 7 CHS; ";:INPUT 0,B:1F ACA, B)=1
THEM W=USR(BELL):? “points already ch
osen!:? :G05UB 1@55:G0TO 1038
1048 IF CAC1 OR AB) OR (BL OR BB) T
HEN WEUSRCBELL):? “point(s) must be be
tween Il OSUB 1855:GOTO 1625
(A,B) =1:MEXT CHS:TRAP 4088:GOTO
EXT DLY:? "S44
RETURN
FOR PLC=1 TO HOLES
INT CRND (0) %8) +1
+i:IF 006,C)=1 THEN 107€
1088 (B,C) EXT PLE
1098 SCORE=@:CHR1=45; HOLE:
SINT (RMD C8)*8)
12
¥
1100 WEUSR (BELL) :?
Bl BLACKHOLE |i
{5)-)"; HOLES
14110 POSITION 11,3:7 ASIFOR K=1 TO 16
STEP 2:POSITION 11,3+H:? BS: POSITION 4
1,4¢K:? COiMEKT X
1120 POSITION 11,18:7 BS:POSITION 11,1
9:7 DF
113@ RESTORE 1148:FOR CHI
A, B:POSITION A,B:?
=2:A1=A:B1=B:POSITION A,
:POSITION 13,62?
OSITION 28,0:7 “hole
TO 4:READ
1140 DATA 18,2,28,2,18,20,28,28
1158 GOTO 5@
1153 REM
1154 REM. we initialize #
1155 REM
1168 DIM A(9,9) $28) , BS (28) ,C$(28) ,D
$(20) , MRS (28) , EPSS (1) : BELL=1536
1178 KEY=764:MT=255:BELL=1536:POKE 16,
1412:POKE 53774, 112
ca
Perr erriie
1228 MKRS="abcefghi jkImnop"
1230 RESTORE 1240:FOR Z=8 TO 29:READ B
YTE:POKE BELL#Z,BYTE:WEXT Z
1248 DATA 104,169,8,141,8, 210,169, 48,1
44,0,218, 168,176, 162,255
1250 DATA 142,18, 212,282,208, 250,156,1
48,1,218, 192,160, 206, 240,96
1260 OPEN #6,4,0,"5:":0PEN #1,4,8,"
:POKE 710,0:POKE 752,1:POKE 789,192:P0
KE 16,112:POKE 53774, 112
POSITION 14,10:7 “AMTAOTIE
SFOR A=-14 TO 14:POKE 789, 206-ABS CA
2:FOR DLY=1 TO 10:WEKT DLY:NEKT @
1280 2 "K":POSITION 18,18: iy": POSIT
TOM 13,12:? “-ED SCHEMBRI-"
1298 FOR A=-14 TO 14:POKE 789, 206-ABS¢
A):FOR DLY=1 TO 18:NEXT DLY:WEXT @:? "
KY:FOR DLY=1 TO 3@:NEKT DLY:GOTO 928
Page 13 (scan)
BUGBUSTERS Here are the first people who have agreed to help others with their computing problems. Greg Menke 22500 Old Hundred Road Barnesville, MD 20838 Assembly Language Ralph Walden 1821 Jefferson Eugene, Or. 97402 (503) 344-8142 Assembly language c Jiva (603) 747-9014 New users Basic Action Please do not call any of these people after 10PM, local time. News and Reviews by Mike Dunn, Co-Editor By now, most of you must know about all the exciting new computers from Atari; if not, you can read about them in this issue. We are all looking foward to seeing and playing with these fantastic machines, and will report the results as soon as possible. Our local dealer, Computer Palace is probably the largest remaining Atari dealer and should be one of the first to get them. Their new catalog is out, and if you want to get one of the first machines, you might contact them (2160 we. Tith Aves, Eugene, OR 97402, 1-800-452-8013). ACE will keep you posted, but, I'm afraid to announce, we need to increase fees because of increased postal expenses. Starting March 15, 1985, ACE will be $14 If you renew early, you can still do so for $12 if we get it before that date. To know when you have to renew, the number code on the mailing label is the month and year you last renewed, so your subscription is up the month before, eg. 2P4 means your renewal date a year. is January, 1985. To encourage early renewals, 50 we can pay some bills, we have a special offer until March 15. An early renewal, plus any Disk or Tape in the library for only $20; $25 for a double sided disk!! 13 Speaking of disks, some new ones are going to be ready soon at the usual prices. ACE modem disk has several specialized programs, including a Atari 1030 Modem program allowing downloading and 2 versions of KERMIT, uritten in Action! and compilied and debuged by our friends at MicroBits -- one for their Modem and one for those using the 850 interface. Stan Ocker's complete xYPlot and XYGraph programs as described in this issue take up an entire disk and will be available. We also have a new “freeware” program, a Word Processor written in BASIC by Larry Farmer, available for the asking if your order has a spare disk side to put it on. Other "freeware" programs are The Financial DataBase by Richard Kalagher and RAM test a professional level program donated to ACE by MicroBits (225 3rd AVE. Su, Albany, OR 97321). Robin Sherer, who used to be Educational Software, has recently moved to Eugene and formed a new company, Computers Made Simple! (1974 Buck St., Eugene, OR 97405 (503)344-2767). Robin was one of the first people to write about the Atari, and started his Tricky Tutorials teaching many Atari owners to program. These consist of a disk or Santa Cruz tape of programs, as well as a well written manual teaching various aspects of how your Atari works. Subjects include such things as Display Lists, Scrolling, Page Flipping (discovered and developed by Robin, TI believe), PM graphics, etc. when they first came out they cost $30 and up, and were well worth it. Now, you can $9.95 each direct from Robin. He has many other utilities and programs for very low prices. And for those who have had problems getting his wonderful new book, The Master Memory Map, Robin will send it to you for the list price ($16) and he will pay the shipping. He also has his original 40 page version available to ACE members for only $4. get them for only Another bargain this month is from LJK (7852 Rig Bend Blvd., St Louis, MO 63113). You can get Letter Perfect with its built in spelling checker, Spell Perfect and ata Perfect for $99.95 for all three! Ralph Walden's implementation of the C programming language, called "ACE-C", is available from the library. Complete documentation is on the disk. If you want to learn a new language, this is an excellent way to do it. You will need a book which explains how to program C in general. The documentation suggests a good one.
Page 14 (scan)
XYENTRY UPDATE I seem to have made an oversight in writing ‘XYENTRY’. | filled it with all sorts of fancy things; display list interrupts, PM graphics and even a timer program running in the background, forgetting | was plan- ning to load in other programs from this one. So all of the fancy things have to be disconnected. | suppose it can be done but it’s far easier to not have used the routines in the first place. If you want to use ‘XYENTRY’ as given in the last issue, you can. Just create your file and then hit system reset and load ‘XYPLOT’ to graph it. If however you want to run 'XYPLOT' automatically from "XYENTRY' the following changes are necessary: (1) in line 20 use underscores instead of blanks in NBLKS (2) enter line: 25 POKE 708,34:POKE 709,178:POKE 710,184:POKE 712,10:DLIST = PEEK(560) + 256" PEEK(561):POKE DLIST + 3,70:POKE DLIST +6,6 (3) get rid of the GOSUB 3000 in line 30 and DELETE all lines above 2000 (4) replace the POKE 694,0 in line 310 with POS. COL-1,ROW:PRINT:"”; and get rid of the POKE 694,0 in line 410 (6) line 420 should read: IF K = 155 THEN 500 (6) add OR K =46 to the others in line 360 (7) delete lines 899 through 920 and any references to these lines (there are quite a few) (8) add a semicolon to the end of the print statement in line 1082 (9) copy lines 80-84 and 742 from ‘XYPLOT" (10) line 170 should read: ?CHRS(125):POS. 10,10:?"LOADING XYPLOT":RUN“D:XYPLOT” You should of course have ‘XYPLOT’ on your disk. These and a few minor cosmetic changes should allow you to run either program from the other. The slow initialization time of ‘XYPLOT’ can be helped by putting the ML program in strings. The result (I've done it) is all but unreadable in print though so I've provided the DATA statement listing for printing in the newsletter. — Stan Ockers XYGRAF PART Il XYPLOT' is the graph drawing portion of ‘XYGRAF'. It takes files of XY data from disk and converts them to X-Y graphs on the screen Provision has been included for dumping the screen to a Gemini 10X print (an Epson MX80 with Graftrax should work as well). You may plot more than one file on the same screen. Any points falling outside the limits determined for the initial plot will be clipped. Points may be plotted individually or a line connecting point-to-point may be selected. When the program is initialized, a set of data from disk may be read in automatically. You will be presented with a number of options. If you wish a different .DAT file select number (1). Option (3) will list all DAT files on the disk. Selection (2) will plot a graph and provide axes. Scaling will be done using the minimum and maximum values of X and Y as limits. Any previous graph will be cleared when using this op- tion, You may wish to choose your own limits, provide axes titles and choose point or line plotting. If so, select option (4) before using (2). If you wish to draw a line plot as well as marking individual data points, you can use option (2) for one, (say line), go to the choices menu (4) and switch to the other. When you return to the main menu, option (6) can be used to add the points. Option (5) can also be used after loading additional files from disk to give multiple curves on one graph. Remember, the limits will be those determined when first using op- tion (2) and any points outside these limits won't appear. Any time you want to display the graphics screen use option (6). It will be displayed until another key (I use the spacebar) is pressed. Selection (7) prints the screen to a Gemini 10X printer. The pixels are tripled up horizontally and doubled up vertically for 960 X 384 dots. This takes a little while so be patient. You can clear the graphics screen using option (8). You may wish to do this if you want to plot a curve without axes. If your data needs to be changed, option (9) will automatically load "XYENTRY’. Choice (4) of the main menu brings up another menu providing a number of options. The first lists the current values of the limits of X and Y. If you want to change any of these, choose (1) and you will be presented with yet another menu. As you pick limits try and make the difference between them multiples of 10. This will give you the best scale values. If Y values fall between 1 and 1000 they will be listed normally on the graph, otherwise you will get numbers between 1 and 10 expressed to cenths with an exponent in the lower left corner. X scale values work much the same except there is a little more room 80 you get numbers between 1 and 10000 or decimal values to hun dredths. Negative numbers are printed in inverse. The spacebar will return you to the choices menu and used again will return you to the main menu, Titles may be placed on the axes or across the top (graph title) us- ing choices 2,3 or 4. The titles will be approximately centered on the axes. You may choose either a full grid or just tic marks by toggling with choice 5. The final choice (6) determines if just points or a line between points will be plotted. | haven't had time to extensively test this program so be sure to let me know of any bugs or suggestions for improvement — Stan Ockers RR. #4, Box 209 Lockport,IL 60441 NOTES: The material from Stan Ockers is unusually voluminous this month. We are able to present only part of his listings in the newsletter. If you want the whole diskfull of programs, you may obtain it from the club Librarian. We omitted a second listing to use with the Computer Appliance In- terface from last month. This listing is an automatic telephone dialer. Look for it in this issue. SERPENT’S STAR The Serpent's Star by Broderbund is a graphics adventure set in Tibet. You are Mac Steele, world famous archaeologist and treasure seeker. Your quest is for the Serpent's Star, a legendary gem which is supposed to grant immortality to its owner. The key to finding the gem lies in thirteen ancient scrolls. Ten of these scrolls lie in a museum in Tibet, the rest are waiting for you in the wilderness. After translating the scrolls to find the resting place of the gem, you must journey to Kara-Koram, a city existing for only one day a year. In your way lie kleptomaniactic monks, blood- thirsty wolves, and a fellow Westerner who cannot get drunk (no mat- ter how many drinks you buy him). Are you man enough to handle these challenges? Now for the nitty-gritty. The Serpent's Star is an adventure using typed commands, with an added graphics package designed to aid in the adventure, as well as making the whole lot more enjoyable and less the eyesore straight text adventures can be. The program in- cludes an on/off toggle for sound, although I didn't find much sound anyway. The road graphics are o.k., pretty much the same scenes no matter which road you are on. There are some outstanding graphics in other areas, witic! more than balance out the not-so-good portions. The adventure itself is good, but many adventures are very similar, so you play one and you've played 90% of them all. The vocabulary the computer uses is the standard package, with the usual “speciality” words applying only to this adventure thrown in (.e. Bud- dha, scrolls) Overall, | call this adventure 0.k. to good. | find nothing outstanding to just rip me away from something else, but it is a nice change from the usual routine. — Aaron Ness 14
Page 15 (scan)
MULTIPLICATION FLASHO Every year grade school children across the land renew their efforts to master the multiplication facts. For a few it is easy, but for most it ranges from hard to down right nasty. My youngest daughter was quickly convinced it was simply impossible. Flashcards helped some but it was still a bit of a teeth gritting experience for all involved. | decided to try to write a flash card program to be fun, friendly, and not too childish for a grownup fourth grader. The result was FLASHO. Its immediate success was a bit of a surprise to everyone. However, no one was more surprised and pleased than my daughter, the new record holder for the fourth grade multiplication speed test. As you probably recall, a traditional flashcard drill works something line this: First the teacher displays a card giving a multiplication pro- blem, say 6x7 =?. You are given a few seconds to come up with an answer (speed is important since it doesn't help much if you have to do the problem on your fingers). If your answer is correct then everyone is happy. However, if the you are wrong, then (a) The teacher gives the correct answer, trying not to groan because this is the seventeenth wrong answer so far. (b) You feel increasingly uncomfor- table because your lack of skill is so openly exposed. Isn't this fun! Now you remember why you always enjoyed this little exercise so much. Now, | am not going to try to convince you FLASHO is going to make learning the multiplication facts more fun than playing Star Raiders. However, FLASHO does remove some of the unpleasant aspects of the process, and it is certainly less dull. The program does not get irritated or impatient no matter how many mistakes you make. Also, FLASHO always remembers to give you a pat on the back when you are doing well Each FLASHO “game” consists of 48 problems. The problems are displayed one at a time and a joystick is used to select the correct answer. The name FLASHO, comes from the flashing “O” that is posi- tioned by the joystick to select the answer. The object of the “game” is to see if you can beat your previous high score. This competing against yourself is fundamental to this type of learning approach. With just a little effort you can get a better score each time you play. This is the technique coin-op arcade games use so successfully to keep the quarters rolling in, Here this technique can work to keep the student going a bit longer. The object of FLASHO as a teaching aid is to assist the student to memorize the multiplication facts. For this reason, quick correct answers get more points than slow correct answers. Also, no points are deducted for incorrect answers (remember, the program does not get irritated with a slower learner). You can get a higher score by go- ing quickly and missing a few problems than by going slowly and get- ting them all right. This emphasis on quick recalll is important since it forces you to memorize the answers to get the highest scores. Coun- ting on your fingers literally does not count for much with FLASHO. USING THE PROGRAM When you first run FLASHO you are asked to enter the highest multipliers to are to be used in the drill. For example if an 8 is entered, the problems will range from 2x2 to 8x8. Each game consists of 48 problems selected at random. When a problem is presented, use the joystick to point to the answer, and use the trigger to confirm your selection. It usually takes a couple of games to get the feel of the stick and then it becomes second nature. If your the answer is correct you get a “yes” beep and it's on to the next problem. If the answer is wrong, you get a “no” tone and the correct answer is displayed. After each answer the score is updated and the time to respond to the last problem is displayed Since the program emphasizes speed, you will get a rest break after each 12 problems. Pressing the START key starts the next set of 12 problems. At the end of four sets you can press START to begin a new game or OPTION to end. When you end the program, a table is displayed showing the number of correct and incorrect answers for each problem. This table can be helpful to both the teacher and stu- dent since it clearly shows the areas that need special work HOW THE PROGRAM WORKS FLASHO is 100 percent BASIC and uses graphics mode 1. The following “take-apart” discusses the various sections of the program in the order in which they are run. 15 Lines 710-790: Introduction and Prompt for user to enter highest multipliers to be used. 800-930: Draws the static part of the display and initializes program variables. 1250-1470: Stores the pat-on-the-back messages in S$ for easier ac- cess. Additional messages can be added at line 1460. S$ has space for up to 100 14-character messages. The last message must be “END”. 940-1130: Starts a new game if the START key is pressed (see line 150) or ends the program if the OPTION key is pressed, When the pro- gram is ended, the rightwrong counters are displayed by lines 4140-1240, 150-260: Starts a set of 12 problems. Problems are selected at ran- dom. A special check is made to try to avoid repeated a problem if it has already been answered correctly. 270-430: Joystick handling routine. Joystick 1 is used to position a flashing "O" to desired answer. 440-490: Response to incorrect answer. The correct answer is displayed for several seconds before going on to the next problem. 500-560: Response to correct answer. 570-650: Display current score and time required to answer last pro- blem. 660-700: Display a pat-on-the-back message after four correct answers in a row. NOTE FOR XL COMPUTER USERS If you are using an Atari XL computer, you need to make a change ‘on line 610. Change the value 4.65 to 5.39. This change compensates for fact that FLASHO runs about 15 percent faster on an XL computer than it does on the earlier models. — JA. Carr BLACKHOLE Converting popular board games to the ATARI, has become a favorite pastime of mine. One such game, which has become a hit among my friends and |, is called Blackhole. It's a take-off of a game called Blackbox, | saw some time ago. The object of the game, is to find 1-6 holes, hidden in an 8x8 grid. This is done by injecting light rays into the grid, analyzing the results, then logically pinpointing the locations of the hidden holes. The path the ray will make through the grid is simple. A ray will either be ‘A’ - absorbed, ‘R’ - reflected, or ‘aa b.b etc.’ - refracted (remember your high schoo! physics?). Absorbed means hitting a blackhole dead-on causing the ray to be swallowed up. Refracted means the ray has come within 1 square to the left or right of its path, causing it to retract 90 degrees away from the hole, and resume movement until it exits the grid or meets another hole (confused yet”). Reflected means the ray has come out the same place it was shot i Movement around the perimeter and through the grid is done by the 4 arrow keys, (without the ctrl key), The ESCAPE key toggles you in and out of the game grid, The RETURN key will shoot a ray into the grid, if you are on the perimeter, or place/erace a dot, to indicate to the computer where you think the hole is, if you are inside the grid. Final- ly, pressing the SPACE BAR, in or out of the grid, will give you a pro- mpt asking if you want to see the final outcome. (choose ‘Y’ after you've marked all the holes in the grid, or if you give up). Hitting any other key or wrong input during the game, will produce a bell like tone. ‘A point is added to your score for every ray result around the perimeter, and 3 for every hole you placed incorrectly. When the com- puter shows the results, there will either be a; (i) dot - correct place- ment (yipee!), (ii) diamond - a hole location you didn’t choose, or (ii) cross - you chose it but the hole wasn't there. The lower your overall score the better. | realize the game seems complicated but it isn’t. The best way to learn it, is to select to place your own holes, at game start, then wat- ching the way the rays react to the known hole locations. Start with 1 then build up until you think you understand it. Then let the computer choose the locations up toa limit of an insane 6, There are a few other little nuances in the game you'll discover only by playing it. Hope you like it... it surely grow on you!! — ED SCHEMBRI
Page 16 (scan)
Atari Computer Enthusiasts AC.E. is an independent, non-profit and tax exempt computer club and user's group with no connection to the Atari Company, a division of Warner Communication Company. We are a group interested in educating our members in the use of the Atari Computer and in giving the latest News, Reviews and Rumors. All our articles, reviews and programs come from you, our members. Our membership is world-wide; membership fees include the A.C.E. Newsletter. Dues are $12 a year for U.S., and $22 a year Overseas Airmail and include about 10 issues a year of the ACE Newsletter Subscription Dep't: 3662 Vine Maple Dr., Eugene, OR 97405. * President— Robert Browning, 90 W. Myoak Dr., Eugene, OR 97404 503-689-1513 Vice Pres— Lary Gold, 1927 McLean Bivd., Eugene, OR 97405 503-686-1490 Secretary— Bruce Ebling, 1501 River Loop #1, Eugene, OR 97404 503-688-6872 Librarian— Ron and Aaron Ness, 374 Blackfoot, Eugene, OR 97404 503—689-7106. Editors— Mike Dunn, 3662 Vine Maple Dr., Eugene, OR 97405 / 503-344-6193. Jim Bumpas, 4408 Dillard Rd., Eugene, OR 97405 503 / 484-9925 E.RA.C.E. (Education SIG Editor)— Ali Erickson, 295 Foxtail Dr., Eugene, OR 97405 / 503-687-1133 ERA... Corresponding Secretary— Robert Browning, 90 W. Myoak, Eugene, OR 97404 / 503-689-1513 Send 50c stamps or coin ($1 overseas) to the Ness’ for the new, updated ACE Library List-new in May 84 | Best of ACE books Volume 1 contains bound issues of the ACE Newsletter from the first issue, Oct 81 to June of 1982 Volume 2 covers July 1982 to June 1983 Only $12 each ($2 extra for Airmail). Available only from: George Suetsugu 45-602 Apuapu St Kanoehe, HI! 96744 SontFinder 1.2 A composite index of Atari related articles trom 5 popular computer periodicals from Apr '81 to June 83, including ACE. Only $6 for ACE member from Jim Carr, Valley Soft 2660 S.W. DeArmond Corvallis, OR 97333 3862 Vine Maple D- ©7405 FIRST CLASS MAIL TYPESETTING FROM YOUR COMPUTER ATARI OWNERS: If you have a modem, text editor, and com- munications program to send ASCII files, you should consider the improved readability and cost savings provided by TYPESETTING your program documentation, manuscript, newsletter, or other lengthy text instead of just reproducing it from line printer or daisy-wheel output. Computer typesetting by telephone offers you high quality, space-saving copy that creates the professional image you want! Hundreds of type styles to choose from with 8 styles and 12 sizes “on line’ And it's easy to encode your copy with the few typesetting commands you need COMPLETE CONFIDENTIALITY GUARANTEED — Bonded for your protection — PUBLICATION DESIGN, EDITING, & PRODUCTION ICSE 30 East 13th Avenue Phone 503/683-2657 Eugene, Oregon 97401 Bulletin Board (503) 343-4352 On line 24 hours a day, except for servicing and updating. Consists of a Tara equipped 48K Atari 400 with a TARA keyboard, 2 double-density double sided disk drives with an ATR 8000 interface, 2- 8" double density disk drives, an Epson MX80 printer, a Hayes SmartModem; running the ARMUDIC Bulletin Board software written by Frank L. Hu: band, 1206 N. Stafford St., Arlington, VA 22201. See the Nov '82 issue for complete details.