Dale's Home Page

Dale’s Atari 800 Games › ACE newsletters

ACE newsletter, December 1985 – January 1986

The newsletter of ACE, the Atari Computer Enthusiasts of Eugene, Oregon. Read the scanned issue (PDF).

Scanned from my own copy of the newsletter. I sent my scans to Kay Savetz in 2021, and Kay put this one on the Internet Archive as ACE_1985_12.

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

DECEMBER, 1985
Mike Dunn, Jim Bumpas, Larry Gold, co-editors

FROM ACE

Page 2 (scan)

News and Reviews
by Mike Dunn, Co-Editor

The last meeting of ACE was exciting in that we had a comparison:
of the Amiga vs the Atat T . A local Amiga dealer was kind enough
to come and demonstrate their fine machine. Very impressive, but for
more than twice the price of the ST, not that much. different, It wes
interesting to see the famous bouncing ball on both the machines. The
main difference seemed to be the multitasking and animation of the
Amiga, but | think ‘Power without the price’’ won the day. | do not have
an ST, but may get one someday. | find the 8-bit Ataris powerful enough
for my needs. Remember our Dec. meeting features our annual swap
meet with proceeds to our local science museum, WISTEC

The big club news is that we have just received our modem from
U.S. Roboties , the 300/1200/2400 Courier. They have a very special
deal for bulletin boards of clubs such as ours to buy one at a very low
price. We are also setting up a 10 Meg Hard Disk, and hope to be
operational soon. Larry Gold, Vice Pres and SYSOP will tell more.

We have some new disks for the library, a new line of old and new
programs for the new Atari 8-bit owner. Two are now almost ready,
each on a double sided disk for only $10, Incidentally, a double-sided
disk means that each side of the disk is filled with programs, and you
turn the disk over to use the other side. It does not require a special
drive; you do get twice as much for your money. These disks, called
The Essential ACE disks will be offered to new members, but anyone
may order them. They include many utilities by your ACE favorites
including Stan Ockers, Dale Lutz, Paul Freeman, Bob Floyd (of SPACE),
‘Sydney Brown and from our U.K. friends, Page 6 and the U.K. Atari Club
Monitor, and others.

Essential ACE Disk On

Side 1: The complete DOS 2.5, the patch to make it memory
resident in an XL, the Translator file to run old Atari programs on a XL
or XE, several different disk and cassette copy programs, including
XECOPY (allows you to copy an entire disk with a XE with one pass),
and a very nice, simple disk directory and label maker program from our
Pres., Dick Barkley.

Side 2: MACH DOS with documentation, a disasmbler, a charactor
generator, a PMHelper generator, a sector editor, a renumber program
and similiar additional utlities.

Essential ACE Disk Two:

Side 1: A modified DOS 2.0 called 2.6f, that has several very nice
features, and various printer utilities. Included is Pictrix, in a compiled
version by Paul Freeman, a program that allows you to load and
interchange as well a print out pictures from MicroPainter, Atari Touch
Tablet, etc. From Bob Floyd comes NiceList in compiled versions for
several printers plus the source code to modify, a very nice program
to print out the funny control charactors to your printer, a MX80 graphics
dump and a disk label program

Side 2: Has DOS 2.5, AMODEM 7.1, the newest and best public
domain modem program, drivers for Atari and MPP modems, complete
documention, 40 and 80 column versions of Stan Ocker’s TinyText, and
his Label program.

We have also just received a set of 4 ACTION! Utility Disks and 1
ACTION! Game disk from NovAtari club of Virginia, a great collection
of programs including a Pseudo-Assembler, a Public Domain Run-time
generator, a program to analyzes your program to see what run-time
modules you need, and many other useful things. The disks are
documented well, and until we organize them and put them in our library,
for this issue, you can get the 4 Utility disks for only $20 (2 double-
sided disks. Highly recommended for intermediate to advanced ACTION!
programmers

We have just received the Print Shop Graphics Li wy -3 from
Broderbund, which includes 120 new graphics for christmas, myth and
fantasy, seasons, animals, international symbols, animals, an eye chart,
etc. Recently, my daughter who has never seen PrintShop and one of
her friends needed to make some posters and | suggested using this
program. Without looking at the manual, they were able to produce some
great looking posters and have a blast doing it. If you have a graphic
printer, you are missing a great deal if you don’t get this program for
christmas to at least make some christmas cards (get Graphics #3 also).
It is fun and so easy that even an adult can do it!

If you are interested in Pri ‘tShop graphics, several Atari User
Groups have gotten together and are putting together disks for $10
each. If you are interested, send me your best efforts, and I'll send you
a disk full when it is completed and then trade with the other groups.

One of the good friends of the Atari world, Gary Furr the designer
of Atari Writer and the developer of the printer drivers for this fine word
processor is now alone and marketing the various drivers. Because of
the low demand, probably mainly because people do not know of them,
Gary is getting discouraged and is thinking of stopping his support. If
you have the AtariWriter and want it to work the best for your printer,
send him only $10, and your printer will really reach it's capabilities
Gary was a great supporter of the user groups in the “‘old’’ Atari
company, going out of his way many times to help us. He deserves our
support. Rembember, only $10 for almost any printer; let him know
which one you want and that ACE sent you. (Gary Furr, POB 1330, Mt.
View, CA 94042-1330).

in the last issue, the excellent programs from England, Sector and
Computer Aided design were from the U.K. Atari Club as the listing
indicated, not Page 6. Sorry for the mixup.

CODE BLOCKS

Action! Code Block Generator
(by Jim Patchell; reprint: SBACE, Sept., 1985)

For those who don’t know, code blocks are a way of putting
machine language programs into your Action! programs. They are also
anice way to add efficient library functions to your Action! programs.
In fact, the Action! Run Time Library is noting but a collection of code
blocks which perform various functions. A good example of what 2 code
block is is the BYTE FUNC ConCat at the top of the program listing. All
the hex numbers surrounded by the [ | characters are a code block. the
Action! Compiler converts these numbers directly into binary code and
puts them into the computer. The special way of defining the function
allows us to call these code blocks from our Action! programs.

In the past | have made smaller functions which | could call, such
las the function BYTE FUNC hi, and these are very easy to enter in by
hand. But the big string handling functions were first written and tested
with an assembler and debugger. After they worked, | took the assembly
listing and entered by hand the object portion of the listing. Tedious City
There had to be a better way!

| wrote this program for doing this job. The program requires a
standard binary saved object file. It takes that file and starts outputting
a series of code blocks until it is done. There are parts of this program
which actually do nothing. There is a section of code which tries to figure
out how long the code is, but | find that some of the files AMAC
generates do not have the proper header, so this information is not used
in the part of the program which makes the blocks. If you are using
AMAC, you may have some extra stuff tagged onto the end of the code
block, so use your Action! editor and your assembly listing to get rid
of the extra stuff. Now all you have to do is just define your PROC or
FUNC and you will have a new library function you can call.

By the way, only assemble one routine at a time. If you have a whole
bunch in one file, you will only get one big bunch of codeblocks. This
program cannot separate out seperate procedures.

‘Also, if you wish to do less typing, BYTE FUNC SubPos and DelSub
are not used, but you may want them anyway. Just be careful not to
make any mistakes when typing in a code block.

DEC MEETING
AND
SWAP MEET
WED. 1TH DEC.
7:30 PM
AMAZON PARK

Page 3 (scan)

DISK DRIVES

(by Bill Petry; reprint: RAG BAG, June, 1985)

Like most “‘intelligent’’ peripherals (printers and the 850 interface),
Atari disk drives contain a 6507 microprocessor (MPU), a 6532
Peripheral Interface Adaptor or PIA, (due to the 6507's lack of direct
connections), an Operating System in Read Only Memory (ROM), and
alittle Random Access Memor (RAM) to serve sector buffer and scratch
pad needs. These process all commands and control data flow to and
from the computer.

What sets the disk drive apart from other peripherals is the Floppy
Disk Controller (FDC) chip. The FDC controls data to and from the
diskette through the Read/Write Erase Head.

The R/W Head is ‘‘stepped”’ from the outer track 0 to the innermost
track 39 by the Stepper Motor which is controlled by the MPU through
the PIA. The head is moved a step at a time in or out to align it with
the currently desired track

The Drive (or Spindle) motor spins the diskette at a speed of 288
rpm. It has two states: On and Off. It is controlled by the MPU:through
the PIA

{Initialization on the 810 goes something like this: On power-up the
MPU does a JMP (GOTO) to the address contained in the last two bytes
of the program in the ROM chip. This starts the program execution and
does the following: a) turns on the drive motor; b) positions the head
to track 0; c} waits for a command from the computer, or after 7 seconds
steps in to track 39 and turns off the drive motor. This command could
be either the loading of a boot program or DOS. But the computer must
send the command first (the Archiver Chip excluded).

There are five valid commands for the stock 810 drive: Format disk,
Read sector, Write sector, Sector status, and Put byte (no verify). The
1050 drive has an additional command for the Medium Density format

Enhanced drives (Happy and Archiver) and the un-released ““E"’
version of the 810 ROM support other commands. The E ROM permits
downloading of user programs. The Archiver Chip supports 16
‘commands including Set Drive shutdown time, Open chip, Read sector
address, Write CRC (Cyclic Redundency Checksum), and Download, as
well as the original five

The U.S. (Ultra Speed) Doubler ROM for the 1050 supports true
double density (256 bytes/sector), the original five commands, plus
ultra-speed sector skewing, 35/40 tracks per inch spacing and a few
others,

The 810 drive has a 1771 FOC and can support only single density
format. The 1050 drive contains a 2793 FDC which can support single
and medium density (128 bytes/sector and either 18 or 26 sectors per
track}, and true double density (256 bytes/sector at 18 sectors per
track)

Percom drives have a 6809 MPU, 6850 PIA and a 1795 FDC. The
single Rana | examined contained a 8031 Control oriented MPU with
RAM and I/O, an 8155 HMOS RAM I/O port timer, and a 2797 FDC.

‘A more detailed account of each part of the drive's electronic and
mechanical units is provided in the 810 and 1050 Disk Drive Field Service
Manuals. The Atari 810 Disk Peripheral Device Description (15-DEC-80)
provides a bit more insight

The 810 drive contains 4 separate printed circuit (PC) boards: a
Power board in the back; an analog board on top of the drive mechanism
itself; and a two-parts-in-one side board.

The Power supply board provides for rectified 5 and 12 volts for
motors, etc., and motor speed control circuitry. You can adjust the rpm
(with the proper program) y turing the screw on the green
potentiometer (or the flat white one to the rear left on the older models)
The improved power boards provide very stable speed control.

The Analog board (missing on the early models) provides better
read/write amplification and cleaner signals.

The side board assembly contains the actual ‘‘controller” (like the
Apple controller card), with the MPU, ROM, RAM, PIA and FDC. The
small board inside the Radio Frequency (RF) shield is the external data
separator.

The FDC encodes data on the diskette serially (one bit at a time)
in FM (not stereo though!) with a reference 4-microsecond clock pulse
with each bit written.

The letter "R’’ ($52, #82) would be something like the following:

co C1 CO.C1 COCOC1 CO

The C's indicate the clock pulses (which actually are recorded like
the 1's). The "R'’ (#82, $52) is 01010010 in binary.

During a diskette read the signal is received from the diskete and
the data must then be separated from the clock pulses to make useable
data bytes. The 1771 FDC contains an internal data separator, but due
to timing tolerances with the 5.25" diskettes on the inner tracks, it is
inadequate to readily handle the bit shifting. The result is the familiar
ime Out” and its associated irks. The external separator compensates
for the shifting, keeping the current bits properly “windowed” and the
flow of data smoother.

The 1050 works basically the same, although there is only one PC
board with all the electronic components on it. The medium density is
recorded slightly different electronically on the diskette also.

The above is a sketch of the . . . Disk Drive SIG [of the Redwood
Atari Group!

FLEA MARKET

This year's annual pre-Christmas Flea Market to benefit WISTEC will
be different than in previous years. First of all, we don’t ask you to
donate 10% of whatever money you receive for items you sell. This year
we ask only a flat donation of $5.00 per person (unless you're only a
buyer — buyers get in free).

So if you have some hardware you're no longer using, bring it and
see if someone wants it. If you have some original software with original
documentation you're no longer using, someone else might want to buy
it. Books, magazines and any computer-related item is welcome.

Contact Larry Gold if you want to sell any items and give him the
donation for WISTEC. You will receive a receipt from WISTEC for your
donation (you don’t need to limit it to $5.00 if you choose to give more

~~ FURTRADER

“ROBBED YOUR PACK
OF YouR FURS."
7148 GET #1,¥
7158 2 “RN

7208 IF INTCRND(13%125))5 THEN 7258
72108 M=H-INT CRMD (1) *CH/2))

7228 POSITION @,9:? " SOME ROBBERS HAV
E JUST ROBBED YOUR PACK HORSES OF
SOME OF YOUR MONEY."

7238 GET #1,¥:2 "5"

7258 GOTO 25

eae 7 “YOU DIED DUE TO A LACK OF REST
.":G0TO 8038

8028 ? "BAD LUCK. YOU STARVED TO DEATH.

HORSES OF SOME

sere 7 "YOU HAD
F FOOD AND WATER LEFT.

8860 2 “YOU COULD HAVE SURVIVED ";D;"
DAYS MITHOUT REST."

8888 7 "YOU COULD HAVE SURVIVED
DAYS MITHOUT FOOD/WATER."

“IM YOUR WILL YOU LEFT

7" PACK HORSES 0

OF &;4;" NET’
HAGGIS FURS >"
COYOTE FURS 3"
OCELOT FURS 3"
RABBIT FURS >"

8228 GET #1,

8238 7 “RTO PLAY AGAIN PRESS ANY KEY."
1GET #1,¥:G0TO 6

9008 POSITION 0,17:?7 Tia)

[OUT COMMAND (5) 7 eae LOS
0 25
9028 POSITION 0,17:7 “aT Hae)
P CORRECT COMMOND |! Same SURE Uy
025
2040 POSITION 8, tT Fame YOU ORE NOT OT]
LTC; «GET 81,7: 607
0 25

10088 POKE 710,55:S0UND @,36,36,36:FOR

3 J=O TO 108:MEXT J:POKE 718,148;SOUND

8,0,0,8:TRAP 16888:G0TO 25

Page 4 (scan)

ORANGES

The Saga of ORANGES
by Dale Lutz

In June, 1984, | had the great idea to do an article comparing several
Atari high level languages. What better way to do this, | thought, than
writing a simple game in each of the languages, and then pointing out
the important differences between each of them. Well, the game | chose
to write is entitled ‘ORANGES’, and it is your very simple ‘things are
falling so catch them’ type of game. | wrote the game first in BASIC
then in ACTION, then in FORTH, and finally in ACE C. Before | start in
with the details of each of the languages, | should first give an overview
of the game itself.

The player's task in ORANGES is simple. An orange (actually a
graphics 5 pixel) is falling and you position your basket below it to catch
it and earn points. If you miss 3 oranges, the game ends. A high score
tally is kept and displayed on a Graphics 1 text window on the bottom
of the screen. So basically all the program does is 1) set up the screen,
2) wait for START to be pressed, and then 3) drop oranges until 3 are
missed, and repeat the whole process.

| first wrote the program in BASIC because at the time it was the
language | knew the best, and because it is interactive and interpretive,
meaning you can make changes to the code on the fly without needing
to recompile. All the other languages require a recompiling process that
takes time and can be a bother. Recompiling ACTION! programs is the
least bother because the compiler is built into the cartridge and you can
have the source code in memory at the same time as the compiled
version is running. FORTH is quite a bother to recompile because first
you have to use the editor to edit a ‘SCREEN’ (FORTH has no notion
of a source file — you must put your code onto blocks on the disk called
SCREENs, and then load these screens back in to have them compiled),
and then LOAD the screens back in. Of course, as the screens load in,
they are compiled and all the procedure names (called VERBs in FORTH
lingo) are added to the dictionary (the library of available FORTH verbs)
The problem is that if you are loading the program a second or third time,
you keep adding more and more identical verbs to the dictionary, all the
time getting the message ‘ORANGES is not unique’ message for each
verb that was already there. To recompile C is also a bit of a hassle
because you have to first load in some kind of editor to change your
source file, then load in the compiler to compile it, and finally load in
the linker to link your source file to the routines it uses (like DRAWTO,
etc.) With the Ramdisk on a 130XE this isn’t so bad, and | understand
‘anew version of C that makes use of the XEs extra memory is available
too, but with an old 800 it is a very slow process to recompile.

After writing the program in BASIC | translated it to ACTION. Going
from BASIC to ACTION was a bit tricky as | changed all the subroutines
in BASIC to PROCedures in ACTION!. Another noticeable change was
that all the variables | used in BASIC had to be declared at the top of
the ACTION program. At first | thought that was a very dumb idea, but
as | become more experienced of a programmer | find that not having
to declare variables only leads to bad practices and big troubles in
debugging. However, it was quite straightforward going from BASIC
to ACTION, and the code produced by both is quite similar. In my
opinion, the ACTION code is the easiest of all four to read because of
its nice WHILE condition DOOD structures, and its familiar BASIC-like
commands. ACTION has a nice shorthand for adding a value to a variable
that is a bit different. In BASIC you have, say, BASKETS = BASKETS + 3,
in ACTION! you only need to write BASKETS = = +3.

Next | translated the program into FORTH. If you look at the FORTH
listing, you will notice two things. The first is that it hardly takes any
room at all, the second is that you cannot figure out what it is doing,
The constant and variable declarations are straightforward enough, but
from then on it gets crazy. FORTH verb definitions always start with
a colon, then the verb name then what it is to do, terminated with a
semicolon, Understanding FORTH requires you first to grasp the idea
of postfix notation. FORTH uses a stack, and all arithmetic you perform
is done on this stack. Examples are the best way of illustrating: Suppose
you want to add the numbers 3 and 4. In FORTH you would type 3.4

+. This way of expressing things is used by many scientific calculators,

and has the advantage that parantheses are not needed. Many people
who are used to it swear by it, but | feel that for the most part it is
unnatural to us, and consequently hard to read. Anyway, the effect this
has on your FORTH code is that everything is backwards to what you
would think. | will give one more example: Suppose in BASIC you had
this line: IF J=3 THEN BASKETS =BASKETS-1. In FORTH, this
becomes: J @ 3 = IF BASKETS @ 1 - BASKETS ! THEN. The @ gets
the value of the variable, and the ! stores a value in the variable.

My biggest complaint about FORTH is the method for storing your
code. Because of this screen oriented source storage, inserting a couple
of lines in the middle of something is not a trivial job. If FORTH would
use normal files for its source, | think one could grow to like it because
the code is so compact. But as it stands, it is a nightmare to program
in. | translated the ACTION version directly to FORTH, and it got it
working quite fast. But if | were just making the program up as | was
going, it would have been impossible because | wouldn’t have been able
to easily add chunks of code | forgot about as | was trying to debug

This past spring | translated ORANGES into C. Again | went from
the ACTION! version to C. In fact, | used the same source file and only
modified it in the places where C and ACTION differed. C is not a bad
language either — the biggest drawback is the editor/compiler/linker
switching all the time, however, this is only a fault of our old 8 bit
machines. C will be of the most interest to those of you who are going
for the new STs. | will pass on a few things | picked up while doing my
translation. First and most important, all C reserved words (like IF, etc.)
MUST BE IN LOWER CASE. You can name your functions in upper case
if you want, but any C words must be in lower case. ACTION is forgiving
about cases, but C is not. Another big difference is that each C
statement must be terminated with a semicolon. Note that a statement
is not the following: while (Strig(0) = = 1). If a semicolon is after this,
the code you want executed while the condition is true will not be
executed. Also notable about C is that it makes a difference between
its assignment operators, and its test for equality. To assign a value,
you do as in BASIC (baskets =0), or whatever. However, to test for
equality, you type baskets This is because in C you may assign
and test for equality on the same line. Also C has this notion of a code
block. A code block is equivalent to the code between the DO and OD
in ACTION. Each procedure is considered a code block. Code blocks are
normally set off in C by opening and closing braces, but since on our
8 bit machines we don’t have these, we must use the $( and $) to set
off code blocks. Make a note that it is $( and NOT ($ — I had them
switched for while and couldn't figure out why it wouldn't compile.

The final point | want to raise is the running times of the completed
programs. The BASIC program runs the most slowly, as one might
expect since BASIC is an interpretted language. Even with no delay built
in, the BASIC program is so slow that playing it is no challenge. The
FORTH and C programs have very similar running speeds. A slight delay
was put in both to make them playable. The ACTION! version runs the
fastest of all. Even with a large delay loop built in, the program is very
challenging and almost too fast.

Those of you so inclined should be able to learn quite a bit while
studying the listings of the program in the different languages. | sure
learned alot while programming them. If you are really interested, you
might want to consider getting FORTH and C for yourself. | beleive that
ANTIC sells a documented version of FORTH, and ACE C is available
from the ACE library for a minimal charge. (Public domain versions of
ACE-C and fig-FORTH from S.P.A.C.E, with no documentation for $10
each from ACE, or the super XE-C from Ralph Walden for $35). The
130XE C is available from Ralph Walden, and is recommended for those
with an XE. A great book for learning FORTH is Leo Brodie’s ‘Starting
FORTH’. | can’t say enough about how good this book is — if only all
computer manuals were this good. A book that can be tough sledding
but will tell you all about the C language syntax and features is ‘The
C Programming Language’’ by Kernighan and Richie. It is the final word
on any question one may have about C.

In closing, | want to encourage those of you who are tired of BASIC,
and are looking for a new challenge, to get one of these languages, and
learn it. Even if you don’t have any practical use for it, it is alot of fun
to learn a new language, and the experience you will gain will help you
alot in the future. This summer | had to learn FORTRAN where | worked,
and my experience with these languages really helped me

Ralph Waldon’s 130XE-C is available with extensive documentation
for $35 from him a 1821 Jefferson, Eugene, OR 97402. Specify single
or double density. According to some C experts | know, itis better than
any available for the IBM-PC, etc. | -ed.|

SWAP MEET
AMAZON PARK

Page 5 (scan)

CALENDAR

3 Calendar Generator/bate Handler

3 By Dale Lutz
} duly 31, 1985

3 To custimize the sizes of the calend
ars,

3 you should change the variables
‘depth’ and ‘width’ in the PROCedure

Calendar. Additionally, you may wis

to modify the printer setup strings
to use larger printing or to work on

} @ non-Epson printer.

I like to use the large print, large

style calendar for keeping track of
appointments, and the small print,
small style calendars for in the
pocket reference.

The BYTE FUNCTION GetChoice is a
‘Print Shop’ type menu easily usable

in other programs. It can be moved
easily to other programs. It is
documented within its body below.

INCLUDE “D8:5YS.ACT"

DEFINE year="1985",
wonth="81'
day="81",
vbar="156", ;

‘| on the screen

hbar="157" ; '- on the screen

BYTE ARRAY daym=[88 31 @ 31 30 31 38
Hi o3i 30 31 30 311,

the following two byte arrays are th

as

i printer setup. The first byte is th

length of the setup string. The nex

two reset the printer, then the pape

ae

out sensor is disabled (27 '8),
3_unidirectional printing started (27

‘uD,

3 for the small, superscript mode is
3} started (27 '5 a),

} Compressed mode entered (15),

i and the line spacing set to 7 or

3 4 72nds of an inch (27 65 {7 or 41).

large=(11 27 '@ 27 '8 27 ‘U4 15
276574,

smal1=(14 27
"$815 27 65 41,

e227 '8 27 "U1 27

sizew=(8 78553446978 81
route=f2 'P *:1
CARD ARRAY namem(12) , named (6) , menu C10)

carb
BYTE

yy

mm, dd, doomsday, weekday, dayflag
PROC FillStr (BYTE ARRAY str)
BYTE temp

IF str(e)=1 THEN

RETURN

PROC FancyGet(BYTE ARRAY date BYTE x,y
alend

iThis procedure will allow fancy input

sof a date.

‘t intercepts all input and

Mill take off as soon as either

ithe box is full or RETURN is pressed.

sa default date should be in ‘date*
jwhen this routine is called.

ithe x,y variables tell the position
jon the screen for the input to occur

BYTE numlen,a,key

Position(x,y)
FOR a=i to dateca)
oo

DALE LUTZ

Put (date (ad)
0
Close(3)
Opens,"
numlen=1
key=0
Position(xtnumlen-1,)
Put (3a)
Puttsir
WHILE key)455 AND numlen<lenti
po
key=Geto(3)
IF key)='@ AND key<="9 THEN
datetnumien)=key
Put they)
numlen==+1
ELSEIF (key=126 OR key=
AND nunmien)1 THEN
numlen==-4
Put¢se
ELSEIF key=31 OR key="* THEW
numlen==+1
Putcsia
FI
op
RETURN

"4,09

8 OR key='+)

PROC DatecetQr

BYTE ARRAY yys(5), mms (3), dds (3)

Stre (yy, yys)

Str Com, was)

Fillste (wns)

StrB (dd, dds?

Fillstr (dds)

Position(14,12)

Printceyyyy met)

IF dayflag=1 THEN
Print’ pp")

FI

FancyGettyys, 14,13, 4)

FancyGet (was, 28,13, 2)

IF dayflag=1 THEM
FancyGet (dds ,24,13,2)

FI

yy=Valc cyys)

mm=ValB Cans)

IF dayflag=1 THEN
dd=ValB (dds)

ELSE dd=4

FI

PUtEO

RETURN

BYTE FUNC DoowFindQ)

Page 6 (scan)

iThis function returns the day of the

jweek which is the ‘doomsday’ for
sparticular year. The convention
followed is that @ means Sunday,
i1 is Monday, and so on..

BYTE theday, twelves, offset, base, leftov
er,
leaps, remainder, doomsday

base=3 ;year 1988 Wednesday is doons
day

leftover=yy-1908

twelves=leftover/12

remainder=leftover MOD 12

leaps=remainder/4

of fset=leapstrenainder+twelves

offset=offset MOD 7

doonsday=(offsettbase? MOD 7 ;the do
onsday is found

RETURN (doomsday)
BYTE FUNC FindDay(BYTE doomsday?
BYTE doondate, final, fake

INT offset, theday

IF (yy MOD 4) = @ THEN
dayn(2)=29
ELSE
dayn(2)=28
FI
IF wai THEN
doondate = 31 ;January, normal yea
r
IF (yy MOD 4) = @ THEW
doondate=25 ; January, leap year
FI

ELSEIF wa=2 THEN
doomdate=daym(2) ;Februry
ELSEIF (wm HOD 2) = @ THEN
doomdate=ma ;even months
ELSEIF daym(wn)=31 THEN
doondate=wata ;odd long months
ELSE
doondate=ma-4 ;short odd months
FI
fake=dd+42 ;required to avoid negati
ves
offset=(fake-doomdate) MOD 7 ;find d
ifference
fron doondate to real day

theday=(doonsdaytoffset) MOD 7

CALENDAR

CIF theday<@ THEN
theday==+7
FI
final=theday
RETURN (Final?

PROC Telibay(?
BYTE ch
bo
Put (125)
Position(s, 8)
PuteQ
Printec”
Printect
Dateseto
doomsday=DoomF indQ
weekday=F indDay (doonsday)
PUtEO
PutEQ
PuteO
Printe"The day of the week is=:
Printe (named (weekday)?
Closets)
Opencs,
Puteg
Printect
rn)
Printc”
ch=GetD (3)
UNTIL ch=155
oD
RETURN

ENTER THE DATE")

74,0)

Press space for anothe

RETURN to exit ~~

BYTE FUNC GetChoice (BYTE number, indent
)

} Global CARD ARRAY menu must hold
the addresses of the options. Then
this function is called, allowing
the user to use the arrow keys or
‘the numbers to choose fron the menu.

7 BYTE number holds the number of
options in the menu, while ‘indent’
tells the program how far to space
over before printing the options.

3 The users choice is then returned.
Wote that this routine can be reused

several times in a single progran
by simply changing the parameters
before calling it.

BYTE ARRAY temp (3)
BYTE a,b, key, choice, oldchoice
CARD spc

spc="
Poke (spc, indent)
Position(3,10)
PutEO
FOR a=1 TO number
bo
Print(spc?
Printe Cwenu¢a))
op
Close (3)
Opent3,"K:", 4,
key=8
oldchoice=number
choice=1

WHILE keyQi55 DO
THEN

THEN

9 AND key)*@ THEN
choice=key-48

FI

IF choice=@ THEN choice=number

ELSEIF choice)number THEN choice=1

FI
IF oldchoice<choice THEM
Position(3, 9+0ldchoice)
PutEO
Print(spc)
Printe (menuColdchoice))
Position(3, 9#choice)
PutEO
Print(spcd
SCopy (temp, menucchoice))
FOR b=i TO tempcay
bo
Put (temp (b) +128)
oD
oldchoice=choice
FI
key=GetD(3)
oD
RETURN (choice?

PROC Calendar)

BYTE ch, doomsday, weekday, a,b, width,
wholewidth, spaces, maxday, block,
depth, nunsonth, holdwm, nuxprinted,
maxprint, op

CARD setup

BYTE ARRAY sday(5),
@4.2 10 61

Page 7 (scan)

CALENDAR

Putci2s) PrintD(2, setup) Put (2, vbar)
putea nunprinted=@ FOR b=1 TO width Do
putea op=ch Putp(2,32)
PuteG hol dwn=we op
Printer Calendar Generatio FOR wa=holdmm TO holdwetnummonth DO op
a doonsday=DoomF ind) PutD(2,vbar)
PuteO weekday=F indDay (doomsday) Putde (2)
Printer Subsystem") FOR a=1 TO (wholewidth-(sizem(nm) + op
wmenuCi)="1. Large Style, Small Print 63/2 FOR ch=1 TO (widtht1)*7+1 00
i bo Putb(2,hbar)
menu(2)="2, Large Style, Large Print Puto (2,32) op
” i) Putbe (29
menu(S)="3, Small Style, Small Print PrintD (2, namem Cw) ) maxday=maxday+7
Printo(2,", " op
menuc4)="4, Small Style, Large Print PrinteDEC2, yy) PutbE (2)
” Putbe (2) Putve (2)
ch=GetChoice (4,72 IF op=1 OR op=2 THEN Putpe cz)
IF ch=1 OR Ch=2 THEN FOR a=@ TO 6 00 numprinted==+1
spaces=(width-2)/2 IF numprinted=maxprint THEN
FOR b=1 TO spaces D0 Putp (2,129
Putb(2, 32) numprinted=@
op FI
‘SCopys (sday, named(a),1,3) op
Printo (2, sday) mazhol dwn
wholewidth=7% (width#1) #1 FOR b=1 TO width-2-spaces DO RETURN
maxprint=max (ch) Putb(2, 32)
IF ch=1 OR ch=3 THEN op PROC Maing
setup=small oD
ELSE Putbe (2) BYTE ch
setup=large FI
FI FOR ch=1 TO (width+i2X7#1 DO
Putc125) Putb(2,hbar)
PutEO op
PuteO Putvec2)
PutEQ block=1
Printe ct Calendar Generatio maxday=0
a WHILE maxday(daym(wm) tweekday 00
PuteG Puto(2,vbar)
Printec* Subsysten") FOR ch=1 TO 7 DO namen(9)="Septenber"
PutEO IF block)weekday AND block<=d namem(1@)="0c tober”
Printece Enter the Starting 0 ayn(ww)tweekday THEN Namen(11)="November"
ate") StrB(block-weekday, sday) Namen(12)="December””
Printect = PrintD (2, sday?
FOR TO width-sday(@) DO
dateceta Puto(2, 32)
PuteO op
pute ELSE
Printc How Many Honths==)@ FOR b=1 TO width DO
Put (se Put (2,32)
Put (se op named (6)="Saturday"
AuMmonth=InputBO FI
Aummonth==-1 PutD(2,vbar) yysyear
IF nunwonthtwa)12 THEN block==#1 meecnonitis
nummonth=12-mee oD dd=day
rt Putde (2) Poke(710,@)
Close(z) FOR ch=1 TO depth 00 Do
Open(2,route, 8,8) FOR a=1 TO 7 DO Putci2s)

7

Page 8 (scan)

ORANGES BY

@ REM ORANGES IM BASIC

1 REM BY DALE LUTZ 6/6/84

18 BALLSTART=210: TONE=30@: WAIT=438

28 LEFTONE=138:RIGHTONE=170

30 SCREENSETUP=320: STARTGAME=360
DOWN=39: SCREENHIDTH
=77:CATCHCHECK=238: GAMEQUER=418

6@ GOSUB SCREEMSETUP:GOSUB BALLSTART
78 ST=STICK (8)

75 IF PEEK(764)<)255 THEN GOSUS HAIT
80 IF ST=LEFT THEW GOSUB LEFTONE

90 IF ST=RIGHT THEN GOSUB RIGHTONE
188 COLOR @:PLOT BALK, BALY:BALY=BALY+@
+5: COLOR 1:PLOT BALK, BALY

110 IF BALY=DOHM THEM GOTO CATCHCHECK
128 GOTO 78

13@ REM LEFTONE

148 COLOR @:PLOT PLATE+1, DOMM:PLATE=PL
ATE-1

158 IF PLATE<2 THEM PLATE=78:PLOT 1,00
WH:DRAHTO 3,DOHN:COLOR 2:PLOT 76,00HN:
DRAHTO 79,D0MM: RETURN

16@ COLOR 2:PLOT PLATE-1, DOWN: RETURN
178 REM RIGHTONE

188 COLOR @:PLOT PLATE-1,DOWM:PLATE=PL
ATEtL

198 IF PLATE)78 THEN PLAT!
OWM:DRAKTO 79, DOHM: COLOR
:DRAWTO 3, DOWN: RETURN

208 COLOR 2:PLOT PLATE+1, DOWN: RETURN
2410 REM BALLSTART

228 BALK=IWT (RMD (6) *5CREENMIDTH) #2: BAL
YoL:RETURN

238 REM CATCHCHECK

248 COLOR @

258 IF ABSCBALK-PLATE) <2 THEN CATCHES=
CATCHES#1:COLOR 2:GO5UB TOME:GOTO 270
260 BASKETS=1

LOT 75,D
:PLOT 1, DOHMH

THEN GOTO GAMEOVER

278 PLOT BALK, DOWN:POKE 656,@:POKE 657
18:7 CATCHES

288 POKE 656,1:POKE 657,
298 GOSUB BALLSTART:GOTO 78

388 REM TONE

318 SOUND 1,81,18,18:FOR A=% TO 30:NEX

7 BASKETS

320 REM SCREENSETUP

330 GRAPHICS 5:A=PEEK (566) +256XPEEK (56
10:POKE 752,14

‘340 IF PEEKCA)()66 THEN A=At1:G0T0 348

350 POKE A, 78:POKE At3,6:POKE A#4,6:P0
KE #5,6:G0SUB STARTGAME: RETURN

36@ REM STARTGAME

370 BASKETS=3:CATCHES=0:? CHRS (125) :PO0
KE 656,1:POKE 657,25:? “PRESS fire:PO

KE 656,0:POKE 657,26:? “REWER”

‘375 SOUND @,258,10,18:50UND 1,252, 18,1

e

380 IF STRIGC@I=1 THEN POKE 711, (PEEK

711) +19 * (PEEK (711) (255) :60T0 380

385 SOUMD @,8,6,0:S0UND 1

11,78

390 PLATE=39:? CHRS (125) :POKE 656,,

$2 “CATCHES @":POKE 656,1:POKE
baskets 3"

418 REM GAMEOUER
412 POKE 656,1:POKE 657,10:7 BASKETS

EXT A:SOUND @

420 IF HICCATCHES THEN HI=CATCHES

425 ? 85; CHRS(125) :GOSUB STARTGAME: 605
UB BALLSTART:GOTO 7@

430 REH WAIT

448 FOR A=1 TO 108:POKE 764,255

450 IF PEEK(764)=255 THEN 450

460 POKE 764,255:RETURN

AS
7* ORANGES INC #/
7* BY DALE LUTZ 858718 %/

tidefine key 764
define dow 39
define screen 77
tdefine left 11
tdefine right 7

char a,plate,balx,baly, st;
int b, catches, baskets, hi;

delayo
oe
int i;
for Cb=1;b<=3; #+b)
izitt;
F3)

waito
$e
int ij
for (a=
delayo;
Poke Chey, 255);

100; t#a)

DALE LUTZ

Poke (key, 255);
9

ToneQ
cae
sound(1, 61,18, 10);
for Ca=1; a{=30;#4a)
delayo;
sound(1,@,0,0);
9

Leftoneg
cig
color ce}
Plot(plateti, down) ;
Plate;
if (plate<2)
$e
plate=78;
Plot (1, down) ;
drawto(3, down) ;
color (2);
Plot (76, down) ;
drawto(79, down) ;
9
else
se
color (2);
Plot (plate-1, down) ;
9
9

Rightone
st
color (@) ;
Plot(plate-1, down) ;
+plate;
if (plate)76)
o
plate=2;
Plot¢75, down);
drawto(79, down) ;
color (23;
Plot(t, down) ;
drawto (3, down) ;
9
else
st
color (2);
plot¢platett, down) ;
9
Sy

BallstartQ

se
bal:
bal:

nd(screend+2;

Page 9 (scan)

9

CatchcheckO.
se
color (6);
if (Cabs (balx-plate) (23
se
+catches;
color (2);
ToneQ;

Delay;
sound(1,8,8,8;
ES)
Plot¢balx, down) ;
poke (656, 8);
poke (657,10);
print#c%d", catches) ;
poke C656, 1);
poke (657,18) ;
printf ("%d", baskets) ;
BallstartQ;
9

StartganeO
¢
baskets=3;
catches=8;
color (@);
Plot(i, down) ;
drawto(79, down) ;
printf;
poke (656,195
Poke (657,25) ;
printfC"PRESS fire");
poke (656,8
poke (657,26);
printf ("CERES") ;
sound (@, 258,10, 10)
sound (1, 252,10, 10);
while (strig(@)==1)
cis
pelayQ;
poke(7i1, peek (711) #1);

poke (711,78);
plate=39;

printfo\e
poke (656

a5
poke (657,2);

SWAP MEET

PrintfC'CATCHES "9;
poke (656,19;

poke (657, 2);
printf("baskets 3");
poke (656,80);

poke (657, 38);

print CORE "3;
printécend", hid;

a

ScreensetupQ.
SC
opent6, 26,5,
b=dpeek (568:
poke (752,12;
while (peek (b)
4b;
poke Cb, 78);
Poke (b+3,6;
poke(bt4,6);
poke (b+5, 6);
Startgane (5

hi=0;
while (5)2)
se
Screensetup 0;
Ballstarto;
while (baskets)@)
o¢
delay;
if (peek Chey) !=255)
waitO;
DelayQ;
st=stick (8);
if (stszleft)
Leftoneg;
else
if (st=sright)
RightoneQ;
color (8);
plot(balx,baly);
ta;
if
s¢
+Hhaly;
a=8;
9
color (1);
plot¢balx,baly);
if (baly==down)
Catchcheck 0;
$) /¥end of baskets@ */

f* This gets executed when the game */

7* is over (equivalent to the */
7%* GAMEQUER routine in BASIC) ¥/

for (a=100; a¢(=208; a=at10)
5
sound(1,a,10,10);
for(st=1;st

bdelayQ;

>]
sound (1, 256,12, 10);

for Ca=1;a<=254;+#a)
delay; |

sound(1,8,0,8);

if Ghitcatches)
hi=catches;

$) /* infinite loop */

”

3} ORANGES IW ACTION
3 BY DALE LUTZ 18/6/84

} GLOBAL VARIABLES, ETC.

BYTE a,plate,balx,baly,key=764,5t
CARD b,catches, baskets, hi

screenwidth="77",

PROC DelayO
FOR b=i TO 388
bo
op
RETURN

proc WaitQ
FOR a=i TO 100
bo
Delayo
op
key=255
WHILE key=255
bo
op
key=255
RETURN

PROC Tone

Sound(1,61,18,18)
FoR a=i 10 38

AMAZON PARK

Page 10 (scan)

ORANGES

bo Poke (b, 78)
Delay Plot(balx, down) Poke (b+3, 6)
op Poke (656, 8) Poke (b+4, 6)
Sound¢1,@,6,02 Poke (657,103 Poke (b+5, 6)
RETURN Printc(catches? Startgame
Poke (656, 1) RETURN
PROC Leftonec Poke (657,10)
color=e@ PrintC (baskets) PROC maing
Plot (plateti, down) Sallstarta hice
plate==-1 RETURN bo
IF plate<2 THEN Screensetup()
plate=78 PROC StartgameQ) Ballstarto
Plot(1, down) BYTE flasher=711 WHILE baskets)@
SrawTo(3, down) baskets=3 bo
color=2 catches=@ Delay
Plot(76, down) Put (125) IF key()255 THEN WaitQ FI
prawTo(79, down) Poke (656, 1) delay
ELSE Color= Poke (657,25) st=stick(@)
Plot¢plate-1, down) Printe"PRESS fi IF st=left THEN LeftoneQ
FI Poke (656, 6) ELSEIF st=right THEN RightoneQ
RETURN Poke (657,26) FI
Print CREME) color=@
PROC Rightoned Sound (8,258, 18,18) Plot(balx,baly)
Color=@ Sound (1, 252, 18, 18 SH
“ Plot¢plate-1, down) WHILE Strigt@)=1 "IF a)1 THEW baly==#1 a=@ FI
plate==#1 po color=1
IF plate>78 THEN DelayQ Plottbalx,baly)
plate=2 flasher==#1 IF baly=down THEN Catchcheck( FI
Plot(75, down) Delayo op
brawTo(79, down) 0D
color=2 Sound<@, 8,0, 8) 3 This gets executed when the game
Plotti,down) Sound(1,0,6,8) + is over (equivalent to the
DrawTo(3,down) flashers; } GAMEQVER routine in BASIC)
ELSE Color=2 plate=39
Plot(plate+i, down) Put(125) STEP 10
FI Poke (656,80)
RETURN Poke (657, 2) Sound(1,a,18, 16)
PrintC*CATCHES 6") FOR st=1 TO 40
PROC Balistart() Poke (656,1) bo
rand (screenwidth) +2 Poke (657,23 pelayo
Print("baskets 3") oD
Poke (656, 6) oD
Poke(657, 38) Sound (1, 258,12, 10)
PROC Catchcheck Print COD "9 FOR a=i TO 254
Color=@ Printcchi) Do
IF balx-plate<2 OR plate-balx<2 THEN RETURN delayO
oD
catches==#1 PROC Screensetup() Sound(1,6,@,0)
Color=2 CARD dlist=560 IF hicatches THEW hizcatches FI
ToneQ 0D ; infinite loop
ELSE baskets==-1 Graphics¢s) RETURN
Sound(1,108,8,10) b=dlist
FOR a=i TO 50 Poke (752, 1)

san, : AMAZON PARK

10

Page 11 (scan)

FORTH

ORANGES

scr # 20

00 ( ser# 21 27)
02 : RIGHTONE © COLOR plate @ DUP I
03 ~ down PLOT 1 + DUP plate ' 78

04 IF 2 plate ' 75 down PLOT 797

05 down DRAWTO 2 COLOR 1 down PLOT
0& 3 down DRAWTO ELSE 2 COLOR

07 plate @ 1 + down PLOT THEN +

08

09 : BALLSTART BEGIN 53770 Ce 2 +
OA DUP balx ' screenmidth < UNTIL 1
op baly '

ac

0D : CATCHCHECK © COLOR balx #
DE plate @— ABS 2 ¢ IF catches #1
OF S catches ' 2 COLOR TONE FLSE

10 baskets @ 1 — baskets ! 1 100 8
11 10 SOUND 50 1 DO LOOP 10 00

12 SOUND THEN balx @ down PLOT 0 65
15.6 C! 10 657 C! catches @ . 1 656
1a C! 10 657 C! baskets © «

15 BALLSTART +

17 711 CONSTANT flasher
16 : STARTGAME 3 baskets | 0

19 catches | 125 EMIT 1 656 ! 25
1A 657 |." PRESS fire " 0 656 '

1B 26 657/! 2" oranges * 0 250 10
1¢ 10 SOUND i 252 10 10 SOUND BEGIN
ID DELAY flasher C@ 1 + flasher C!
1E 0 STRIG NOT UNTIL @ 0 00

IF SOUND 1 0 0 0 SOUND -->

a

scR # 21

00 ( scr# 20 ORANGES 1/2)

Of DX ( set to decimal mode ?

02 ( define constants ?

(03 11 CONSTANT left

04 7 CONSTANT right

05 39 CONSTANT down

08 77 CONSTANT screenmidth

07 ( initialize variables >

06 0 VARIABLE a 0 VARIABLE balx
© VARIABLE st 0 VARIABLE baly

OA 0 VARIABLE b  . 0 VARIABLE hi
© VARIABLE plate
© VARIABLE catches

OD © VARIABLE baskets

OF

OF : DELAY SO 1 D0 LOOP +

10

a1: wal 764 C! 100 1 D0 LOOF

12 BEGIN 764 Ce 255 = NOT UNTIL
13 255 764.0 $

15: TONE 1 @1 10 10 SOUND 30 1 DO
16 DELAY LOOP 1 0 0 0 SOUND +

10 : LEFTONE 0 COLOR plate @ DUP 1
19 + down PLOT 1 - DUP plate ! 2 <
1A IF 78 plate ! 1 down PLOT S$

1B down DRAWTO 2 COLOR 76 down PLOT
tc 79 down DRAWTO ELSE 2 COLOR

1D plate ® 1 - down PLOT THEN

1E

iF >

SCR # 22
00 ( scr# 22 ORANGES 3/7)
01 70 flasner C! 39 plate ' 125

02 EMIT 0 656 Ct
03 ." CATCHES 0

657 Ct
1 656 Ct 2 457 Ct

04 |." baskets 3" 0 656 C! 30 657
05 Cl .* high "2-5
08

07 : SCREENSETUP 5 GR. 560 @ b !
06 BEGIN b @ 1 + DUP b ! C@ 66 =
09 UNTIL 70 bec! ebes+cre
oAbea+crebestc!

OB STARTGANME +

ORANGES DX 0 hi! BEGIN
OE SCREENSETUP BALLSTART BEGIN

OF DELAY 764 Ce 255 = NOT IF WAIT T
10 HEN DELAY © STICK DUP left = TF
11 LEFTONE THE right = IF RIGHTONE
12 THEN © COLOR balx @ baly @ PLOT
13 ae t+ DUP a! 1> IF baly et
ta 4 baly | 0 a ! THEN 1 COLOR

15 balx © baly @ PLOT baly # down

te TF CATCHCHECK THEN bas

17 = UNTIL 200 100 DO 1 T 10 10
i@ SOUND 40 1 DO DELAY LOO 10
19 4LOOP 1 250 12 10 SOUND 254 1 DO

SCR # 23
00 ( scr# 23. empty block 1/1 )

1A DELAY LOOP 1 0 0.0 SOUND mi &
1B catches @ < IF catches @ hi ¢
16 THEN © UNTIL ¢

1F 4S

SWAP MEET

AMAZON PARK

11

WALDEN'S C

The nonml way of testing 2 function's spee!
is to call it a given mmber of times ant see bow
long, it took. The problem with this appranch is
that same functions my take a fey split srconls to
exceute, and others could take several minutes. 10
the program SPEED.C, two functions are calle!
repeatedly for a given nunber of seconds and then
the results are compared. This say you know the
conputer will only be tied up for a given length of
Lim, and you can easily test two different sys 0
programming the same funct ion, and conpare the
results. Tt operates on the more is better
principal; the more repetitions you get, the faster
your function is. Tecause the computer does 1 lot
of housekeeping chores while it's running, your
program, the results will vary slightly even when
calling the sane function. A difference of less
un 10 percent between the functions wil! proisbly
not be significant.

SPEED.PAS is a similar program written in
ISIC. For a lot of reasons (too nany to explain
in this article) the timing run is Limitot to 4
seconds for ench function, Because BAT is slow
to begin with, you will not be able to yt in
complex functions and have it min in uuler 4

owever, I did run it on a variety of
and you my be interested in the results. This
tenchmrk calls-a null fwetion (all
retum).

Atari BASIC ~ 267; BASIC NI. ~ @3
(normi/fast mde); SIC XL. with NH
SeO/ATI, PASIC XE — MO/COB/972
(norm /extensions/ fast
TW/65 ~ 4,807.

PASI? -

REM SPEED.BAS - TEST FUNCTION SPEE

110 GOTO 16@:REM HAIN LOOP

120 REM TESTI

130 RETURM :REM PLACE FUNCTION HERE, A
ND ENO WITH A RETURN

148 REM TESTZ

158 RETURN :REM PLACE FUNCTION HERE,
MD END MITH @ RETURW

160 REP1=0:REP2=8

178 POKE 20,@:REM CLEAR SYSTEM CLOCK
188 GOSUB 130:REP1=REPI+i:IF (PEEK (20)
REM RUNS FOR 4 SECONDS
198 POKE 20,0:REM CLEAR SYSTEM CLOCK
GOSUB 130:REP2=REPZ+i:IF (PEEK (20)
EM RUNS FOR 4 SECONDS
repetitions

repetitions

2307

240 IF CREPI)REP2) THEW ? “TESTI is fa
ster then TEST2.

250 IF CREP2)REP1) THEN ? "TEST2 is fa

ster then TESTI."
260 IF (REP2=REP1) THEW
EST2 are the sane"

“TEST2 and T

Page 12 (scan)

FURTRADER FROM UK ATARI USERS GROUP

3030 IF FOO THEN F=F-:
3e4e8 GOTO 17
4088 ? “FOOD / HUNGER / REST / STORES 6110

6128
4010 POSITION @,3:7 "YOU HAVE ";HF;" H
25 GRAPHICS @ AGGIS FURS." 6130

3O POSITION 8,3:7 "YOUR COMMANDS ARE : 4030 2 :?

OU HAVE ";CF;" COYOTE FURS

482 <1) LOOK FOR TRADING POST." 4858 ? :? "YOU HAVE ";0F;" OCELOT FURS 6145
50? <2) GO TO BED." 7 6158
68 7:2 "{3) EAT/DRINK FOOD AND WATER. RABBIT FURS 6153
is 6168
<4) FOOD/HUNGER/REST/STORES C “YOU CAM SURVIVE

K COMMANDS WITHOUT ANY FOOD." 6178
90 POSITION @,14:? “COMMANDS AT TRADIN “YOU HAVE ";F;" PACKHORSES 0 6175
6 POST OMLY : F FOOD AND WATER." 6188
5) SEE GOING EXCHANGE RATE. 4128 ? “YOU CAN SURVIVE ";D;" COMMANDS 6185

WITHOUT ANY REST.“ 6198

(6) MAKE A DEAL. 4125 POSITION @,21:7 “YOU MOM HAVE &; 6195

150 POKE 764,255:POSITION 8,21:7 “WHAT H 620
IS YOUR COMMAND 2": INPUT A 41308 GET #1,¥ "

170 IF INT(AY<)A OR ACL OR AYG THEN 98 4148 GOTO 17 6218
28 IF ERU=1 THEM 5048 6215

HFP=INT CRND (13440) #64 6228
INT CRMD (1) #30) +34, you
MT CRMD (1728) +14 6225
MT CRMD (1310) +1, 6238
IND (13%*10)413)6 THEM 1589 5840 POSITION @,1:? “EXCHANGE RATE :" 6248

180 IF T4)1 AND A)4 THEN 9040
185 IF A=6 AND ERV=@ THEN 901

5058 POSITION @,4:? "HAGGIS FUR = 6258
1018 T=4 FP ”
1020 POSITION 8,8:7 "CONGRATULATIONS . S@68 POSITION @,8:7 “COYOTE FUR 6268
YOU HAVE FOUND A TRADING P FP 6278
OsT.:? 5078 POSITION @,12:? “OCELOT FUR = 6275
1025 A=IWTCRNDC19*2)41 oP 6280
1035 IF A=1 THEM F=Fti:? “YOU ALSO MAN 5888 POSITION @,16:7 “RABBIT FUR = 6298
AGED TO REFILL YOUR STORE oF F 63
oop GET M1,Y
1045 GET #1,¥:G0T0 17 ERU=1 6318
POSITION @,11:? "BAD LUCK. YOU Goro 17 6328

PID MOT MANAGE TO FIND A © TRADING POSITION 8, YOU HAVE “ZHF;" 6395
POST ANYWHERE . HaGGIS FURS" 6338
1515 GET #1,¥:G0TO 17 6810 POSITION @, ‘YOU HAVE ";CF;" 348

CovOTE FuRs 6x58
6828 POSITION 8,12:7 "YOU HAVE ";0F-
2018 POSITION @,18:? “NIGHT,MIGHT.DON' — OCELOT FURS” 6360

T LET THE BUGS BITE. POSITION @,16:7 "YOU HAVE 6376
2011 GET m1,¥ RABBIT FURS" 6375
2012 IF A=1 THEN POSITION 8,15:? “THE 6035 POSITION "YOU MOH HAVE ATO 6386
BED BUGS BIT AND YOU DID MOT MANAGE TO TAL OF & 6398

GET ANY SLEEP 6840 POSITION @,20:? “HOM MANY HAGGIS 6490
2013 IF A=i THEN POSITION 8,17:7 "":PO FURS WILL YOU SELL ? “

22° PPR RP PPP Pierro 6045 THEM 6690 6410

2005 IF AQ)1 THEN

NEXT Aa 6e5e NT CKD 6415
2628 GOTO 17 6860 IF X)HFORK<@ THEN 6856
3000 IF FQ@ THEM POSITION 0, 11:7 “YOU 6070 M=H+CKXHFP) :POSITION 25,0: H;"
HAVE WOW TAKEN THE LOAD OFF OWE ”
PACKHORSE.."":#=7 6080 HF=HF-K 7048
3020 IF F=@ THEN POSITION 8,11:7 “BAD 6885 POSITION 9,4:7 HF;"
LUCK, THERE TS MO FOOD LEFT." 6898 POSITION 9,28:7 “COvOTE FURS
7098
12 7118

THEN 6148
INPUT INT CKD

IF KCFORK{® THEN 6108
MEME CHRCFP) :POSITION 25,

2H"

CF=CF-K

THEM 6188
INPUT NT CKD

IF KDOFORK{@ THEM 6158
HEME CHROFP) : POSITION 25,

OF=0F-X

POSITION 9,12:? OF,
POSITION 9,20:?
IF RF<=@ THEN 6220
IMPUT X:X=INT (XD

IF K)RFORK{® THEM 6196
HEM# CKRRFP) :POSITION 25,

ABBIT FURS"

2H

RFERF-X

POSITION 9,16:7 RF;"
POSITION 9,28:? "HAGGIS FURS WILL
Buy 2"

IF CHCHFP) THEN 6278

INPUT ¥:M=IMT (XD

IF CK¥HFP3)MORK{O THEN 6230

HEM- CHHHFP) :POSITION 25,

HF=HF##:POSITION 9,4:? HF
POSITION 9,28:? “COYOTE FURS"
IF CHXCFP) THEM 6326

INPUT NT CKD

IF CECFP))WORK® THEM 6266
HEM CHCFPD :POSITION 25,

CF=CF#H:POSITION 9,8:7 CF;"
POSITION 9,28:7 “OCELOT FURS"
IF CH<OFP) THEN 6378

INPUT X:K=INT CK)

IF CHXOFP))MORK{® THEM 6330
HEH- CHHOFP) :POSITION 25,0:7 M;"

OF=OF#H:POSITION 9,12:7 OF)" "
POSITION 9,20:? "RABBIT FURS'
IF CHCRFP) THEM 6428

INPUT 4:K=INT CHD

IF CHXRFP)>MORK<@ THEN 6380
MEM- CHERFP) :POSITION 25,8:7 M;"

POSITION 9,16:? RF;" "
TO 17

2 Ke AGHEH-L

IF H(@ THEN 8626

IF D<@ THEN Bt
‘IF INT(RWD(1)#125))5 THEN 72
IMT CRMD (13% (HE /292
CF=CF-INTCRND (1) *(CF/2)
OF=OF-INT CRND (1) (0F/2))
RF=RF-INT (RMD C1) *(RF/2))
POSITION 8,9:? “SOME ROBBERS JUST

Page 13 (scan)

ST LIBRARY

We have some additions to our ST Library: 3 new Basic programs:
Calc.bas, Labels.bas and Title.bas. The Calc program is a 4-function
calculator.

One new ST Writer application: STWCON.TOS and XYZZX.TXT
This program purports to be able to configure ST Writer for whichever
printer you may desire to use.

Two new sound files: Newsin.prg (draws sine waves and makes
sound at the same time — demo), and Evita.sng (to be used with the
MIDIDEMO.PRG — you also need a synthesizer!)

One new ST Paint program: Degasneo.prg. This one will translate
picture files drawn with DEGAS into a format usable by ST Paint

‘One game: MEGAROIDS (Megaroid.prg and Megaroid.rsc). This is
an implementation of the classic Asteroids game written in MegaMax
C. It’s a good advertizement for the MegaMax product.

MORE RUMORS: Atari has sold 90,000 STs. The ST is the best-
selling computer in France and Germany. The Atari ST is outselling
Macintosh 6:1 and C-Amiga 30: 1. Is multitasking important to you? The
Atari ST hardware supports multitasking as well as any 68k system.
0S/9-68k is being ported over. Atari is working on a multitasking OS.
DRI is shippiing to OEMs its Concurrent DOS 68k.

The Atari ST is expandable to 256 megabytes of RAM through its
DMA port {SASI compatible). Is this expandable enough for you?

Les Ellingham, of Page 6 in the United Kingdom, says their version
of GEMDOS "‘has a bug which prevents opening folders with 8-letter
file names." I'm surprised. Come on, Atari, et’s get that TOS on ROMs!

PC Inter/Comm (Mark of the Unicorn, $99 discounted) is a great
telecommunications program. It's as good, if not better, than anything
I've seen for the IBM PC. In fact, | believe it was ported over from the
IBM PC version. It's entirely menu-driven from the keyboard, or you can
bypass many menu selections directly with commands as you learn
them.

There are probably more than 100 commands and options and
parameters you may select while using this program. The best features
of this program include the ability to set up configuration files for any
system you may call, Just load in a pre-configured set up and press Alt-
D RETURN and the phone dials away. A version of the Xmodem protocol
is available which uses cyclical redundancy checking, It will also use
the Kermit protocol, as well as "’Raw’’ and "ASCII"

One really marvelous feature is demonstrated by the way in which
| now transmit the ACE Newsletter file to the typesetter. | go to bed
fone night after having run up PC Inter/Comm and loading in my
“*Callup.ic’’ file. | type Alt-T RETURN and go to sleep. At 2.30 am, the
Atari ST takes the phone off-hook (oh yes, | had to turn on the modem,
too), dials the number. Any log-on procedure is completed (which may
include the exchange of passwords), the file is uploaded (a file may be
downloaded instead, or in addition?). When finished, the logoff protocol
is executed, the phone put back on hook, and the Atari ST goes back
to sleep! What do you think of that? Two Atari STs, running this same
software could each perform these tasks without a human at either end!
As you can tell, I'm really bowled over by this feature.

If you're on a BBS and you're reading messages or bulletins,
sometimes you might say to yourself, “I wish | had my buffer open.
I wanted to save that!"’ This program puts the history of your terminal
session into a buffer. You can page backwards through this history, even
if it’s been scrolled off the page. You can edit and save parts of the
history.

The program emulates s DEC VT102 terminal. The F1-F4 keys
function just like the VT102 unless you define new values to them. You
may also assign values to F5-F10 and Shift F1-Shift F-10. Some words
or phrases you use alot? Just assign them to a function key. Passwords,
names, city and state, etc. are my candidates.

The manual includes about 130 pages, including an extensive table
of contents. The material is well-indexed. The program is a bit spendy
for most Atari users, probably. But if you can spring for the money, you
won't regret it. One glaring defect: You are not able to read a disk
directory from within the program(!?) | can’t imagine how this feature
was omitted. I've not yet seen a terminal program which didn’t have
this ability. I'm sure they will add this feature in the next update, and
in fact I've heard they intend to do just that thing. The only other thing
can think of to add to this program is to permit the user to select colors
for the screen, or perhaps to play some background music while the
program’s running. Maybe it can be made to turn on the microwave and
warm up a snack

InSoft Newsletter (1834 Beacon St., #1, Brookline, MA 02146
617-739-9012. $45/6 issues; $70/12 issues) is a newsletter on disk
devoted entirely to the Atari ST. The November, 1985 issue has 19 files
including executable programs, source code files and document files for
each program. They have news, editorials, reviews and rumors. For less
than $6 an issue you get a disk as well as all the goodies. I'm unclear,
but there might be a paper newsletter included. Check this one out. Its
future has possibilities.

— Jim Bumpas

13

STuff

Neil Harris spoke to a user group back east on October 13 with some
interesting items. He says Atari has a 3.5” drive which works with the
XE machines. Atari is considering the feasibility of changing over to this
new drive for the 8-bit line. The AMY chip for the XEM has been licensed
toa third party to complete development. Atari retains the right to use
the final chip in any product they choose.

Two expansion boxes for the ST he says might appear in 1986. One
is an eight slot box which plugs into the DMA port. Extra memory and
other goodies can make use of this item! The other is a full 32-bit
computer in a box to plug into the ST. It will only add crunching power.
The graphics, 1/0, etc. will still be handled by the ST. Harris finished
off by saying Atari has some advanced technology in their labs right
now which will knock your socks off. He says it can be ready for market
in a hurry, too, pointing to how fast the XE and ST lines got to market.

Next year should be very exciting for the Atari world. Can we stand
it after all the excitement of 1985?

The C-Amiga was at our November meeting. | invited a local
Commodore dealer to demonstrate the machine because of the wide-
spread interest in this machine among Atarians. | must say the graphics
capability of the development system they used was very impressive.
Idon’t know why they didn’t bring a production machine. | haven't seen
anything on the Atari ST yet to match the best of what they showed
Ido think our Atari Waterfall is better than the waterfall they showed

But they showed an animated scene called ‘‘Robocity’ with 5
independent objects moving around on the screen at once. Another
animation was the eagle flying across the screen, making eagle noises.
Most of the graphics demos were in low resolution (320x200). The 2
or 3 high-res demos did have a noticeable flicker at 640x400 interlaced
mode, but the detail was very impressive. They did not show two of
these high-res pictures in a row, They seemed to have to re-boot after
each one.

(One demo was a speech synthesis of 3 or 4 words which required
the entire memory of the C-Amiga to produce. The sample rate must
have been very high because the sound was almost audio quality!

They didn’t demonstrate any applications software. They only had
graphics and a couple of games which were not finished from Electronic
Arts (Firefox and Arctic Fox — similar games). Asked about business
applications they said to use a C-Amiga in business is a waste of a great
game machine. They called it a “’super-Atari”. In my opinion, the display
of text characters is not as good as on my color ST system. And nothing
on the market touches the Atari ST monochrome system for text display.

The C-Amiga does not come with any software for you to use. You
must buy it all extra. They don't have anything equivalent to the free
ST Writer, ST Paint, LOGO and BASIC which we get with our ST
purchase. And the C-Amiga operating system does not have a terminal
emulator to use for telecommunication. How much does a C-Amiga
cost? $1295 for the 256k console and 1-meg drive: $199 for the
upgrade to 512k; $495 for the RGB monitor. $1,989.00 including no
software, | don't think the machine has a market niche at that price.
They're selling it as a game machine, but pricing it in the business range.
I'm using my Atari ST in business, and waiting for some great games
to play!

ST-SIG: We have 15 ST users in our local special interest group
here in Eugene. About % of the group bought the ST as their FIRST
computer! If this trend is general, then Sam Tramiel is correct that this
machine will revitalize the pc market. About ¥% of us are using the
machine primarily or exclusively in business.

‘SPECIAL OFFER: If you share an ST program which you've written
and you find useful and/or amusing share it with the rest of us. If you
send it on a disk with a little article describing it, we'll return you a disk
with your choice of material from our ST public domain library.

Here’s a little task which might set you to work: Find a way to
access the Time and Date functions which the OS keeps track of from
within ST Basic. The first one to come up with the answer to this problem
will receive in trade for executable code on a disk a copy of one of our
public domain disks

ST 5.25"’ DRIVES
Jown and love my 520 ST. | found an easier way to hook up a 5.25"
drive to it. Open the 3.5” drive and very very gently remove the ribbon
cable and connectors. Replace the ribbon cable with a 4 or 5 foot long
‘one using the original connectors. As Dave Small showed in November
Antic, find pin 6 of the incoming plug. Make a jumper to wire 12 of the
robbon cable past the connection to the 3.5" drive. Set up the 5.25”
drive as Dave Small indicated with a 34 pin crimp-on edge connector
($4.95 at Radio Shack). Oddly, Radio Shack no longer carries 34 wire
ribbon cable.
Dave Small was not quite correct in saying you can not format a
40 track drive. | hooked up an MPI52 40 track double sided drive, cutting
one trace as Gary Sewell of Dallas ACE had told me. When you format
a 40 track drive, the 40th track is formatted 41 times and the ST will
think it can put 720k on the disk. As long as you don’t try to put more
than 340k (39 tracks worth) on the disk, no problem is found writing
to the disk!
— W. M. Frank

Page 14 (scan)

TOKEN BASIC

(by Les by Gum: reprint: P.A.C.E, World, June, 1985)

One of the mystery words which keeps cropping up in Atari talk is
TOKENISATION. This is a subject which is never explained. Yet it is very
important to Basic. The reason it isn't discussed is because you don't
really need to understand it. (What is this man talking about? | hear you
say.)

Well, tokenize is just the way the computer stores your program
If you were to type a line such as

10 FOR I=1 TO 6

The line is not stored exactly like that. If you could look at this line
in the computer memory you would not recognize it. It is complete
gobble-de-gook

How can you look at the program in memory? Well, the actual
address where it is stored on an 8-bit Atari can be found using the
following:

? PEEK(136) + 256*PEEK(137)

Type this and press Return. The number given is the start address
of your program.

Tokenisation is a matter of substituting codes for words

The Atari takes key words such as FOR, NEXT, GOTO, etc. and puts
a number in memory in place of them. When you print a LIST on screen,
the Atari looks at the code numbers and puts the correct word in place
on the screen.

The word FOR appears in memory as the number 8, while NEXT
is number 9.

Now type NEW and Return. Type in the following program

10 C=0

20 D =PEEK(136) + 256*PEEK(137):T =0

30 OFFSET =PEEK(S +C +2):F=0

40 ? PEEK(S+C);"" ":F=F+1

50 IF F=OFFSET THEN 70

60 C=C+1:GOTO 40

70 T=T+10:IF T= 100 THEN END

80 POKE 764,255:7 :? “PRESS KEY

90 IF PEEK(764) = 255 THEN 90

100 ? :? :C=C+1:GOTO 30

If you run this program it will print the program one line at a time
showing you what the line looks like in storage.

To print each successive line, press Return.

The line numbers are stored in two bytes. The first is the LOW byte
of the number, the second is the HIGH byte. Number 10 is simply 10
and 0. A large line number like 18440 is first divided y 256 to get the
HIGH byte. The remainder is the LOW byte:

18440/256 = 72.03125, so 72 is HIGH.

72* 286 = 18432, so 18440-18432 =8. 8 is the remainder and is
also the LOW byte.

Try this the other way around. If you see the number 8 in the Ist
byte and 72 in the 2d byte then multiply 72*256 and add 8. The answer
is 18440

The third byte of the line gives the total number of bytes in that line.
this total includes the 2 bytes of the line number. The number will be
15. Count the bytes on the screen. From byte one (10) to the last byte
(22) is 15.

The fourth byte is the number of bytes in the first statement. This
line only has one statement (C =0), so the total is the same (15) as the
previous byte. Where a line has more than one statement this fourth
byte will be less than byte 3.

The fifth byte in our example is the token for the word LET (54)
If you actually put the word LET in the program this number will be 6
Confused? Worry not. It is for the sake of a Listing that there are 2
numbers meaning LET. Number 6 will make the Atari print the word LET
in the list. The number 54 means this is LET but don’t print it out

Byte number 6 is the token for the variable ““C’’. Everytime you enter
a new variable it is given a number starting at 128. As C is the fist
variable it has come across, it is tokenized as 128. The next different
variable it finds will be given the number 129 and so on.

Byte 7 is the token for ’="" (equal sign)

Byte 8 tells the computer a numeric constant follows.

The next 6 bytes (9 to 14) are reserved for the value of the numeric
constant. So each time you create a new variable you lose 6 bytes which
saves the value you assign to it, You also use some extra memory storing
the variable name.

Byte 15 is the last byte of this line and the number 22 tells Atari
“that’s the lot’

Press Return to display line 20 of the program. Line 20 has two
statements in it

14

Byte 3 is the total bytes in the entire line.

Byte 4 is 37 which means there are 37 bytes in the first statement
If you count 37 bytes from the start you will see the number 20 which
shows the end of the first statement, this being the token for colon (:)

In the second statement in this line the first byte (byte 38) is the
total count of bytes from start to end. You will see it is the same as
byte 3.

After each statement terminator (token 20) the Atari expects a
count of the number of bytes so far plus how many are in the next
statement. If this number matches byte 3 then it knows this is the last
statement on the line.

With all these constant checks is it any wonder we keep getting
error messages? Still it’s a good idea. It does help to make you get it
right before running. As far as possible anyway.

Now that you have learned all this about tokenization, what use will
you put it to? | don’t know any use for it either. but it's all good fun.
get in there and Poke a few random numbers into memory. See what
Atari makes of that! Hah! Bet it can’t make head nor tail of it.

KARATEKA

by Jordan Mechner, Broderbund software

KARATEKA js a super animated game. | am not a karate expert by
any means but this game is easy to play and hard to win (that is to rescue
the maiden in distress)

The objective is to rescue “MARIKO” the maiden To be able to do
this you have to fight all kinds of warriors differently skilled in different
karate levels one at the time till in the end you have to fight the master,
before you can open the door to rescue her.

The one thing | personally did not find too easy was that the control
with the stock atari joysticks was inconsistent at best, but not to fret
there is also a keyboard option for control of your fighter which | had
a lot more control with, and used throughout my endeavor with the
game.

Technically | think the game is superior to most games | have seen
of late. The movie-like story seems well thoughtout. The characters
move very smoothly, which gives the impression of a lifelike scenario.

The backgrounds scroll with your movements, to give a realistic
effect. The fighting stances seem like the real thing (I dont know karate).
So if you are into animation or Karate or both | highly reccomend

Karateka. It really is fun.
— ROBERT COOK

PutEQ)

PrintEc"
dar")

PutEO

Printec" by")

PutEO

Printec"

Perpetual Calen

Dale Lutz")

PutEO

Printec"
OnE")

PutEO

Printec"
on Printer")

PutEO

menutid="i, Tell Meek Day from Dat

Written in acti

Currently Set For Eps

e
wenu(2)="2. Print Out Calendar

ch=GetChoice(2,6)

IF ch=i THEN
dayflag=.
Tellbayt)

ELSE
dayflag-@
Calendar QO

Fr

oD
RETURN

Page 15 (scan)

QUICK PRINT

Word processors are marvelous, but they have their limitations —
especially for doing simple jobs. Suppose you want to address an
envelope. In most cases it is easier to use a typewriter than a word
processor. With AtariWriter you need to boot the program, set the
fnargins, type the text, move to the print menu, set some of the printing
parameters, and finally, print. For some word processors, the procedure
is even more complicated. You may have to create a text file, save it
to disk and then set up the print parameters before printing

QUICK PRINT is written for those small printing jobs such as
addressing an envelope or writing a memo. It allows you to use your
‘computer and printer like an electronic typewriter. The main difference
ig that Quick Print processes one line at a time rather than just one
character.

‘Turn on your printer before you run Quick Print. When you
successfully run Quick Print, you will be prompted for the left and right
margins. Type the left margin, comma, the right margin, and RETURN.
Quick Print will accept numbers between 1 and 80 as legitimate input.
Error trapping should take care of any goofs or slips of the fingers. With
proper input you will see a colored line on the screen with the cursor
bt the beginning of the line. The length of the line will equal the difference
between your right and left margins. If the length of your line is more
than 40 characters, the colored line will be more than one screen ling
{assuming a 40-column screen). As you type, the position indicator will
display the cursor position along the line. If you type beyond the length
of the colored line, you will go outside your margins. A warning bell will
sound when you are five characters from the end of your line and you
will need to press the Option key to release the margin if you wish to
fd a few characters beyond the length of the line. If you want to reset
the margins, press Select.

Suppose you want to address an envelope. Set the left margin at
about 40 and the right margin at about 75. Then you will see a colored
line on the screen which is 36 characters long. Position the envelope
in the printer, and type the name. You may edit the name using the
screen editor before hitting Return, but when you hit Return, the name
will print and a new colored line will appear on the screen for the first
line of the address. And so on. By pressing Option, you may type a few
characters beyond the colored line without ill effects. It is similar to
hitting the margin release on a regular typewriter. But if you enter too
many characters beyond the margin your printer may break your line
at the wrong place.

In the BASIC program listed, a vertical blank interrupt (VBI) is used
to update the cursor position, to ring the warning bell and to determine
when Option and Select are pressed. Subroutine 9000 POKEs the
Vertical blank interrupt into memory. The assembly language subroutine
developed with MAC/6S is shown separately. It is for your information
only as all the necessary DATA statements are included in the BASIC
fisting. Since this subroutine is longer than can fit into page six. | put
it in page 80 which is reserved for the right-hand cartridge in the 800
and is unused in the XL series. | do not know about the XE series.

{A display list interrupt in subroutine 6000 changes the colors at
screen line 4. Subroutine 3000 is used to setup the margins. Subroutine
4000 opens the keyboard for input on channel #1 (with screen output)
and opens the printer for output on channel #2. Subroutine 5000
fodefines the character set to create the colored line. Lines 8010-5070
include a machine language subroutine to relocate the normal character
set in RAM where it may then be modified. Lines 5080-5100 redefine
the graphic ‘heart’ to be the character for the colored line. The color
was created in Graphics 0 by using color artifacting — that is, every
other pixel was turned on. See you local popular books and magazines
for articles on interrupts, character set redefinition and color artifacting

“The main loop of the program is lines 210-260. In line 210 the cursor
position is defined so the cursor will be returned to the beginning of the
polored line after the colored line is printed. The print statment in line
220 is needed to reposition the cursor so you can see whefe you are.
Line 212 is needed to insure the cursor is positioned on the colored line
when the text extends to the bottom of the screen

The trickiest part of this program is synchronizing the timing of the
vertical blank interrupt and the BASIC program. Line 225 is needed to
ingure that the bell does not ring at the wrong time and the ““keyboard
disable” used as the margin stop does not engage at the wrong time
Line 240 is needed to empty the buffer when Select is pressed so the
printer does not print unwanted text.

Be careful if you type control characters because they may lock up
your printer. If this occurs, just turn off the printer and turn it on again.
‘As an added feature, you may use the control characters to enhance
your text. For example, on my Axiom AT-100, Control-N will turn on
the expanded text mode and Control-O wil tum it off. Also be careful
not to move the cursor off the line you are typing or funny things might
happen. Quick Print does not recognize special characters such as Tab

15

unless your printer can interpret them properly.
I hope you find Quick Print as useful as | have.
— Gerry Wick

BRIMSTONE and ESSEX

{for the 800/130 XE)

Synapse describes these games as “electronic novels'’. They are
very extensive text adventure games requiring 2 disk drives as well as
48K machines. The player/reader is required to read a book describing
the background and introducing the characters in a fantasy plot. From
there, you boot the disks following the prompts and begin. The all text
play is similar to Infocom games with one big exception: with 2 disks
crammed with huge data files to access, there are many more options.
For example, playing ESSEX one evening | experimented at one point
making 8 different responses at the same point in the game and found
8 different complete turns of the plot unfoldment. In a sense the
player/reader creates the plot by what he or she chooses to input.

BRIMSTONE is a knights of the Round Table fantasy with castles,
legends, damsels in distress etc. | find it relatively hard to get started,
but once into it, the game moves along at an interesting clip with several
surprises. It is far from predictable.

ESSEX is a space adventure/fantasy with many climactic moments.
| find it harder to play than BRIMSTONE, but this could be because |
make all the wrong decisions. The story is not, in my view on par with
the best of INFOCOM games although it is keeping my interest.

My main criticism of these games and the concept is the relatively
slow disk access. | frequently tire of the long waits. Perhaps | have been
spoiled by the speed of the ST.

— Graham Smith

THE “ST” CONNECTION

Programs for the ST are gradually becoming more plentiful. A few
of the new programs and the final edition of ST BASIC are worth a few
remarks. However, this is by no means an in-depth review.

Hex, a strategy game from Mark of the Unicorn, is a very fine game

_ once you get into it far enough to understand the sometimes subtle
play. It is sort of a cross between CHESS and ARCHON with a little of
Q*BERT thrown in. It is hard to describe since there is really nothing
cise like it, The object is for you to turn the board surface green by
jumping on the hexes making up the surface. This is complicated by your
computer opponent who meanwhile is trying to turn the surface purple.
‘Altogether, there are 12 different opponents of varying skills and magical
powers trying to undo you in 125 different levels. It is all very cleverly
done and has great staying power and wonderful graphics.

Ultima Il on the ST is wonderful. The GEM interface makes play very
simple and straight forward. Best of all, the frequent disk 1/0 is lightning
fast. The GEM is perfect for this kind of application. | love it!!!

The new ST BASIC is very powerful, and, if you can get used to
hand-picking your way through all of the windows and the relatively slow
speed, this adaptation of the language works. However, In playing with
it one weekend, | am convinced that it is not for me. Atari's
implimentation of the GEM Desktop in BASIC ST gets in my way.
Supposedly Philon’s Basic M is now being shipped so it will be interesting
to compare the two basics although rumor has it that Basic M does not
have graphic capabilities.

| have also been impressed with SHICED: a shape and icon Editor
designed specifically for the ST and made by Monarch Development of
Salem. This product is a very high quality and thorough product. With
it you can design your own Icons for the desktop, design multi-color
shapes, and even do some animation. Best of all, you can save your
work in a variety of different source codes including ""C’" and Assembler.
With the number of examples included on the disk you can learn how
to interface your files in your programs.

— Graham Smith

SWAP MEET
AMAZON PARK

Page 16 (scan)

Atari Computer Enthusiasts
AC.E. is an independent, non-profit and tax exempt computer club
and user's group with no connection to Atari Corp. We are a group
interested in educating our members in the use of the Atari Computer
and in giving the latest News, Reviews and Rumors.
All our ai les, reviews and programs come from you, our members.
Our membership is world-wide; membership fees include the A.C.E.
Newsletter. Dues are $14 a year for U.S., and $24 a year Overseas Airmail
and include about 10 issues a year of the ACE Newsletter.
Subscription Dep't: 3662 Vine Maple Dr., Eugene, OR 97405.
**President Dick Barkley, 2907 Wingate, Eugene, OR 97405
503-344-5843
Vice Pres— Larry Gold, 1927 McLean Blvd, Eugene, Or 97405
503-686-1490
& Jody Ross, 2222 Ironwood, Eugene 97401
(503) 342-4133
ST Librarian— Jim Bumpas, 4405 Dillard Rd., Eugene OR 97405
503-484-4746
Editors. Mike Dunn, 3662 Vine Maple Dr., Eugene, OR 97405
503-344-6193
Jim Bumpas, 4405 Dillard Rd., Eugene, OR 97405
503-484-4746
E.R.AC.E. (Education SIG Editor)— Nora Young, 105 Hansen Lane,
Eugene, OR 97404 / 503-688-1458
Send 50c stamps or coin ($1 overseas) to the Ness’ for the new,
updated ACE Library List—new in May 85!
Bulletin Board
(503) 343-4352
On line 24 hours a day, except for servicing and updating. Consists
of an 800 XL, 2 double-density double sided disk drives and 2 double-
sided, double-density, 80-track disk drives, an Epson MX80 printer, a
1200 baud Prentice P212ST modem, running the Mindlink Bulletin Board
software distributed by SofMark.
Best of ACE books
Volume 1 contains bound issues of the ACE Newsletter from the first
issue, Oct 81 to June of 1982
Volume 2 covers July 1982 to June 1983
Only $12 each ($2 extra for Airmail). Available only from:
George Suetsugu
45-602 Apuapu St
Kanoehe, HI 96744

8-bit Librarian— Ch

TYPESETTING
FROM YOUR COMPUTER

ATARI OWNERS: If you have a modem, text editor, and com
munications program to send ASCII files, you should consider
the improved readability and cost savings provided by
TYPESETTING your program documentation, manuscript,
newsletter, or other lengthy text instead of just reproducing it
from line printer or daisy-wheel output. Computer typesetting
by telephone offers you high quality, space-saving copy that
creates the professional image you want! Hundreds of type
styles to choose from with 8 styles and 12 sizes “on line
And it's easy to encode your copy with the few typesetting
commands you need
COMPLETE CONFIDENTIALITY GUARANTEED
— Bonded for your protection —
PUBLICATION DESIGN, EDITING, & PRODUCTION

sditing & Design Services

30East 13thAvenue _ Eugene, Oregon 97401
Phone 503/683-2657

SortFinder Index
A composite index of Atari related articles in four popular computer
periodicals, including ACE. Volume Icovers April, 1981 to June, 1983,
Volume 2 covers July, 1983 to December, 1985. Only $6 per printed copy
or $11 per disk copy for ACE members:
Jim Cart 2660 SW. DeArmond
Corvallis, OR 97333