Dale’s Atari 800 Games › ACE newsletters
The newsletter of ACE, the Atari Computer Enthusiasts of Eugene, Oregon. Read the scanned issue (PDF).
Scanned and archived by Kay Savetz, from ACE Volume 1, the collected early issues on the Internet Archive: Atari Computer Enthusiasts Newsletters Volume 1 (in the Computer Newsletters: User Groups and Flyers collection).
In this issue:
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.
Pee ana prereng eee A OMPUTER ONTHUSIASTS 3662 Vine Meple Dr Eugene OR 97405 VOL IT ISSUE 4 JUNE 81 MaR. DUNN. ERTTOR LOOSE BITS hy Stacy A. Gaff An item of considerable discussion recently has been the issue of standardization among microcomputer systems. This issue affects all of us by reducing the amount of software available to us, and by increasing the casts af the software that is available, There are probably over 800,000 installed microcomputers taday} there exist over 40,000 application programs for thase computers, most af which can only run on less than 20% af the installed systems. There exist more than a dozen different “standards”, at least ane for each different manufacturer, in each area of programming languages, operating systems, and procedures. It is understandable that differences will cay due to different technologies, as wall as different capabilities among systems} however, lack of coardination and standardization between microcomputer system manufacturers will, in my opinion, be the greatest factor in slow acceptance af computers in the home and small business, It is significant to note that the Japanese computer companies, wha seem to be intent upon showing us over and over again how we should do things, have agreed to a level of standardization that allows individual technological differences while retaining a greater level of commonality than wa have experienced, Two current events show that there is hape for better standardization in the future, and the nature of their impacts differ considerably. The announcement of Atari’s few Microsoft extended asic language, to be available sometime in the fourth quarter, GOTO 14 From the Editor This is a very special issue, and the best yet! Not Decause of me but because af the wonderful support our many members from all aver the world have Seen giving the newsletter. All of the articles were written by you, except for a few that were reprinted from other Atari Club newsletters-with their permission, af course, Much of the issue is devated to the diFFicuit subject of BASIC and Machine Language interfacing, a subject in which I claim no expertise, If you are a beginner, please save this issue for the future, when you may need it! Also is a fine review of the controversial new saga “The Sande of Mars", by 4 writer new te us-this was his first ~ month as 4 member end already has submitted this well written review. Controversial because everyone I have spoken to over the country about Atari matters nas mentioned it, and have either loved it or hated it, I think it ig a remarkable programing achievement, especially the scrolling; hut others have found it a bare and not warth the meney. As the Editor of our Newsletter, I try to teach you the joys of the Atari computer} but as a physician and pediatrician, it I must algo warn you of the dangers, With the enthusiastic permission of the Publisher af the Mew England Medical Journal who wishes to publicize this new, rapidly grawing, public health menace, J bring you the complete article about that dreaced new disease, Space Inyaders Wrist the bane of Atari comauter user’
-the following reviews are by Ensign Steve
Berg, stationed in Subic Bay, Philippines.
He is one of our many members in the Armed
Forces stationed averseas, and is very
interested in playing and reviewing games,
especially Adventure games. Here are some of
the games he has reviewed; I hope to hear
more from him soon.
REVIEWS—-by Steve Berg
Mountain Shoot-Adventure
International,Bax 3435, Longwood, Fl 32750
{800-327-7172 89,95.
T found this an entertaining game
where you input elevation and powder} then
try to hit your opponent’s gun on the ather
side of the mountain. The mountain is
changed every time a gun is hit, The wind
also varies, and the game has 3 skill
levels, It has nice graphics and sound
effects.
Pirate’s Adventure~Adventure
International, $14.95,
This is one of the easier, but
challenging and humoraus Adventures hy Scott
Adams, taldng place in Treasure Island, It
utilizes no sound or graphics, You control
your puppet be simple two ward commands)
ie. GET HOOK, It is a real challenge to
find the treasure and Scott's humor is great.
Twish the game offered more variety so the
challange of finding the treasure would
remain after one’s initial aucress,
Datestones of Ryn Automated
Simulations, 1988 Leghorn St. Mountain View,
Car 94043 $14,953,
This is the introductory game (Haw do
you prancunce Ryn?) to the "Dunjanquest*
series. It has excellent graphics and gaad
saunds, but cauld be even better (How about
some screams from the "thieves"?), I would
suggest though that you start with the
“Rescue of Rigel" for 3 reasons, First! In
Datestones the thieves and datestones never
seem to vary in their locations} only a few
*heasties" are randomly generated, Second:
the "dungeon" is only about 10 rnams, s0,
after playing it a few times, it is easy to
memorize, Three! the cassette version
requires you to relaad the files after each
game, taking several minutes to da so, and
since each game takes only 10-25 minutes to
play» you spend a lat of time waiting, A
Dist version would be better from this
standpaint! “Rescue at Rigel" is advertised
as lasting longer (60 min.) and the
prisoners are randamly placed in the maze
aach time you play, -
In spite of the abave remarks, I
really enjoyed the game, and “Datestones*
has certainly whetted my appetite for the
larger Dunjonquest games like the "Temple of
Apshat*(Haw do your pronouner that?”.)
“Next month I hope to review the first game
for the Atari by Avalon Hill (4517 Hartford
Ra. Baltimore, Md, 21214), Conflict 2500, a
game T have just received.
WANTED
ANY pragrams in BASIC At
ANY programs in FORTH
ANY pragrams using Player—missile graphics
ARTICLES iltustrating the how and why of
the programs above would be especially
appreciated, like the one by Stan Qckers in
this issue.
The programs from above will be used
tath in pur exchange library, or in articles
that illustrate what you have done.
-MODEM programs, especially a BULLETIN BOARD
and pragrams that can transfer Tokenized
files on the phone efficiently.
-CASSETTE based EDITOR so members can submit
articles on cassette if they don’t have a
disc. If you want to write for ACE and have
adisc, let me know and I can send you an
Editor,
~REVIEWS of software you tought and enjoyed.
In depth raviews the best. Reviews by
children alsa wanted,
“HARDWARE projects you have dane,
“Editor
News from our Atari Rep
New Atari Prices
Atari has lowered the
item! Atari 400 with 16%
printer $299, Music composer an
340, 14K RAM $100, 2K $50,
a
Stay Raiders
There are also “specials” for May to August,
Free 16K with an 800, $200 aff cn the 825
Printer and $50.00 off on the interface:
There are ather specials, so visit your local
dealer!
Atari Computer Enthus—
iasts Meet in Seattle
Sat’ Tune 27.
Since the Atari User’s Conference last
met in Portland January, the number of Atari
home computer users has roughly doubled. The
number of dealers and users groups has more
than doubled!
Due to this rapid grawth, the Atari
Computer Enthusiasts are preparing to meet
again. The next conference, with five user’s
group participating, is scheduled for
Saturday, June 27, in the Seattle Area,
Those interested in attending should
visit their friendly Atari dealer AFTER June
10s
T look foward to saing yau in late Tune,
~Bridget Schwarz, Reaves and Associates,
Portland
Microsoft BASTG
At the Chicago NCC show this month,
the long anticipates Microsoft BASIC was
offically ammounced. Over the laet few
months; I have heard many rumors about this
new Atari BASIC, and have spoke to “informed
sources" within the Atari Comeany and also
the Microsoft Company. What follaws is what
I have heard-note some cf it is
contradictory.
~it will be available in the Grd or 4th
quarter, first on Disc, then on ROM.
“It is exactly like TRS-30 Leval 3, with
extra graphic commands (7like TRS-calor
BASICN.
-It is not like any existing Microsoft, but
acomplete re-write that is mare advanced
than any other Microsoft BASIC.
-It has (some),ino)s tmany)-take your
pick-Player-Missile commands,
“it is complete now, awaiting only
dosumentatian,
“It is nat yet in final form, awaiting a
decision on what type of Graphic commands,
will be included, :
-ELCOMP MICROCOMPUTER MAGAZINE
(Tegernseerstrasse 18 D-3150 Holzkirchen,
West Germany) is an amazing German language,
mostly hardware orientated, magazine
published by Winfried Hofacker, I had the
goad fortune of meeting him at the $F:
Computer Faire and we have exchanged our
Magazines and letters since. The June issue
has articles such as interfacing Angle cards
with other 6502 computers-they market an
interface that does this, even for the
Atari- and a camplete report on the Chicago
NCC held this May! How he can go to Chicago,
write a report and publish it in Germany,
then send to me in Eugene in less than a
Month is incrediable, If you can read
German, or at least enough to figure out
what you want translated, I strongly suggest
yeu subscribe to thig magazine,
Al this leads up to the only
published spec’s on the new Micrasoft, The
foilawing is a translation!
"Atari presented the new 16K Microsoft
BASIC on disc, which we have not seen yet
in such a saftware system, It is only
operational on Disc and shall later be on 2
ROM’s. It has the following functions?
INSTR, INKEY, 14 Digit Precision, 7
DiMenstion variables, Pricrity functions for
color and background, Multiple arguments,
RANDOMIZE, Common chain variables, AUTO line
number, DELETE, VERIFY, SAVE INSCRIPTION,
VERTICAL/HORTZONTAL Scrolling, and mavements
on the screen with a BETA command.” ELCOMP
also reports 2 new Business system which can
address {92K being developed, which will use
44K memory boards,
-Take your pick of the above, I'll Keep you
posted.
Wsing - The following is reprinted from the April issue of the Bay Area Atari User’s Group Newsletter. It ts an excellent intraducticn te the use of machine language routines to go with Stan Ockers article, ME?..Machine Language? -Paul Conrad Yas; sooner or later the urge is bound to strike you to tacide a little machine language (msl? One of the enjoyable things about the Atari system is that little forays into ml. land don’t need to be painful. Ones you see that high speed action or the hour Iong job finish in a couple of minutes, machine language will be worth the extra effort, The link to mi. in the Atari system is the USR instruction. Following are some examples of saveral USR statements. SR(1536,52,8,B+20) in the first example, the cade which has been stored as charactors in the charactor string A$ is to be executed. When execution is complete the values Jeft by your routine in storage positions 212 and 213 will be canverted to a decimal value and placed into "X". After this is complete, control will be returned to the next BASIC instruction. ‘The second example works almost exactly like the first, except that the machine instructions are stored at position 1536, This is a popular position because it is the start of page 4 in storage where Atari has reserved room for user machine language routines. In the third example I have eniarged the USR request by including same values gther than the location of the ml. code, These values are known as parameters and they tell our-routine certain numbers which may change each time the mal. code is run, The first value is 52 and is a constant which wen’t change with each USR request. The numeric variable "B? will be checked by the BASIC and the current value of “B" is the program will be substitued, Then 20 will be added to “B" and passed as the next farameter, ASH The system will automatically place all these values into the machine language stack within the computer and then start executing your md. cade, Yaur cade must +) then pull these values off the stack and work with them as needed, Since I’m not going to present 3 full tutorial here, that will be aii I’m going to say about the stacking of values. ‘The next critical thing to understand is the way your BASIC program may include machine language code. It is expected that most machine language work will te tied into BASIC programs which will da mast of the complicated graphics and 1/0 work. I will discribe four different ways to combine BASIC and md. code, These all require some kind of program assembly, either by hand or the assembler cartridge, to determine the size of your mls routines First, use a DIM statement ta set aside space far a character string the length of your rautine, Next, place DATA statements in your program af the decimal values for each byte af your ml. routine. These valves will all be less than 254, Next, write a short loop in your program to READ a value and FOKE it into the next position of the character string, Finally, place the X=USR(ADR(A$)) statement in your program when you want to execute the mi. nde, Be sure the string you DIM, POKE into, and specify in the USR statement are all in the same string. A second method is to convert each of S) the md. bytes into its decimal value and =~ than put the ATASCII charactor af that value into the next charactor string position. ‘Your program will than have a DIM for the string, a statement like AS=%!##/9B",and a USR statement like X-USR(ADRIAS). You must be careful to put the right charactors into the string containing the ml. coding, Using the Assembler cartridge ana a disk drive, there is another way to add the machine language to your BASIC program. IF your routine is less than 254 hytes, you may write the code to begin in pos. 1538 ($0800), Save the assembler abject code on disc. Then, write a routine in your BASIC program ta OPEN the abject code for reading.
Functions Bypass the first six bytes of the object file with a loop to GET #1 six times. Follow this with a loop ta GET the next byte From disc and POKE into the naxt storage position until you reach the end of your program. Finally, a fourth technique would be to use DOS to load object cade into starage which the BASIC will not Gear, such as page six, LOAD your BASIC pragram, and then simply say X=USRU534) to run the machine language code, This is just a very quick introduction ta machine language use but I hope it’s enaugh to get some of you to try these fascinating way to expand the capabilities of your system, ~The following is reprinted fram the San Diego A.C.E, Newsletter, and further explains the machine language-SASIC intergration. MORE..0an USR function ~by John Harris, San Diego A.C.E, T have been asked to explain the interface to machine language from BASIC with the USR functian, It is basically a narmal machine language call, ‘like a JSR instruction), but has some differences: The format of the USR call is USRiaddress, valuel, value2,..) Address is the address af the machine language routine; valuet and value? are values passed ta the routine, These values are passed to the routine on the 6502 stack. Ta get the values from the stack in the machine language routine, use the Pull Accumulator instruction (PLA), These are 2 value byte numbers, so you will have to da two PLa‘s for gach value passed. There is one more trick, The number of values you have entered is placed on the top of the stack, That umber has ta be pulled aff before the actual values. For example, if the BASIC call was JSR(7000,16,4096), the value on the top of the stack would ba 2, for the two input values 14 and 4094, The address 7000 is not counted as an input parameter, Example The cali from BASIC is USR(7000,16,4076) The machine language code starts at 7000 decimal, The First thing it wauld do is @ PLA instruction ta remove the number of arguments, 2 in this case, Then two more PLA‘s would get the number 14, and anather two would get would get the number 4096, The last thing I shauld mention is that the values an the stack are stored as high byte first, then low byte; nat low byte, high byte as in Aesembly language addressing modes. Se ay Dan White, Eugenes Or PAGE- A byte consists of twa 4 bit digits, Each digit can hold the numbers 0-15 tor HEX $0-$F)} so two digits can hold and address up to (2°82 or 2°8 which equals 256. The reason is that each four bits (a nibble} can have 16 combinations of values and as there are two nibbles in one byte, a byte can hold 162 different values.P 4 page consists of a block of 254 (HEX #100) cantigaus addresses. When the ATARI addresses one of its 2"16(65536) bytes, it uses 4 nibbles. The first two nibbles specify the page number} the last twa indicate the byte in the page, For example, the HEX number $0SFF says “the sixth page, 255th byte," The 257th byte is the beginning of the next pages EXAMPLE OF A PAGE! $0800 -—~-—— — START OF PAGE 6 (1538) 256 BYTES (791) S06FF END OF PAGE 6 $0700 -----~~~- START OF PAGE 7 In the ATARI, page 6 (0600) is reserved for your use, This 254 byte area ig where your machine language programs may be put. #MEMORY LOCATIONS 712, 213-as decumentad in Appendix 11 of your BASIC reference manuai, are the law and high bytes of the value to be returned to BASIC from any USR function.
PRG
-by Stan Ockers, Lockport, Ii
Since reading an excellent article by
Chris Crawford in the Jan. 'S1 issue of
COMPUTE! I've been playing with ‘player
missile’ graphics, As the article explains,
it is possible to move images you create
arqund the screen independent of what
is displayed as a background, This is
done with very little calculation,
Changing a single memary location will
move the entire image harizontally,
while moving bytes up ar dawn in
memory will move the image vertically,
I've developed a set of machine
language routines which can be called
from BASIC to assist in missile-graphic
movement, These are nat necessarily
the best and certainly nat the anly
way of doing missile-graphics, but Z
hope what I’ve come up with will help
others in daveloging pragrams. Feel
free ta use whatever you see here and
T would appreciate your comments or
qiticism. ‘
T placed the routines in the unused
portion af memory in page six, I'll
cover only enough to get started in
this article, saving further routines
for laters First, a few words about
some locations I've reserved at the
top of page six. You often have tc
remember vertical and horizontal
positions af players, Table 1 tists
locations for this: Also listed are
locations storing pointers te areas
af mamary used to hold player images,
These have to he calculated because
they depend on the size of memory
in your machine.
Perhaps the best way to explain what
is going on is to go through an
actual program. Listing f is from
a program I cali Lunar ¥. The
machine language subrautines are
paked into memory in lines 20-44,
Line 34 contains a subroutine used
to load tera page locations 00CE and
OCC with tha start of memory assigned
to player X. Players are numbered
9 through 4 with player 4 being missiles.
At ling 28 is a routine which places
hytes representing player X into
memary at the eppropriate spat. It
is called using the USR function in
the farm | AaUSRU 604, X,ADDRNADDR is
the decimal address where player image
bytes are stored, The routine wilt
kee laading bytes until a zero byte
is found, Tt picks up the vertical
position Gncreasing dawn from the
top of the screen! from 1779,X. The
load player routine does not erase
what is already theres This is done
hy a routine poked in at line 44 and
called by A=USRIL706,X),
Major routines move the player
vertically. A=USRG637,X),poked into
memary by lines 40 and 41, maves him
downscreen and A=USR(1473,X), lines ,
42 and 43, move him upscreen. Traps
are included ta keep from roaming
into another player’s area of memary,
These can alsa be used ta limit the
vertical motion af players, Change
the 126 at 1678 (make it lower), or
the 1 at {483 (make it higher.
Setting pointers for player memory
is done in line 50. These are for
double line resalution meaning each
byte will cover twa scan lines an
the T.7, You could get smoother
mation using single line resolution,
hut double line is simpler for naw.
‘The 4 page gap (1K) between the end
of player memory locations and the
end of RAM is used by the operating
aystem for display purposes, the
amount used depends cn graphics mode.
Lines 40 and 62 poke data for images
into memory, The images (in order)
are the lander,the flame and the
crater, Various portions of the
flame are used depending on the
thrust (see line 195) Images are
stored in an unused partion of
memory at the beginning of the
migsile graphies area (START),
REM statemants should help you
understand the rest of the pragram.
‘Omit these if you have an SK machine
or if you dan‘t like ta type,
Lunar V
There are nq instructions inchided.
Just use a joystick in player 1
position te cantrol the thrust; up
to increase and dawn to decrease it,
You must land with a velocity
(absolute! Jess than 10 ft/sec to
get down safely. I try to maintain
about -90 Ft/see until I get to
around 1500 ft and then gour the
coals to it. You'll probably
davelop yaur own scheme, If it gets
too easy, you can always start off
with less fuel ‘line 100). Press
the start button for anew game.
TABLE t
MISS PLYR3 PLYR2 PLYR1 PLYRO
HORIZONTAL FOSITIONS:
1788 ..1787 1786 1783 1784
50252 $3281 53250 $3249 53248
VERTICAL POSITIONS:
1783 1782 1781 1780 1779
HIGH BYTE MEMORY VECTOR:
17781777 «1778 A7TS 1778
LOW BYTE MEMORY VECTOR:
1773, «1772)« 4774017701789
1 REM +0e# LUNAR V eeeeew
2 REM #* STANOCKERS ++
3 REM ## RR. 4 BOX 209 #8
4 REM ## LOCKPORT, IL +*
S REM *# S0441 48
6 REM #88 5-01 sexeensenes
10 DIM M$(20)
20 REM * POKE MISSILE-GR. ROUTINES +
30 FOR 151594 TO 1720:READ A‘PORE 1,
NEXTI
26 DATA 170,189,223,4,133,203,189,238,
64133,204,96
38 DATA 104,104,104,32,58,4.104,133,20
62104,123,205,188,243,6,142,0,161,205,
204 ,0)240,7,145,203,230,205,200
99 DATA 208,243,96
40 DATA 104,104,104,32,59,5,198,243,4)
200;1921126,174,21 177 ,203,208,247,136
1177;202,240,64200,145,203,136
Al DATA 208,245,200,1 45,203,254,243,6,
98
4Z DATA 104,104,104,32,52,4,189,243,4,
192,1,240,19,208,1,200/177,203,240,6r1
36,145,208,200,208,245,136,145
43 DATA 203,222,243 ,4,96
44 DATA 104,104,104,32,53,6,140,0,152,
145,203,200116,251,98
48 REM # VECTORS FOR PLAYER MEM +
50 A=PEEK(106)-@:POKE 54279,A‘POKE 177
4,A+2{POKE 1775,A+2:POKE 1769,0:POKE 1
TIO AQSSTART=2548 4.
58 REM ## PORE IMAGE DATA ##
£0 FOR ISSTART TQ START+26:READ A‘POXE
LAINEXT I
2 DATA &,60)12653 95)126,60)24,126,165
12910,20, 90,6636 ,3636124,24,24,9)24
160126,255)126,60,24,0
98 REM *## INITIALIZE VARIABLES +++
100 ALT=4500:FUEL=800/GRAV=SITHRUST=5;
FRACT=0,1!VEL#O:EMPTY=0:N=! 0iLN=11:POK
E 93287,0:POKE 77,0;GRAPHICS 17
102 TRAF 100 i
104 REM ##* MAIN LOOP STARTS HERE #4*
105 FOKE 53275,2uF N>1 THEN 120
110 REM ## DRAW MOUNTAINS IF N=1 «+
211 RESTORE 118
112 FOR J=t TO SIREAD X,¥,L.RiFOR I=0
TO LIPOSITION X+I,Y-Ht? #6;CHRS(UL4SuN
EXT MPOSITION X+L/Y-Li? #6iCHRS(254)
114 FOR Ie! TO RiPOSITION X+L+L,Y-L+l?
2 #4iCHRG(252NNEXT MNEXT J:FOR 1-8 T
© 11SPOSITION 1,221? #6:CHRs( 41)
116 NEXTT
148 DATA 671713,4 0.16 4:S:13)13;5eh 91
122,3,312,22,5.2
119 REM ## ERASE PREV, STARS **
120 RESTORE 1050+LN
122 READ X,Y:IF X=0 THEN 126
124 POSITION X,¥i? #6)" "GOTO 122
125 REM ** DRAW NEW STARS ##
126 RESTORE 1050+N
127 READ X,YtIF X-0 THEN 132
129 POSITION X/¥i? #6;CHRS(170NGOTO |
a7
120 REM ** INSTRUMENT LABELS #*
132 POSITION 0,017 #6;"ALT="(POSITION
12,08? 46°F UEL="IPOSITION 0,231? #67"
VEL='
$24 REM *# INITIALIZE MISSLE GR ##
195 POKE 999,46:FOXE 53277;3
13@ REM *## LANDER POS, AND COLOR *#
140 POKE 59249;128!FOKE 1779,10;POKE 7
04,200
143 REM #4 FLAME POS, AND COLOR #*
180 POKE $3249, 12@:POKE 1780,21iPOKE 7
05,68
192 REM ++ ERASE OLD - DRAW LANDER ##
190 A=USR(1705,0ASUSR(1706,1 SPOKE 1
790,/PEEK(1779}+1 LLA=USRU1606,0,START)
171 REM #* SKIP FLAME 40% OF TIME #*
172 IF RNDO0.6 THEN 200
195 PLAME=START+20-INT(ITHRUSTHNA=USRUL
604,1,FLAME)
195 REM #* UPDATE VARIABLES 44
200 ACCEL=THRUST-GRAYV
220 VEL@VEL+FRACT*ACCEL
240 ALT=ALT+FRACT#VEL
250 REM ** TEST FOR SURFACE ##
260 IF ALTCO THEN POSITION 5,0%?7 #6;"0
“GOTO 900
290 FUEL=FUEL-FRACT*THRUST
290 REM ** TEST FOR FUEL GONE #4
S00 IF FUEL<CO THEN FUEL=G!EMPTY=1THRU
ST=6
490 IF EMPTY=i THEN 350
49S REM 4 UPDATE THRUST WITH STICK *
500 S=STICK(O)
510 IF 8214 AND THRUST<9 THEN THRUST=T
HRUST+0.5
‘520 IF $=13 AND THRUST}O THEN THRUST=T
HRUST-0.5
$40 REM #* UPDATE POSITION #+
580 SOUND 1,25,4, THRUST: YFOS=(#450-AL
T)/S+{Q}POKE 1779, YPOSIPOKE 1780, YPOS+
ML
590 REM #+ PRINT VARIABLES #5
£00 POSITION 5,0'7 #6)INT(ALTH" “IP
CSITION 4,22:7 #A;INT(VEL}" “IFOSIT
TON 17,087 #4;INT(PUELN" "
605 REM ** TEST FOR NEW SCREEN 3*
610 IF YPOS>100 THEN LNSNIN=N-(1YPOS=1
NGOTO 105
$20 IF YPOS<10 THEN LN=NIN=N+{IPOS=100
sGOTO 105
$90 REM ** REDO MAIN LOOP +
790 GOTO 190
290 REM ## TEST FOR LOSING ++
200 SOUND 1,0,0,051F VEL<-16 THEM 950
301 REM ++ LANDED SAFELY #9
902 A=USR(L74, 1)
305 POSITION 0,2IM$="MISSION CONTROL"
iGOSUB 1000;? #4:""IMS="LUNAR V HAS LA
NDED..":GQSUB 1000
#10 M$z" CONGRATULATIONS ON"IGOSUB 100
OMS="A PERFECT FLIGHT !GCSUB i000:G.
OTO 9380
948 REM #4 CRASHED +4
950 A=USR{1706,0NA=USR1706, SRC
1404)1 START+21\FOR J=1 TO SPOKE $32
‘37, 1°POKE 53257,3
952 SOUND 0,100,4,14!POKE 23242, 120:F0
KE 52257,1}FOR I=1 TO 3NNEXT USOUND
14140,4,14;POKE 53249,116
954 POKE S2257,3\FOR Isi TO 30:NEXT It
SOUND 0,0,0,0iSOUND 1,0,0,0:NEXT T/POK
E 705.5,
995 POSITION 0,2iM$="MISSION CONTROL)”
SGCSUB 1000%? #6;""IM@="LUNAR 7 WENT O.
UT OF"iGOSUB 1000
340 M&="CONTROL AND DUG AGOSUS 1000:
? #6;"CRATER “jINT(ABS(VELI#3)}" FEET"
iMs="INTO THE MOON’S*;GOSUB 1000
970 M$s"SURFACE."iGQSUB 1000
975 REM ** TEST FOR START KEY #*
980 IF PEEK(53279)=4 THEN 100
990 GOTO 980
999 REM ## MESSAGE SUBROUTINE t+
1000 FOR Is1 TO LENG4$)~1!7 #6;M$(1,2)
HSOUND 0,50/10,S:FOR J=i TO i0:NEXT I
iSOUND 0,0,0,0/FOR J=1 TO 10:NEXTT
1010 NEXT Lf? #6;M$d,IYRETURN
4050 REM ## DATA FOR STARS #+
$052 DATA 1,4,7;11,28,5,0
1082 DATA 4,8,15,12,9)10,3)17,4,10,0
1053 DATA 2,4,6,10)15,3,5,5,5,16,0
1054 DATA 3,3,12,7;18)18)2,1,16,2,0
1055 DATA 7,7,10)10,17,3,0
1058 DATA 4,2,7,18,17,4,13,15,0
A057 DATA 5,2,14.14,12,9,2,13,0
1058 DATA 1,2,12,4,12,
1059 DATA 5,2,17,4)14,10,3.14,13,13,.0
1960 DATA 5,2,18,7)9, 1441,7,14:13,0
1061 DATA 2,3,9:15,15,2,0
1652 DATA 2,2,3,9,19,44
1062 DATA 9,3)1,5,16,14,0,0
Yeak. chis machine eeally does muiripts!”
Copyright ©1983 by Creative Com.
Buting. Moe nee aes Mors
Plains. NJ 07950. Sample issue $2.50,
4 2issue Subscription $20.
LOAD and SAVE Binary files
-by Michael Ekberg, Atari
At the first A.C.E. Computer Faire in
Partland, Or Jast January, Pam Yocum gave me
this program, [ have not used it, but it
fits into the rest of articles in this issue.
-Editor
This program allows a BASIC program ta
LOAD and SAVE binary data files from/to
disc. The listing includes a routine to do
the LOADs and SAVEs, and a calling program}
it also contains a list of parametes to be
gassed ta it and a return parameter
indicating success ar failure.
An example of the use of this routine
would be to load binary data into a string.
You would pass the ICCB, the address of the
string, the length of the string and the
CMD=7 far load charactors: You would then
call the routine by GOSUB 30000. Gn return
you would check far an error. If ERROR={
then it was a successful load} otherwise,
ERROR is the error code number.
10 REM CALLING PROGRAM
20 REM FUT GOSUB 32000 HERE
100 IOCH={:RYTES=286
{10 FILES="D:TEST*
120 CMD=7iSTADR=1S34!GO8UB 20000
130 IF ERRORO1 THEN ? "ERROR ~ “SERRO
Ri" AT LINE "}PEEKUS6)+PEEK(187)#256,
FEEK(95)
200 END
30000 REM taeeresereeenasentesaneneey
30002 REM ROUTINE BY M. EKBERG
30004 REM ATARI CO'?-3-20
30006 REM THIS ROUTINE LOADS OR SAVES
4 BINARY FILE FROM BASIC
30008 REM ON ENTRY CMD=7 MEANS LOAD A
FILE
20010 REM CMD=11 MEANS SAVE A FILE
0011 REM STADR= THE ADDRESS TO LOAD 0
R SAVE FILE FROM
30012 REM BYTES= THE # OF BYTES TO SAY
EOR LOAD
30013 REM IOCE= THE 10CB TO USE
20014 REM FILES= FILE NAME TO LOaD
30015 REM
30016 REM ON EXIT ERROR=1 MEANS SUCCES
SFUL LOAD
30017 REM ERROR<>1 MEANS ERROR STATUS
BOO18 REM seeei seis eae ee EEE
320019 GOSUB 32020
30020 AUX1=4s1F CMD=11 THEN AUX1=3
30035 TRAP 20700:OPEN #IOCB,AUX1,0,FIL
ESUOCHX=IOCHHS
30040 TEMP=STADRiGOSUB 30900
30090 PORE 936+10C BX, LOWSPOKE a37+10CB
X,HIGHIREM STORE START ADDRESS IN IOCB
30100 TEMP=BYTES:GOSUB 30500
30130 POKE 840+IOCBX,LOWIPOKE 841+I10CB
XHIGHIREM STORE # OF BYTES IN 10CB
30140 POKE 834+IOCEX,CMDiERRORsUSR(ADR
{CIOS}, IOCBXNERROR=PEEK(S33+1OC BX)
30150 GOTS 20720
20500 HIGH=INTITEMP/ZS4uLOW=INT(TEMP-
HIGH#256NRETURN
30900 ERROR=PEEK(195)
30720 CLOSE #1OCBiRETURN ‘REM EXIT
32000 REM LOAD AND SAVE INIT POINT
92010 DIM FILE$(20),CIO%7)
32020 CIOS="hhh*+LVd“tRETURN :REM ‘#’ A
ND ‘d’ are INVERSE charactors!
Line 32020 where CIO$="hhh#L.7d" with
"9" and "d* being inverse video charactors
translates to
SET USR FUNCTION CALLS CIO
PLA 5
PLA
PLA
Tax SET X TO 10C8 INDEX
(IOCH#t16)
IMP cio
PROGRAMMERS WANTED
A.C.E. is working with
severz#l software houses
to produce quality
games, utilities and
practical applications
for the ATARI+
Gne of the best is
Broderbund Software,
who have developed some
of the most popular
programs for the Apple.
Contact ve if you have
Programs you would like
some assistance in
marketing, and we will
pass the information on.
eeeStacy Goff, ACE
Sands of lars -The Sands of Mars is anew graphic-based adventure that sets anew standard for such games, It cames on two “uncapyable" Disks with a notice that if you try to copy ity you will destroy it. T have received a lot Of favorable phone calls from all over the country about this game, and everyone wanted ta review it! One member in California aven tried ta copy it Umagine!), and did destroy his disk. It comes on two discs (Crystal Computer, 12215 Murphy Ave. San Martin, Ca 95046 (408) 483-0494) $29.95) Hel, 1 had spotted Mars, and was fasitioning my self for a arcper iarcings Finally, I nad arrived at Mars, Ibagar my landing by cueing ay computer, Basicaily, all I did was do the opoosite of takiing off. I was too excited, and in the haste, Thad a rather rough landing, but I had made it, I was on Mars, Tlonked around ma) and saw many strange plants, and objects, I began walking North. T then opened my secret documents, which told me all ahout what I was suppased to da. I was an a mission to recaver the last explorers, and their captain, Doctor Grady. I was nervous, and The review that follows is hy Marc Russell Benioff, Basic Computers, 50 Warmwaad Way, Hilishorough, Ca, 94010 (415)344-4845, Tt was May 2 1981, Thad just again set North. arrived home, and preceded ta my mail box. When I arrived, I had found that my new I wag walking North with my crews program for Crystal Computer had arrived. when T heard fontsteps, I looked around, Finally, I would be able to explore on The and saw a giant lizard atacking my botanist. Sands of Mars, I quickly ran to my I killed it with my laar, and proceeded computer, falling several times in the onward. I was walling North again, when I excitament, and quickly booted the aragram: saw a man standing a hill, t tapped him on Thig .s my adventure on the Sands of Mara, the shoulder, and he quickly replied that 7 could findmy Doctor Grady in some place called Lemuria, T had heard of Lemuria as a Tread my documentation, and it was hive where monsters were horn, I still very good, I then was at the JFR continued. I came to a cave, with a door spaceport, and ordered my supplies. I was and knocked. A voice rang out and said, well equiped with at least one of “This is the entrance to the Meshim everything. I then told my computer to Labyrinths, da you want to enter?" I said begin the countdawar yes, and walked in. Twas startled to see my ship and + found myself in a tunnel, and the launch pad in front of me, and then I continued onward. I suddenly heard one of % saw my crew being loaded into the spaceship: my crew yelling for help, and I saw my ?} T was naw ready for liftoff, programmer was being aaten by a giant rat. T consulted my crew, but they were to scared My computer computer kicked in by to speak, I then decided that this was no giving various review instructions an haw to place for any human, and decided to leave, liftoff, and also checked my rockets. The T headed back to the doorway, and found countdown then began. 10,9 +9, 7) ete, Treasure. I decided not to take it because The whole rocket was shaking, and the twas carrying toa much already. I found bonsters kicked in, and the next thing I the exit, and left the Meshim Labyvinths, knew, was that 1 was already docked and being fueled at the orbiting space station. Twas back on the surface of Mars, The miracle of modern technology, I had and peaded dead South, I found same plants, done it, and I was on my way to Mars, but when I put it with my food it spoiled some of it} 1 was not hanpy. I then heard My voyage to Mars began by trying footsteps again, and realized one of thase to navigate myself through space, avoiding lizardmen were coming, I hid under a the blackholes, and alien creatures if mountain, and it was confused long enough possible, Suddenly, my computer was for us to escape, As-I continued South I flashing, and an alien appeared, it fired ance at me, but I was quick, and shat him to 10
saw another strange cave. I knocked. It said, “This is the way to Lemuria, do you want to enter?" I then remembered that Doc Grady was suppased to be in Lemuria, and replied yes. The doar opened, and I stepped insider wn M I began west in these tunnels, and realized they were gure emerald, bay where is my jeweler when I need him? I kept west “when suddenly I heard a noise, I looked around, and saw Doctor Grady with his hands up waving. My whale crew began to shout,"It's Doctor Grady." Doctor Grady told me all about his journey, and haw he got lost. He tald me he couidn’t open the cave door, and that he was glad to see us. He then brought me down to where to guards were standing, they said, *What is the password?" I of course saidy "scree ‘They maved away. We maved down a steep tunnel, and Doctor Grady showed us some Martian writings? he couldn’t translate them, but my archaealogist translated it, because he said it looked like the same writing style as on the Martain surface, he translated it, and we all were very impressed!!! We decided our mission was at a close, and headed back to our ship. We took off, and made the voyage back ta Earth, The president was there, still recovering from his wound, and gave us a speech on the marvelous jab we did» Doctor Grady then told the world about our discovery. We were modern day heros. Sands of Mars is the best game for the ATARI since Star Raiders. Tt uses high speed coarse scrolling, and brilliantly programmed graphics characters to create an image of actually exploring Mars. It is a programming accomplishment by Crystal Computer that should be commended!!! 1 recommend Sands of Mars ta ALL!!! 11 Korner ~by Brian Dunn The Sands Of Mars is an excellent game. The graphics are incredible! One af the hest part af the game, graphics wise, is when you're getting driven to and fram Spaceship Herman (The spaceship you are in command of). Same af the parts are totally horing, Like the Liftoff and the landing of Spaceship Herman. It took me and my dad about 20 minutes to land on the Sands of Mars but we made it!! T think T have successfully figured out the mystery of the Sands of Mars. I have alsa rescued Dr.Grady and sucressfully brought him back to eart! have entered the Lemurian Hives and the Meshim Laybrinths. Qn the way to Mars, I have encountered many aliens and of course I destroyed them(HA-HA} Not only are the graphics excellent, the story of the Sands of Mars is far more interesting then any other adventure I have ever piayed!! I highly recommend this game td my fellow adventurers, that is if you have a disk drive, The Sands af Mars is the best adventure game I have ever played, and I have played most of them!!! CTO -As mentioned in my editoral, not everyone has enjoyed this game as much as we have, I tried to contact John Hell af Crystal to find out if the distractors, all of whom had abtained their copy at least a month before my review copy was sent by John, had an earlier version} but was unable to reach him hy press time, I think it is only Fair to present both sides in reviewing this eagerly awaited Saga, ‘The main difturence may be that the game is really meant to play at a leisurely pace to eavor its many features, and nat rushed through to solve the mystery in the shortest possible time, -Editor
Hacker’s Corner
-hy Matt Loveless
Hacker!
‘A persan who likes “o play with
computers, usually to the exclusion
of all other activities. These
creatures are often asocial, and
their greatest joy is creating a
program which makes a fellow hacker
ask; "How in the warld did you get
the computer ta do that?"
Claiming only to be a part-time
hacker) I have taken on the responsibilty of
writing this monthly column. T must warn you
full-time hackers that my topic will
occasionally wander fram hacking, In the
future, I plan to submit a few games, some
utilities, and various other miscellany.
This months article is centered around
a unique POKE location, Defaulting at 12,
location 242($24A) is 4 direct line into the
BASIC editor, Foking this location with 13
puts the editor into an “over-drive" made.
The editor starts pumping out end-of-lines,
srirg all statements, commands, etc, ag
iF someone was pushing the RETURN key
With this location, I have created a
Date Statement Generator. This program
allows the user to enter in strings and/or
numeric data to be packed into a data
statements
The program asks first for you to
enter a starting line number between 1 and
100 (notet The program resides at Hines
1-99). Then it asks for the increment of the
line numbers ( would recommend between 5
and 10}, The pragram will then tell you the
present line number and ask for an entry,
After your entry, the program will place it
on the and of the line, When the logical
line maximum is reached the line is ENTERed,
and control is returned to you.
Variables?
A$~Main line string.
BS-Halding buffer for A¢
LIN-Actual line presently on
INC-Line number increment
Line 5- 110 Dimensions AS and BS to 114
12
ces, which is the length of a logical
lines
Lines 10-20
I0 Line 40 19 Puts the line
number and the Data command at
the beginning of At.
Line 45
If BS holds any unused data it is
positioned in frant of the ingut
prompt,
Line £9
Prints aut the current line number,
Line 66 :
Inputs the new entry, If the entry
35 toa long for the line then the
program jumps to the line entering
routine,
Line 70
Places the new entry(s) at the end
of AS, and a comma after it,
Line entering routine
Line 80
First POKE’s location 842 with 13.
Then it clears the last camma,
clears the screen, prints 4%, prints
the CONT cammand and postions the
cursor ta stop the program,
Notet
When the editor reaches the CONT
command it will continue at line 25.
§ DIM A8(114),BS(1141CO=0
{0 TRAP 10¥ 2 :? “STARTING LIN
E (100-S2000)"}INPUT LINGIF LIN<100 0
R LIND32000 OR LINCINTWLIN) THEN 10
20 TRAP 20:7 $2 1? “INCREMENT BY (1-20
}HINFUT INCIF INCC1 OR INC?20 OR IN
CC>ENTUNC) THEN 20
30 TRAP 40000
40 AS=STRS(LINNAMLEN(A$I+1)5" DATA "
45? CHRS(29NCHRS(27}CHRS(29}CHREO
UBS!? CHRS(29)}CHR#(28NCHRS(28)/CAR
#26)
$0? "LINE NUMBER "}LIN!?
60 INPUT BSHF LEN(ASHLEN(BS)> 119 THE
nO
70 AS(LEN(AS)+ 1)=BSiAS(LEN(AS}+{)=",
75 GOTO 49
30 POKE 542, 13tAs(LEN(AS)="""?
{099 17 19 ASH? "CONT" HPOSITION 2,01
aTOP
25 POKE 242,12:LINSLIN+INCHF LEND3200
Q THEN ° "LINE NUMBER TOO HIGH!!"END
20 GOTO 40
By the way, do any of our readers knaw
new to switch character colors by POXing |
inte the hardware chip or BASIC? 1 know it
can be done, because the Atari “Attract
Mode" ¢witches them. If sa, you can yeach me
through Mike Dunne
©
MP pe nee
©)
Here is the reprint from the May 28, 1921
issue, page 1368, of the New England Journal
of Medicine,
‘THE NEW ENGLAND JOURNAL OF MEDICINE
SPACE-INVADERS WRIST
Te the Editar: Americans’ interest in sport and play hax produced
seports in the Jownel of fascinating injuries, whether they occur
‘with the person oa wheels,” on foot,“ on a dance floor,” or else
where.*% But armehair atheletes can pow rejoice. J think that 1
shave rande a discovery chat can add the more sedentary #6 the sport
related injured.
Thad been purcied by » stiff, painful right wrist that had grade
ually developed over approximately one month. ‘The rigors of med-
ical school and cold winter weather had combined to prevent any
vigorous sporting activities, and 1 could recall no trauma to the
area. There was no soft-tissue change or limitation of range of mo-
“tick” or “paddle.” The naddle is yoked in the center of the bax,
allowiag its motion throxgh 360 degrees, and depending on the par-
‘enlay game cassere, it requires a large Dumber of rapid, repetiive
arm movement, including flexion and extension of the wrirt and
romain sod sipinatin ofthe orara, o maneuver a spacer
bombe, rockets, ibe poron ot se
‘burton almoet neversitates right-handed operation. Other
shodelt have a similar basic design,
“The symptoms could have been due to misor ligamentous strain
of the joint from repeated, preloaged playing. Further use of the
game corvainly aggravesed them, whercas {4 weeks of abstinence
produced noticeable improvement, Another person who ix a free
‘quent video-game player hits similar, although lets proneuneed
symptoms.
To my knowledge, this is the first reported case of “Space
Invaders wrist,” and it may be an impoecant consideration ia the
diagnosis of unilateral wrist pain in an otherwise healthy video.
game player. This case may also warrant investigation of the bio
‘mechanical design of such garnes in order ta minimize what may be
an increasing problem with the growing electronic-game-playing,
public, My greatert concern is that this letter will pronapt a wave of
reports of video-game injuries (if not a subspecialty of sparts medi
ine). Cine) In view ofthe booming video-game indy, the possibile
tee mnately, appear : *Ameraies , Pit
‘ball palsy, phaser felon, . .
Litle Rock, AR 72201
THE BIT BUCKET
by Stacy A, Goff
In the same vein as last month's commentary
on the nature of the legendary bit bucket, I
pass on the follawing new news$
ACE has recently tracked down the rumor
concerning the new trinary microprocesser
chips which will be introduced next month by
a major personal computer manufacturer, As
mast of you already know, all current
computing systems (including the very large
mainframe systems) operate using a binary
system~—the bits are on or off, representing
yes‘ and ‘no’ values. This new breakthru
introduces anew alternative, ‘maybe’, which
is expected to allow all future computer
systems ta much mare closely emulate human
thought arocesses. The new trinary systems;
as they are called, will be standard within
the computer industry within five years,
starting first with microcomputers (since
there ig not as great a base of installed
software to be converted). A reliable
source has verified the associated rumor
that the new systems will be more
energy-efficient, since the third state (the
‘maybe’ value) serves as a repository for
used ‘yes’ values when they are not in use,
thereby eliminating the need to throw them
away in the bit bucket, as discussed last
month
The possibilities for increased use of
computers by pecple are exciting, since most
peuple find they cannat cope with the hard
sither-or choice binary systems limit us tor
In fact, even the question "should I
consider buying a personal computer?* now
has three answers! Yes, No and Maybe!
NEXT ISSUE-Shootine Gallery in BASIC At, Hooking up an Epson
Frinter, Service Pointers, more Reviews, and ???
Next Meeting Jume 19th EJ. Knoll‘s House,
phene 343-5151
Please mention &.C.E. Newsletter
LOOSE BITS...CONTINUED FROM PG.1 may bring the Atari into the circle af loose standards provided by the fact that Microsoft has developed the Basic language for mast ather systems. In fact, rumor has: it that the new Atari Basic represents anew generation of Microsoft languages which will hopefully he alsa developed as expansions of the Basies in other systems. If that’s the case, Microcomputers will make a giant step forward. The other event may have as significant an effect, although it may be ty defauit! TEM is preparing ta announce, in July (according to the rumors? a microcomputer system in the $2000 ~ $5000 price range, with a "bare bones" system at the $1000 level. Based upon the valume of comporients ordered, it appears that IBM hones to sell up to 200,000 during the first 18 months. The good news about this is that the entrance of large-scale computer companies into the micro arena lends a level of credibility that cannot even be measured? the bad news is that a powerful force such as IBM in the marketplace can develop an ~ instant standard, whether that standard is good, or acceptable to other vendors; or not. To me, tha issue of standards and compatibility between microcomputer systems is the biggest issue facing the industry and us Owners! we can either deal with it, and lead the change, or follow the leaders and lose the momentum we now haves Atari Commuter Enthusiasts (A.C.£.) is an indepercient computer club ard user’s croup with no connection ta the Atari Company. a division of Warner Conmonications Company, He are 2 group interested in educating or senbers in the use of the Atari Conpuster and in giving the latest news and reviews. ur serbership is international in scope} menbership fees include the A.S.E, Newsletter, published sbout 10 tines @ year, Dues are $8.00 3 year for regular sembers, $5.00 for students and $10.00 or nore far “Angels” wishing ta support ou efforts, President-Stacy Coff-420 Hilyard, Eugene, or , PAGS phone S03-486-8300 a Librarian-E.J. Kroll, 4480 Pinecrest, Eugene, Or 97405 phone 503-342-5194 Editor-Michael R. Dunn-3662 Vine Maple Or Eugene, Or phone 503-344-9193 pruenrae