Dale's Home Page

Dale’s Atari 800 Games › ACE newsletters

ACE newsletter, February 1983

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_1983_02.

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.

Page 1 (scan)

Arai
Computer
ENTHUSIASTS
3662 Vine Maple Dr Eugene OR 97405

FEBRUARY, 1983
Mike Dunn & Jim Bumpas, Editors

HIGHT FO

Page 2 (scan)

News and Reviews

by Mike Dunn, Editor

| have just bought a copy of the brand new Spell Wizard by DataSoft (9421 Win.
netka Ave., Chatsworth, CA 91311, $80) and will review it completely next issue as
| get to use it. This comes with a 33,000 + word dictionary, scans your text files at
‘800 words a minute and automatically identifies any misspelled words, allowing
you to immediately correct them in-line. It is a stand alone utility which works
without the word-processor, on any file made in DOS 2 format or converted to it
such as Letter Perfect files with the Disk Utility, It is menu driven, and allows you
to add any words you want, on the same file or on seperate files. Looks like a good
program, and for the price, a great bargain compared to similiar programs for
other computers. | ran this article through it and it seemed to work fine. It flagged
the abbreviations and proper names, but allows you to add them to your dic-
tionary. It even flagged Atari! Very impresive, more next issue.

Letter Perfect (by LIK, POB 10827 St. Louis, MO 63129 $150 disk, $200 ROM),
has been quietly upgraded by adding significant new features without fanfare.
LLW.K. is constantly upgrading all its programs, and unless you are really on your
toes, it can pass by without comment. The latest version obtained by one of our
club members is 3.1. You can now configure any printer on both the disk and ROM
versions. Both 40 col. and 80 col. versions come with the disk version, and new
‘commands have been added, such as an Insert mode which allows you to insert
words directly rather than first make a space or line for it. LW.K. has also just
released a new documentation manual for Data Perfect which includes a 100 page
tutorial and a price increase to $129 after Feb. 15. In the last issue, Kirt Stockwell
reviewed both Data Perfect and Filemanager 800+; he liked Data Perfect much
better and felt it was more powerful and versatile, but because of the documenta:
tion and the general ease of use, concluded that Filemanager might be a better
choice for a novice or for one whose needs are simple. This new documentation,
which | have not seen, might very well make DataPerfect a better choice for a
wider audience. Although L.J.K. can be congratulated for constantly striving to im-
prove their products. They explain the upgrade policy as follows: Registered
‘owners can obtain the Letter Perlect upgrade disk & documentation for $30;
Dataperfect upgrade documentation is $10.

Incidentally, it any one has a program which will convert DataPertect files to
LJ.K. of vice versa, so we can exchange information with people with either
database programs, please let me know.

For your Atari 400, several new products of interest. Two new keyboards are
ow available —never did receive one from Screen-Sonics. Insoft software (2485
Dunwin Dr., Mississauga, Ontario L5L 1T1, $120 US) is a very easy to install full-
stroke keyboard. You just remove the old membrane one and replace with the new
one. The keys have a nice feel, but some are smaller than the 800 (eg. RETURN),
and some are changed in location. | have not really used one, but some of our
members have and liked it. SfWare (1341 Quail Hollow Road, Harrisburg, PA 17112)
has a series of outboard keyboards for the 400 and 800, including a deluxe one
with a hexadecimal keypad for $125. They use only high grade, commercial quality
parts and are able to keep the price down by you supplying the labor.

‘They were kind enough to send me their nicely done instruction manual —this
is really a kit— you wire each switch, etc., but end up with a beautiful product at a
very attractive price. The instructions are clear, and it looks like anyone who can
use a soldering iron fairly well and follow instructions can make themselves a nice
keyboard. If any of you out there have any of the above and want to share your ex:
periences, please send them in.

The new Axlon 48K memory board (170 N. Wolfe Rd., Sunnyvale, CA 94086,
'$200) is now available. It can plug directly into the 400 without any soldering or
wiring changes —very easy to install

Another approach has been taken by USS Enterprises (6708 Landerwood Ln.,
San Jose, CA 95120) (If poor Jerry White can be sued by the Star-Trek people for
Triva Trek, | wonder how this passes —ed). They have a $175 software/hardware
Package which allows you to hook your 400/800 to a CP/M computer and use the
‘CPIM keyboard, disk drives, etc. If any of you have done this, please write in —I
don't understand, for instance, how it can read protected disks, self-booting
disks, ete.

‘Speaking of CPIM, one of our members has just obtained the Disk Drive/RS-
232232/Centronics parallel Interface with CPIM, the ATRB00O. Available trom Sott-
ware Publishers (2500 E. Randol Mill Rd. #125, Arlington, TX 76011, $500 + $250 for
4K and CPIM, he has not yet had time to evaluate it, but look for a complete
evaluation in the next issue. It is supposed to read any CP/M format with a special
rogram (which is not ready yet) but works the best with the 5Y Xerox format. For
those of you who cannot wait, call EJ. Knoll at (503)343-5191,

‘The Editors of COMPUTE! have released another new book in their Atari Series,
COMPUTES! First Book of Atari Graphics, (Small Systems Services, Greensboro,
NC $13). Mostly reprints of articles from their magazine, it has many useful pro-
grams, utilities, and hints on using intermeadiate to advanced graphics, including
PIM, character, animation, GTIA, etc. It also has one of the best articles I've seen
explaining PIM graphics by (who else?) Bill Wilkinson,

Next month, | will do a comprehensive review on a moderately priced ($80),
ROM based word-processor from a big company. | have seen the documentation
‘on it, and it looks like a winner!

BUMPAS REVIEWS

STRATOS

ADVENTURE INTERNATIONAL, Box 3435, Longwood, FL $2750 (no price given)
produces STRATOS, a new arcade game. The game is a variation on the Missile
Command theme: Waves of enemy attackers try to destroy your city.

The game has excellent color, and permits you to change background and
foreground colors among a variety of choices by keyboard input. One of 2 sound
selections may also be made.

‘The most significant feature of this game is in the animation of the attackers.
‘They roll and spin, drop, dive and dodge your shots. With each change in attitude,
the aspect of the ship changes on the screen. This gives them a '3D' effect.

Other features include a ‘Repair Vehicle’ which can be manipulated to repair
broken spots in the ‘force shield’ which protects the city.

SOUND & MUSIC

Educational Software, 4565 Cherryvale Ave., Soquel, CA 95073 produces SOUND
‘& MUSIC, Tricky Tutorial #6 by our friend Jerry White. The price is $19.95 and in-
cludes 'Player Piano’. The disk provides a very good step-by-step lesson program
for using sound in BASIC routines. Player Piano will play back the selections you
create. This is the same ‘Player Piano’ sold by APX for $22.95. So you are getting a
bargain here,

‘A 36-page digest sized booklet provides documentation, including program
listings for several sample programs.

This work by Jerry White is presented with color & graphics, sound and text and
may be valuable to anyone who wants to begin programming sound into their own

software
SANDS OF EGYPT

(Datasoft, 9421 Winnetka Ave., Chatsworth, CA 91311. After getting the disk from
Brian, three of us (Linda, Nick and myself) brainstormed the game on a Sunday
afternoon. We've seen about a dozen screen pages with good color. The screen
ages scroll smoothly, and don’t just flash at you. Scrolling is used to simulate
animation with cloud movement and a camel. So far, everything else is still. We've
discovered about 60 of the ‘more than 100 words’ in the program's vocabulary.
We've discovered about 16 of the objects in the game. | estimate we're only half
way through it, as we've just made it to the Pyramid, We still have to get in, find
the treasure, and make it back to civilization,

‘The only way to effectively map the game is using the ‘Hansel & Gretel’ method
suggested in the documentation, Movement otherwise Is irrational and will lead to
your death, lost in the desert. So far there seems to be only one correct path to
any object, except for one or two ‘shortcuts’ (time & space warps?).

Some of the clues are very direct and will make the required action obvious.
Some are very obscure. Most are just cute or seem irrelevant. | usually get impa-
tient with adventure games because the vocabulary of the game seems to be the
Greatest obstacle one faces. This game seems to suffer less from this fault

LEGIONNAIRE

Chris Crawford's latest opus is available from Avalon Hill for $35, The map is
large and beautifully designed, similar to the map in his award-winning EASTERN
FRONT. Piayers who know that game will be familiar with the joystick control of
the Roman Legions in this game.

First, you are asked to choose how many Legions you want to use to fight the
barbarians. You may choose up to 10, but beware! You must fight 2 barbarian
hordes for each Legion you choose, Next, you are asked to choose the pair
(always 2!) of barbarian tribes you want to face. There are 8 pairs of tribes. The
higher you go, the tougher they get. The Huns and Helvetians are the toughest.

So far, 've only been able to defeat tribes up to the 4th-level Senones and Ner-
vil. But | beat them with any number of legions, up to and including 10. The 5th
and higher levels still beat me. I've won with a score of -8. | was down to my last 2
legions before | wiped out the last of 6 Senones and 6 Nervi. You can lose, no
matter how high your score if Caesar's Legion is put out of action.

‘The game begins when you press START. Before you do, you may scroll across
the map (call it reconnaisance) to determine the location of the forces. The
Roman Legions (up to 8 foot and 2 horse) are always grouped together in one loca-
tion. The barbarian tribes (one is always mounted; the other is always foot) form
two more separate groups, usually about as far from each other as from you.

‘Once the action begins, you hear sound seeming to simulate marching feet.
‘The barbarians are coming towards you even as you give commands to the
Legions, Pushing the trigger while the cursor is on a unit permits you to read in-
formation concerning the unit. The name of the unit will be the barbarian tribe, or
the Roman leader in command of that Legion. The total number of men in the unit,
and the number of ‘swords’ (combat effectives) is also shown.

SELECT permits you to pause in the action, OPTION permits you to quit and
begin again.

Marching about causes a unit to lose strength to ‘straggling’. These losses can
be made up if you halt for a rest. Combat causes permanent losses. If you wait for
the barbarians to attack you, you will find they halt a couple of impulses away.
During this halt, they make a different noise. I think of barbarians beating their
shields to raise themselves to a real gallic fury when | hear this sound. They are
gathering their stragglers and preparing for the assault.

Each barbarian unit of one tribe starts with the same strength. The Legions vary
in strength from 1800 (Labienus’ cavalry) to 4000 (Caesar's Legion). To beat any
but the tstlevel barbarians, you need to fight them when they are weak and you
are strong. This is easier said than done. One way is to try to split their forces in
such a way So you can concentrate the Legions on a smaller number of barbarian
units before their friends can come to the rescue.

I plan to have many hours of fun with this game in the future

—sim Bumpas

Page 3 (scan)

Benioff At Large

Greetings from the University of Southern California TKE Fraternity. This
month, | have journeyed to the Las Vegas Winter Consumer Electronics Show
(CES), received twelve new games from third party vendors, and was given three
hours in a locked room with the new ATARI 1200XLS. So sit back, relax, and pour
yourself a nice hot cup of coffee, and prepare yourself for another BENIOFF AT
LARGE,

‘The night before my departure for Las Vegas, | realized my travel agent made a
rather large mistake. Instead of booking me to Las Vegas and back to Los
‘Angeles, she booked me going to Los Angeles, and back to Las Vegas, Unfor-
tunately, all the airlines were booked, and | had to drive. | roared up the Supra, and
took off for the Winter CES 1983.

‘As | arrived at the Las Vegas Convention Center, | realized | had a big job ahead
‘of me, Not wasting any time, | headed straight for the ATARI BOOTH. New Pro-
ducts were being announced for the 400/800/1200XLS, 2600, and 5200 systems. All
of these looked extremely inviting,

Besides the new 1200XLS (see below for detailed information), several pieces of
hardware and software were announced for the home computers.

“The all new ATARI printer is the Okidata Microline 80, called the ATARI 1025 80
column printer. The retail price is $549. It does not offer graphics, but will operate
under Epson word processor programs. The new software from ATARI will sup-
port the new and oid printers, and there should not be any problems (according to
ATARI, not me). The casing matches the 1200x!s (Black and White).

‘ATARI now has a color grpahics 40 column color Plotter/Printer called the
ATARI 1020. It retails for $299. It is very sharp, and the graphics are great! You can
‘also print up to 80 characters per line, with an option of 20 or 40 as well. Four col
‘ors can be used at once, with an option of eight colors from the set. It is a neat
product, and the casing matches the 1200x!s.

‘Anew program recorder? YES! The all new ATARI 1010. It matches the 1200xis,
and does everything the 410 does. It retails for $99.95. | don't know the difference!

‘Several new software packages were released as well. They include several
games and home managment programs.

ET. Phone Home! is the HomE computer version of the VCS's E-T. It is very
similar to the VCS, but better graphics, and more variations. Elliot! Help ATARI
phone home.

‘Qix is an adaptation of the popular arcade game. Racing around filling up boxes
is what it looks to be, but it is quite fascinating! Look for it in a couple months.
Dig Dug is excellent on the 400/800/1200 systems! It is a direct take from the
‘cade, and they did a very good job! It has clever graphics, and should be a big

seller.

“The New word processor from ATARI is the ATARI Writer. It is supposed to be
‘excellent. It will work with all printers. It is menu driven, allows double columns,
automatic page numbering, etc. It is very nice! $79.95 on cartridge.

Timewise is a new calendar program. It allows you keep track of birthdays, ap-
pointments, etc. It looks very nice, and sells for $29.95.

‘Also coming from ATARI is Family Finances, The Disney Educational Series,
PAINT (a Micro Painter Rip-Off), Microsoft Basic II, Donkey Kong, and Superman
ll. The game.

‘New games for the 5200 (easily adaptable for the 400/800/120 are Soccer, Foot
ball, Baseball, Centipede (much better than 400/800), Kangaroo, Vanguard, Spabe
Dungeon, and an awesome track ball.

New Games for the 2600 are Centipede, Ms. Pac-Man, Dig Dug, Vanguard,
Galaxian, Phoenix, Real Sports Series, and a whole bunch of educational games
from Sesame Street — Brian, you will like that!

‘A new ppo line joystick is also being released by ATARI. It looks very good, and
will compete with Wico and Disc Washer. Also wireless joysticks will be available.

Mattel Electronics announced Intellivision il, 2 much sleeker unit, a new
adapter for ATARI VCS games to play on Intellivision. What a deal!

Datasoft showed ATARI Zaxxon at the CES. They also had some other software
released, but they were too busy to discuss it with me. See your dealer.

kkk kkk

Corrections

The listing for Scrambled Eggs in the Dec newsletter won't work as it is
printed, even if you get the control characters correctly entered. The program
modifies the string P§ pointers and requries it to be the first variable entered. The
fix is to delete line 1 and re-enter It as line 11, then LIST the program out to tape or
disk, type NEW and ENTER it back into the computer. RUN it and it will work.

‘The reason simply SAVEing and LOADing will not correct the problem is that
these commands deal with tokenized programs; therefore the variable tables will
not be reconstructed. An alternative fix is to re-enter the whole program, typing
line 5 first, but | think the other method is much better.

—Dave Lutz, Holden, Alberta

wonder if this is why the program will not work it downloaded from the Bulletin
Board in LIST form, but will if Tokenized and downloaded as a file. —ed.

EMI released Orc Attack, River Rescue, Save the Seven Seas, Mutant Herd, and
Major League Hockey all on cartridge.

‘Spectravideo announced a new computer and several new games for the ATARI
4001800. Vortex is a 3-D game which comes with special 3-D glasses. Also
available are: Sector Alpha, Romper Room Series, Planet Patrol, China Syndrome,
Nexar, Cave In, Number Crunch, REAGONOMICS!, Time Scape, Gold Mine, Ape
Escape, Drive Em Krazy, Eagle Mountain, Master Cylinder, and Cosmic Math. This
company is from Japan and looks excellent.

IMAGIC is releasing TWO games for the ATARI. Demon Attack, and Atlantis are
now available In cartridge for the 400/800/1200.

This month | received twelve new games for the computer. | will try now to give
brief descriptions of each game.

Kid Grid is very similar to Amidar in the arcades. It is from Tronix,
Softsel Distributing, | find it very fun, and challenging,

‘Speedway is a scrolling arcade game from IDSI. | never knew cars could shoot
at each other until | played this game. It is very interesting, but not extremely top
notch in fascination.

Firebird is a new cartridge from Gebelli. | find it quite fun, but it is a bit
simplistic, and gets boring at times.

Pogoman is a new game from Computer Magic. It is a very passive game. Just
before | go to sleep at night | like this game because it is very relaxing. As you
jump on your pogo stick, soft music plays in the back ground. It has super
graphics!

Defender from ATARI is superb! If you like the arcade version, this is it! | played
it over a year ago, and now you know why | liked it so much, It is truly awesome.

‘Sea Dragon is Russ Wetmore's new game from Adventure International. It is
very similar to Scramble, if it were under water. | like this game, it even has the
Preppie! character set.

Gorf is an excellent version of the arcade game from Roklan Corp. It is an exact
duplication of the arcade version. Wizard of Wor is also by Roklan, and it is as ex-
act as GORF.

London Software first released Space Ace, which was only fair. But, their new
‘game, Hot Lips is excellent. As you chase around little men, you try to have them
eaten by a huge mouth in the middle of the maze. | like this game.

Marauder is Sierra On-Line’s new game. It is excellent!! It has two modes, and
is like having two arcade games in one. An excellent Apple translation. This game
is like advanced Missile Command.

Serpentine is Broderbunds new game for the ATARI. It is very compelling as
you try to survive in a world with frogs and large snakes.

Ihave saved the best for last. Way Out from Sirius software blows my mind! It is
like roller skating in a large maze. It has graphics better than Battlezone in the ar-
cade, and has excellent game play — A super game for all, 3-D true to life
graphics.

[AND NOW THE 1200XLS. The next logical step? No. Sorry, the 1200 is just a 800
in anew case, and a few mord function keys. It is not even a true 64K! It is only
available through machine language programming. It is very nice looking, if that
‘counts for anything, It as 16K ROM, and 64K RAM. But, finally ATARI has a com-
puter which LOOKS like a computer should look. It will retail for $899, and will be
in stores soon, You will definitely say, “Wow!"when you see It.

Good Bye From The City Of Smog.

—Mare Benioft

631 W.28th Street

Los Angeles, CA 90007
(213)748-2458,

division of

Inside Atari Basic

by Bill Carris
($12.95; Reston Publishing Co. 800-336-0338)
Review by Larry Gold.

It you don't know how to program and are new to computers, this is a good
‘book for you. It assumes you have no prior knowledge of computers or programm
ing. If you are someone who knows computors and programming, but doesn't
know the Atari, then is is a book for you. If you are someone who knows Atari
Basic and knows how to use the computor, this will make a good reference book
for color, GTIA, and the other graphic modes.

{tis written in a simple style so all can understand, and makes no pretensions
at being anything but what itis: A beginner's book. It is written to replace the Atari
Basic book in use now. To go beyond the very basics, however, you will have to
buy something more advanced.

Page 4 (scan)

PROGRAMS
WHAT IF?

(Conditionals in ATARI PILOT)
by Ruth Ellsworth,

‘One of the first problems we encountered when we started programming was
writing logic statements. The IF - THEN conditional quickly became one of the
most used and important concepts we learned. However, in ATARI PILOT the IF -
THEN conditional appears, as my children say “in disguise.”

The following is a list of IF - THEN statements which have been helpful to us.
TY: IF yes THEN type
TN: IF no THEN type
JM: IF there is a match THEN jump
SY: IF yes THEN jump
JN: IF no THEN jump
CY: IF yes THEN compute
CN: IF no THEN compute
UY: IF yes THEN use
UN: IF no THEN use
EN: IF no THEN end

‘The IF - THEN conditional can also appear after a command word as follows:
‘T(@B764 = 18):C IF (in this case, the last key typed has a decimal value of 18)
THEN type C.

CUHK =1)$Y = ZOO IF (the value of numeric variable X equals 1) THEN compute
the value of $Y equals ZOO.

‘(HC x 10): MODULE IF (WC is less than 10 THEN jump to *MODULE.

U(X = #Y):* MODULE IF (#X equals #Y THEN use "MODULE.

EWX17): IF (#X is more than 7) THEN end.

The following programs illustrate the use of the conditionals to make easy
games. The PRESCHOOL GAME chooses a letter at random which drops down
the soreen. The child must type a letter or return for the program to continue. The
‘object is to type the matching letter from the keyboard before the letter drops “in-
to the water.”

The LETTER SNATCH GAME is an improved and refined version of the
PRESCHOOL GAME. It allows the child to choose a level of difficulty from 1 to 6,
1 being the easiest level. The letter which appears is in lower case, and the child
must match the appropriate upper case letter from the keyboard. It Is useful for
matching lower and upper case letters and for practicing typing skills.

COURTING CRICKETS

Clyde cricket lives in a factory. Deeply enamored of Cynthia cricket, he risks his
life to bring her gifts, hoping to eventually win her feeler in marriage. Clyde must
jump from conveyor to conveyor, avoiding any objects on them. He must also
avoid any of the superstructure. To make Clyde jump you press stick 0 in the pro-
per direction AND press the fire button, (both together).

To win Cynthia, Clyde must bring her flowers, perfume, candy, a necklace and
finally a ring, He must return to the center of the lowest level to pick up the next
aift. It Clyde fails he has three brothers willing to take his place. These brothers
don’t have to start at the beginning, they simply take over the gift delivery. Oh yes
_. a former jealous suitor makes things difficult by throwing various objects from
the top of the screen.

‘There are seven levels of difficulty. If you don't want that many, change line 450.
The progam as listed will not run in 16K. Leaving out the remarks will help, but
other tricks will be necessary to scrunch it down

—Stan Ockers:

KNIGHT FOR A DAY

(The instructions for this game are in the program listing.) Program
Description:

Lines 10-24 are used to display the instructions,

Lines 90-190 reserve RAM for the new character set and transfer a
combination of the old character set and data for the new characters. The
data being from Lines 1000-1900

Lines 191-199 set up the original screen and reset all the variables to their
original values.

Lines 200-699 contain the different sub-programs. Each one is a main program
loop which is chosen depending upon the room of the castle into which you
enter.

Lines 900-999 contain the separate subroutines to draw the different rooms
land scenes contained in the game.

ines 2000-2099 chose the random information to control which doorway
leads to which room.

—Sydney Brown

PM Graphics
from BASIC

—Matt Giwer Annandale, VA

‘As everyone who has tackled the problem has found out, P-M Graphics is rather
unpleasant to use. There are a dozen published approaches to the problem.
However, they all involve machine language in some form or another.

Most of us are not machine language programmers and it takes a great motiva-
tion to get us to go to the effort. Also machine language routines are rarely
general enough to provide the variety needed for different applications. And when
the ones available are not what is needed it is back to the Assembler. Higher
Order Languages, such as BASIC, are inherently more flexible but only really fast
when they are compiled. Since BASIC instructions tend to be too flexible, so com-
pilers can not interpret the meanings correctly, we are stuck with an interpreted
language. This is slow, which means it can not be used for PM Graphics. Right?
The only machine language routine in the enclosed article is to move the
character down to where | want it in RAM. The DATA statements only put a
message on the screen.

if you run this program you will see the words of the message printed vertically
on the screen yet there are no print statements involved. One of the words scroll
itself. Another word will do a circle (sort of) on the screen. The words will change
very quickly. Note: there are some delays built into the program. You will see a
surprise at the end.

‘The secret of this technique is the 30000 subroutine. For 1-Jine PMG a string of
4096 length is Dimensioned and cleared. (Development hint: instead of CHRS(0)
use CHRS(255)) This program uses 5020 for the size since | wanted room for mov-
ing the character set. | am tired of creating new shapes. Since Atari BASIC
reserves the length of the strings within the program space the manipulation of
them is a simple machine language routine within the BASIC interpreter. There is
very little housekeeping involved with this sort of manipulation as opposed to
Microsoft BASIC which must change string locations when one gets longer.

Since screen output is handled by Direct Memory Access by ANTIC both the
normal and the PM graphics can read from any location within the RAM. Normal
‘graphics is slowed by the format requirements in location 87 and other instruc-
tions in the Display List. It can also read from any location. In exchange for the
slow read, we get flexibility. When ANTIC reads the PM Graphics RAM specified
by the number in PMBASE, 54279, it reads straight through without format or in-
terpretation. In return for this simplicity we get speed.

However, since PMBASE can be specified by the user | specify it to be within
the PMS that | dimension and clear. A short algorithm finds the lowest 2K page
boundary within that string and sets PMBASE. Also it determines the offset bet-
ween ADR(PMS) and the start of the Missile page. So far so good. It works.

‘All | do Is position PMBASE within a cleared string. Next | manipulate substr.
ings within this large string. And | get machine language speed movement of the
shapes. The speed is still dependent upon BASIC interpreting the instruction in
the first place but once interpreted the execution time is trivial. Ever notice how
fast Atari BASIC handles strings? Here this speed makes shapes move through
the PM graphics area. The speed of this technique is at least as fast as any
machine language subroutine | have seen and it is in every way superior except
for working out the arithmetic of the string manipulation, It is a simple bookeep-
ing problem.

‘What are the benefits? Page 6 is not used. (My kingdom for an Atari with ten
Page sixes.) This technique works without change or modification in any Graphics:
mode. In other words you do not have to move RAMTOP or back off 8, 16, or 32(!!)
pages to get PM Graphics to function properly. You forget about the problem en-
tirely, it is not a problem here. In fact, since PM Graphics only uses five pages in
single line, you can use the first three pages for other purposes as | have done
here to define substrings. You can use the other parts of DiMensioned strings
which are used for nothing else as | have used to hold the character set. You can
use the bottom part below PMBASE if there is any. This method uses no machine
language routines. Any thing you can define or manipulate from a string you can
put on the screen.

‘Since this technique is independent of graphics mode you can write a display
‘once and use it in many programs. How about a routine for dice? This can be used
for anything from Monopoly and Craps to D&D.

Did | say dice? That takes at least six different shapes, twelve if you make red
dice and white spots. So you define these shapes in other parts of the string and
write them into the locations you want. You can have as many shapes as you have
RAM to put them in. | moved down the character set to use so | have 128 different
shapes for free. Also | add two more of my own design at the end of the program.
So | have 130 shapes and full single line PM Graphics capability at a cost of a
‘single DiMensioned string of 5020 characters in length. And if | look carefully for
unused areas in the PMS I can find eleven pages free and still unused. (20 DIMen-
sioned, -5 for PMG, -4 for Characters.)

‘The only hitch to all of this is ST must be determined while the program is runn-
ing. The positions of the strings are only fixed when running. When in the direct
mode the string locations move around. Thus you can only fine tune the PM
display when it is running. Also all locations must be referenced to a value deter
mined when the program is running. In this program the value is ST.

The scrolling part of the demo program shows this is better than called
machine language routines. In this program | just scroll eight characters,
However, with unnoticable time difference you can scroll the entire 256 bytes of
the page with exactly the same technique used here. (Note there is a bug which
works well at exactly 256 bytes, Use 255 or 257.)

This is an unbelievably simple technique yet | can find no hint of it in any of the
literature. The Atari Hardware manual has thrown most people off in its instruc:
tions for turning on PMG. (You can make them work by making a GRAPHICS call
AFTER you move RAMTOP,) From that point cut and try has led to this ungodly
method of moving the PMG area down below the screen RAM. The amount of
RAM wasted is unbelievable and totally unnecessary. This method only works
with Atari BASIC or with some language which keeps strings at the same location
when a program is running. It probably will not work with Microsoft BASIC
although | have not tried it. | have tried it quickly in all Graphics modes and in
detail in modes 0, 1, 2, and 7 without problem. It does not work in 10 at all. (That is
unsat! Any ideas?) But it does work in 9 and 11. Imagine your Players moving

4 around in some of the GTIA landscapes.

Page 5 (scan)

DEMO
by Matt Giwer

100 REM oeeeaeatensetesesestessetste?
103 REM 48 Co
105 REM 4#4# PH Graphics aade Easy #49

107 REM #48 1
110 REM 448 by we
113 REM 8 ”
115 PEK #48 Matt Giver
117 FER 448 "

120 REM SeRRSRESEEHOOEOHOOSOTSSETHOTE
130 REM

150 REM ALL RIGHTS RESERVED

470 REM

1900 GOSUB 21610,

1910 GosuB 30000,

1920 cosuB 8000

2400 FOR TuK=1 TO 2 STEP 0

2205 PAGE=0:R=0

2210 READ A:IF A999 THEN PAGESPAGE+ES
6:R=0:60TO 2210

221 IF A=-1 THEN 2500

2820 R=RH

£2230 PHS (STHPAGE+404R¥B, ST#PAGEH47#R4S
1 =PHs(STH280+088, STH2G7+085)

240 COTO 2210

2500 FOR T=0 TO 71

2510 PMB(ST-256, ST-259)=PMS (ST#256+48,
sT#256451)

2512 PHB (ST-200, ST-139)=PHS (ST#256#52,
ST+25641 19) :PHS (ST-192, ST-129)=PHE(ST~
256, sT-253)

2514 PHS (STHZSE44B, ST#256H119)=PH8(ST~
200,3T-129)

2516 IF T=9 OR 1=45 THEN POKE 53259,1

2517 IF T=18 OR T=54 THEN POKE $3259,3
2518 IF I=27 OR 1=63 THEN PORE 53259,1
2919 IF 1=96 OR T=71 THEN POKE 53259,0
2520 NEXT

2582 POKE 53259,0

2550 PHS (ST-256, ST-199)=PHS (ST#768440
ST#T6497)
2555 DEG :FOR ID TO 90 STEP @

2540 PHS (ST#7SER4O+T, ST#76BF97+1) =PHE
‘51-256, ST-199) :POKE 53250, 140¢608SIN(2
$0) NEXT T

2570 FOR T=91 TO 180 STEP 2

2575 pHs (ST#76a4404180-T,ST#768#974180
=1)=PH8 (ST-256, ST-199) :POKE 53250 140+
6ORSIN(2NT) :NEXT T

£2580 PHS (ST-760, ST-484)=PHS(ST#48, STH.
36)

2581. PHS (ST-680,ST-593)=PHS(ST#2S6+48,
572564136)

2982. PHS 'ST-592, ST-S05)=PHS (ST#S12+48,
ST#5124136)

£2583. PHS (ST-504,ST-417)=PHS(ST#765448,
ST+7684136)

2584 PHS (ST=~AL6, ST-329)=PHS (STHOZAHE
)sT#10244136)

2595 PHS (ST#256H48, ST#25GH196)=PHB(ST~
768, ST-681)

2996 PH6 (STHSAZH4B, ST#S12#1961=PH6(ST~
768, ST-681)

2597 PHS (ST+769448, ST#7604136)=PH8 (ST~
748, 57-681)

2598 pHs (ST#1024448, ST#10244196)=PH8(S
1-768, ST-681)

2600 FOR 10 TO 500:NEXT T

2605 PHE(ST#2S6H4B, ST#2D6#196)=PHS(ST~
680, ST-593)

2606 PHS (STHS12+4B, ST#S12H196)=PHE(ST~
600, 5T-593)

607 PHB (ST#768448, ST#7684196)=PHS (ST
680,5T-599)

Z1660 Mmas=""h'
fe pt

nT Ten:
?REM FOUR PAG

2608 PHS (STHOZ4+d8,ST#1024+136)=PHS1S
1-680, 5T-593)
2610 FOR T=0 TO 500-NEXT T
2616 PHEISTHS12+48, ST#SL2H96)=PHB IST
‘592, $T-505)
617 PHS(ST#768#48, ST#76BH136)=PHB(ST-
592, ST-505)
2618 PHB ST#H024+48, ST+1024+136)=PH6(5
1-592,5T-09)
2620 FOR I=0 TO 500:NEXT I
262T PHS (ST#768448, ST#7484136)=PHS (ST
504, ST-a17)
2628 PHS (STH0241-48, ST#10244136)=PHS (S
7-04,5T-417)
£2630 FOR T=0 TO 500:NEXT
2698 PHEISTH1O24+48, ST#10244136)=PHS.(S
T-416 ,ST-329)
2640 GOSUB 6900
2650 FOR I=0 TO 29
2655 T=PEEK(707) :POKE 707, PEEK(706) PO.
KE 706,PEEK(705) :POKE. 709, PEEK(704) :PO.
KE 704, PEEK(711)
12656 POKE 711, T:Q=1°1:NEXT T
2700 FOR T=18 TO 95:PHS(ST-750H,ST-75,
(O#)=CHRE (0) : PHB ST-TOO4T , ST-7004T)=CH
S(O) :NEXT T
2710 FOR T=0 TO 17:READ A:PHS(ST-7SO4T
| ST-750#T)=CHRS(A) :NEXT I
2720 FOR T=0 TO 17:READ A:PHS(ST-70041
ST-TOO#T)=CHRS(A) :NEXT I
2725 I=I44
2730 PHS (STH250-I,STH205-I)=PHS (ST-7
50, 51-715)
2735 T=144
2740 PHS (STH2S0-I, STH285-1)=PH8 (ST-7
00,3T-665)
2750 IF 11280 THEN 2800
2760 GOTO 2725
2800 RESTORE
2900 NEXT TUK
6000 REM
6005 FOR T-0 TO 71
6010 PMB(ST-256,ST-253)=PHS (ST#S12+48,,
sT#s12451)
6012 PHB 'ST-200,ST-139)=PHS (ST#SL2#S2,
ST#5124119) :PHS(ST-192,5T-129)=PHS(ST-
256,ST-253)
6014 Pe ST#512448, ST#S12+119) =PHE(ST-
200,57-129)
6020 NEXT T
6090 RETUPN
‘8000 REM START HESSAGE
8010 POSITION 12,15:7 #4," THIS 15 AD
Ew"
18090 RETURN
9990 REM THE FOLLOWING DATA ARE THE CH
AAACTER NUMBERS IN O5 CHBASE ORDER.
ef. TABLE 9.6 BASIC MANUAL
10000 DATA 45,97 116, 116,0,39,105, 119,
101,114,999
10010 DATA 112,114,101, 115, 101, 110,116
115,999
10020 DATA 48, 45,0,39,50,33,48,40,41,9
551,999
10030 DATA 109,97, 100,101,999
10040 DATA 54,37,50,57,0,37,33,51,87,9
99-1
10050 DATA 0,66,66,102, 102, 299,251,251
{255 255,295,255 126,126,124, 60,60 24
10055 DATA 24,60, 60,126, 126,255, 251,25
41,255,255 ,255 259, 126,126, 124,60, 60,24
21610 DIM M48(32)
21660 MAS="the following aachine Langu
arg string:":REM FOUR PAGE HOVE
LAGI PEM H4$=hh Cinv. conte EICinu.UIC
4.4 ENC TIMES .c.EICe, WHEE c-EICi.U"I
fe. D1L4. spacelCc. ,Jte.1TIti.c.42
21662 REH N48 contived Cinverse all th
ese:UHPyfUfWPpICcontrol 3

Sn Steere

E MOVE

21990 RETURN

30000 REM PH SETUP

30005 DIM PHS (5020)

30010 PHB(1)=CHRS(O) :PHB(S020)=CHRS(0)
PAS (2)=PHS(L)

20017 GRAPHICS 17

30020 POKE S59, 62:POKE 623,49:POKE S32
73

30030 POKE 93277,3

‘21000 REM FIND PHEASE

31010 AOHI=INT(ADR(PHE) /256)  ADLO=AOR(
PHS) -2564A0HT

‘31020 PINT (AOHI+8) /81:REK 2-LINE (AD
wreay/4

31022 POKE 54279, PKB: REM PHBASE/ /2-LIN
E pea

31030 ST=B#PH256+1024-256-ADR (PHS): REM
OFFSET WITHIN PHS FOR START OF HISSIL
E PAGE//aKpR2S44512-128-ADR(PHE) 2-LIN
E

31095 FOR T=0 TO 3:POKE 532524 86-241
NEXT T

31040 FOR T=0 TO 3:POKE S32aB#T, 100420
#T-MEXT I

31045 FOR T= TO 3:POKE 7O4HT,24416KT
+49) :NEXT T:POKE 710,0

31050 PCH=(PRBEG)#2S6: Z-USR(ADRIMAS) ,2
‘2ax256 PCH) :REH ST+58256 15 START OF ©
HARACTER SET DATA

31090 RETURN

32000 SAVE "D:BARNER"

Page 6 (scan)

Ellsworth’s PILOT
PRESCHGOL Gates | Tumor ae
by Ruth Elisworth 720 WaITES,) 80 J:#START
1 R: PRESCHOOL ‘750 WRITE:S, 110 C:47=60
5 Roby Puth Ellsworth n “f 120 J-8STARI
mesial 770 WRITE 5, 8x 190.
;. ‘790 M:9X 150 C:4¥=30
800 UM: #RIGHT 160 J:¥START.
| 0 unite’ s,) sme

850 WRITES $x 210

860 READ, $Y 220 #FIVE

870 M:8X 230 C:#¥=10

890 WRITE:S,) 250 E:
170 Ch#x=17) 0 FOS BE Be

940 WRITES, $x 300 SSTART
190 CiaxX=19) 750 READ-K AY
209 C(#K=20) ideals seh Ete
20 cvteeet) 2 ne eee lll
* 1030 WRITES 390 JUAK=2) 8B
290 C 6137314 ‘1000 weve: 420 J1¥K5) AE
590 MrT: (inverse ',3 inv spaces repeat) MO UE AL IE:
Sh 05:8. 1110 POS:6,5.
2350 UatTE:s, 4x Ciny. ',3 inv spaces, ete) 490 Juexet2) 8h
360 PEAD:K $Y 1120 WRITE:S,'* ‘500 J#X=13) #4
370 HX 1130 PA:60 S10 JU9X=14) 8N
390 JY RIGHT 1140 UNEW 320 Jt#X=15) 80
390 WRITE:S.) 1150 J:#START. 590 JUAX=16) PF
400 PO3-4,9 1160 E: 540 Ui#x=18) 98
430 WRITES, 8x 1190 WRITES, 22222221 S70 NOEL) 80
449 READ:K.$Y 1200 WRITES, 4 1 580 eK=22): x
460 JY:#PIGHT 1220 WRITE:S 104 50; SUE eK
490 WRITE:¢,* 1250 WRITE:S. 630 E:
500. 005/838 1260 WRITE:S, geod! linverse) S40 #WRONG
‘510 WRITE:S $x 1270 PA 100 650 80:15
5320 READ:K $Y 1280 VNEW:S 660 PA-4B
530 49x 1290 J-¥START 670 50:0
950 WRITE:S,3 690 PA: 48
570 WRITES LETTER SNATCH 719 50:15
580 WRITE: 5, by Ruth Elisworen — 720 92
610 PEAD-K $Y 5 R:LETTER SNATCH 750 $0:18
620 H.$x 19 OPTION ‘760 PA:4B
630 JM:ARIGHT 15 T:CHOOSE @ LEVEL OF DIFFICULTY FROM 765 J:¥START
640 WRITE:5. 110 6 (1 15 EASIEST, 6 15 HaRoesT) 770
850 POS:4,9 20 0:40, 780 XRIGHT
660 WRITE 5 30 H1,2,3,4,5,6 70 12),
670 POS-8,5 40 JH: ONE, $THO, THREE, 4FOUR, FTE, 51 920 C:@B7 10-6440
480 WRITES $x x 840 T:
690 READ K, $Y 50 E. 50 T: * x
700 HSK 60 *ONE, 860 T. SX ee OX

6

2g, T:OMF's inverse $x

890 T: G8 F inverse
900 T: xox
90 T
out.

ote T

913 T.
s0T: !

(C inverse)

wT Hn non
!

mt oH ou how
!

950 T
sot: Ho Wn
'

got; ono on
geo THN

(inverse F)

1050 PA:100
41060 T:)

1070. J:¥START
1080 E:

1090 xa

1100 C:6x=8
1110 PO5=15,23,
1120 T:*
1190 POs:20,4C

1140 T:a

1150 J10B764=63) - #RICHT
1160 PA:#Y

1170 T:)

1180 c:40=4C+2

1190 Jtacc19) 248

1200 POS:17 18

fot:

11220 P05: 15,26

TT)

1290 C-4X=B
1200 PO5:15.23,

1220 PO5*20,4¢

1330 Tb

1940 J(@B744=21):#RIGHT
1350 Pa:#¥

1360 7-2

1370 C:#0=#C+2

1980 J(4C(19) 48

1990 POS:17,18

oot!

41410 Pos:15,20

weor:s tt

1430 POS:15,23

1440 T:*

1450 J:8URONG
1460 E.

44To ac

1980 6: 6x0

1530 J(@8764=18) -RIGHT
1940 Pa:#Y

1550 7:3

1560 C:40=#C+2

1570 Ji#CC19) :C

‘exexexexexsx 1580 P0517 18

i307!
1400 POS: 15,20
wots ot

Page 7 (scan)

1620 P05:15,23,
4630 T:*
4640. J: xRONG
1650 E:

1460 40

1670 C:4X=0
41680 PO5-15,23,
1690 T:*
1700 Pos:20,4¢

A790 Td

41720 (8744-58) -ARIGHT
1790 PA:s

1740 7:9

1730 C:#C=#ct2

1760 180019) 40

1770 POS:17,18

170 T:! +

1790 Pos:15,20

wooT! Fe

1810 Pos:15,23
joy cost
1890. J:uRONG
1840 E.

1850 xe

1060 C: 8xe€
1870 POS:15,29
tego T2004
41990 POS:20,40

1900 T:e

1910 J(@B76a=40) :xRIGHT
1920 PA:#y

1990 T:)

1940 C:e0=#ct2

1950 JU4C(19) AE

1960 PO5:17,18

190 Tt

1980 PO5:15,20

i90T:

2000 POS:15,23,

2010 Tieeeaseseees

2020 J:sMRONG

2030 €.

2040 4

2050 C:$x=F

2080 P05:20,4C
2090 TF

2100 J1@B764=56) :#PICHT
2110 Pasty

2120 T:)

2130 C:4c=4c¥2

2140 JisC(19) 8F

2150 Pos:17,18

e160 T+

2170 Pos:15,20

awotss 6+

2290 Ji@B764=61) :¢RIGHT
2300 Pa:#y

2310 T:)

2920 C:¥c=#ct2

2380 JUECKA9) 40,

2940 PO5:17,18

aot! +

2360 Po5:15,20

agt:! + +

2aio &
2420 4H

2430 C:4X=H
2ag0 POS:15,23
2450 T:""
2060 Po05:20 40

2470 Th

2480 JIQB764=57) :4PIGHT
2490 PA:#Y

2500 1:9

2510 C:#c=ect2

2520 Ji80(19) 3H,

2530 P05:17,18

2500 Tt

2550 p05-15,20

a

2570 POS:15,29

2580 T:7**
2590 J:-¢uRONG
2600 E

2660 Ti
2670 J(@6764=13) :¢RIGHT
2680 Pa: 4Y

2690 T:)

2700 C:AC=#cte

2710 Jt8CC19) 4

2720 P0S:17.18

aro ts +

2740 05:15,20

arog! 4 +

2000 J
B10 C:8X=J
2820 PO5:15,28
2830 T-
2640 Pos:20.4¢

2850 T:j

2060 J(@B764=1) :¥RIGHT
2870 PAY

2080 7:1

2090 C:ac=ecte

2900 180019) tu

2910 P05:17,18
eeoT:!

2930 Pos:15,20
eats! tt
2950 p05:15,29

2960 T:*"
2970 J:8uRONG
2980 £.

2990 4K

3000 C:$X=K
3010 Pos: 15,23
3020 T+
3030 OS: 20,4C

3040 T:k

3050 Jt@B764=5) : RIGHT
3060 Pa:#y

3070 T:)

3080 C:#0=4¢+2

3090 J14CC19) 4K

3100 POS-17,18
snot!

3120 Po5:15,20

3190 C:A¥=L
3200 05:15, 23

3240 \@B764=0): xRICHT
3250 Pa:#y

9260 T:)

270 C:4C=0Ct2

3280 JHACC19) AL

3290 POS: 17,18
s00T:

3910 POS:15,20,

3400 T:*
3410 PO5:20,4¢

3420 Tse

3420 J(@B764=37) :#RIGHT
3480 Pa: ay

3450 T:)

3460 C:C=ECH2

3470 JUECC19) 4M

3480 PO5:17 18

amt

3500 POS:15,20

sot! +t

3520 POs: 15,23

3830 T:**
‘3540 J-sunowG

3550 E:

3560 4N

3970 C:4X=N

3980 PO5:15.29

3600 POS:20,4¢

3610 Ton

9620 JIQE764=35) :¢RICHT
3690 Pa:#Y

3640 T:)

3650 C:4C=4C+2

3660 JLC(19) 46

3670 POS:17,18

ego T:!

3690 OS: 15,20

smot:' + +

3790 P0S:20,4¢
3800 T:0

3610 J1@B7 64-8) RIGHT
3820 Pa:#y

3630 T:)

3840 C:#0=4C42

9850 Ji4C(19) 40

9860 05:17, 18
geo!

3880 POS:15,20

380 Tt
3900 Po5:15,29

3910 T°

4000 J:@8764=10) -¢RIGHT
4010 Paty

4020 T:)

4030 C:4C=#Ct2

4040 JtACCA9) 4

+4050 POS:17,18
ano)

4070 POS:15,20
wet! 8

4090 POS: 15,29

100 T
4110 J:AURONG
at20 &

4130 99

A140 C:$%=9
4150 POS:15,23,

4180 T:q
4190 JU@B764=47) :¢RIGHT
4200 PA:#y

aio T)

220 C-40=4C42

4230 JUECC19) 40

4240 PO5:17 18

eso!

4260 O5:15,20
wots +t

4280 PO5:15,23

14300 J:AWRONG
aa10 E

4320 #8

4330 C:6K=R
4940 705.1523
aso T
4360 POS:20,4C

4370 Tr

‘4980 J(@B764=40) :sRIGHT
4950 Pa:aY

4400 7:9

ato C:4C=#CH2

4420 JLACCI9) 82

4430 POS:17,18

ago To

4450 Pos:15,20

au Ts

‘4470 OS: 15,29

pols aes

4450 J:MRONG
4500 E

510 as

4520 08X25

4960 Tos
4570 J(@8764=62) :4RIGHT
4980 PA:4Y

4990 T:)

4600 C:4C=8C42

4610 JUHCC19) 45

4620 PO5:17 18,

0 Tt

4680 os. 15,20
aesoT:! tt
460 POS-15,23

4670 T:*

4880 J-suRONG
4690

4700 xT

ATO C:$X=T
4720 PO5:15,28

4740 P05:20, 80
4aTS0 Tt

4760 JM@B764=45) -¢RIGHT
ar70 a: 4Y

aTe0 1:)

4750 C-40=4042

9800 JUHC(A9) 47
a0 POS-17,18
48207
4830 POS 15,20
eats
650 POS-15,23

4950 J@B7E4=11) -ARICHT
4960 Paty

4970 T:)

9980 C-#0=#042
4990 JeAC(19) 4
5000 POS:17 18
soo T
5020 POS:15,20

5040 PO5:15.23

S111 POS-20,4¢
5120 Tv

5130 J(@B754=16) -¥RIGHT
5140 Pay

sual 1:

5150 C.ec=#ct2

5160 J{#CC19) 40

5170 POS-17,18

sig0T:! +

5190 POs:15,2

5900 J(@B764=46) -4PIGHT
5310 PA:ay

sau T-)

5920 Cetc=#cte
5330 JUNC) ay
5340 POS:17,18
smoT: +
5360 PO5:15,20
sa70T:!
5380 POS-15,23

5470 J:@8754=22) -ARICHT
5480 PA:AY

Saat T:)

S490 C:#C=#Ct2

5500 JU#C(19) 4x.

5910 POS:17,18

ss20T:!

9530 POS: 15,20

Page 8 (scan)

Ockers: Fantastic new game!

Orr Levers 2

eR MERE.
=) i i)

el

CRICKETS
by Stan Ockers

1 REH Skee eertenee
© REM #¥ CRICKETS by Stan Ockers *

3 FEM 88 FEB 83 '

4 PEK AK ACE NEWSLETTER
SEM 8 9652 VINE MAPLE x

6 FEM $x EUGENE, OR 57405 ak

7 REM 8 #10 YR ”

8 EH HEUER
100 REM Renee

110 REM # COURTING CRICKETS ex

120 REM HH 5.0 12-82

130 REM HenroeKeEeRe

1407 “INITIALIZING.

4150 DIM D814) FSC CINTLADR IDS) (2048141)
'#2048-ADR(D8)-1) ,008(1024) P08 (256) ,PL
(256) P28 (256) ,P36(256)

160 O1M BL8(13) ,cREC42) ,cRUB (12) ,cREIS
(12) CRF28(12) CRAB (412) ,STKSLa2) ,HTA8(
42) HT24(12),SNO8(173) -HI=AORIDDS) /256
170 DIM GF18(15) ,cF28 (15) ,0RP#(13) ,cUR
(12) COLORS (4) GF 8="HIXLNKPOXTUXXXX"
GF28=" NOOOXRSXUUXZEX”

180 REM ¥8 Joystick Routine #8

190 RESTORE 200:FOR J=t TO 32;READ A:5
THS( A, J)=CHRS(AI-NEXT J: STR=ADR(STKS)
200 DATA 104,173 132,2,240,12.173,207,
6 240, 20,169,0,141 207, 6,240, 13,173,20
7,6,208,8,173,120,2,41,3,141, 207, 6,96

210 FEM 4X Sound Data #

220 RESTORE 230:FOR Jel 10 173:EAD A:
SHDS (J J)=CHRE(AD:NEXT J

230 CATA 0. 60,3,70,3,80,3,90,3,100,9,1
00,3,0,0,108,10,108, 10,108, 10,81,20,64
10,108 10,108 19, 198.10,81,20

240 DATA £4.10,0,30,53,10,85,10,53,10,

%4,10,58,10,%6,10,53,10,91,20,102, 10.4

8,10, 108, 10,85,20,72,10, 108,10

25) DATA 108,10,198,10,85,20, 72,10,0,5
© $3,15,47,5,$3,10,60,10,64,10, 72,10,

1,20,40,20,0,9

260 DATA 121,40,91,30,91,10,91,00,121,

40,81 30,96 10,94,80, 121 ,40,91,90,72,1

0,60,40,72,30,91,10,91,40,96, 30

270 DATA 91 .10,81,80,0,0,248, 40,243, 40

280 DATA 243.10,243,40,255,10,243,60,0
0,47 19, 72,10 60,10, 64,10, 72,10, 64,10
60 10.72.10,0,0
290 HE=INT(ADR(SNDS) /256) :POKE 209, HS

[LS=ADR(SNDS )-H58256. POKE 208,L5. SOUND
3,0,0,0

300 O1F=1

310 REM #8 O08 is Screen Data ¥¥

320 00811)="@" 0081445) ="e"-Dosi2)-08
‘008 44) =cHS (0) -008 (828) =CHRS 0) 008
(450 =008 449)

eS

est a
a

390 LINEL=ADR (008) +519: HL=INT(LINEL /25
6) /LL=LINE1-HL8256: POKE 88,LL:POKE 89,

ce

340 POKE 559, 0:G0SUE 1140:COSUB 1390:6
05uB 1890

350 GRAPHICS 0:POKE 756, START/256: GOSU
B 1980; POKE 599,0:POKE 560,0:POKE 541,
6:POKE 599,24:G0SUB 1710

360 A=USRL1670) : VERT=8:GOSUB 1780: POKE
88,LL:POKE 69,HL:POSITION 12,0:7 DIF
roo

370 POKE 708,68: POKE 709,254: POKE 710,
6: POKE 711 44:POKE 712, 72:POSITION 16
(7:7" courting crickets "

380 POSITION 2,0:7 "dif level” RESTORE
‘382:FOR Jel TO 4:READ A:COLDRS (J, JI=C
HRS(A) NEXT J

382 DATA 228,36,4,230

390 DD8(613, 652) ="YYYYYYXOXXXYYYYYYIXX

OORT"
400 008.653, 892) ="YYYYYYXXRXXYYYYYYAXX,
XAYYYYIOOOKYYYYYY"

410 D0${693)="_YX_*X%_\":008(769}="ab

otabXxab "REM *=CONTROL
20 GN=U-:WFLG=0:-GIFT=0:0ROP=0:008( 552)
="90009000000000" 08 (592) = "92000000
00x"

4a POKE 1622,15:008(712)=GF18:008(788
Fes

440 POSITION 16,7:7 "SELECT dif or FIR
E".POKE 77,0

490 IF STRIG(O}=0 THEN 450

460 KEY=PEEK(53279) IF STRIG(O)=0 THEN
500

‘470 IF KEY()S THEN 460

480 OIF=DIFH1IF OIF)? THEN DIF=1

49 POSITION 12,0:7 DIF :cOSUB 1780:CoT
0 460

500 POSITION 16,7:7 “ COURTING CRICKET
5 ":GOSUB 1000: D08(712)="4X"; 008 (788) =
"0

540 A=USRCADRI STKE)

520. IF GIFT=1 AND YPOS=187 AND P>100 A,
No P(134 THEN COSUB 820:COSUB 790

590 IF PEEK(1743)=0 THEN FLAG=0

540 TF FLAG=1 THEN 580

590 5=PEEK(1749): IF $2 OR S=1 THEN FL.
(9G=1 P08 (YPOS)=CRUS: POKE 53767,170:POK
E 1591,1:FOR Jet TO 20:NEXT J

560 IF S=2 AND VERT)O THEN POKE 1767+
ERT.0:P08(YPOS}=BL8; YPOS=YPOS-16:PO8(Y
OS)=CRS  VERT=VERT-1 :POKE 1767+VERT, 1
570 IF S=1 AND VERTCS THEN POKE 174740
ERT ,0:P08  YPOS=BL.: YPOS=YPOS416:PO8(Y
OS) =CRS: VERT=VERTH  POKE 1767+VERT, 1
580 P=PEEK(1791) IF P)190 OR P60 THEN
POKE 1767+VERT,0.G0TO 710

590 POKE 52278,0

8

600 FOR Jet 10 10:NEXT J

610 IF PEEK(S3252))0 THEN POKE 1767HE

RT,0-coTO 710

620 IF YPO5=59 AND )100 AND (134 THE

NW POKE 1767+VERT,0:GOTO 840

690 JPOS=JPOS#DELU:IF UPOSRTLY OR JPO

SCLLJ THEN DELJ=-DELJ: JPOS=JPOS#2KDELU

‘640 POKE 58250, JPOS

(650 DRCNT=DRCNT-1:1F ORCNT(A THEN OPCN
T=10458(10-D1F :DP0S=50:GOSUB 950: Pa6(
DPOS)=DRPS :DROP=1 :POKE $3251 ,JPOS

660 IF DROP=1 THEN P38 (DP0S)=BL 8: 0POS=

‘DPOS40ELTA: P36(DPOS)=0RPS SOUND 1, DPOS
~40,10,10

670 IF 0POS)240 THEN GOSUB 820:0P0S=50
680 IF PEEK(53260)=8 THEN POKE 17671

RT,0:coT0 710

490 COTO 510

700 REM #4 Falling Cricket 4%

710 cosuB 820

720 POS{YPOS)=88  YPOS=YPOS+6: POs YEO
V=CRF1$:S0UND 0, YPOS,10,10:FOR Jet TO
‘30:NEXT J

790 POSIYPOS)=8L$; YPOS=YPOS+6:PO8 POS
)=CRF28: SOUND 0, YPOS,10,10:FOR Jet TO
30:NEXT J:IF YPOS(240 THEN 720

740 SOUND 9,0,0,0

750 BRO=BROH<IF BRO=4 THEN 1030

760 Je4k(BRO-1) 008 (4934J, 6984) ="100
":DO8 (7694U, 772bU)=\ 3x"

‘770 VERT=8:COSUB 1710:POKE 1791,120:P0
KE 1622,15:c0TD 510

780 REM #8 Erase Next Gift xX

790 GIFT=0:GN=GNEL:COSUB 1000:008(712+
(GN) ="" DOS 7B84ENKI)="1"

800 RETURN

810 REM 4X Eliminate Drop 44

820 SOUND 1,0,0,0:P36(DPOS)=8.8:POKE 5
3251 ,0-DROP=0: RETURN

830 PEK #8 Reached Feaale x

840 GOSUB 820:POKE 1791 ,118

850 IF CIFT=0 THEN GOsUB 920

860 IF WFLG=1 THEN 1090

870 FOR K=1 TO 10:P18(YPOS~14)=HT18
‘880 FOR J=15 TO 0 STEP -1:SOUND 0,20,1
0 U:NEXT J:P18(YPOS-14)-HT26:FOR Jet T
(0 15:NEXT J:NEXT K

090 IF STRIG(O
300 POS{YPOS =
COTO 560

910 PEM 4x Print Gift #%

920 GIFT=1:008(552)=0F18/1, (GHEL)¥}:D
s(S92)=GFE8L (GML )#9) IF Ged THEN
wruc=1

1990 RETURN

940 PEK 4X Pick a Weapon 4%

‘950 R=INT(RND(O)#4) -RESTORE 96041 08R: F
OR J=1 TO 13:READ A:DAPS(J, J)=CHRE (AI
NEXT J:POKE 707, ASC(COLORS(REL))

952 RETURN

360 DATA 20,72,34,20,74,40,8,127,127,6
2, 62 28,28

970 DATA 0,0,80,112,112,112,112,112,12
0, 124,94,0,0

980 DATA 0,0,48,96 64,127,127, 64,224,2
24,0,0,0

990 DATA 60,24,24,24,60,126,223,215,24
7,255,127, 126,60

995 REK 4X Pick Another Gift #

41000 POKE 1422,159:POKE 707,92:POKE 53
251, 124H1280N:FOR Jet TO 5:P38(205)=CU
RS:FOR K=1 TO 30:NEXT K

1010 P36(205)=8.8:FOR K=1 TO 30:NEXT K
EXT J: RETURN

1020 REH #4 No Hore Brothers #8

1030 POKE 1622, 191:POKE 59277 ,0:FOR J=
58261 TO 53264:POKE J, 0:NEXT J:GRAPHIC
5 A8:POSITION 4,3:7 #6;"AL1 Brothers"

THEN 890
$:P1$(YPO5-14)=BL 8 :5=1

Page 9 (scan)

1040 POSITION 6,4:7 #6;"are Gone”
1050 POSITION 3,7:7 86:"PRESS start TO
"-POSITION 5,8:7 #6;"try again”

1060 IF PEEK(53279)()6 THEN 1060

1070 GoTo 350

1000 REM #X Harriage Takes Place #%
1090 POKE 1622,93:FOR L=0 TO 6:FOR K=0
TO 3:POS=64R1 +164K 008 (POSH )="EXKeU
YOKE" NEXT K:NEXT L

1100 FOR Je TO 1000:NEXT J

1110 POKE 59277, 0:FOR J=53261 TO 53264
POKE J,0:NEXT J:GRAPHICS 18:POSITION
3,8:7 #6;"And They Lived”

1120 POSITION 1,4:7 6; "Happily Ever A
fter"":GOTO 1050

1190 REH ¥ Change character set

41140 DIM ZZ8(32) :RESTORE 1150:FOR T=t
TO 92:READ @:ZZ8(1)=CHRS (A) NEXT 1
1150 DATA 104,104, 133,204, 104,139,209,
104,133,206, 104,133,205, 162,4,160,0
1160 DATA 177 ,203,145,205 ,196, 208,249,

£290, 204,230 206,202,208, 240,96

41170 POKE 106, PEEK(106)~5:START=( PEEK (
108) +1425

1180 A-USR(ADRIZZ$) ,57344, START) : RESTO
RE 1200:FOR T=STARTHS12 TD START#BO7:R

EAD A:POKE 1,8: NEXT 1

1190 RETURN

1200 DATA 0,0,0,0,0,0,0,170,0,69,38,57
58,63, 49,170,0,252,172,108,172, 252,25,
2,170

1210 DATA 0,255,170,85,170,255,255,170
0 51,33, 18,33, 255,85,170,0,191, 299,25
1,254,255, 255,170

4220 DATA 0,259,215, 215,215,190,285,17
0,0, 254,251,299, 191 ,255,255,170,0,1,32
184,32, 12,3,16

1230 DATA 64,208, 64,224, 184,224, 192,19
2,116 28,3,0,0,0,0,0,200,298,248, 19,1
92,192, 192,192

1240 DATA 0,0,0,0,2,2,3,3,0,0,0,0,128,
128, 192, 192,13,55 219,222, 223,55, 13,3
1250 DATA 112,220, 247,247 247,220,112,
192,0,0,0,58,284,234,233,229,0,0,0,40,
294,170, 154,86

1260 DATA 239,239,57,58,58,14,14,19,06
90,90 104, 104,160,140, 128,0,3,12,48,1
92,192, 48,12

1270 DATA 48,204,3,3,3,12,48,12,12,3,1
2,48,14,2,2,0,3,3,3, 12,32, 160,160,128
1280 DATA 0,0,0,0,0,0,0,0,233, 181,173,
483,202 122,94,107,2,10,2,4,16,16,4,1,
128,160, 128,16, 4,4, 16,64

4290 DATA 0,0,3,15,15,204, 43,15,
207,204,255, 255,195,0,0,240, 48, 48, 48,2
40,240

1300 DATA 0,0,04,5,17,5,1,5,0,0,21,80,
68,80 ,64,80,17 ,65,1,4,4,20,0,0

1310 DATA 68,65,64,16,16,20,0,0,40,190
(179,176, 176,44 11,2, 80,244,52,52,52,2
08,64,0

1920 FEM #4 VBI Routine x4

1990 OTM VBI8(75) :RESTORE 1940:FOR Jot
TO 75:READ A:UBI$(J,J)=CHRS(A):NEXT J
eI=ADR(VBIS) : RETURN

1340 DATA 216,162,0,160, 0,222,240, 6,16
Ae, 189,224, 6,187,240, 6,189, 232,6,240,
10,24

1250 DATA 173,295,6,125,248,6,141 285,
6,24, 185,16,6,125,216,6,153,16,6, 221 2
08,6,208,6

1360 DATA 199,200,6,153,16,6,200,200,2
00,282, 224,7,144,201,173,255,6,141,0,2
08, 32,57,6,32,88,6,76,98,228

1370 REM ® Display List in Page 6 #4
1380 RESTORE 1390:FOR J=1536 TO 1679:R
EAD A:POKE J,A:NEXT

1990 DATA 112,112,112,70,0,0,68,20,0,6
8,60, 0,49,100,0,69,0,0,49,80,0,49, 128,
0 69,208, 0,69,0,0,69,80,0

1400 DATA 69, 128,0,49,140,0,68,180,0
1410 DATA 68,0,0,70,40,0,45,0,6

1420 DATA 0,0,0,0,0,0,172,55,6,240,23,
206,54,6,16,18,177,208,141,6,210, 200
1430 DATA 177,208,240,5,141,,56,6,200,1
52,141,595, 6,96

1440 DATA 0,0,172,86,6,240,,40,206,87,6
48,17 ,169,13,205,87.6,144,,173,87,4,
9,160,141 5,210,208, 18,177,208

1450 DATA 141,4,210,200,177,208,240,5,
141, 87,6 200,152, 141,96, 4,96, 104,160,
»162,0 ,169,7,76,92, 228

41460 RESTORE 1470:FOR J=1541 TO 1569 5
TEP 3:READ A:POKE J, HIAA:NEXT J

1470 DATA 2,2,2,2,0,0,0,0,1,1,1,2,2,3,
a

1480 RESTORE 1490:FOR J91736 TO 1791:R
EAD A:POKE J, A:NEXT J

1490 DATA 0,80,128,208,0,80,128,0,16,6
4,194,192, 16,64,144,0,1,255,1,255, 1,25
51,0

1500 DATA 20,12,9,12,15,18,21,0,0,0,0,
0,0,0,0,0,20,12,9,12,15,18,21,0,252,4,
252, 4,252,4,252, 120

1510 HU=INT(VBI/254) : POKE. 1674, HV: POKE
1672, VBI-256nHy

1520 PETURN

1525 REH 4X PH Images #8

1530 RESTORE 1540:FOR
C6 (J, J)=CHRS (AD :NEXT J

1540 DATA 231 ,60,90,60,24, 40,90, 153,24
36,96, 102

1950 RESTORE 1560:FOR J=1 TO 12:READ A
CRIB (J, J)=CHRS (A) EXT J

1560 DATA 66,36, 60,90, 60,159,126, 24,24
60 ,66,195

1970 BL8(1)=CHRE(0) -BL8(13)=CHRE (0) BL
sc2)=BLs

1880 RESTORE 1590:FOR Jel TO 12:AEAD A
(CAFS (J J)=CHRS CAD :NEXT J

1590 DATA 195,36,60,90,60,25,62, 88,156
36, 38,96

41600 RESTORE 1610:FOR J=1 TO 12:READ A
CRF 2S (J) =CHRSCA) :NEXT J

1610 DATA 195,36,60,90,60,152,124,26,5
7,36,100,6

1620 RESTORE 1630:FOR J=1 TO 12:READ A
CRAG (J, J)=CHRS (A) :MEXT J

1690 DATA 66,165, 60,90,36, 24,126, 158,6
0, 126,96, 102

1640 RESTORE 1650:FOR J=1 TO 12:READ A
HT48(J, J)=CHRS(@):NEXT J

1650 DATA 0,216, 248,248, 112,32, 0,27,31
31,14,4

1660 RESTORE 1670:FOR Je1 TO 12:READ A
HT2#(J S}=CHRE(AD ‘NEXT J

4670 DATA 0,27,31,31,14,4,0,216,248,24
8,112, 32

1600 RESTORE 1690:FOR Jet TO 12:READ A
CURE, J)=CHRE(A) “NEXT

1690 DATA 68,238,254,254,254,254,254,1

24, 124,56,56,16

4700 REM 44 PH Init, aX

1710 POS(1)=CHRB(0) -POS(254)=CHRS (0):
0812)=p08: Yp05=167: P08 (YPOS)=CRS

1720 P18(1)=CHRB(0) °PL8(256)=CHRB(0):P
18(2)=P16 Pee 11=CHRS (0) PEEL 256)=CHRE
(0) :Pasta)=pes

1730 P8(4)=CHRS(0) : P36 (254)=CHRE(0)-P

‘38(2)=P38 P18 (40)=CRMS-P26 (44) =CR$-JPO
5=100 :DELJ=3:RTLJH200:LLJ=50: DELTAS
1740 POKE $4279,HI:POKE 959, 62:POKE 53
277, 3: POKE $3248,120:OKE 704,116: POKE
59249, 126:POKE 705,92

9

TO 12:READ A

1750 POKE 53250,100:POKE 706,,20:POKE 7
07,0: POKE 628,1

1760 RETURN

1770 PEK 4X Packages on Belts ##

41780 00811 )="@" 008;.448)="0" 008 (2)=D0
’

1790 FOR J=1760 TO 1766: SPEED=RNO(0)#(
‘9-DIF)44(7-DIF) IF O1F)3 THEN SPEED:
PeEDe 8

1792 POKE J, SPEED-NEXT J

1800 FOR L=0 TO 6:RESTORE 1850+10¥L-Ke
AD FS-FOR K=0 TO. 3

1810 POS=s4¥L #148K. 008 (POSH I=FS

1620 IF DIF)3 THEN ODS (pOs#9I=FS

41840. NEXT K:NEXT L-PETURH

1845 FEH x CHAR IN 1860, 1880 6 1900
‘APE INVERSE 98

1950 DATA ACB

1860 DATA Ace

4870 DATA 000

1880 oATA EFC

1890 DATA EFC

1900 BATA DOD

1910 DATA EFC

g

Ruth’s Pilot, Con‘t

BMT
5950 Pos:15,29
5560
5870
5580
5590
5600 C:8%=¥
5610 POS:15,23
S420 To

Séet POS-20,4C

5590 Ty

5640 J1@6764=43) -sPIGHT
5650 Pa:#y

B65 T:)

5660 CoAC=#CH2

5670 JUACK19) AY

5680 PO5.17 18

se T:!

5700 Pos-15,20

snot:

5720 Po5:15.29

5730
5740
s7s0
5760
S770 C:4X=2
5780 705-1523
5790 T.
5791 POS-20.4¢

5800 T:2

S810 J1@6764=23)  ¥PIGHT
5820 Pa:4Y

sel >

5830 C-#C=#ct2

5840 J¢4CC19) 42

5850 PO5:17,19

se0T!

5870 Pos: 15,20

Page 10 (scan)

KNIGHTS
by Sydney Brown

1 ROK keke

2 REM #8 KNIGHTS by Sydney Broun
3 PEM a8 FEB 83 *
4 PEM eS ACE NEWSLETTER

SEM x8 3662 VINE HAPLE x
6 REM ef EWENE, OR 97405 x

7 EH at $10 Yn *

6 REN eaneenaeeenexeeneeteets
10-7 ")":POKE 710,194:7 , :PEM INV? *
KNIGHT FOR @ DAY ":7:7 "YOU ARE SIR
CYRIL THE BRAVE AxD YOU!

427 "HAVE SET OUT TO RESCUE THE BEAUT
IFUL":7 "PRINCESS WHO WAS CAPTURED AND
Lockeo"

147 "IN THE TOMER OF THE EVIL KINGS C
ASTLE":7 7 "YOU BEGIN IN THE ENTRANCE
CHAMBER OF": "THE CASTLE.”

167-07 "YOU MUST SEARCH ALL THROUGH T
HE VERY"; 7 "CONFUSING HAZE OF ROOMS A
NO FIND THE"
16 7 “THREE STAIRCASES, ONE LEADS TO AN
OTHER" :7 "TOMER & YOU APE SENT BACK TO
THE"? "ENTRANCE CHAMBER TO BEGIN ACA
IN”

20 7 “ANOTHER LEADS TO THE DUNGEON WH
CH":7 "ALSO LEADS BACK TO THE ENTRANCE
iL

22 7 “THE THIRD LEADS TO THE TRAPDOOR
ROOH,":7 “IF YOU MAKE IT PAST THIS ROO
HOTHEN YOU";:? “HAVE MADE IT."

247-07 "THE TIME YOU TAKE 15 SHOW AT
THE ENO":7 °REK TMV:7 " PRESS THE STA
RT BUTTON AND STAND-BY",

80 IF PEEK(S3279)()6 THEN 80

90 POKE 105, PEEK(106)-2

95 GRAPHICS 18:POKE 708,90: POKE 709,14
0 POKE 710,188. A=PEEK(106)¥256

100 FOR B=0 TO 511

101 IF (8)423 AND B(456) OR 8443 THEN
READ D:POKE A¥B, D:NEXT B:GOTO 110

10% POKE A¥B, PEEK (5734448) :NEXT B

110 THO: POSITION 0,0:7 #6;""2":POKE 71
0 10:POKE 712,0:POKE 708,44: POKE 709,2
22°POKE 711,140: POKE 756, PEEK 108)

190 GOSUB 2000

291 He10-V=11 ;POSITION 0,11°REM INU :?

#5;"u"GOSUB 900-FOR W=0 TO 10:COLOR @

49:PLOT W,11°FOR t= TO 100: NEXT Wi

492 COLOR 32:PLOT W.11 NEXT W:COLOR 24

S:ALOT 10,10:FOR Wel TO 100:NEXT W-COL

OR 32°PLOT 10,10:COLOR 245:PLOT 10.9
193 FOR Wel TO 100:NEYT W:COLOR 32:

LOT 10,9:COLOR 245: PLOT 10,8:FOR Wet
TO 100:NEXT WW:COLOR 32:PLOT 10,8

198 GOSUB 920:COLOR 245:PLOT H,:X=8:0

0-0

200 THeTHEL :ST=STICK(O) TF ST=11 THEN
LOCATE H-1,U,Z:IF Z=32 THEN COLOR 32:P
LOT H,¥:COLOR 245: HeH-1:PLOT Hv

202 POKE 77,0:IF ST=7 THEN LOCATE HH,
V,Z:1F Z=32 THEN COLOR 32:PLOT H,v:COL
(OR 245.H-HEL:PLOT HU

204 IF ST=14 AND U)0 THEN LOCATE H,V-1
\Z:IF 2292 THEN COLOR 32:PLOT H, COLO
R 245:VeU-1-PLOT H,Y

206 IF 5T=13 AND U<L0 THEN LOCATE H,v+
41,Z:IF 2=32 THEN COLOR 32:PLOT H,:COL
OR 245-V=U41 PLOT H,0

270 IF UCL THEN X+H:He10-U=11 :60TO 290
279 FOR Wet TO 77:NEXT W:GOTO 200

290 IF X¢B THEN XX=A:0N A GOSUB 925,99
0,935,

291 TF 041 THEN Xx=8:0N @ GOSUB 925,9
30,925

292 IF X12 AND X)7 THEN X¥=C:0N C GOS
uB 925,930,985

295 COLOR 245:PLOT H,

900 OW=0:ST=STICK(O) : IF ST=11 AND H)0
THEN LOCATE HH4,,2:IF 2=32 THEN COLOR
32:PLOT H,V-COLOR 245:HoH-1:PLOT 4,0

201 POKE 77,0
‘902 THETHHL:IF ST=7 AND H(L9 THEN Loca
TE HE1,U,2:1F Z=32 THEN COLOR 32: PLOT
H,Y:COLOR 249:H=H#1 PLOT HU
304 IF 3T=14 AND V)O THEN LOCATE H,V-1
\Z:IF 7=92 THEN COLOR 32:PLOT H, V:cOLO
4:PLOT HU
306 IF ST=13 AND UC10 THEN LOCATE H, v4
4,2:1F 2632 THEN COLOR 32:PLOT H,¥:cOL
OR 245:U=U+1 PLOT H,V
840 IF H¢1 OR HD48 OR UCL THEN 355
380 FOR W=1 TO 77:NEXT U:COTO 300
955. IF XXOG THEN 340
356 IF HCL AND A=3 THEN GosuB 940:coTO
400
357 IF H)18 AND C=3 THEN GoSuB 940-CoT
0 409
398 IF ¥<1 AND 8=3 THEN COSUB 949;cOTO
400
360 IF HL AND XX=1 THEN ON AL GOSUB 9
20,930,995,
S61 IF HCL AND Xt=2 THEN ON A2 GOSUB 9
25,920,935
362 IF HCL AND XX+3 THEN ON A3 COSUB 9
25,930,920
365 IF H)18 AND XX=1 THEN ON C1 coSUB
920,990,935
366 IF H)1@ AND XX=2 THEN ON C2 GOSUB
925,920,985
367 IF H)18 AND XX!
925,930,920
370 IF UG1 AND XXe1 THEN ON B1 GOSUB 9
20,930,935
S71 IF UCL AND X¢=2 THEN ON B2 GOSUB 9
25,920,995
372 IF VcL AND XX°3 THEN ON B9 COSUB 9

25,990,920 10

THEN ON C3 cosuB

980 H=10;V=11 COLOR 245:PLOT H,U:1F 09
=1 THEN Q@=0:GOTO 200
399 XXeX:G0TO 300
400 ST=STICK(O) :THETH#L :POKE 77,0
401 IF ST=11 AND H)2 AND V=10 THEN COL
OR 82:PLOT H,V:COLOR 245:H=H-1:PLOT H,
v
402 IF ST=7 AND H(13 AND U=t0 THEN COL
(OR 2:PLOT H,V:COLOR 245:H+HH:PLOT H,
v
404 IF ST=6 THEN LOCATE HH ,U=1,Z:IF Z
122 OR 2=32 THEN COLOR 32:PLOT H, V:H=
HEL:U=U-1 :COLOR 245:PLOT H,)
405 IF Z=122 THEN 450
406 IF ST=9 THEN LOCATE H-£,U#1,Z:IF Z
=82 THEN COLOR 32:PLOT H,:COLOR 245:H
HAL V=UH PLOT HU
4449 FOR Wel TO 77:NEXT W-GOTO 400
450. IF U=2 THEN ON AS GOTO 480,490,550
452 IF U=5 THEN ON BS GOTO 480,490,550
1454 ON CS COTO 480,470,550
‘490 GOSUB 950:H=18:U=11:COLOR 245: PLOT
H,v:GoTO 600
490 SOUND 0,0,0,0:POKE 59768, 5:POKE 53
‘61,168: POKE $3765, 168: POKE 59760, 254.
POKE 59764, 127:COSUB 960
495 COLOR 245:H=1:V=10:PLOT Hv
300 POKE 77,0:TH=THHL-ST=STICK(O):IF 5
‘T=6 AND U9 THEN COLOR 32:PLOT H,U:H=H
HI:UaU-1:COLOR 245:PLOT H,U
502 IF ST=11 AND WB AND V=9 THEN COLO
R @:PLOT H,U:HH-1:COLOR 245-PLOT H,
504 IF ST=7 AND H(19 AND V=3 THEN COLO
R 32:PLOT H,U:H>HEL-<COLOR 245:PLOT H,
530 IF He19 THEN SOUND 0,0,0,0:S0UND 2
0,0,0:0T0 40
599 FOR W=1 TO 39:NEXT W:GOTO 500
540 POKE 712,0:GOSUB 920:H=10:U=11 COL
‘oh 245:PLOT H,¥:COTO 200
580 GOSUB 910:COLOR 245:PLOT 4,3:FOR U
=1 TO 7:R=RND(O)X220+5: SOUND 0,R, 10,10
SOUND 1,R#1,10,10:FOR Wet TO 77
509 NEXT WM:NEXT W:SOUND 1,0,0,0;50UND
0,0,0,0°GOSUB 920:H=10:V=11:COLOR 245,
PLOT H,:GOTO 200
600 THETHEL :ST=STICK(O) :IF ST=i1 THEN
LOCATE H+t,Y,2:IF 2=32 THEN COLOR 32:P
LOT H,V:COLOR 245:H=H-1:PLOT H,)
401 IF 29123 THEN 490
602. IF ST=7 THEN LOCATE WHY, Z:IF 2=3
2 THEN COLOR 32:PLOT H,V:COLOR 245:H=H
+L-PLOT H,0
603 IF 2=128 THEN 490
604 IF ST=14 THEN LOCATE H,U-1,2:1F Z=
82 THEN COLOR 32:PLOT H,:COLOR 245:U=
U-L:PLOT Hv
605 IF 2=123 THEN 470
606 IF ST=13 AND UCLO THEN LOCATE H,0+
41,Z:IF 2932 THEN COLOR 32:PLOT H, V:COL
‘OR 245:U=U1 PLOT HU
407 IF 2=123 THEN 490
610. IF V1 THEN 650
649 FOR Wel TO 39:NEXT W:GOTO 400
650 GOSUB 910:COLOR 32:PLOT 16,3:POSIT
TON 10,10°7 #6;"ux"
660 RESTORE 1900:FOR W=1 TO 14:READ F-
EAD D:SOUND 0,F,10,10:SOUND 1,F#1,10,
10:FOR Wet TO D:NEXT WM:NEXT W:SOUND
0,0,0,0:50UND 1,0,0,0
(670 POSITION 6,0:7 #6; "time=";TH
690 POSITION 4,11:7 #6;"press start"
(695 IF PEEK(53279) (96 THEN 695
4699 GOTO 110
900 GOSUB 910:POSITION 0,0:7 #65" KNI
GHT FOR A DAY": SOUND 0,0,0,0:POKE 5376
8,4:POKE 53761 ,168:POKE 53765, 168
902 POKE $3760 ,254:POKE 53764, 127:FOR
Wxe1 TO 7:FOR Wet2 TO 252 STEP 16:POKE
710,

Page 11 (scan)

905 FOR Wet TO 10:NEXT WW:NEXT W:NEXT
WK:POSITION 0,0:7 #6;

909 SOUND 0,0,0,0:SOUND 2,0,0,0:RETURN

910 POSITION 0,0:7 #6;"2":POKE 712,0:P
OKE 709,222: OKE 708, 44:POKE 711,140:
OKE 710,10

911 POSITION 2,2:7 46;
** POSITION 3,3:7 96,
"POSITION 3,4:7 #6;
‘912 POSITION 2,1:7 #4

913 POSITION 3,5:7 #6;

FOR Weé TO 10:POSITION 3,U:7 #6;"*

"NEXT

914 COLOR 32:PLOT 4,8:PLOT 4,8:PLOT 10
,S:PLOT 14,8:PLOT 16,8:FOR WH9 TO 11:P

LOT W,9:PLOT W,10:PLOT W,8-NEXT #

919 RETURN

720 POSITION 0,0:7 #6;")":00=1

‘921 POKE 708,44:GOSUB 990:COLOR 32:PLO
T 4,0:PLOT 5,0: PLOT 9,0:PLOT 10,0:PLOT
14,0:PLOT 15,0:PLOT 9,11:PLOT 10,11

‘924 RETURN

925 POSITION 0,0:7 46;"2" xt

'¥26 POKE 708,90:COSUB 990:COLOR 32:PLO

T 0,9:PLOT 0,6:PLOT 9,0:PLOT 10,0:PLOT
19,5:PLOT 19,6:PLOT 9,11:PLOT 10, 11

929, RETURN

990 POSITION 0,0:7 46;"2":Xe2

731 POKE 708,202:COSUB 990°COLOR 32:PL.
OT 0,5:PLOT 0,6:PLOT 9,0:PLOT 10,0:PLO
T19,5:PLOT 19,6:PLOT 9,11:PLOT 10,11
1994 RETURN

985 POSITION 0,0:7 46;
1986 POKE 708,138:GOSUB 990:COLOR 32:PL.
OT 0,5:PLOT 0,6:PLOT 9,0:PLOT 10,0:PLO
1 19,5:PLOT 19,6:PLOT 9,11:PLOT 10,11
999 RETURN

940 POSITION 00:7 46; "2":POKE 708,44:
POKE 709,6:POSITION 0,0

ga 7 agin FOR W
110 11:7 #6;" eoveesiveseay
NEXT W:COLOR 32:PLOT 10,8:DRAWTO 8,10
942 PLOT 9,3:0RAWTO 2,10:0RAWTO 13,10
DneWTO 17,6:COLOR 122:PLOT 10,2:PLOT 1
41,7:PLOT 18,5

949 He10:V=10:COLOR 245:PLOT H,V:RETUR
"

990 POSITION 0,0:7 46;"")":POKE 708, 14:
POKE 709,38:GOSU8 990:PLOT 6,1:DRAWTO
6,6:PLOT 13,10:DRAWTO 13,5

951 COLOR 32:PLOT 1,0:PLOT 2,0:PLOT 17
VM1:PLOT 18,12

952 COLOR 129:PLOT 9,1:PLOT 10,10:PLOT
1,5:PLOT 18,6:FOR Wet TO 14

(998 Y=INT(RND(0)#8) 42: XeINT(RND( 01416)
$2: LOCATE X,¥,2:1F 20032 THEN 953

954 PLOT X,Y:NEXT W
989 RETURN

960 POSITION 0,0:7 #
‘OKE 710,0:POKE 708,10

961 W=B:COLOR 94:FOR Y=4 TO 10:FOR X=W
TO 19:PLOT X,Y NEXT X-Wel-1:NEXT Y:CO
LOR 219:FOR We4 TO 16 STEP 4:FOR XeW T
owe

‘962 PLOT X,9:PLOT X,10:NEXT X:NEXT W:P-
LOT 11,6:PLOT 15,4:COLOR 218:PLOT 19,3,
969 RETURN

990 COLOR 94:PLOT 0,0:DRAWTO 19,0:DRAM
‘TO 19,11:DRAWTO 0,11: ORAWTO 0,0:RETURN

:POKE 712,4:P

999‘ RETURN
1000 DATA 20,8,62,99,93,20,20,54,1,3,7
115,31 68,127 255,255,127, 63,31,15,7,3
a

1005 DATA 0,8, 120,8,28,62,8,24,126, 126
126,126, 94,126, 126, 126, 170, 258,170,17
0,170,170, 255,170

1010 DATA 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0

1050 DATA 253,253,253, 0,203,229,229,0,
0,0,0,0,0,0,0,0

1900 DATA 49,75,53,60,75,25,59,50,65,5
0,75,50,90,50,100,56,110,25,100,25,90,
50, 100,25,90,25,80,150

2000 A=INT(PND(O)83)+4

2001 B=INT(RND(O)43)+1=1F B=A THEN 200
1

2002 CeINT(RND(0183)41:1F C=A OR C=# T
Hen 2002

2010 At=INT(RND(O)¥3) +1

2011 B1=INT‘PND(ON¥S)#1 IF BI=AL THEN

201

2012 CI=INTURND(0)43)+1-1F C1=A1 OR C1
BL THEN 2012

2020 AQ=INT(RND(O)43)41

2021 BE=INT(RND(O)¥3)#1-IF Be=A2 THEN

oat

2022 C2=INTIRND(OV43)+1: IF C2=Az OR C2
=82 THEN 2022

2030 AB=INT(RNOLO)43)+1

2031 B3=INT(PND(OD¥S)#1 TF B9=A9 THEN

2081

2082 C3=INT(RNO(O)#3) HIF C3=A3 OR C3
=83 THEN 2032

2040 AS=INT(RND(0)x3)+1

2041 BS=INT(RNO(O)S) HIF BS=A5 THEN

oat

2082 CS=INTIRNDL0)#3)41 IF CS=AS Of CS
=B5 THEN 2042

£2050 Q-INTIRND (0183141

2099 RETURN

FERSEET ESOS HOODS E BARES EERR SREB RRR E REDE REEDS E EL

MACHINE LANGUAGE 3

by Stan Ockers

410; MOVING CURSOR ROUTINE

20;

30 ; The cursor position is held in page zero
49 | locations $54 (row) and $55 (coluan)
50 ; Joystick 0 values appear at $0278

sere
$54
$55
$0600
5 for USR
STICKO read Joystick
#806; is it UP?
ow 0
RONCRE — yes, cursor up one
#900 is it DOW?
UT; ne
POURS: yes
#908; is it LEFT
RIGHT
covers
4907; is it RIGHT?
our
Coens
5 back to Basic

0940 ; Problem #3: Fill Screen with A's

$0600
as usual
#904 four pages
210 an ASCIT ‘A!
480 j start at zero

and go thru all
#7C40,X ; (inserting A's)

LooPt =; until zero again
$0608 HI byte up one

i ck for last page
Loops not yet
Lonp2 endless nop

60;
o2re 70 STICKO
9054 180 ROWCRS
0055 90 coLcRS

0100 |
‘0000 o110 *

0120 ;
600 68 0130 Pa
9601 07802 0140 toa
0604 C90E 0150 oH
0608 Dov 0160, BRE
0608 C454 0170 pec
0408 C900 0180 ON CHP
960C D002 0190 BME
O69E E654 9200 INC
610 C90B 0210 LEFT CHP
siz D002 0220 BE
614 cés5 0230 vec
0616 C907 0240 RIGHT CHP
sie Doe 0250 BNE
061A E455 0260 IWC
O61 800270 QUT RTS

280

0290 ; Listing #1

0300 ;

oto ;

0320 | ANSWERS TO PROBLEMS

0330 ;

0350;
oa10 0360 ®
0600 680370 Pua
601 A004 0380 toy
0603 Ave 0390 Loa
0605 A200 0400 Lox
0607 CA 0419 LooPL EX
‘0608 30407¢ 0420 sa
0608 DOFA . 0430 BNE
0600 EEDA0S 0440 INC
os10 88 0450 vey
sit DOFA 0440 Bie
0613 FOFE 0470 Loope Beg

cago ;

0490 ; Notes:

0530 ; is at very top of aenory

11

(1) My screen starts at
0500 ; $7e40 (32K), yours way differ

0510 ; (2) We actually try to fil] 1024 bytes
0520 ; (screen has 960) but screen data

The extra

Page 12 (scan)

Machine Language 3, Con’t

0840 ; doesn't overrun anything
0850 ; (3) Notice that you can't re-run
0560 ; the program without fixing it up
0970 ; where it modifies itself

0380 ;
0590 5
0600 ; Problem #4: Execution Tine of Loops
0610 ;
001s ez0 t= 0600
0400 68 0430, PLA
601 ama 0680 LOA #814 20 (decinal) outeracst loops
0403 8500 0650 STA $00 using page zero cntr
0605 4200 0640 LOPS LOX #80, F imit. Loops
0607 A000 0470 Lope LOY #80,
0609 88 0680 LPL EY + inneraost loop
0408 DOFO 0690 BNE LOPL
soc ca 0700 ex + second Loop
0600 DoFe 0710, BNE Lope
060F C400 0720 vec $00 # outersost loop
git DoF2 0730 BME LOPS
0613 60 0740 ats + back to Basic
0730 5

0760 ; Note: Takes approx. 6 sec.
070 ; for about 1,3 aillion inner loops
0780 ; That's half a willion loops a sec. !

0278 STICKO 0084 POUCRS "0055 COLCRS 0608 DN
0610 LEFT 0616 RIGHT 061C OUT 0607 Loop
9613 Lope 0605 Lops 0607 Lore 0609 LOPL

Jon Atack

100; FINE SCROLLING

90110 ;
00120 ; by Jon Atack
00130 5

300) 00140 STICK £9 $0300

405. 90150 VSCROL .£0 sD405

404 00160 WSCROL £0 $0404
00170 OR $600 STARTS AT PAGE SIX
00180 ;

0600: A? 03 00190 START LDA #3 TRY DIFFERENT NUMBERS HERE
0602; 8D E1 96 00200 STA SPEED

0605: AD 30 02 00210 LDA $230 SET UP LHS POINTER
0608: 80 CF 04 00220 STA LHS

(0608: AO 31 02 00230 LDA $231 $230,231 5 POINTER TO START
O60E: 8D D0 04 0024 STA LMSH © OF DISPLAY LIST

0611. AP CB 00250 LOA #0SP CHANGE TO OUR
0613: 80 30 02 00260 STA $230 CUSTOM DISPLAY LIST

0616: A906 — 00270 LOA /DsP

0618. 80 31 02 09280 STA $231

0618: AF 06 — 00290 LDA 86 SET UP VERTICAL BLANK INTERRUPT
61D: @2 06 — 00300 LOX JVB HI-BYTE

Oe1F: Ad 20 00319 LOY VBI LO-BYTE

0621: 20 SC EA 0020 SR SE4SC

424: a9 00 0030 LDA #0

9426: 80 OF 06 0034 STA HSCRL.

0629: 80 £0 06 00350 STA YSCAL

sec. 40 00360 RTS. PETURN TO USER
00370
00360 ; VERTICAL BLANK INTERRUPT
00390 ;

0620: AC E1 06 00400 UBI LOY SPEED
0430: AD 00 03 20410 LOOP LOA STICK

0423: 29 02 —o0ea AND 42

0635: 00 20 90430 BNE NOTOWN

0637: AE ED 06 00440 LOX VSCRL SCROLL OOM
0488: EB 0450. INK

638: £0 10 00460 CPX #16

9430: 90 12 90470 BCC 4

063F: AD CF 06 00480 LDA LMS

ose 18 0490 cLe

06a 49 18 00500 ADC #24

0645: 80 CF 06 00510 STA LHS

0648: 09 18 00520 CHP #24

12

eee:

ac:
OF:
ost

0657:
0458:
6sc:

061.
0662:

0667:
0668:

0660:
O6F:
674
74:

0698:
0690:

o6Ae:
6n4

0608:
060A
ee:
nee
0680
0083:

0087

8c:
88

ca:
cs:

oe:
O6ce.
onc:
9601
60a:
07:
060A:
ste:
00:
OOF:
seo
Ose.

ONE

01-0608,

sce:

000F:
404
060
0830:

Op
HSCAL

B03 00530
EE D0 06 00540
200 00550
€ E0 06 00560
BE 05 04 00570
‘40 00 03 00580
29 01 00890
Do 1E 00600
AE ED 06 00610
cA 0620
10 12 00690
AD CF 06 00640
38 00650
£9 18 00660
80 CF 05 00670
C9 Es 00680
9003 00490
CE 00 06 00700
42 OF — 00710
EEO 06 00720
BE 05 04 00730
‘0 00 03 00740
2904 00750
0 1a 00760
‘AE OF 06 0070
ca 00780
10 0€ 00790,
#€ CF 06 00800
£8 ove10
8€ CF 06 00820

00.03 00890
EE 00 06 00840
2.07 00850
8 DF 06 00860
AE 04 04 00870
0 00 03 00880
2908 00890
Do 1 00900
AE DF 06 00910
£8 00920
£0 98 00930
30 10 00940
AE CF 06 00950
ca 00960
8E CF 06 00970
co FF 00780
0003 00990
CE 10 06 01000
200 01010
8 OF 06 01020
8E 04 04 01030
88 1040
Fo0a 01080
© 30 06 01060
4 SF £4 01070

01080
01090
01100
70 70 70 01110
7 01120
20 8C 01130
37 37 37
37 37 37
37 37 a7
a7 171140
a 1150
cB 06 1t60
CT 1170
0 o1180
00 01190

—— Symbol table —~

HScPOL,

Ls
Loop

eS 2
Ne LNSH

2 Lox #0

1 STX USCAL

STX USCROL.
NOTDWN LOA STICK

NO #1

BRE NOTUP

LOX VSCAL SCROLL UP
ex

Bet

Loa LS

sec

sec #24

STA LMS

HP 4232

Bcc 2

DEC LHS#

2 LOX #15

1 STX user

TX VSCROL
NOTUP LDA STICK

ND #4

BNE NOTLFT

LOX HSCAL SCROLL LEFT
DEX

BL

LOX Lis

1K

ST LHS

BNE 2

INC LHSH

2 Lox #7

1. STX HSCAL

TX HSCROL.
NOTLFT LOA STICK

AND 48

BNE DONE

LOX HSCAL SCROLL RIGHT
1K

cox 43

eer 4

Ox LAS

Ee

5x Ls

cH #255

BRE 2

DEC LAS#

2 Lox #0

1-STX HSCRL

TX HSCROL
DONE DEY

peg 1

HP LOOP

1 NP SE4SF EXIT VBI ROUTINE
j OUSTOK DISPLAY LIST
DSP HS 707070 3 BLANK 8'S

HS 77
LS .HS 2080 LOAD HEHORY SCAN INSTRUCTION

HS 3737373737373737373717
HS at
Oa DSP BACK TO START OF DISPLAY LIST
HSCRL HS 00
USCAL .HS 00
SPEED .H5 00
02-06, .01=0651 (04E1: SPEED
0657: NOTOAN 0600: START
02-0674, .01=0676 0300; STICK
0490: NOTLET 0620: vBT
020688, .01=068C 0660; vScRL
os7e: NOTUP 405: USCROL

020695, .01=0697

Page 13 (scan)

Game Writer’s Column

by Jon Atack, Eugene A.C.E.

Welcome back to the GAME WRITER'S COLUMN. Last month we covered Ver-
tical Blank Interrupts. This month we'll be using VBI together with this month's
topic: Vertical and horizontal fine scrolling

To achieve fine scrolling, there are basically three things you must do:

1. Make a custom display list.

2. Set up a background to be scrolled.

3, Write a VBI routine to do the scrolling.

A Display List is a set of instructions telling the ANTIC chip (1) what part of
memory is to be displayed and (2) how to display it. For our purposes we'll use a
display list to scroll the whole screen both vertically and horizontally.

Hex: Decimal Comments:

70 112 @ blank lines

70 42 8 blank lines

70 12 8 blank lines

a7 ial LMS: Load Memory Scan
20 32 tells ANTIC that screen
3c 60 memory starts at $3C20,
cd 55.

a7 55 display ANTIC mode 7 (GR. 2)
a7 55 bits 4 & 5 set, to

7 55 enable fine scrolling

37 55

37 55,

37 55

cg 55

cd 55

a 55

a7 55,

41 65 JVB: Jump to Vertical Blank
00 00 and start of display list,
20 8 which is at $3000

For most games, the background will be one of the special character set modes
{ANTIC modes 4,5, 6, 7) used with a custom character set. Examples of games us-
ing this technique are Eastern Front, Protector, Wizard of Wor, PacMan, Cen-
tipedes, Nautilus, Canyon Climber, Miner 2049er, etc. Almost every commercial
game uses a custom character set background. However, to save time and space,
our fine scrolling demo will just scroll over the data in the operating system. To
make your own background, you must (1) define your character set, then (2) place
your screen data into memory someplace, and (3) change the Load Memory Scan
pointer in the display list to point to your screen data. Custom displays take a lot
of time, but the results are well worth it. A good background is a must for any
‘commercial game,

‘The final step is to write a routine to do the scrolling. There are two fine scroll:
ing registers in the operating system called HSCROL and VSCROL. HSCROL con
trols horizontal scrolling, and VSCROL controls vertical scrolling, To use them,
simply poke or store the number of lines you want scrolled.

There's just one problem: fine scrolling can only scroll so far. The vertical limit
is 18 TV-scan lines, and the horizontal limit is 16 graphics 7 pixels. I we attempt to
scroll beyond those limits, ANTIC simply ignores the higher bits and starts over at
2200,

The solution is to modify the Load Memory Scan instruction address in the
display list. The LMS instruction contains a 2-byte address which tells ANTIC
where in memory to start fetching data for the screen. If we decrease the value of
that 2byte address by one, the whole screen does a coarse scroll to the right. I
we increase it by one, it coarse scrolls to the left, Similarly, if we add 40 to it (using
a graphics mode that requires 40 bytes per line), the screen scrolls up. And if we
decrease the address by 40 (using the same graphics mode), the screen scrolls
‘own,

Notice the word ‘coarse.’ Scrolling using the LMS pointer has no limits, but the
screen moves in big jumps. To get unlimited fine scrolling, we must combine the
fine scrolling registers with coarse scrolling using the LMS pointer.

So, to do fine scrolling, we first fine scroll the screen, keeping track of how far it
has been scrolled. When the amount of scrolling equals the size of the pixel or
character, we reset the fine scroll register to zero and change the LMS address to
execute a coarse scroll

Look over the scrolling program itself and give it some study. When scrolling to
the right, the HSCROL register is increased each time until it reaches a value of 8
(because graphics 2 characters are 8 pixels wide). Then, HSCROL is reset to zero
and a coarse scroll is executed by adding one to the value of the LMS address.
‘The same technique is used for the other 3 directions, and diagonal scrolling is
‘done by combining two directions into one scroll. For example, to scroll diagonal-
'y up and lett, a ‘lef’ scroll and an ‘up’ scroll are both executed during the same
vertical blank

Feel free to incorporate this scrolling program into your own game. In closing,
here is short goodie you may want to type in and try:

100 COLOR £0 $FO

It's a good effect for the title of a game, although you'll have to rewrite it so you
don't need to press system reset.
Until next month, good luck and great gaming!
—Jon Atack 1 3

Ockers

Machine Language Programming #3
Compare Instructions and Hooking to Basic

In the last session we created a loop using a branching instruction. Because of
the way the loop was terminated, it was necessary to count backwards with the in-
dex. There should be some way of terminating a loop while counting forward and
there is, The COMPARE instructions (CMP,CPX and CPY), Compare instructions
involve one register (Accumulator, X or Y) and one other byte. Where the other
byte comes from is determined by theaddressing mode. In'a loop using X as @
counter we use CPX:

Lx =+$00 j Initialize count LOOP.
INX i Next

CPX +$14 Finished?

BNE LOOP Not yet

The instruction CPX ~$14 compares the X register with the hex number $14. It
DOES NOT affect the X register but it DOES set and reset flags. Remember the
branch instructions operate depending on the condition of the flags. We have
mentioned the zero (Z) and negative (N) flags. ! want to introduce another, the
carry (C) flag. We won't say what itis until we discuss binary arithmetic; it’s suffi-
lent to know this flag, like others, will be set or reset depending on the previous
operation,

‘The branches to go along with the carry flag are:

BCC Branch on Carry Clear (C=0)
BCS Branch on Carry Set D)

By using the flags after a compare operation we have the equivalent of Basic's

IF... THEN construction:
Want to Branch
REGISTER = DATA BYTE
REGISTER <> DATA BYTE
REGISTER ~< DATA BYTE
REGISTER » = DATA BYTE
REGISTER » DATA BTYE

followed by

(BEQ branches over

Let's create a program to handle joystick movement of a cursor. Suppose we
want only orthogonal movement (no diagonals). One solution is given in listing 1.
The routine itself is quite simple, it compares the joystick value it gets to those it
expects for certain directions and updates the direction only if they correspond,
Notice the PLA at the beginning and the RTS at the end. These are used in ‘hook-
ing’ the machine language routine to Basic. If you just put the routine itself in
machine language with a loop from the end to the beginning, it will run too fast.
With the USR function in Basic we can call the routine only when we want to, one
time through for each call. Just put the routine in page 6 using ‘Hexpoke’, then
type NEW and run the following Basic Program:

100 TRAP 100:POKE 752,1

{CHAS(30);;A = USR(1536)
1.TO 10:NEXT J
440. GOTO 110

The CHRS{30)'s (backspace) are there because the cursor column automatically
advances once after the print. Leave them out and you won't be able to move left.
The trap is to prevent a ‘cursor out of range’ error message. Play with the delay
loops to see their effect on the timing.

I you want to use this routine in a Basic program you won't want to load "Hex
poke’ and punch it in every time. We need the routine itself in the Basic program.
One way to do this is to POKE the data in as follows. The Hex numbers are con-
verted to decimal, (| use the program on page H-18 of the Basic Manual), and put
into Data statements,

10 RESTORE 20:FOR J=0 TO 28:READ A:POKE 1536+ J,A:NEXT J
20 DATA 104, 173, 120, 2, 201, 14, 208, 2, 198, 84, 201, 13, 208, 2, 230, 84, 201, 11,
208, 2, 198, 85, 201, 7, 208, 2, 230, 85, 96
Itis nice to keep page 6 free for other uses,
‘machine language routines in strings as follows:
40 DIM STK${(29;RESTORE 20:FOR J=1 TO 29:READ A'STKS{J,J)
=CHRS(A):NEXT J

The function is then called with A=USR(ADR(SS). This only works if the
routine is completely relocatable and js able to reside any place in memory. This
means you can't use any instructions which depend on where the program is
located. Absolute jumps to the program itself are out. These change depending
on the program location. Relative branches are O.K. as are references to locations
which don’t change (STICKO for example.

Problem #5

We used a TRAP in Basic to handle any out of bounds cursor movement in our
‘cursor program. A better way is to handle the problem at machine level. Re-write
the program of listing 1 so that top, bottom, left and right limits to cursor motion
are included.

In this case | tend to put my

COMPARE Instruction OP codes

addressing mode IMMED. ‘ABSOL, ZPAGE
CMP: co cD cs
CPx £0 EC Ea
cPY co

—Stan Ockers

Page 14 (scan)

BRIAN'’S ARCADE

‘Along with the New Year there have been some pretty good games to go along
with it! The Sands Of Egypt is a new adventure game from Datasoft Inc. | can’t
give the game a full review because | have not gotten very far in the game. | am go-
ing to give the game to Jim Bumpas, our co-editor, and he will give it a full review
next month!

(One of the things | really like about the game Is the superb scrolling. When you
move west, for example, the entire picture scrolls to the left. So far | have only
three different scenarios and I've heard no sound. But | don’t know, because like |
said | haven't gotten very far. If you want to play a tough adventure game you
should buy The Sands of Egypt

Another game we recieved to review is Serpentine from Broderbund Software.
Serpentine is another maze type game. Hold on, | know what you're thinking
Another Pac-Man rip-off, right? Wrong!!

Serpentine is a totally original game. In the game you are a blue serpentine.
Your enemies are the orange serpentines. You travel around the maze while trying
to kill the orange serpentines. The only way to kill them is to eat them from behind
until they turn green. When the orange serpentines turn green then you can eat
them head on or from behind. You get more points from eating them head on,
though, and you also make your serpentine one segment longer.

‘The graphics in serpentine are not awesome, although they are pretty good. |
really like the sound in serpentine. The sound | like the best is the sound the
serpentines make, Serpentine is available from Bruderbund Software on disk for
about $30. If you are tired of the same old maze game you should definitely buy
Serpentine, you'll love it,

Adventure International was kind enough to send us a review copy of their new
{game Sea Dragon. So here it is. If you like Scramble or Super Cobra in the arcades
then you will love Sea Dragon.

In Sea Dragon you control a nuclear sub named Sea Dragon. Your task is to
travel deep under the ocean avoiding treacherous mines, depth charges, laser
bases and ships which drop bombs on you. You must eventually get to the Master
Mine and destroy it!

‘The graphics aren't great but they're pretty good. One thing | like is the color
animation and the sound. You can actually hear the sonar as you go about
destroying mines,etc. If you like the arcade version of Scramble or Super Cobra or
the home version of Air Strike then you will really like Sea Dragon,

That's all for this month. Next month I'll ry to review Miner 2049'er, Way Out,
Defender and anything else | should recieve.

See ya later,

—Brian Dunn

ATARI 1200KL HOME| COMPUTER™*

New Atari

‘The biggest news is the release of the Atari 1200XL, a sleek new 64K 6500 com:
puter with 12 user programmable functions, built in diagnostics, and compatibility
with all Atari Hardware and Software. It has only one cartridge slot, 2 joystick
ports, 256 colors, 372 octave sound range, and some new graphic modes. The ex-
tra memory, of course, doesn’t make much difference, since the Operating
System, etc,, still takes up the same amount. Did you know that the VIC 64 has on
ly 38K available to BASIC even without DOS? Price “under $1000"— probably
$800.

Also released are the new printer, the 1025 for $549, which is an Okidata; a
40-col color printer, the 1020, which for $299 gives 4-color printouts on 4%" paper;
and a new cassette recorder, the 1010 for $100.

Be A Writer!

Becoming a published author in software is not as difficult as it might
seem on the face of it. Let me now outline some of the fundamental
requirements.

Get the magazine Style Sheet. All magazines have them. The editor will
send one with an SASE, COMPUTE! and SOFTSIDE have both more or less
published theirs although | do not have the issue numbers in front of me.

Fundamentally, the requirements are for wide margins and double spacing
and no right justification. This supports their estimate of how many column
inches your article will fill. Then each page must have your name, a short title,
and a page number, All programs, diagrams, and screen dumps should be
clearly labeled. There is a very simple reason for this. Manuscripts get
dropped and mixed up with others. This is for your benefit as much as theirs.
There are other requirements but the point is most any word processing
program can handle these basic requirements.

Most of my experience has been with COMPUTE! This is due to the delay
time in getting a response from the magazines. | have moved on my
COMPUTE! rejects but have yet to receive a response. But from general
knowledge of magazines let me say a few words about what | have learned.

The average magazine buys from three to six issues prior to publication,
Also they usually take from two to four months to respond to a manuscript
submission. This means the manuscript submitted in January and bought in
March may not see print until September. There is something to be said for
having a long pipe line. But what does "buy" mean. Unless you work a special
deal it means that you get so many dollars per page. If it is good enough to
print it is good enough to get the standard rate but rarely is there any special
Consideration for an especially good article. If there is a reward it is in
Royalties on the republication in “Best of ...”" books. But when do you get
paid? Guess again. There are three common payment forms: upon
acceptance, binder with remaining amount upon publication, and payment
upon publication. Ordinarily the more established a magazine the more likely
they are to pay upon acceptance. The new magazines are likely to pay upon
publication, Do not expect payment will be in cash dollars US. In software
magazines these can be in merchandise certificates which cost the magazine
only the discount prices which they can arrange though their advertisers,
although you redeem against the list prices. This, of course, is again limited
to those just getting off of the ground,

‘A new writer needs a reputation. If one magazine will not buy then move on.
to the next and the next. Do not rewrite one word unless the magazine
obviously is a different market. A simple graphics program rejected by
COMPUTE! might be rewritten for COMPUKIDS. A new writer also needs
experience and needs to interpret experience properly. The stories are legend
about best sellers rejected by all but the last publisher. They are true. This
leads me to the next aspect of publishing

‘As with the publishing house, a magazine must have a broad audience if it
is to stay in business. There is little concern for Best Seller potential in a
Publishing house and there is little concern for the neatest software trick this
side of Sunnyvale if they have already bought up a year’s supply of articles on
the subject. | recently had a program named SIMON (in ACE Library) rejected
twice in a row. SOFTSIDE ran a similar article in August and | have yet to see
what COMPUTE! will run or maybe they just have enough games for the year.
The point being is a magazine must have articles for the beginner, the
experienced, and the seasoned user and must have articles for young and old.
It must have utilities, games, tutorials, business and misc. To write you can
write on any subject for any age group and to sell the most I suggest you
write for all categories

What is most important? A professional editor and | are certain the amatuer
editors will tell you the primary problem is filling the magazine or newsietter.
First it is hard to get people to write and second what is written must be
written in coherent English with reasonably proper grammatic construction
and spelling. This is every editor's problem. Next there is interest in the
subject matter as publication material. A computer magazine editor has one
further problem, the software must run with minimum problems. It pays to
thoroughly debug anything you submit. No editor wants to publish a list of
corrections to your program as long as the original article although it has
been done.

‘A manuscript will consist of two parts—the prose and the program (the
latter may not be needed). The prose is the documentation, It tells the user of
the program what it will do, why, and how to use it, it covers all aspects of
what it can do and how to get the best use of it. Also it provides sufficient
information to change it to fit individual needs if that is appropriate. With
software nothing, absolutely nothing, is obvious. The Navy uses MIL.
STD-1679 to guide not only the documentation of software but the
excruciating detail as to how it must be written, This is not for fun. This is so
‘someone besides the author can make some sense out of it. For example, get
out a program you wrote a year ago and haven't looked at since. Explain it,
You will find you can not understand what you did without work. Imagine your
reader who never even saw it work before. You are really selling the
documentation for your program. The magazine will determine whether or not

the subject is of interest to them.

14

Page 15 (scan)

—

The computer itself is only 36 years old. Affordable and useful computers
are only 20 years old, The personal computer is 8 years old. The Personal
Computer software publishing business Is 6 years old. ATARI personal
computers are three years and the first seriously published article containing
software for the ATARI was in late 1980 (! think.) It is often difficult to put into
perspective just how much has occured in such a short period of time. Think
about something else you did three or eight years ago like a marriage or a
child being born and it seems like only yesterday, Yet my son was born about
one year after | decided against buying the first ALTAIR computer. SOFTSIDE
magazine has published 31 issues, A°N‘A*L*O"G about six, ANTIC two,
(COMPUTE | can't figure out perhaps as few as 31, as many as 43)

If you consider publication of software articles then keep in mind you are
not submitting articles to The New Yorker or the Atlantic Monthly nor are you
dealing with OMNI, National Lampoon, or Heavy Metal —not that | wish to
discourage you, The software publication business is barely beginning to be
defined as a market. You can still afford to subscribe to every computer
magazine published, almost. Those covering the ATARI you can almost get by
dropping hints to friends and family around Christmas and your birthday.

Next let us look at the publishers addresses. COMPUTE is in Greensboro,
North Carolina (probably just down the road from the Mother Earth News).
SOFTSIDE is in Milford, New Hampshire. These addresses are a far cry from
Lexington Ave, in New York City. What has happened? Well the first thing to
think about is: Eugene, Oregon is no longer the least likely place to start the
hottest software magazine. This is a new era of publishing perhaps more
profound than the development of science fiction and perhaps even more
important,

In 1938 (or 1936) John W. Campbell became the editor of Astounding
Stories and single-handedly turned around the field. He changed what was a
scientific romance parallel to a gothic romance into a field which required
true solid understanding of science along with good fiction.

‘What is happening today? A magazine editor may no longer simply know
his skill as writer and as an editor, he must be skillful in a way which the
science fiction editor never had to be. John Campbell was fond of requiring
his writers to be as solid in their science as they were in their fiction, Today's
software magazine editors have an added challenge. Even John Campbell let
more than a little poor science slip by him and in some areas he encouraged
it, Today's software magazine editors can let nothing slip by them. Why?
Because the computer is available and the programs are submitted on
magnetic media. There may have been pseudo-science but there are no
pseudo:programs.

Today we have a discipline introduced to publication like never before, a
solid discipline where the computer is the final judge. The writer and editor
face a dual challenge. The skill in programming or knowledge of the system is,
as important as the literary skill in putting together a manuscript. This is a
new field, a virgin field which is open to anyone who has the skill to program.
Today's old hands at science fiction started as teen-agers and they knew how
to be creative within the restrictive framework of science. They had barely
grasped the foundations of writing. They were accepted because the science
was more important than the fiction, Today the program is more important
than the article which goes with it but both are important,

What we have developing is a form of disciplined writing for the average
person which was previously unseen outside of the professional literature of
the sciences. Its expansion will probably directly follow the expansion of

| personal computers. This is a wide open field which will become more and
more professional but will always have room for the new comer. Anyone who
masters a solid understanding of the computer and of software, and who can
meld this skill with writing skill has a wide open potential to operate in this
new, and fast growing market, There is a future here and it is open to anyone
willing to take advantage of it.

—Matt Giwer

Ke

Sil
({

15

CAMPFIRE MIXERS

Since school began in September, we have grouped a combination of 6 boys
land 6 girls ranging in 4th through 6th grades for a Campfire Club. We have titled
‘ourselves “The Campfire Mixers”; and for our Indian name: “To ka ta pa", mean:
ing, “In the future’

Heading our club is:Jackie Heden, with special interest and helps, her husband,
Richard, and myself, Nancy St. Onge as Assistant leader.

Since we have a special interest in computers Jackie and | decided it would be
fun as well as educational to choose computers as the theme of our club. Our
group became very excited at the thought of this, and are very eager to learn this
“hands on” experience.

While our computer plans are in progress, our club went on their first excursion
to Camp Wilani for an overnight campout in veneta.

Kirt Stockwell, president of ACE came as a special guest to one of our
meetings. He demonstrated many different types of program languages, the uses
of a Modem and how to use a Word Processor. Ruth Ellsworth demonstrated the
Pilot Language.

‘On one of our field trips to Lane Community College, Kirt presented a surprise
to our Campfire Club. As we came into the forum and sat down, the children
began to read, moving across the screen; “ACE WELCOMES THE CAMPFIRE
MIXERS, WHO ARE IN THE FUTURE —" followed by each one of the children's,
ames, one by one flashing in different colors across the screen. The children
shouted and giggled as they watched and felt very honored. Kirt also programmed
‘our symbolgram for our club which consisted of four different Indian symbols,
‘They are person, hand, thought and eye which are set in a square representing a
computer, Located at the bottom is our Indian name: "to ka ta pa”

‘Our children are slowly beginning to understand within their own young minds
the reality of what a computer can do. One of their favorite programs is called
“The Talking Head" which is demonstrated using sound, Some of the other field
trips we have taken the children on were to the University of Oregon Computer
Center where Floyd Bard demonstrated the different uses of various computers.
‘One of his special surprises to the children was a Computerized Snoopy which he
presented to each child personally. We also went to Video Toones and Marty let
our children play several video arcade games.

In December we took the children to The Willamette Institute of Science and
Technology where they had many attractive displays of different computers,
games, and other interesting educational things for various ages of children,
Many children entered Wistec’s Video tournament in hopes of winning an Atari
computer and other prizes which were given away. Wistec’s Planetarium Show of
the Stars and Planets highlighted our trip there.

‘At our last ERACE meeting we talked to Jim Schwartz who is a High School
Teacher at Cal Young High School. Jim is currently experimenting with basic pro-
gramming with his children in the classroom. He shared many ideas with us to
teach our children a fun and simple way to learn Basic Programming. We really ap-
preciate Jim's help because it is very difficult to find ideal programs to teach
children how to understand the basics which are needed in learning to operate a
‘computer.

Towards the middle of December our club had a Bowl-A-Thon to raise funds
which were needed in our treasury. We are happy to report this was a great suc:
cess. We raised $400.00 which was a great boost to all of us. Some of the things
we want to accomplish include purchasing an individual disc for each child upon
which to learn programming; patches and group beads which are earned by the
group and two special field trips which the children choose for our club. Our
foremost goal is an overnight excursion to the Coast in April, This is designed to
reward our boys and girls for their cooperation and patience which was needed in
order to teach them the basics of computers.

In January, Campfires will be having their annual Candy Sale and our club will
be looking forward to supporting this good cause to which we belong

Also our club has been invited by Don Marr, with Royal Software to come and
observe how computers are used in his business.

‘As February comes near our club will be very busy preparing for the Interna-
tional Faire which will be on March 5. Each child will select the country of their
choice,design an outline of their country and flag, and will select a unique feature
which impresses them the most about their country. Then Richard will help them
program this Information and the children will display and demonstrate their com-
puter programs at the faire.

‘Also our club will be having our Ceremonial in February. This is to reward our
children for their past efforts and accomplishments by presenting them with Try-
‘Ad Beads. The children are learning to program and by accomplishing certai
tasks on the computer successfully will earn different colored beads that repre:
sent what they learned.

(On May 7, we will be having our last and final Grand Council Ceremonial for the
‘entire year, where all the clubs of Campfires will attend. There will be approx:
imately 2,000 children there. Also we will have a lighting ceremony and many pro-
minent advisors and leaders will be attending, At this time, we want to extend our
invitation to ACE to be a part of our wondertul Computer Try-Adventure program
by attending this Grand Council Ceremonial.

‘Through the excitement and happenings unfolding before us, we have really felt
1a surge of hunger for the knowledge to learn the computer, and the urge to push
forward; to continue and keep learning this Keyboard Wonder!

‘When we started our unique little club we went in blindly, not knowing how to
supervise or direct this type of club; but through the kindness, help from others,
time and prayers which were contributed we have been very successful so far in
the past four months.

(Our gratitude is extended to the following people in sponsoring us in the Bow!-
‘AcThon; and helping us to reach our goals: Jack Ball, Manager of Southtowne
Lanes, Members of ACE, ERACE, Video Toones, People of Pacific Northwest Bell
on Grant Street, Graham Kerr, formerly the chef on The Galloping Gourmet,” the
childrens teachers, friends,relatives, Courtney Arnold, our Supervisor in Camp-
fires, and any others who deserve our sincere thanks.

—Jackie Heden, Nancy StOnge

Page 16 (scan)

E

72 So
FORUM 308

(south center parking lot)

MEETING: FEB 7s

L_.c.c.

Bulletin Board
(503) 343-4352

On line 24 hours a day, except for servicing and updating. Consists of a Tara
equipped 48K Atari 400, 2 double-density disk drives, an Atari 826 printer, @
Hayes SmartModem; running the ARMUDIC Bulletin Board software written

Frank Huband, 1ige wl, Staticrd it. arlington,

TYPESET COPY

From Your Computer

if you have a modem, word processing and communications programs,
you can transmit your manuscript, article, newsletter, or other text via
telephone and have it converted into space-saving, easy-to-read type!
Computer typesetting offers you high quality copy at "'do-t-yoursel”
rates: just $2.00 per 1,000 characters, And it’s easy to encode your copy
with our designated typesetting commands, Hundreds of type styles to
choose from with 8 styles and 12 sizes “on line’’ Write or call Dennis Hunt
for a brochure and simple instructions.

EDITING & DESIGN SERVICES

30 East 13th Avenue Eugene, Oregon 97401
Phone (503) 683-2657

5

FIRST
CLASS

ugene OR 9740:

MAIL

3662 Vine Maple D:

Atari Computer Enthusiasts

AGE. is an independent computer club and user's group with no
connection 10 the Atari Company, a division of Warner Communication
Gampany, We are a group interested in educating our members in the use of
Te mien! Computer and in giving the latest News, Reviews and Rumors.

“ail our articles, reviews and programs come from you, our members.

Our membership 1s worldwide in scope; membership fees include the
AGE, Newsletter, Dues are $10 a year for U.S., and $20 a year Overseas
‘Kirmail and include about 10 issues a year of the ACE Newsletter
promident.-Kirt Stockwell, 1810 Harris #199, Eugene, Or 97403 503-686-2470
Secretary Charles Andrews, POB 1613, Eugene, Or 974401613 603.747 9682
tfemian—chuck and Jody Ross, 2222 Ironwood, Eugene, OR 97401
503-343-5545
Raters Mike Dunn, 3662 Vine Maple Dr.,. Eugene, Or 97405 603.344.6193

tim Bumpas, 4406 Dillard Rd., Eugene, Or 97405 503-484-9925

Send a business-size SASE to the Ross’ for the new, updated ACE Library
List!t Best of ACE-1981, still available, Disk or Tape, $8!