Dale’s Atari 800 Games › ACE newsletters

ACE newsletter, March 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_1986_03.

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

A
c Computer

ENTHUSIASTS
3662 Vine Maple Dr Eugene OR 97405

MARCH, 1986
Mike Dunn, Jim Bumpas, Larry Gold, co-editors

SHEET — Version 1.1 b&

MARCH MEETING
WED. 12TH
7:30PM
SOUTH EUGENE HIGH

Page 2 (scan)

News and Reviews
by Mike Dunn, Co-Editor

Because our mailing list keeps growing, | again had to change to
separate the fields and records. In the past, I've needed to write a
program to do this, but lacking the time, | took a different approch this
time. | decided to use dBase Il on my CP/M ATR 8000, so | could use
double or quad density double sided drives. Instead of using a null modem
to port across the files, | used the excellent program from the ATR users
group, The Capital Pro-Micro User's Group (Robert Danson, 2102 Basset,
Alexandria, VA 22308), called ATOC. You simply put your Atari disk in
drive B, your CP/M disk in drive A, and copy disk to disk. Worked great.
This program and many others are available from them. If you have an
ATR 8000 with CP/M be sure to write them. Once the files were across,
| converted them using WordStar copy and replace commands — not
as easy as it sounds since it took many hours to figure out how to do
it, but only a few minutes to do it. Now all is well — if any of you have
the same problem, write me, and I'll tell you how to do it.

Speaking of writing, we have many User Group Newsletters giving
various ways to add memory to your 800, 800XL and 130XE computers.
If there is enough interest, we could put together a special newsletter
with a disk of software to make it run, for say $10. It will take a lot of
work to do it, so please let me know if you want it.

Last weekend, | spent a few hours with my good friend Pat
Warnshuis from the Portland Atari Group. Pat was the original editor of
“early days” of Atari. Anyway, he and a friend are developing an excellent
program, a Wonder Editor for the ST, for programing in C and assembly,
which has many marvelous features, including an outline ability and a
48 line display (on Monochrome). Before marketing it, he wants you to
try it out, and let him know what you think. In addition, he wrote a
memory test program which is especially useful if you have the new ROM.
‘or add memory to your ST. The disk can be obtained from Jim Bumpas
for $10; ask for “Pat's” disk.

For the 8-bit owners, Frank Pazel, the editor of the Jersey Atari
Compter Group, has sent us the latest disk from his #1 programmers
‘son. This double sided disk has useful Print shop utilities on one side,
and on the back utilities which allow you to convert Print Shop files to
Visualizer or MicroPanter. These disks are not full, but have AutoRun files
on each side. $10 for the disk.

Remember, all the ACE 8-bit disks are $10 for 2 sides now.

Checkbook/Budget

Introduction: Non-profit organizations like churches have tax exempt
status. Accounting is mainly a matter of keeping an accurate checkbook.
Budgets are set up however so it is necessary to break payments into
amounts designated for certain purposes. Income is also usually broken
down in categories. This program was written to aid in keeping track
of income and expenses in such situations and provide printouts of
information when necessary. If you desire this much information on your
household finances, you could easily set up the program for your personal
use,

Hardware: This program should run on any Atari in the 400/800,
XL or XE series but because of its length will require 48K. It is set up
for use with a single disk drive. It is possible (with slight changes) to
use a cassette drive but this is inconvenient because of the time required
to load the program. A printer is not necessary because all information
is available on the screen, but for normal use printed reports seem
necessary.

Categories: Before using this program you must choose categories
for income and expenses. Expenses have a category number associated
with them. It is convenient to group similar items together (10's for
salaries, 20's for buildings, 30's for supplies etc.). Once the expense
categories are choosen, their names must be inserted in the program
as data lines in lines 20000 - 20099. The last two digits of the line
number are equivalent to the category number, (‘20030 DATA Off.
Supply’ means office supplies have the category number 30). The
maximum number of letters, including blanks, in a category name is 11.

Income is also broken up into categories representing the purpose
for which certain amounts were given (Tithes, Missions etc.). In a
personal account these could be different income sources: Husband's
income, Wife's income, rebates, etc. There are no category numbers
associated with income but the category names must be inserted
consecutively as data lines in lines 20101 and following. The number
of income categories is limited to seven because of a limited number
of columns in the income summary. If you wish to use less than seven
categories, change the variable NCAT in line 12012

Check Numbers: Check numbers can rangé trom 0001 through
9999. If you LIST the program you will find there are no line numbers
in this range. The program creates data lines here using the associated
check numbers. It then uses the ‘LIST’ command to save these lines and
the ‘ENTER’ command to re-enter them. This makes the information easy
to incorporate into other Basic programs. Deposit numbers can duplicate
check numbers without problems. Deposit information is saved as data
lines 10000 and greater. You will be asked to provide an associated check
number with each deposit. This is the check number which contains the
deposit entry in a normal check register.

Although the program will give you the balance after any check or
a balance summary for the entire month, you should always keep a
separate balance by hand to double check that everything got entered
into the program correctly.

Reports: The program will print out any of four separate reports as
well as a list of available categories. The reports are: Income Summary,
Expense Summary, Catagory Totals and Balance Summary.

The income summary lists income categories in columns with each
deposit as a separate row. Totals of rows and columns are provided.
Examining income on the screen is a little different. You will be given
a list of categories and asked to select one. Only information and a total
for that particular category will be given.

The expenses summary is a list of each check including all pertinent
information. If the check is to be applied to more than one category, the
amount designated for each is given on a separate line. Output to the
screen is similar but information is abbreviated because of space
limitations. If you forget the numbers associated with various categories
you can get a listing on the screen or printer.

A summary of category totals lists each category and gives amounts
and check numbers of expenditures applied to that category. Catagory
totals are also given. It is a cross-reference between amounts spent and
check numbers. The same information is available on screen but in a
different format. You are asked for a category number. Information for
that category only is listed on the screen.

You can ask for the balance at any check number and be given the
amount in the checking account before and after that check. You may
continue with each check after that until the end of the month is reached,
By starting with the first check of the month you can have a balance
summary which is useful for checking against a balance done by hand.

Running the program: If the program does not automatically start,
type ‘RUN "D:CKBUDGET” and hit RETURN. The program will ask you
if you want to get information from disk or start from scratch with a
clean slate. In either case, you will be asked to select a month.
Information is kept on disk files by month having filenames
“D:CHECKS.XXX'; where XXX stands for the first three letter of the
month name. A new ‘D:CHECKS.FEB’ will overwrite an old one so
separate years should be kept on separate disks. You can add checks,
modify checks, delete checks and do all sorts of printing of information;
But unless you specifically call for the operation ‘Write Month’ the
information on disk will not be updated! This should be the last thing
you do before you turn the machine off or choose a ‘New Month’
operation. A ‘New Month’ selection starts the program over again, first
going through and erasing all data lines having to do with checks and
deposits.

Once you have selected a month, you will be asked to enter the
beginning balance. If some information has already been entered for that
month the beginning balance should already appear in parenthesis. In
this case, just press ‘RETURN’ and the beginning balance will
automatically be entered. This is normally the case on prompts for input.
The value in parenthesis is the default response and is selected by
pressing only ‘RETURN’. Another convention involves choice selection
from menus. The choices available will be indicated by letters ,(or key
names, like RETURN), appearing in inverse video. ‘RETURN’ alone in
response to a choice selection usually returns you to the main menu.

Main Menu: The main menu should appear after the inital balance
has been entered. The following describe the various options:

‘Add Checks: You will be prompted for various check information
including the amount. You are then to divide the check up into amounts
in various categories. The program will ask for a category number and
then an amount, repeating this sequence until the total check amount
is accounted for. The default response for amount is always the
remainder, so hitting only ‘RETURN’ will enter that amount and end the
process. If you enter an amount which will make the total too high, you
will be told and made to repeat the category breakdown from the
beginning. If you can't remember a category number, you can enter a
zero for the null category. It can always be fixed up later. The null category
has no name associated with it.

2

Page 3 (scan)

BUMPAS REVIEWS
ZOOMRACKS

ZOOMRACKS (16-bit — Quickview Systems, 146 Main Street, Los
Altos, CA 94022, $80 list, but discounted to user groups until May 30
for as low as $40 in quantities of 13 or more) is a novel type of data
filer program. It makes use of a system never before seen on a computer
as far as | know. This novelty is so smoothly executed, and so easy to
use, | believe it is destined to become a milestone in personal computer
history, It is useful enough to become a standard equivalent to Lotus
1-2-3 in the industry.

| don't believe I'll continue to use spreadsheets for a data manager
any more. This program takes a concept from the factory floor, the time-
card racks where employees store their time-cards near the time-card
punch machine. Only here, each “card can hold up to 250 lines of data
On a half-meg machine, each file can contain up to 9 racks, each
containing over 400 cards. All racks can be displayed on the screen at
once, but you might find this too much. There is a 10th rack, but this
rack is always the directory of the disk. The data displayed on the screen
is compacted so that even with 3 to 5 racks on the screen, “Thursday”
might appear as “Thr”.

When you click the mouse on an item, you can “zoom up on it
soit fills the screen with just one rack, or just one “OQ card in the rack
("Q” for “quick card”). Sorts are nearly instantaneous; as you enter a
new record in any rack, it is automatically inserted in the sort order in
the field you have selected. To resort is a simple click and two keystrokes
away.

This is the first really and truly “free-form” data filer program I've
seen, There are almost no rules to its use. Menus are available for the
user not familiar with the commands. And the commands can be
executed directly, without using the menus at all, When you first begin,
you can also toggle on a “help” function which uses the bottom 4 lines
of the screen to display information about the menu choices. There is,
also an excellent 128-page manual, and a long disk tutorial. The manual's,
table of contents is so complete, you probably won't miss the lack of
an index.

I'm so excited about the imaginative concept of this program I'm
afraid | can't fully communicate it. The screen doesn't just show you a
title page and move you to a menu where you can “create” a database.
The program starts up with a demo which places a screen full of racks
and cards before you. There is a macro function in the program permitting
you to use 2 keystrokes to enter repetitive data or commands. Or, you
can create a custom application which automatically runs when you run
the program.

When a rack is displayed, only the top line of data on each card
appears. You can quickly re-assign which line is the “top” line. You can
quickly pull up cards which relate to some data in another rack in the
file. You can't really make a mistake more costly than a couple of
keystrokes. Almost anything you do, you can undo with one keystroke.
You can add, split and join fields, and change field names (labels) without
losing any data. You can even change the name of a rack within a file.

The program can be used as a small word processor. The editing
and formatting functions are very complete. You can produce mailing
labels, you can create custom forms. You can use the mail merge function
to print and address form letters. You have the option to save files in
ASCII format which will permit the files to be used with other programs,
or to transfer the data to other computers. The only addition to the power
of the program | can imagine is to add some calculation function, Let's
see now, how about a phone dialer to go with my list of addresses and
phone numbers,

highly recommend this program to anyone who needs to keep track
of things — items, addresses, appointments, collections, things to do,
‘You will think about ordering things in a totally different way than you've
ever done before. You can be an anarchist, with very little external
discipline to the way in which you handle your data and this program
will bring order to your chaos. And the order will be created almost
effortlessly.

Until May 30, 1986, ZOOMRACKS can be purchased by user
groups at a discount for as low as $40 each when the order includes
13 or more copies. Single copies can be bought for $59 until March 31,
or $69 until April 30.

MARCH MEETING
WED, 12TH

7:30PM
SOUTH EUGENE HIGH

ANTIETAM

ANTIETAM (8-bit — SSI, $50) is a dream come true for me. When
| was a board war-gamer, my favorite system was SPI's “Terrible Swift
Sword”. This game system evolved through a number of successful and
enjoyable cardboard games. Well, SSI has created a regimental-level Civil
War simulation which contains all the elements which made those board
games a success, and has added features not possible on cardboard.

Play options include the computer playing either (or both) sides. A
two-player option is available, too. You can select one of 5 levels of
difficulty, and 3 levels of play (Advanced level adds more features which
complicate command control, and use of hidden units}. This program
also offers the option of using two disk drives. This is great! It minimizes
disk swapping,

The cursor selects individual regiments and batteries. When
selected, each unit has two “pages” of data. A “page” here is a 4-line
window at the bottom of the screen. Current numbers of effective men
in the regiment are listed along with morale and other status indicators
such as facing, formation (column or line, mounted/dismounted,
limbered/unlimbered), fortification level, ammunition, etc. The screen
display shows unit facing in one of 4 positions. Actual facing can be in
any one of 8 directions. So you have to read the status pages to actually
see if a unit is facing “north” or “south”.

One really great feature of this game (and which bedevils cardboard
play) is maintaining command control. An option permits one to show
all the regiments in one division with screen high-lighting. The regiment
containing the commanding officer flashes! So it’s an easy matter to
determine if one is in command control. And you can see if your
commander is too close to the front lines (or maybe hanging back too
far in the rear — coffee, anyone?),

Infantry in line formation and dismounted cavalry are displayed as
rectangles. Mounted cavalry and infantry in column are pairs of squares.
Limbered artillery is a rectangle with a dot in the center. Unlimbered is
‘a rectangular formation of 6 lines. Terrain includes hills, towns and roads,
as well as woods, comfields, rivers and streams. | was a little disoriented
by the map at first, since the designers chose to put “South” at the top
of the map. There is complete documentation, including Orders of Battle
and a historical discussion. Also included is a laminated 4-color 8.5x11"
conference map.

The game scale makes each turn an hour in the actual battle. You
will probably be able to play one turn an hour. Think of it as a “real-time”
game, at least in terms of player fatigue. Combat is executed sequentially,
unit-by-unit, with the defender in each phase having the advantage of
first fire. Normal execution times for each operation is 2 or 3 seconds.
You can set a delay counter at any point from 1 to 9. I find 1 is too short
to read the screen display of the results of actions. 2 seems about right
after | became accustomed to the display. The default of 3 is best for
new players, or for a more time to read the results.

This leads me to a serious problem I've experienced with the game
in the solitaire mode (playing either the USA or CSA). I've not yet been
able to play the game past Noon (game play begins with the 6.00 am
tum). At this point, the program forgets it’s using two disk drives and
asks me to insert the other side of the disk. But more seriously, the delay
in game operations increases by a factor of 10. Operations which
formerly required only 2 or 3 seconds now require 20 to 30 seconds.
This makes each turn require 2-3 hours to play. Obviously | only played
one turn each game at this speed. | had to stop and start over. Even with
normal play as intended, there are times you will have several minutes
to do something away from the computer. Solitaire play requires letting
the computer figure out it's moves for 4-6 minutes, even with the screen
display disabled,

Ordinarily | wouldn't review a game with this problem, as it doesn’t
seem ready for market in this condition, But SSI is acting so promptly
with their concern over this problem, I'm satisfied they will correct the
problem shortly (maybe by the time you read this). Perhaps it’s my
computer, since they did not discover this problem before release. If you
have a similar problem, let SSI know about it and | am sure they will
correct it

— Jim Bumpas

ST ROMs
The ST ROMSs arrived today (Feb. 13). ! put mine in in less than a
half an hour. How about 341k text buffer space with ST Writer? A little
insert for your 520 ST user manual is included which covers some
questions about LOGO. An instruction sheet explains how to install the
ROMs. A disk is also included which contains system files for boot-up,
along with the latest versions of NEO.PRG, BASIC.PRG, BASIC.RSC,
SLIDENEO.PRG, LOGO.PRG, and LOGO.RSC. The LOGO files seem to be
the only ones with a different byte count than the files we already have.
ST Programmers

DataSoft (Marketing Project Manager, 19808 Nordhoff Pl.,
Chatsworth, CA 91311 818-886-5922) is advertizing for programmers
to submit “original graphic adventure games, and action arcade-style
games {ull of color and animation. We also want practical home-

productivity programs with mass-market appeal.”

Page 4 (scan)

Once all necessary information is supplied you will be shown the
information again in the form of a check and asked to confirm it. If you
say ‘yes’ the information is correct, a data line will be entered containing
that check’s data. Any previous check of the same number will be
replaced. Remember, the information has not been saved yet, only
entered into the program. Once the data line is written you will be
returned to the main menu and will have to select this option again to
add another check.

Revise Checks: Use this option to make corrections or to delete
checks. Enter the number of the check you want. Check information will
be shown and you will be asked if it is correct. If it is, answer 'Y’ for
yes or just ‘RETURN’. Answer ‘N’ (no) to make corrections. Answer ‘E'
to erase the check.

Deposits: Choose ‘A’ to add deposits made to the checking account.
You will be asked for the total amount and then asked to specify how
much to apply to each deposit category. The amount toward each
category will be subtracted from the remaining amount until all is
accounted for. ‘R’ will allow you to make corrections or Erase deposits
previously entered and ‘RETURN’ will take you back to the main menu.

Income Summary: Choose ‘I’ to get a listing of the deposits broken
down into amounts in various deposit categories. The listing can be to
either the screen or printer. Screen listing is by individual category or
a listing of the totals of all deposits. Before you select the printer, you
may want to advance the paper to the top of the next page. If you do
this you should inform the program by pressing ‘ESC’. You can then press
“P’ for printer.

Expenses Summary: ‘E’ will give a summary of all checks written
for the month. You are again given the choice of screen, printer or ‘ESC’
to set the top of form,

New Month: Use this option if you wish to clear out all information
entered and start again. | have on occasion found some data unerased
by the program. It will probably be wise to do income and expense
summaries to make sure everything was erased. Use the option again
if anything remains.

Write Month: Be sure to use this option to save all information
entered. Old information for the month will be overwritten.

Catagories: Four selections of category listings are available using
the ‘C’ key. Individual totals of either deposit or expense categories is
available on screen by choosing (Check category or (Deposit category.
If you want a printout of all expenses by category choose the (P)rint
Category Totals option. A list of the categories themselves can be printed
or sent to screen with (Llist of categories option.

Balance Thru: You can use this option to find the balance before
and after any check which has been entered. Values for the choosen
‘check will be listed and you will be given a chance to continue (SPACE)
or ‘RETURN’ to the main menu. The listing to screen can be toggled on
and off with the SPACE key.

Technical: The program makes use of the Atari's ability to read
information from it’s own screen. This allows it to modify itself by
entering it’s own data lines. Data is entered in a data line corresponding
to the check number. The data itself is a string with information as
follows:

1-2, day; 3-22, payee; 23-30, amount; 31-48, memo; 49, number
of subamounts; 50-51, Ist category; 52-59, 1st category amount;
60-119, remaining category numbers and amounts.

Deposit data is stored as data lines 10000 and following in steps
of 10. The data is again a string as follows:

1-2, day; 3-6, deposit number; 7-14, amount; 15-18, associated
check #; 19-26, Ist category amount; 27-74, remaining category
amounts.

Another technique used frequently is the ability to restore to a
particular data line. In certain cases it is necessary to remember what
data line was being operated on. This information is contained in
locations 183 and 184; the line number given by the quantity
PEEK(183) +256" PEEK(184). Location 182 holds the index of data in a
data line and is used to dig out the month in line 12270, Data is saved
by ‘LIST’ing the appropriate lines to disk. Data line 0 holds two numbers,
the month # and the beginning balance for the month.

The maximum number of positions reserved for dollar amounts is
eight. This limits any amount to a maximum of $99,999.99.

— Stan Ockers

MARCH MEETING
WED. 12TH

7:30PM
SOUTH EUGENE HIGH

STuff

The really hot ST rumors this month revolve around the ““Magic Box.’
An MS-DOS emulator for under $200! It may contain up to 8 slots for
various boards, One board will have an 8088 with 512k RAM. The Magic
Box plugs into the DMA port. The rumors claim the screen might be
slower than on an MS-DOS machine, but the higher processor speed
should make up for this, causing the programs to actually run faster than
on an original MS-DOS machine. I'll believe it when | see it.

The CP/M emulator is apparently ready. It should sell for about $30.
I's been appearing on various BBS around the country. But Sysops are
removing it after discovering it’s proprietary. Unfortunately, many of them
are out there now. It’s not enough to run CP/M though, is it? Don’t you
also need to buy the CP/M operating system? I've heard the emulator
program requests you to insert the CP/M disk. Do you really want to use
WordStar on your ST? Here's your chance.

‘Anew 14” monitor is in the works, with both composite and RGB
‘output. Use it for both your ST and your 130 XE.

FLASH : The March issue of BYTE magazine features the 1040 ST
with front cover picture and articles. Check this one out as evidence of
the resurgence of Atari on the micro market.

Atari Corp, has been down-playing ST sales figures, making it
difficult for us to determine how many are sold. But there are hints. A
DataQuest report cited in a recent issue of InfoWorld says 100,000 STs
were sold in the first 90 days on the market. If this 90 days covers
August, September and October, then sales in 1985 should be well over
200,000. In fact, since the ST was sold outside the States for several
weeks before it appeared here, that “first 90 days” could well have begun
earlier than August, 1985.

In the first week of October, 1985 official word from Atari was that
they were selling STs “at the rate” of 50,000 per month. So, November
and December adds another 100,000 (at least) to the DataQuest figure.
In fact, STs sales accelerated quite dramatically over the Christmas
buying season, so probably many more than 100,000 were sold in those
two months. The January, 1986 issue of “Feedback” (Adelaide, Australia
ACE) reports 40,000 STs were sold in Germany alone during October,
November and December, 1985. So that figure confirms these other
estimates.

VIP UPDATE

VIP Professional (16-bit — VIP Technologies, 132 Aero Camino,
Santa Barbara, CA 93117, $122 discounted) has now reached dealers
with the third version since its release. The latest one arrived just as we
went to press last issue. Some of the problems we had with the program
are now corrected. The formula cells now calculate beyond the 80th
character in the cell. Our calculations are no longer truncated. And the
data buffer has been expanded to more than 40k. | am informed by a
friend who has ROMS installed, that the data buffer on a ROM-based
520 ST is less than 80k!

I'm a little alarmed by this information. It make me wonder where
our half-megabyte of memory went. If the OS is entirely (or mostly) on
ROM, and the spreadsheet program only takes 277k on the disk, where
is the other 200k RAM? The “Read Me First” pamphlet which comes
in the VIP package suggests we'll have all but a small portion of the 512k
available for applications when the ROMs are in. | want to know what
happened? Here's how it’s been explained to me. Start with 512k. VIP
takes 277k program code and sets up two 32k graphics buffers for a
total of 64k. This is why you can flip back and forth from the template
to the graph screen so quickly. This leaves about 171k. The OS takes
some space (more, depending upon how many desktop accessories you
have), reducing you to between 80k and 108k for the spreadsheet.

I've discovered a couple of other problems with the VIP program
since last issue. The Graph function from within the program works very
smoothly and quickly in most of its options. But | can't get it to “Use”
a previously created graph file which | saved to disk. | get a file not found
error.

My data disk also contains 3 spreadsheet templates which | can
no longer load in. When | try, the program says there's something wrong
with my drive, | get the same message on either drive. When the error
occurs | can't get out of it. Pressing Esc or Return gives me a system
error 3, and then a system error 2. The only function which will work
is the Help function. | have to reboot to get out of it. These data templates
were created with a previous version of VIP. But other early templates
on the same disk are loaded in with no problem. I'm perplexed,

WARNING

We received a warning from VIP today. They say their contract with
Shanner, also doing business as “Gumball Express,” is no longer legally
Permitted to sell the VIP Professional spreadsheet. If you buy from them,
VIP says you'll be getting an old version, and VIP will not honor any
warranty. To get your money back, you're asked to contact the California
Attorney General's office in Sacramento, California

Page 5 (scan)

1 REM
ZREM H = SHARTSHET VERSION 1.1
3 REM by Ken Shiu nt
4 REHM Published by Atari Computer #
S REM = Enthusiasts (W.5.H.) #
6 REM June 1985 #
7 REM tt

18 DIM OUTS (4800) , INS (4800) ,5$ (608) ,DL
1$(20) ,VS(88) , HS C15) ,HC4) , CELLS (3), CS
8), AS (11) ,FIS (14) DIS (20) PRS (120)

15 GRAPHICS @:POKE 559,@:0PEN 12,4,8,"
2POKE 752,1:POKE 710,127: POKE 789,0
:POKE 712,56:POKE 82,8

26 DL=PEEK (568) +PEEK(561)%256:POKE DL+
7,130: DLTS="H WO mh fier Dh che": A=AD
R(DLIS) :DIM CL$(8)

25 B=INT(A/256) :C=A-BX256:POKE 512,C:P
OKE 513,B:POKE 54286,192:GO5UB 2000

ROME SHORTSHEET - Version ivi by

STATUS: "; :POKE 85,31:7 "CELL
2"; CELLS

35.2." INPUT ae
Bi 8 asus ee

4 FOR TO ¥#36 STEP 2:7 “MER; USCT,

THI SMEXT Ti? “MM; USCT, HL); :POSITION
4,432 CF

45 FOR T=1 TO 4:POSITION H(T),3:2 HSCT
,TIiNEXT T:POKE 764, 255:POKE 559,34

46 IF FL THEN RETURN

5® TRAP 5O:POKE 53774,64:POKE 16,64:IF
PEEK(764)()255 THEN 68

54 IF PEEK(53279)=5 THEN POKE 53760, 18
8:G05UB 96¢:G05UB 588

56 IF PEEK(S3279)=6 THEN POKE 5376@,58
1605UB 968:G0SUB 12
57 IF PEEK(532792=3 THEN POKE 53768, 15
8:G05UB 968:G0SUB 1988

58 GOTO 58

6@ GET #2,K

65 IF K=29 THEM GOSUB 268:
108

70 IF K=26 THEN GOSUB 26
188

75 IF K=3@ THEN GOSUB 22)
ise

80 IF K=31 THEM GOSUB 2@1
158

85 IF (K)47 AND K<S8) OR K=45 OR K=43
THEN GOSUB 988

98 IF (O64 AND K{123) OR K=34 THEN GO
SUB 228

92 IF K=58 THEN GOSUB 880

95 POKE 764,255:POKE 782,64:G0T0 58
100 IF ¥)48 THEM ¥=40:FOR T=i TO 10:P0
KE 53761,168:MEKT T:POKE 53761, 168:605
UB 135:RETURN

105 IF ¥<1 THEM Y=1:FOR T=1 TO 10:POKE

+1: G0SUB

SMARTSHEET BY
KEN SHIU

53764,168:NEKT T:POKE 53764,160;G0SU5
ASS: RETURN

110 CELLS=CHRS (ASC CHS CK, KI) 128) :CELLS
(LEW (CELLS) #1) =STRS (YI :POSITION 36,1:7
€€eM; CELLSTYIEY

ALS CP= (K-17 48+ (12OHCY-1)) HIF 1920
AND K=29 THEW Y1=20

116 IF Y1)=YMIM AND Y<=YMAK THEN ¥1=20
= (28- (¥- (YMIN-19)

447 IF Y<YMIN THEM Yi=1

128 IF ¥)YMAK THEN YMAK=YMAK+1; YHIN=YM
IN#1:POSITION @,4:? “G':POSITION @, 23:
US CYM2-1, YR2) | OUTS CCP, CPHL) 5
125 IF ¥<YMIN THEN YHIN=YMIW-1: YMAl

YH

AX-1:POSITION @,4:7 “":POSITION 6,41?
| VS CYR2-1, YH2) ; OUTS CCP, CP +31);
135 POSITION HCH1I-3,Y1t3:FOR T=CP TO
(P+7:C9(T-CP#1, T-CP+1) =CHRS (ASC COUTS CT.

1294428) :MEXT T

8,1: T=AS*CY-1) 4K 0S
THEM 2 “Label :"j INS

2 "value: "INS CCP,C

»CP#7)

148 RETURN

150 IF ¥)45 THEN K=15:FOR T=1 TO 1
KE 53761,168:MEKT T:POKE 53761,168:605
UB 135:RETURN
185 IF K(4 THEN
S3761,168:NEXT
ASS: RETURN

168 CELLS=CHRS (ASC CHS (K, 49-128) :CELLS
LEN (CELLS) +19 =STRS(Y) :POSITION 36, 1:7
pM @€O"S CELLS: KA=K

165 CP=(H-13*84 (120K (Y-1)) +4

167 IF KL)=KMIN AND Ki<=HMAK THEN Ki=K

~CHMIN-1) :G0TO 198

170 IF MICHMIN THEN Xi=1:XMIN=HMIN-1:K
HOX=KMOK-1.

171 IF KiDMMAK THEN Ki=4:KMAK=HMAX+1:x
MIN=KMIN+L

172 G=@:FOR T=KMAK-3 TO KMAK:G=G+1:POS

ITIOM HCG), 3:2 HSCT,1):NEXT T:6=0

473 G=O:TS= CHMIN-1)*B+ (120% CYMIN-1)) #4
2FOR T=T5 TO 1542260 STEP 120:6=G+i
174 POSITION 4,G#3:7 OUTS CT, T#+34); :MEX
TT

198 POSITION HCK1)-3,Y143:FOR T=CP TO
CP#7:C$(T-CP +L, T-CP #1) =CHRS (ASC COUTS (T
17224428) 2MERT T

192 ? C$; :POSITION 8,4: T=15*CY-1) +H AS
=S$CT, TIF ag=' THEN ? “Label:";IMS
(cp, CP#79

5

THEN ? "Yalue:";INS(CP,C

“THEN 2

"THEN 2 “Formulas; INS CCP

CPH7)
198 RETURN
208 POSITION H(H1)-3, Y1t3:C1

AZO" CY-199 44:7 OUTS CCP, CPF?) ;

205 POSITION 8,1:7
“RETURN

218 POSITION 8,2:?

RETURN

220 POSITION 8,1:7

“Label: 59 CSR CYL)

+H, ASH CYA) 4H) H-1)#8+ (1268
HOU

222 ($=: OUTS CCP, CP#79=CLS:IN
SCCP,CPH7)=CLS

223 IF K=34 THEM T=-1:G0T0 235
225 POSITION 8#T,2:7 CHRS(K) :OUTSCCP+T
»CP+T=CHRS CK) 505 CT#L, T+1) =CHRS (K+128)

226 INS (CP4T, CP+T)=CHRS (KI
230 POSITION H(Ki)-3,Yi+
235 GET #2,
ETURN

236 IF K)27 AND K(32 THEN GOSUB 210:PO
P :60TO 65

238 T=THL:IF 17 AND KQD426 THEN 295
248 IF K=126 AND T=8 THEN |
MM: OUTS (cP, cP+73=" “SINS COP
,0p+7)=" 1605UB 21@:G0TO 230
241 IF K=126 THEM T=T-1:0F T<@ THEN T=
a

242 IF K=126 THEN OUTS CCPET,CP+T?
CSCT#+L, THL <M INS COP HT, CPFT =!
ITIOW B+, 2:2 * -1:60T0 238

245 IF (K(32 OR K422) THEN 235

258 GOTO 225

268 POSITION 8,1:? "Global:fjorm fint Bo

cs;
HIF K=155 THEN GOSUB 210:

Mar";

265 GET #2,K

278 IF K=27 THEN GOSUB 205:RETURN

275 IF K=76 THEN GL=0:G0SUB 205;:RETURN
280 IF K=73 THEN GL=1:GOSUB 205:RETURN
282 IF K=68 THEM GL=2:GOSUB 205:RETURN
285 7 “G:60TO 265

298 FOR T=1 TO 208:MEXT T:RETURM

295 GOSUB 21@:POP :G=K:K=31:G0SUB 208;

K=K+1:G05UB 150:
380 ? “Disk Gassetten;
305 GET #2,K

‘316 IF K=27 THEN GOSUB 285:POP :GoTO 5
a

34S IF K=67 THEN FIS="C:":G05UB 205:RE

Page 6 (scan)

TURN
320 IF KO68 THEN 7 “GI; :G0TO 305
‘321 POSITION 13,1:7 "Input Filename"
322 GET 82, K:IF K=32 THEN 348

‘325 IF K<65 OR K)9@ THEM ?
2

327 T=1:G0TO 335

330 GET #2, K:1F
POSITION 8,2:? A$:G0TO 322

334 IF K=155 THEN 338

332 IF (K<48 OR KD98) OR (KDSB AND KXG
5) THEN ? "i"
335 POSITION 8+ (1-1), 2:?
TI=CHRS (KG
337 GOTO 338

358 FOR T=1 TO LENCAS?
THEN G=LEW (AS) 205 (7.

CHRS (KD :AS CT,

LOSE M1:RETURN
OPEN M1,6,6,"D:%. 59": TRA

P 398

344 INPUT #1;D15:POKE 54286,192:IF LEW
(OTS) (17 THEM 398

345 POSITION 8,2:? “FILE:";DIS(3, 18)

346 GET 2, K:IF K=155 THEM A$=DIS(3,10
2:G0TO 338

347 IF K=27 THEW

GOSUB 21@:POP :RETURN

350 IF K=32 THEN
355 GOTO 346
398 POSITION 8,2:? "GNO MORE SMARTSHEE
T FILES": CLOSE #1:FOR T=1 TO 300:WEKT
T

395 GOSUB 216:G0SUB 205: TRAP 49000:POP
RETURN

488 POSITION 6,1:7 “Load:";:GOSUB 3
405 TRAP 2168:0PEM #1,4,128,FIS:TRAP 4
20:POSITION 9,1:? “Loading. ..";A$:T=7
410 Q=ADRCINS) :L=4808:G05UB 578:0UTS=I
nS

415 A=ADROSS):
/16:POKE 54286, 192

OSUB 2O5: TRAP 48088:60
:POKE 559,@

344

1G0SUB 578:CLOSE 2G

425. G=0:TS= CHMIN-1) 8+ (120% CYMIN-1) 41
tFOR T=TS TO 15+2286 STEP 128:G=Gt1
438 POSITION 4,G43:? OUTS(T, TH31) ; :NEK
TT

435 POSITION 4,4:FOR T=T5 TO T5#7:C5¢T
~TS+1, T-TS#1) =CHRS CASC COUTS CT, 12) #128)
IWEXT T:? C$; :POKE 559,34: RETURN

450 POSITION 8,1:? “Save:";:G0SUB 380
452 TRAP 2168;OPEN #1,8,128,FIS:POSITI
OW 9,1:7 “Mriting,..";AS:T=1L

455 A=ADRCINS) :L=4800:G0SUB 578

SMART CON'T

458 A=ADR(5S) 11-608
/16:POKE 54286, 192
460 GOSUB 205: TRAP 41

588 POSITION 6,1:7 “Hen
2

GOSUB S7@:CLOSE #6

RETURN
GLSEPH

505 GET #2,K

5i@ IF K=71 THEM 268

$12 IF THEN 4e@

514 IF THEN 458

516 IF THEN 558

516 IF THEN 688

520 IF THEM GOSUB 205: RETURN
522 IF THEN 588

524 IF OR K=47 THEN 1588
545 2 "G}":60TO 5e5

558
555 GET #2,K

560 IF K=89 THEN POKE 559,@:G0SUB 2¢0@
POP :GOTO 30

565 GOSUB 205:RETURN

O3Z#G:POKE CB+2,T:HI=INT(A
-HIK256:POKE CB+4,LO:POKE CB

POSITION 8,1:? "Erase: Sure? (Y/M)

+5,HT

S72 HI=INT(L/256) :LO=L-256"HI:POKE CB+
8,LO:POKE CB+9, HI: I=USRCADR("hhhGL VEN)
6)

575 RETURN

588 GOTO 478

608 POSITION 8,1:? “Print: Lower Corne

P2":POSITION 8,2: T=1:AS="
605 GET #2,K:IF K=27 THEN GOSUB 205:RE
TURK

607 IF K<65 OR K)79 THEN ? “{";:GOTO 6
es

610 2 CHRSCK) 5:85 CT, TI=CHRS CKD: T=THL
615 GET #2,K:IF K(48 OR K)S7 AND KQ)12
6 AND KQO155 THEN ? “Gf";:G0TO 615

620 IF T=2 AMD K=48 THEN ? "Gj"; :G0TO 6
15

625 IF K=126 THEN POSITION 8,
1G0TO 608

638 IF K=155 AND T)4 THEN 645
635 IF T=4 THEN ? “{i";:G0TO 615

648 GOTO 618

645 IF VAL (A$(2))40 THEN ? “G}":G0SUB
210:G0TO 688

658 DIS=AS:G05UB 216:POSITION 6,1:7 "P
rinter Codes? (Y/N)
655 GET #2,K:IF K=78 THEN 785
660 IF K()89 THEN 2 “Oe
662 TRAP 662:G0SUB 21)
“Enter Line Number
INPUT L.

665 IF L<1 OR L)48 THEN ?

667 AS=PRS(LH3-2,L¥3)
“printer Codes"

678 POSITION 8,2:7 “Line "3L;" Ck";AS¢
1,425" 505 (2,29 AScs ey: 444m;
Teh

675 GET 82, K:IF K=155 THEN 69@

680 IF K=126 THEN 670

682 IF T)3 THEN ? “{f":GOTO 675

685 7 MEM; CHRS CKD | :AS.CT, T)=CHRS CK) :T=
#1:60T0 675

690 PROCLHS-2,L¥3)=AS:G0SUB 210:POSITI
ON 14,1:7 "More Codes? (Y/W)";
692 GET 82,K:IF K=89 THEN 662
695 IF KQ)78 THEN 2
708 TRAP 49880

785 G=VAL COIS (2)) :A$=DIS (1,19 :FOR THL
TO AS:IF ASCCHS(T,1))-128=ASC(AS) THEN

718 WERT T:GOSUB 21@:G0SUB 205

ress RETURN to print”
725 GET #2,K:IF KQ)155 THEM GOSUB 210:
GOSUB 205: RETURN

730 L4=1:FOR T=1 TO G:
)

735 FOR Z=1 TO
EXT Z:G0TO 748
736 2 WLjAS(Z,Z);:MEKT Z

748 2 ML ;OUTSCLA,L) sL=L+120;Li=L1+128:
EXT TiCLOSE #1

750 GOSUB 205:GOSUB 210:POKE 54286, 192
:RETURN

BOO 5S CLSHCY-1) +H, 15% CY-1) 4K) 23": THO:
CP=CH-1)*B+ (120-19) +1 :POSTTION 8,1:
2 "SumiC  -

885 POSITION 8,2:? "From Cell:
SIMPUT A$

81@ IF LEW(AS))3 OR LEW(AS)<2 THEN 2"
Gs :G0To 85

812 IF ASCCASCL, 199465 OR ASCCASCL, 19)
279 THEN ? “"t0";:G0TO 885

814 IF VALCASC22)<4 OR VALCAS(223)48 T
HEM 2 “OF :60TO 8@5

818 POSITION 13,1:7 AS

828 POSITION 8,2:? "To Cell
SIMPUT DIS

822 IF LENCDIS))3 OR LENCDIS)<2 THEN ?
“GQ; :G0To 820

824 IF ASCCDIS(1,199<65 OR ASCCDISCL 1
32979 THEM ? "G5
826 IF VALCDIS(2))<1 OR VAL (DIS(29))48

PRS (THS-2, THE

444";

446;

827 IF AS(1,13<>D1S¢1,1) AND 5(29<)0T
$(2) THEM POSITION 8,2:7 “[icells must
be linear!";G0SUB 29@:G0SUB 218:GOTO 8
ae

828 POSITION 17,

Page 7 (scan)

835 IF LEMCFIS) <8 THEN FISCLENCFIS) +1)

848 OUTS (CP, CP+7)=FIS; INS (CP, CP+7)=FIS

850 GOSUB 21@:G0SUB 285:RETURN
mw ‘S$ (C15#(Y-1) #K, 15% (Y-1) #K)
CP= (K-18 + (120K (Y-1)) #1 ;POSITION 8,1:
2 “alue:";INS CCP, CP+7) :CS-"

SMART CON'T

1089 POSITION 16+T,1:? AS:K=LENCAS)-1:
A=VALCAS) LIF G OR Z THEN INS(CPFT, CP+T
4K) 205: T=T+K+4 : RETURN

1010 IF O=1 THEN
1011 IF 0=2 THEN
012 IF O=3 THEN
1813 IF 0=4 THEN
1014 IF 0=5 THEN

L
cy
L

Zz)
TCLAA) +8.5)

982 G=O:GOSUB 210: INSCCP,CP+7)=CL$:OUT 1015 INS (CP,CP+7)=CL$:INS (CP, CP+7)=STR

$€CP,CPF7)=CLS:
910

985 POSITION B+T,2:? CHRS (KD :CSCT#HL, Tt
4) =CHRS (K4128) FINS CCPHT, CP#TD =CHRS CK) :
OUTS (CP+T, CP+T) =CHRS (KD

918 POSITION HCK1)-3,Y1t3:7 CS;

920 GET 82,K:T=TH1:1F K=455 OR (K)27 A
Wd K<32) THEM GOSUB 218:GOTO 948

922 IF 1)7 THEN 2 “GH;:60TO 926

926 IF K=126 THEN 988

928 IF (K)47 AND K<58) THEN 985

930 IF K=46 AND G=1 THEN 935

932 IF K=46 THEN G=1:60T0 985

935 7
940 IF K=155 AND MOT T THEN RETURN
941 IF NOT T THEN POP :G0TO 65

942 TRAP 955:A=VAL CINS (CP, CP#73):IF GL
=O THEM AS=STRS(AD:GOTO 948
943 IF GL=2 THEN 945

944 A=INT(A+@,5) :AS=STRS (A):

256070 948

945 IF A=INTCA) THEM AS=STRS(A):AS (LEN
casyee", 0TO 948

946 IF INTCOX18)=AX1@ THEN AS=STRS (AD:

AS (LEW (AS) +1:

947 A=INT CL8@KA+O.5) /188:AS=STRS (AD
948 L=8-LEN (AS) :OUTS CCP, CPFL) =CL$: OUTS
CCPHL, CP+79=AS:IMS (CP, CP+7) =OUTS CCP, CP

+7): TRAP 40008

950 IF K=155 THEN RETURN

952 POP :GOTO 65

955 2 "Gj"; :K=126:60TO 908

968 FOR L=1 TO 1@:POKE 53761,175:WEXT

L:POKE 53761,160:POKE 53760,200:RETURN

LEN CAS

1988+ C120 CY-199 +1: POST
'Formula:"; INS (CP, CP+7) :6=8

8
zt

POSITION 8,2:? “ist No. :Qell or [J
umber"; :GET #2,K:IF K=27 THEN GOSUB 21
8:G0SUB 205: RETURN

1005 INSCCP,CP+7)=CLS:IF K=67 THEN G=1
:G0SUB 1028:G0TO 138

1006 IF KQ78 THEN ? "Gs:

1887 GOSUB 1086:L=a:GoTO 1938

1008 TRAP 10@8:GOSUB 218:POSITION 8,2:
i"; TINPUT AS:IF LEN(AS))4

+6070 1688

F K=126 THEM T=-1:G0TO $(0) :K=155:

SUB 942:G05UB 218155 (15¥C
YO1) 4K, 15% CYL) #49 ="°2": RETURN

1828 GOSUB 210:POSITION 8,2:7 “Enter C
e@11:";:INPUT AS:IF LEN (AS) <2 OR LEN (AS
2)3 THEM 1025

4021 IF ASC(ASCL, 199465 OR ASCKAS CL, 1)
2980 THEN 1625

1022 IF YALCAS(2))<4 OR VAL CAS (299040
THEN 1825

1024 GOTO 1026

1025 2 "4h"; :G0TO 1628

1826 K=LEW(AS)-1: INS CCPET, CPET#K) =!
OSITION 164T,1:2 AS: T=T#K#L RETURN
1030 5S (LSE CY-1) +H, 15% (YL) 40 2155"
UB 218:POSITION 8,2:7 “Operation
aa;

A031 GET 2, KiIF K=43 THEN O=1:0!
GOTO 1648

1032 IF K=45 THEN O=2:AS="'-":G0TO 1048

52P

GOS
Go

L033 IF K=42 THEM O=3:AS="*":G0TO 1046

1034 IF K=47 THEN 0=4:AS="

"3G60TO 1648

1835 IF K=94 THEN O=5:AS="

73G0TO 1851
1048 INS (CPFT, CPT) =
47,117 AS:T=T#L:POSITION 8,
Mell or [umber;

1842 GET #2,K:IF K=67 THEN GOSUB 1020:
GoTo 1658

1044 IF K=78 THEN GOSUB 1888:GOTO 1850

1036 7

1045 7 “Gj :G0TO 1042
1050 GOSUB 218: 0UTS(CP,CP+79=INS (CP, CP
+7) RETURN

1208 POSITION 8,1:7 "

1202 FOR T=1 TO 6@@:IF S$CT,T:
W GOSUB 1218

1205 WEXT T:GOTO 478

1218 CP=CT-A) BFL :AS=CLO:IF INS (CP, CP)
THEN 1408

1212 FOR A=CP TO CPt:
IF L=42 OR L=43 OR
4 THEN Z=A-CP#1:A=CPHS:O=L:G0TO 1216
A214 ASCA-CPFL, A-CPFLI=CHRSCL) INERT A

7

Calculating...

"THE

=ASCCINS (0,09):

1216 TRAP 40880:IF ASCCASCL,19))64 AND
ASCCAS CL, 19) <88 THEN 1228

1218 A=VAL (AS) :GOTO 1238

1228 TRAP 1225:F=ASC (AS C1, 199-64
(aS (2) F-12484 (12OMCG-1)) +1:
IMS (H,H#7)) :GOTO 1250

1225 TRAP 1226:A=VAL COUTSCH,Ht79) :GOTO

AL
VAL

L$ :AS=INSCCPHZ, CP+79 SIF ASCCA
$C1,199964 AND ASCCASCL,199(8B THEN 12
uM

1232 L=VAL (AS) GOTO 1240
1234 TRAP 1235:F=ASC(AS CL, 19)
(AS (20) HE CFL) 88+ A208 (G19 41
INS CH, H#799 ;G0TO 1248

41235 TRAP 1236:L=VAL COUTSCH,H#73) :GOTO

1248
1236 L=0

1248 TRAP 48002: IF 0=42 THEN A=O*L
1242 THEN

1244 THEN

1246 THER A=A/L.

1247 THEN

1248 THEN

1250 IF GL=2 THEN

1252 ASINTCAHO.5) A!

$);60T0 1278

1260 IF ASINT(AD THEN AS=STRS (A) :AS(LE
MCAS) 419=".60":G0TO 1278

1262 IF INTCA¥109=A*18 THEN AS=STRS CAD
2AS CLEN (AS) #19="0":G0TO 1278

1264 A=INT (LOORAtE.S)/108:AS=STRS CAD
1278 L=B-LEN(AS) :OUTS CCP, CPL) =CLS: OUT
SCCPHL, CP+79=05; RETURN

1408 SUM=O:AS=INS (CPHL, CPES) :H=3iIF AS
3, S221"" THEN AS=INS (CPHL, CP#2) H=Z
1482 A=ASC (AS (4, 19)-64:L=VAL (AS (29)
1404 ASHINS (CPEZHH, CPE7) :F=ASC CAS (4,17
2-64:G=UAL (0529)

1405 IF A=F THEN O=0-1:FOR Z=L TO G:TR
AP 1416; H=OXB+ (124K (Z-1)) +1: U=VAL CINS ©
H,H#7)):GOTO 1428

1418 IF (2G THEN O=L:FOR Z=A-4 TO F:TR
AP 1416:H=Z*8+(120"(O-1))+ AL CINS ¢
H,H#79) :G0TO 1428

1416 TRAP 1417: Y=UAL COUTS CH, H#7)) GOTO
1428

1417 U=8

1478 SUM=SUMHY:NEXT Z:A=SUM:GOSUB 1248
RETURN

SEMA MKMe. SMORTSHEET HELP SCREEE
=
1585 7
TROL THE

WORMAL CURSOR ARROW KEYS CON
“CURSOR {LONG BLACK BARD

Page 8 (scan)

11998 REH 23H BBB EE IEE IIR IIIA

CHECKBOOK/BUDGET *

11991 REM

5. OCKERS 1/86 *

41992 REM *

11993 REM ® KEEPS TRACK OF CHECKS *

11994 REM % BROKEN DOWN INTO AS HAHY *

11995 REM ¥ AS SEVEN CATEGORIES EACH *

11996 REM Ce da lalelaalalalell

11997 REH

11999 REM MeMKKMIOG INITIALIZATION

HIB BBIOE

12008 DIM TEMPS (128), PAYEES (20) , EMOS(

418) , MONTHS (9) , RESPS (20) , DS (179 205:
[":CKMBR=4:

1201 DIM SUBAMT (8) , SUBLEG(8) , KEYS (1),

SELS (1) ,CATS (2), POLS (8) S0PEN 11, 4,8,"°K

OKE 16,64: POKE 53774, 64

12012 DIM DEPMC15) , ASCK C15) ,DAMT C15) ,5

UBDEP (7) :FOR J=1 TO 7:SUBDEP(J)=O:NEXT

MCAT=7:PCNT=1

12014 POKE 789,4:POKE 718,18

12100 REM KRXKKEKIOE HIPE OUT OLD DATA

12118 POKE 752,@:POKE 717, 116;RESTORE

OKE 82,2

232
12138 GOSUB 1621@:IF CKMBR)10999 THEN
12188

12148 7 CKMBR:IF COUNT<12 THEM 12138

12168 POKE 842,12:60T0 12120
2 SCONT':? 3? “EODEETECISED

13:5TOP
12190 POKE 842,12:POKE 752,1
12208 REM HEKRHEBOOR GET SOME DATA

JHE
12218 DFLG=8:POKE 712,54:?
AL:POSITION 12,5:7 “CEMCAITar

12212 ? :? “Head from storage':? +? "'S
tart from Gcratch”

42228 GET M1, KEY: KEYS=CHRS (KEY) :IF KEY
So"RY THEN DFLG=1:60T0 12240
42238 IF KEYS<) THEN 12216
12240 RESTORE 12398:POKE 712,25

FOR J=1 TO 12: READ MONTHS:? “3K0
MTHS INERT J
12258 MONTH=1:? :? “Enter Month ® ("7H

CHECKBOOK/BUDGET

BY STAN OCKERS

OWTH;") "5

12268 MB=2:GOSUB 163@0:IF RESPS<)"" TH
EW MONTH=MBR:IF MONTH( OR MOMTH)12 TH
EW 12248

12278 RESTORE 1239@:POKE 182, MONTH-1:R
EAD MONTHS:IF DFLG=@ THEN 12416

12308 REM MHEBHHAOHE DATA FROM STORAG
E eRRBBEBOF

12318 POKE 82,2:TRAP 12350:RESPS="D CH

ECKS, ":RESPS (10) =MONTHS (1, 3) :RESPS (2,2
2=CHRS (58)

12328 2 “H22 2? VENTER ";CHRS (34) RES
PS; 1212

[EQDING FROM STORGGE
12322 POSITION @,@:POKE 842,13:5TOP
12330 POKE 842,12:7 “K":RESTORE @:READ
MONTH, STBAL: TRAP 41
1234 RESTORE 12598: POKE 182, MONTH-1:R
EAD MONTHS:GOTO 12410
12358 POXE 842,12:7 "5":? "CL RCOM
GEMEY':FOR J=1 TO 380:NEKT J:TRAP 41
260TO 1221
12390 DATA JANUARY, FEBRUARY, HARCH, APRI
L, HAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOB
ER, MOVEMBER, DECEMBER
12488 REM HRRKERRBORON START FRESH #
EIB
12410 POKE 82,12:?
"Starting Balanc:

OSITION 12,
8 STBALS "2 "5 2M

3

B=8:G0SUB 16301
12412 IF RESPSQ)"" THEN STBAL=NBR
12428 7 2:27: "@ DATA “; MONTHS", "55

TBAL:?
KE 842,13:5TOP
12430 POKE 842,12
12500 REM X#XKK SET INIT VALUES OF CK
#5 HOHE

12518 LASTREV=1;RESTORE 1:G0SUB 16210
IF CKMBR<L THEN LASTREU=CKMBR
12528 GOSUB 1621@:IF CKNBR<10068 THEN
LASTADD=CKMBR:GOTO 12520

12530 LASTADD=LASTADD+i:RESTORE @:READ
MONTH, STBAL:RESTORE 12390:POKE 182, M0
NTH-1:READ MONTHS

12548 RESTORE 10000: DEPLW=10880: GOSUB
16210:1F CKMBR(11080 THEN DEPLW=CKNBR:
DREV=VAL (TEMPS (3,63) :LASTDEP=DREV
12558 GOSUB 16210:IF CKMBR<11000 THEN
DEPLN=CKNBR: LASTDEP=VAL (TEMPS (3,69) :60
To 12558

12560 DEPLN=DEPLN#10:CKNBR=LASTREV:LAS
TDEP=LASTDEP#L

12570 REM HHOHEHERBERORERECEE MENID 2006
3000

12588 POKE 712,54:7 "K":POKE 82,11:P05
ITIOM 11,252 MOWTHS;" Checks":? “r——

8

COM

OSITION 8,

OSITION 10,9:

——""? "I Badd checks |"
12598 ? DS:? “| Gevise Checks |"":? DS:
2"| Deposits 2 bS:? "I Bincome
Summary |":? DS:? "| Gxpenses sun. |"
12600 7 05:7 "| [lew Honth 132 08:
2"| Brite Month [27 D$:? "| Gatego
ries vs? p$:? “| Balance Thru |"
12618 2

12628 REM KKRKRERORHOG GET CHOICE **
EERIE

12630 GET #1, KEY:SELS=CHRS (KEY) :IF SEL
$240" THEM CKMBR=LASTADD:GOSUB 1501@:L
ASTADD=CKNBREL
12640 IF SELS=
12645 IF SEL
SUB 13418
12650 IF SELS="R" THEM POKE 712,86:CKN
BR=LASTREV:GOSUB 16018:GOSUB 16810:605
UB 15140:LASTREU=CKMBREL

THEN GOTO 12168

" THEN POKE 712,258:60

THEN GOSUB 1491
THEM POKE 712, 162:60

SUB 14018
12690 IF SELS='
suB 12918
12788 IF SEL:
12718 IF SELS='
‘SUB 14518
12728 GOTO 12588

12980 REM #HEMKKK CATEGORY CHOICES
Col

12948 7 “R":POSITION 11,7:7 “heck Cat
egory":? :? "leposit Category’
ist of Categories"

12928 ? :7 "Grint Category Total

THEM POKE 712,134:60

THEM GOSUB 14110
THEN POKE 712,150:60

12938 IF KEYS=
URN

12940 IF KEYS='
URW

12950 IF KEYS="
RM

12960 IF KEY=155 THEM RETURN

12978 GOTO 12918

1308 REM KHKKHIIKKEK ENTER CHECK INFO
MEE

15018 POKE 712,198:POKE 82,5:? "R':POS
ITION 5,8:MB=4:? “Enter Check # (";CKH
GOSUB 16308

13012 IF RESPS<)"" THEW CKMBR=MBR
13028 MB=2:? “Enter Day (";DAY;") "5:
OSUB 16300:IF RESPS<)"" THEM DAY=NBR
13822 IF DAY<S OR DAYS1 THEN 13020
1303@ NB=20:? "Enter Payee (";PAYEES;"
me :G0SUB 163

THEN GOSUB 1323@: PAYEE:
13048 NB=7:? “Enter amount (";AHT;") "

‘D" THEM GOSUB 14810:RET

LY THEM GOSUB 13962:RET

THEM GOSUB 1371@:RET

Page 9 (scan)

}1G0SUB 16308: IF RESPS<)"" THEN AMT=NB
R
13050 MB=18

7 MEMOS ;
IF RESPS<)
JESPS

“Enter Heno
? }:G0SUB 1631
THEN GOSUB 13230: MEMOS:
130
130

“Category ("35

UBLEG CHUMSUB) ;"") 1605U6 16360
13860 IF RESPS()"" THEN SUBLEG (HUMSUB)
=NBR

13898 SUBAMT (NUMSUB)=AMT-SUBTOT:? “Amo

unt (";SUBAMT CHUMSUB)
13180 MB=7:G0SUB 163
EM SUBAMT (MUMSUB)=NBR

13118 SUBTOT=SUBTOT+S5UBAMT (NUMSUB) : IF
SUBTOT(AMT THEN 13076

13128 IF SUBTOT)AMT THEN ? "TOO MUCH!!
':FOR J=L TO SOB:MEKT J:G0TO 13060
413125 GOSUB 16710

13138 REM HRM CONFIRM IF CORRECT
eeeceeieed

13448 2 OKE 82,4:POSITION 4,
ror
=1 109
13142 7 "J
IMERT J3?
—
13144 POSITION 26,
TOW 22,6:? "TER

a;
IF RESPS<)"" TH

————

12 ‘Ht "7 CKMBR: POSIT
MONTH; "7"; DAY: POST

13148 POKE 201,19: POSITION 2,16:FOR J=
1 TO MUMSUB:RESTORE 200004SUBLEG(J) :RE
AD RESPS:POS=42+10K5

13150 ? RESPS;" "; TEMPS (POS, POS+7) , :HE
aT J

13160 POSITION 7,21:7 “CORRECT? GIVE
rase/GMMEED ":GET #1,KEY:KEYS=CHRS (KEY
JLIF KEYS="Y" THEN 13208

13178 IF KEY=155 THEN RETURN

13172 IF KEYS=' THEM GOSUB 1331@:RET
URW

13180 IF KEYS="N" THEN 13010

13182 GOTO 13168

AT198 REM HHMKRRK ENTER CHECK AS DATA

12:2 CKMBR;"DATA
SPOSITION 8,@:POKE 84

2,13: 5T0P

13210 POKE 842,12:RETURN

13220 REM RRO CLEAN OUT COMMA
5 HERBIG

13238 FOR J=1 TO LEWCRESPS):IF RESPSCJ
oo THEN RESPS(J,J)="

13248 NEXT J: RETURN

AS3OO REM HHKRHIHER DELETE A CHECK *

peer.

SESS Remapelete this Item (¥/N) Meas

HL, KEY: KEYS=CHRS (KEY) SIF KEYSQOMY" THE

W RETURN

15328 POKE 709,196:? “R":2 3? CKWBR:?

37 12 “CONT: POSITION 6,8:POKE 842,13:

stop

A333@ POKE 842,12

13540 7 “K":POSITION 16,18: CKNBR;" B)

GMAT: FOR J=1 TO 10@:MEXT J:RETURN

13408 REM XERKKK EXPENSES SUMMARY 12K

week

1341@ RESTORE 1:TOT=@:G0SUB 16668

15430 IF PFLAG=1 THEN LPRINT :LPRIMT :

LPRINT “EXPENSE SUMMARY FOR THE MONTH

OF "5; MONTHS

13448 IF PFLAG=1 THEM LPRINT :LPRINT *

CK # DATE = MEMO PAYEE
AMOUNT HLPRINT

CATEGOR

13442 IF PFLAG=1 THEN PCNT=PCNT+4:G0SU
B 16618
13458 POKE 82,2:7 "KCK # DATE

CATEGORY = AMT":? :COUNT=6
13468 GOSUB 1621@:IF CKNBR)9999 THEN G
OSUB 13586: RETURN
1347@ LSAVI=PEEK (183) :LSAU2=PEEK (184) :
GOSUB 17016:RESTORE SUBLEG(1)+2¢000:RE
AD RESPS
13488 2 CKMBR;" ";HONTH;"/"; TEMPS (1,2)
PAYEES (1,14) ;" "; TEMPS (58,51) 5"
j TEMPS (52,59); TOT=TOT+AMT
13581 IF PFLAG=1 THEN GOSUB 13598
13582 IF WUMSUB)1 THEN FOR J=2 TO MUMS
UB:GOSUB 13592:COUNT=COUNT+1:NEXT J
13583 POKE 183,L5AVL:POKE 184,L5AU2:1F
COUNT)=19 THEN COUNT=@:IF PFLAG=@ THE
M GOSUB 1611@:GOTO 13456
13585 GOTO 13466
13586 RESPS=STRS (TOT) :GOSUB 16510:IF P
FLAG=1 THEN LPRINT :LPRINT

Total Expenses =";D0L$
13587 IF PFLAG=1 THEN PCNT=PCNT+i:GOSU
B 16618
13588737"
$
13589 IF PFLAG=@ THEN GOSUB 16116
13598 RETURN
13592 RESTORE SUBLEG(J}+20688:READ RES
PS:POS=4O+10KI:7

©; TEMPS (POS , POS+1) ;

13594 ? TEMPS(PO5+2,P05+9)
13596 IF PFLAG=1 THEN LPRINT "

PAYEE

Total Expenses =";DOL

"©; TEMPS (POS#Z, POS+9) 3" ";RESPS
13597 GOSUB 16610:RETURN

9

13598 LPRINT CKMBR;"
1,2) 5" 1 TEMPS C34, 48) 5"
TEMPS (52,59) 5" ";RESPS
13599 GOSUB 1661@:RETURN
13608 REM HKEKKK CATEGORY TOTALS TO SC
REEN seHHHEE

15618 POKE 62,7:? “K":POSITION 7,7:NB=
2:7 “Enter Category 05UB 16380:CA
TS=STRS(NBRI RESTORE 1:CATOT=0

13628 COUNT=8:? “RChecks in category
sCATS:2

13636 GOSUB 16216:IF CKMBR)19e08 THEN
13680

13648 NBR=VAL (TEMPS (49,499) ;FOR J=1 TO
NBR: POS=40+10%J

1365@ IF TEHPS(POS,POS+I)=CATS THEN GO
SUB 13690:? CKNBR;" @ “; TEMPS (POS+Z, PO
5t9)

43668 WERT J:TF CCNT=18 THEM CCWT=
SUB 16118:? :GOTO 13638

13678 GOTO 13630

13680 RESPS=STRS(CATOT) :GOSUB 16516:7
TOTAL=";DOL$;GOSUB 16110: RETURN
13685 REM XXX ADD CATEGORY ENTRY SUB
ROUTINE xKKKK

13698 CUAL=VAL (TEMPS (PO5#2,P0S+9)) :CAT
OT=CATOT#CUAL :CCNT=CCNT+S : RETURN
13788 REM ¥¥* CATEGORY TOTALS LISTED 0
M PRINTER xH%

13718 2 “R":POSITION 4,7:7 “Press
Cop of Form) or BZTH":GET #1, KEY: IF
KEY=27 THEN PCWT=1

413712 RESTORE 20801:7 "R": POSITION 8,7
ema Printing Catagory Totals

13714 LPRINT :LPRINT “CATEGORY TOTALS
FOR THE MONTH OF ";MONTHS:LPRINT :PCHT
=PCNT#3:GOSUB 16618

AS718 READ RESPS:IF RESPS (1,3) ="! T
HEN RETURN

13720 LSAVL=PEEK (183) :LSAV2=PEEK (184):
MSAU=PEEK (182) : CAT=L5AV14256"L 50U2-268
88: CATS=STRS (CAT)

13730 POKE 201,16:CCMT=8:L=LENCRESPS):
IF L413 THEN FOR T=L#4 TO 13:RESPS(I,1
d=" GMEXT T
13748 LPRINT CAT;*
:RESTORE 1:CATOT=@

15758 GOSUB 1621@;IF CKWBR)19808 THEN
13808

13768 MBR=VAL (TEMPS (49,499) :FOR J=1 TO
NBR:POS=40+10%J

13778 IF TEMPS(POS,POS+13=CATS THEN GO
SUB 1369@:LPRINT TEMPS (POS+2,P05#9) ;""/
";CKMBR,

13780 IF CCMT=3 THEN CCNT=O:LPRINT ,,
13798 WERT J:G0TO 13758

15808 IF CCNT<S THEM FOR L=1 TO 3-CCNT

MONTH; "/"; TEMPS
PAYEES |" "5

160

“pRESPS (1,11) 5"

Page 10 (scan)

SLPRINT , :WERT L
TRS (CATOT) :GOSUB 16510:LP
;D0LS;G0SUB 16618
13828 POKE 183,L5AVL:POKE 184,L5AV2:P0
KE 182,M5AU:GOTO 13718

13988 REM ¥HKKK LIST OF AVAILABLE CATE
GORTES se

13982 GOSUB 16660:IF RFLAG=1 THEN RETU
ct)

13910 2 “RCATEGORIES":RESTORE 20001 :CO
UNT=O:IF PFLAG=1 THEN LPRINT :LPRINT :
LPRINT "CATEGORIES": LPRINT

13912 IF PFLAG=1 THEM PCNT=PCNT#3:GOSU
B 16618

13928 READ RESPS:IF RESPS(1,3)="HKK T
HEM 13948

13921 CAT=PEEK (183) +256*PEEK (184)-2888
2 CAT;" ";RESPS:COUNT=COUNT#HL
13922 IF COUNT=21 THEN COUNT=8:IF PFLA
G=0 THEN GOSUB 16118:7 “Rr

13924 IF PFLAG=1 THEN LPRINT CAT;
RESPS:G0SUB 16610

13938 GOTO 13920

13940 IF PFLAG=@ THEN GOSUB 1611@:RETU
Lis

13942 RETURN

14088 REM HHMKIOOEE SAVE DATA TO STORA
GE seHORREHEEK

14018 7 "R"SRESPS="D CHECKS. ":RESPS (16
J=MONTHS (1,3) :RESPS (2, 2)=CHRS (58) : POST
TION 18,10:? “EERENF] ";RESPS

14028 LIST RESPS,@, 10999: RETURN

14114 GOSUB 16210; IF CKNBR)10999 THEN
14128

14145 IF TEMPS(3,6)="9999" THEN 14114
14116 DEPW (DEPCHT) =VAL (TEMPS (3,6) :05C
KCDEPCNT) =VAL (TEMPS (15, 18)) :DAMT CDEPCW
T)=VAL (TEMPS (7,149) :DEPCNT=DEPCHT+1
14118 GOTO 14114

14128 2 "Start check ";STCK;") "5 :MB=4
:G0SUB 16308: IF RESPS<)"" THEN STCK=KB
®

14122 RESTORE STCI
ROSTCK THEN 2
TO i4t2e
14138 BBAL=STBAL:RESTORE 1:GOSUB 16660
IF RFLAG=1 THEM RETURN

14148 FOR J=@ TO 15:IF ASCKCJ)<STCK TH
EM BBAL=BBAL*DAMT (J)

14142 WEXT J

1G0SUB 16210:IF CKMB
NOT FOUND | Seemet

CHECK CON’T

14150 GOSUB 16210:IF CKNBR)9998 THEN 1
4160

14152 IF CKMBR<STCK THEN BBAL=BBAL-VAL
(TEMPS (23,303) :G0TO 14158
14168 POKE 82,0:POKE 201,14
+ BAL CK AMOUNT NEM BAL"
14162 IF PFLAG=1 THEN LPRINT :LPRINT :
LPRINT “PREV, BAL CK AMOUNT

MEH BAL":LPRINT :PCNT=PCNT#3

14164 IF PFLAG=1 THEM GOSUB 16616
14178 GOSUB 14300:? :? "EXT to conti
nue or (AMEIM:GET #1, KEY:KEYS=CHRS (KE
YO:IF KEY=155 THEN RETURN

14208 POKE 764,255:GOSUB 16218:IF CKMB
9998 THEN GOSUB 16110:RETURN

14210 GOSUB 14300:IF PFLAG=1 THEN 1428
)

14212 IF PEEK(764)=255 THEN 14700
14228 POKE 764,255

14230 IF PEEK(764)=255 THEN 14230
14240 GOTO 14268

14308 FOR TO 15:IF ASCK(KI=CKNBR T
HEN GOSUB 14350

14310 WEXT K

14330 CKAMT=VAL (TEMPS (23,38)):? BBAL,C
KNBR, CKAMT, :IF PFLAG=1 THEN LPRINT BBA
L, CKMBR, CKAHT,

14332 BBAL=BBAL-CKAMT:? BBAL:IF PFLAG=
1 THEN LPRINT BBAL:GOSUB 16610

14348 RETURN

14350 7 BBAL,"DEP", DAMT(K), :1F PFLAG=1
THEM LPRINT BBAL, "DEP", DAMT (KD,

14360 BBAL=BBAL+DAMT CK) :? BBAL:IF PFLA
G=1 THEN LPRINT BBAL:GOSUB 16610

14378 RETURN

14588 REM HoKMKHRIOGE ENTER @ DEPOSIT *
JERI

14510 2

:? "PREY

OKE 82,14:POSITION 17,7:7
“OEMEG:? :? “Geview/change":?
Edd beposit":? :? “GENET: ppuei

414520 GET 1, KEY:KEYS=CHRS (KEY) :IF KEY
" THEN DPWBR=LASTDEP:GOSUB 14616:
ASTDEP=LASTDEP+1 : DEPLN=DEPLN#1@: RETURN

414522 IF KEY=155 THEN RETURN
14530 RESTORE 18086:POKE 82,
ter Deposit # ¢";DPNBR;
B 16300:IF RESPS<)" THEN DPMBI
14540 GOSUB 1621@:IF CKWBR)16999 THEN
OSUB 16110: RETURN
14558 IF VAL (TEMPS(3, 623 (DPMBR THEN 1
4540

14568 DAY=VAL (TEMPS (1,29) :DPAMT=VAL (TE
HPS (7, 14) :ASCHK=UAL CTEMPS (15, 189) :50U
LN=DEPLW: DEPLM=CKMBR

14562 FOR J=1 TO 7:POS=11+8%J: SUBDEP CJ.
2 =VAL CTEHPS (POS, POS#7)) :WEKT J:GOSUB 1

10

239

4668
14578 DEPLWN=SAVLN:DREV=DREV+1: RETURN
14600 REH XHMKRKKKK ENTER DEPOSIT DATA
Seed

14618 2 "%
Enter day (";DAY,
THEN DAY=MBR

‘Enter Deposit # (*;DPNBR;"
OSUB 16300:1F RESPS<)"™ THE

OKE 82,7:POSITION 7,5:2 "
1G0SUB 1631

‘M DPNBR=NBR
14638 7 :7 “Enter associated":?
number

THEM ASCHK=MBR
“Enter Amount
F1MB=8:GOSUB 16308:IF RESPS<
POMT=NBR

14644 FOR J=1 TO INCAT: SUBDEP CJD
TJ
14642 TOT:

PANT ;")

INCAT
“Ente
=AMT
F RESPS<)"" THEN SU

AMT=DPAMT:FOR J=1 TO
READ RESPS:?
ABTS") "2 SUBDEP CJ}

14644 GOSUB 163
BDEP (J)=MBR
14645 TOT=TOT#SUBDEP (J) :1F TOT)DPAMT T

HEN ? 32" TO 14641
14646 AMT=AHT-SUBDEP (J) :IF i
J=INCAT

14648 NEXT J
14668 POKE 82,
ONTHS;" “;pay:?
Ri? :? “Assoc. ck # = ";ASCHK
14662 ? “Amount = “;DPAMT:? :FOR J=1 T
© INCAT:RESTORE 20186+J:READ RESPS:? R
ESPS; SUBDEP (J) :WEXT J

14678 7 3? “Correct? Gi/(,Grase aa)
GET M1, KEY: KEYS=CHRS (KEY) :IF KEYS="

W" THEM 14616

14672 IF KEY=155 THEN RETURN

14680 IF KEYS="E" THEN ? :GOSUB 13310:
RETURN

146908 TEMPS (1 TEMPS (74) ="
(2) =TEMPS ; TEMPS=STRS (DAY) : TEMPS (3)=STR
‘SCDPMBR) : RESPS=STRS (DPAMT)

14691 GOSUB 16510: TEMPS (7)=pOL$

14692 TEMPS (15)=STRS(ASCHK) :FOR J=1 TO
INCAT: RESPS=STRS (SUBDEP (J)) :G0SUB 165

DATA "; TEMPS:
POKE 842,1

414718 POKE 842,12:RETURN
14800 REM #XKHKKE DEPOSIT CATEGORY TOT

AL eHe@HEEE
14810 TOT=O:RESTORE 20101:7 "RH": 37 ;
FOR TO INCAT:READ RESP$:?7 J,RESPS:
WEXT J:? INCAT#L, "Totals"

14820 ? :? "Press category number.":GE

Page 11 (scan)

T M1, DCAT:DCAT=DCAT-48:IF DCAT(1 OR OC
AT)INCAT#L THEN 14818

14828 IF DCAT=INCAT#1 THEN POS=7:7 “RM
“DATE DEP # AMOUW
GOTO 14848

14838 RESTORE 281@8+DCAT:READ RESPS:?
RESTOR

$1,205"; TEMPS (3,6)
POS#73 :TOT=TOT+AMT
14868 GOTO 14848

14988 REM sHEKEREHE INCOME SUMMARY 1
Serene

14910 POKE 201,18:GOSUB 16668:IF RFLAG
=4 THEM RETURN

14912 IF PFLAG=8 THEN GOSUB 14818:RETU
RH

14926 LPRINT :LPRINT :LPRINT "INCOME 5
UMMARY FOR THE MONTH OF “;MONTHS:LPRIN
T :PCNT=PCNT#3:GOSUB 16616

14938 FOR J=1 TO 7:SUBAMT(JD=@:NEKT J:
TOT=O:RESTORE 20104:FOR J=1 TO INCAT:R
EAD RESPS:LPRINT RESPS, :MEKT J

14948 LPRINT " Total": RESTORE 10000:L
PRINT :PCNT=PCNT#1:GOSUB 16618

14950 GOSUB 1621@:IF CKNBR)11@8 THEN
14988

14968 FOR J=1 TO INCAT:POS=11+8*J:LPRI
NT TEMPS (POS, P05+7) , : SUBAMT (J3=SUBAMT(
J7+UAL (TEMPS (POS, POS+73) :NEKT J

14978 LPRINT TEMPS(7, 14); TOT=TOT#VAL (T
EMPS(7,14)};GOSUB 16618:60T0 14950
14988 FOR J=1 TO INCAT#1:LPRINT
—"JIMEXT JiFOR J=1 TO INCAT:RESPS=ST
RS (SUBAMT (59)

14990 GOSUB 16510:LPRINT DOLS,:MEKT J:
RESPS=STRS (TOT) :GOSUB 16516:LPRINT DOL
S:PCMT=PCNT#1:GOSUB 16618

15008 REM OHHH PRINT DEPOSIT SUM
TARY 29nEEBEEE

15818 TOT:

RINT "Dep # Date Amo
unt Assoc. Cki":RESTORE 10080: PRINT
15020 IF PFLAG=1 THEM LPRINT :LPRINT :
LPRINT “Dep # Date Amount Assoc. ck
:LPRINT :PCNT=PCNT+3:G0SUB 16616
15038 GOSUB 16218:IF CKMBR11088 THEN
150:
15048 DPMBR=VAL (TEMPS (3,62)

15058 ? OPNBR;" "7 MONTH; "/"; TEMPS (1,2
) i TEMPS (7,14) “5S TEMPS (15,18
1: TOT=TOT#UAL (TEMPS (7, 149)

15060 IF PFLAG=1 THEN LPRINT DPNBR;"
“MONTH; "7"; TEMPS (1,29; — "; TEMPS(7,

CHECK CON’T

14);"  “; TEMPS (15,18) :G05UB 16618
15878 GOTO 15030

15098 RESPS=STRS(TOT) :GOSUB 16510:IF P
FLAG=1 THEM LPRINT :LPRINT " Total D
eposit POLS

15091 PCWT=PCNT+1:G0SUB 16618

15092 2 Total Deposit = ";00LS:
IF PFLAG=@ THEN GOSUB 16110

15094 RETURN

16008 REM HERKRKKKIEK HHICH CHECK? 26
ee

16018 ? "R":POSITION 6,4 Input Che
ch CG CKNBR |") "5 +60SUB 16300:T
F RESPS<)"" THEN CKNBR=NBR: RETURN
16020 RETURN

16108 REM *#*X WATT FOR KEYPRESS SUBR
OUTINE 1K

16118 POKE 82,7:? :? “Press toc
ontinue"; :GET #1, KEY:RETURN

16208 REM X¥XKXK READ A DATALINE SUBRO
UTINE 38880

16216 READ TEMPS: COUNT=COUNT+ :CKMBR=P
EEK (183) +256PEEK (184) :RETURN

16290 REM XXX LIMITED STRING INPUT
ROUTINE xKKKK

16292 REM 8K NB TS i BLANK SPACES A
LLOWED HHKKKK

16294 REM XKKKKK THPUT RETURNED IN RE
SPS sHHHRHEEHE

16296 REM X00 TF MUMBER, RETURNED IN
NBR J8EHEHEEE

16300 POKE 752,0:RESPS=";FOR L=1 TON
B 1 ‘ TO Bi? CHRSCS
8;

EXT L:POS=1:NFLG:

16310 GET M1,KEY:IF KEY=155 THEN TEMPS
=RESPS$:G0TO 16360

16312 IF KEY)47 QND KEY<S8 AND POS=1 T
HEM NFLG=1

1631S IF KEY=126 AND POS=2 THEN ? CHRD

(30) j"_"; CHRS (38) 5 : POS=1: RESP:
16520 IF KEY=126 AND POS)2 THEN ? CHRS
(30) jj CHRS (30) ; :POS=POS-1:RESPS=RES
PSL, POS-1)

16338 IF POS-NB+1 THEM 16310

16348 IF KEY(2@ OR KEY)122 THEN 16316
16358 ? CHRS (KEY) ; :RESPS (POS, POS) =CHRS
(KEY) :POS=POS+1:G0TO 16318

16368 NB F NFLG=1 THEN MBR=VAL (TEM
ps)

16378 ? :POKE 752,1:RETURN

16500 REM HERE PUT RESPS IM DOLLAR F
ORMAT SHEER

16510 L=LEN(RESPS$):FOR K=1 TO L:IF RES
PSCK, KD 0". THEM NEXT K:RESPS(K)=".08
16520 IF L=K THEM RESPS(K41,K#2)="9@"
16536 IF L=K+i THEN RESPS(K+2,K+2)="6

11

IF

16548 L=LEN(RESPS) :DOLS(9-L)=RESPS:
148 THEN FOR K=i TO 8-L:DOLS(K,K3=
WERT K:RETURN

16558 RETURN

16608 REM KHEKKK FORMFEED SUBROUTINE *
peered

16610 PCMT=PCNT#1:IF PCNT)S7 THEM FOR
L=4 TO 67-PCHT:LPRINT :WEKT L:PCNT=1
16628 RETURN

16650 REM XKKEKX PRINTER? SUBROUTINE *
eee

16668 PFLAG=0:RFLAG=0:? OSITION 4
7:2? “Gcreen, Qrinter Gee or Gantry":
GET M1, KEY: KEYS=CHRS (KEY)

16682 IF KEY=27 THEM PCNT=.
0,10: 7 “TORT : FOR
O@:MEXT J:G0TO 16668

16685 IF KEYS<)"S" THEN 16666
16698 RETURN

16700 REM XHERKK ENCODE TEMPS WITH CK
DATO HHI

16710 TEMPS CL)=" "TEMPS (120) =" "TEMP
$2) =TEMPS : TEMPS (1) =STRS (DAY) : TENPS (3)
=PAYEES:RESPS=STRS (AMT) :GOSUB 16518
16720 TEMPS (23) =DOLS: TEMPS (31) =MEMOS: T
EMPS(492=STRSCMUMSUB) FOR J=1 TO MUNSH
B:POS=aatiexs

16730 TEMPS (POS) =STRS (SUBLEG (93 :RESPS
=STRS (SUBAMT (JI) :GOSUB 16516: TEMPS (POS
#2) =D0LS:NEKT J:RETURN

16BOR REM ¥RKKKX GET CHECK DATA xHHHKK

Ji Te 18

16818 TRAP 16690:RESTORE CKNBR:READ TE
HPS:GOSUB 17018:RESPS=PAYEES:GOSUB 169
18: PAYEES=RESPS

16812 RESPS=MEMOS:GOSUB 16910: MEMOS=RE
SPS

16838 CKMBR=PEEK (185) +256*PEEK (184)
16898 TRAP 40888:RETURN

16980 REM HHH STRIP RESPS OF TRAILING
BLANKS se

16910 L=LEN(RESPS)

1692 IF RESPS(L,L)=" " THEN RESPS=RES
PS(1,L-1)L=L-1:60T0 16928

16938 RETURN

17088 REM ¥HEKEX DECIPHER CK DATA FROM
TEMPS sHEEEE

17818 DAY=VAL (TEMPS (1,29) : PAYEES=TEMPS:
@,22)

17820 AMT=VAL CTEMPS (23, 382) :MEMOS=TEMP
$31, 483

17836 MUMSUB=YAL (TEMPS (49,493) :FOR J=1
TO WUMSUB: POS=48+10%J: SUBLEG (J) =VAL (T
EMPS (POS, POS+i))

Page 12 (scan)

CHECK CON'T

17048 SUBAMT (J2=VAL (TEMPS (POS#2, POS+9)
DINEKT JERETURN

19999 REM *BHEHER CATEGORY #5 AND HA
RES JHGBHHEEEE

Data

pata

pata

pata

pata

pata

paTa

pata

pata
ata

pata
pata
pata

pata
pata
pata

pata
pata
pata

pata
paTA
pata
pata
paTA
pata
ATA
pata
DATA
bata
pata
pata
pata
pata
pata
pata
paTa
pata
pata
pata
pata
pata
pata
ATA
pata
DATA
pata

pata
ata
pata
pata
Data
pata
paTA

Pas. Salary
Pas. Trans.
Rent/Ut/IRA
Pro. Growth
Leitch Sal.
AP Transp.
ap Health
AP Soc Sec.
Church Mort
Pkg Lot Ln.
church Gas
Ch. Con Ed.
th. Kater
Bond Int.
Bond Reden.
Bldg & Gnds
Off. Supply
Ch. Phone
Miscellany
Honorarium
sunday Sch.
Youth

Bus Minist.
jana Clubs
Jr. Church
BS

Music
Dinners
Flowers
Rowells
Biven
Stirewalt
Brammer
Hingo
Buckley
Hayes

Hiss. Other
F of Israel
Connon

B. Fund Dep
Others

Love Offer.
4, Fund Dep
Salables
soe ADD DEPOSIT CATEGORT

THE 7 NEXT LINES #3HEE

Love off
Tithes
Wissions
Bldg Fnd
others
Awana
extra

SMART CON’T

1518 7" A,..Z,";CHRS(34);" Marks
cell as a Jabel":? " @...9,4,- Marks
cell as a value"

1515 2" sun Formula, Tota :?
Is values’ in a column
or row.

Marks cell as a f
Main Menu. Cho

1528?"
ormula:?

OPTION
SELECT

G=Global Format":
L=Load Morksheet":? "
S=Save Worksheet"
P=Print Worksheet
EsErase Horksheet™
H=Home Cursor. (Ce
2 ?=Help Screen,

isse 2"

START Calculate Workshe
27 ")- PRESS ANY KEY TO RETUR

1535 7"

1999 STOP
2000 ¥S=" EME RR eA METUTESETESES

51617181920212225242'

16355657 5559409

2005 HS="CEMaRa eH C1=7:FOR T
=2 TO 4:HCTI=HCT-1)48:NEKT T:POKE 5376
@, 200:6L=8
2018 OUTS (1)=
Y=OUTS:INS=OUTS: 55 Cd
9$(2)=58
2015 PRECL)

OUTS (4808) ="
59 (608)

2058 RETURN
2188 CLOSE #1;RESTORE 2120:POKE 54286,

192

2405 READ E,DIS:IF
SITION 8,4:7 “error:
GOSUB 218:60T0 58
2110 IF E=-1 THEN POSITION 8,1:? “Gerr
10. "; PEEK (195) 3" ":TRAP 4008
@:G0SUB 210:G0TO 5@

2445 GOTO 2105

2128 DATA 138,Device Mot On,139,Device
Wak, 140,Serial Frame, 142,Serial Bus,1
43, Checksum No. 143

2122 DATA 144,Hrite Protected, 162,Disk
Full,163,Bad 005,167,File Locked,17@,
Wo such file,-i,a

EEK(195) THEN PO
DIS: TRAP 40088:

FROM LAST MONTH
PROGRAM COMPARER

10 REM *8* PROGRAM COMPARER BY RICK GR
OSZKIEWICZ
10@ DIM LINE1$ (150) ,LINEZS (150) , FILEAS

12

(15) , FILEZS$ (15) : OF F=
185 GRAPHICS @:POKE 82,1:POKE 83,38
118 Program Comparator'":?
This program analyzes two LIsTed B
asTCprograms and prints the difference
s"

130 7 :? :? “Please enter the name of
file ai"

140 INPUT FILELS

15@ 7 :? :? "Please enter the name of
file #2"

168 INPUT FILEZS

170.737 12" Please load disk con
taining both filesand hit RETURN to st
art"

180 POKE 764,255

190 IF PEEK(764)=255 THEW 198

288 POKE 764,255

205 REM ¥** OPEN BOTH DISK FILES

206 CLOSE #1:CLOSE #2:CLOSE 3

248 TRAP 220:0PEM Hi,4,0,FILEIS:TRAP 0
FF:GOTO 318

220 2:2 “FILE Wi, (7 FILES
ED AM ERROR, (";PEEK (195)
330 TRAP OFF

340 GOTO 138

345 REM #8 PROMPT FOR SCREEN US PRINT
ER

358 10-8
2

ae

2

2 PRODUC
2

365 POKE 764,255
370 IF PEEK(764)=255 THEN 378
375 IF PEEK(764)=43 THEN 7" Yes"

0=3

38@ IF PEEK(764)<)43 AND PEEK (764) ()35
THEM GOTO 365

385 REH XXX TRY TO OPEN THE PRINTER
390 TRAP 408:IF PEEK(764)=35 THEN ?
Wo":? :G0TO 416
395 OPEN #3,8,0
408 7 :? “PRINTER DOES NOT RESPOND" :?
12 "PLEASE CHECK PRINTER AND":? “HIT A
MY KEY TO CONTINUE “:POKE 764,255

405 IF PEEK(764=255 THEN 485

410 CLOSE #3:G0TO 398

415 REM X#* HAIN PROGRAM LOOP

446 POKE 764,255:1F I0=3 THEN PRINT I
O;"FILE i “;FILESS: PRINT BIO; "FILE #2
;FILE2$:? #10:? BIO

428 LINE=@: TRAP 1868

425 INPUT Hi; LIWELS

430 LINEL=VAL (LINELS (1,59)

448 INPUT #2; LINE2S

450 LINE2=VAL CLINE2$ (1,59)

468 IF LIWEADLINE2 THEN ? #I0:? HI
TLE #2 ONLY: “;LINE2S: GOTO 448
470 IF LINE1=LINE2 THEN 50

486 7 H10:2 #T0;"FILE #1 OMLY: "jLIWEL
§

Page 13 (scan)

SMARTSHEET

SMARTSHEET is a spreadsheet calculator which is extremely
handy for financial forecasting, budgeting or any calculations involving
many variables. NOTE: Due to its need for two buffers, Smartsheet will
only work on a 32K cassette or 48K disk system as a minimum. The
on-screen worksheet is divided into cells or grid co-ordinates, arranged
15 columns across (A-O) and 40 rows down. Examples are: At, 015, F32,
etc. Due to the cell format (total of 600 cells) itis only possible to display
@ portion of the worksheet on the screen, so in order to view different
areas of the worksheet, the screen acts as a scrolling window over the
worksheet.

OPERATION: Those already familiar with spreadsheets (eg
VISICALC, SYNCALC), should feel at home since Smartsheet is basically
styled after VISICALC. To newcomers, | hope the following will be enough
to get you started.

When Smartsheet is run, the screen is divided into two sections.
The upper blue screen is the input window, which displays different
‘menus, input prompts, error messages and the current cell co-ordinate.
Below, is the grey worksheet screen, the window to the rest of the sheet.
The black inverse bar is the cursor and is controlled by the normal cursor
Control keys. Its initial position is cell, A1, Smartsheet recognises three
cell types: Labels, Values and Formulas.

Since Smartsheet only involves itself with number calculations,
labels are for the users’ benefit, similar to REM's in BASIC. They are
usually placed in the column left of a value, to identify it. Eg., SALES,
COST, PROFIT, etc. Labels are exactly like the list of items on a shopping
list. To enter a label, position the cursor and type in the label, if the label
is too long, the cursor will automatically be forwarded to the next column,

Values are numbers you input for the worksheet calculations to
function properly. Values may take any form — positive, negative,
decimal, etc, The use of values are similar to the prices next to items
on a shopping list. Values are inputed by typing numbers directly into
the cell. When the cursor is moved away, the value is moved to the right
to allign the decimal places. By pressing OPTION, formulas can by
inputed into the current cell or answers to simple equations can be found

NOTE: Values are necessary in a worksheet for formulas to function
at all. Smartsheet gathers its input from cells nominated within a formula
and displays the result after all calculations are complete. After pressing
OPTION, “Formula” appears on the status line and on the input line you
are asked whether the first number in the formula is to be a cell location
or a number.

The power of formulas in Smartsheet, is its ability to access values
from other cells; ie., formula may calculate a PROFIT figure, and therefore
will access the values you inputed for SALES and COST and subtract
them. Next the desired operation has to be inputed — addition,
subtraction, multiplication, division or exponent (power of). Smartsheet
is limited to one operation per formula. After entering the 2nd number
as a cell or number the full equation will be seen on the sheet. If no cells
have been accessed, the formulas will remain until they are calculated
after pressing START.

A subset of the formula, is the SUM function, which is accessed
by typing a colon [:), The SUM function allows you to total values
between one cell and another in a particular row or column. After typing
@ colon, the input line asks "FROM CELL:?”, here you should enter the
cell where the totalling will begin, eg. Ai. Your input will be registered
in the brackets in the status line. Input the cell, where the totalling will
end, when "TO CELL:?” appears, eg. A9. The input line will be cleared,
and when you move the cursor off the formula cell, your From and To.
cells will be shown, eg. :A1:A9.

Once you have finished structuring your worksheet, complete with
labels, values and formulas, press START to calculate the worksheet
The message ‘Calculating... will appear while Smartsheet is computing
answers. Calculating time depends on the number of formulas within
the worksheet. When Smartsheet has finished, the screen will
temporarily clear and the final worksheet will be seen with all formulas
replaced with the results,

Smartsheet also has an optional menu for aid while developing a
worksheet. The menu is accessed by pressing SELECT. The menu ‘GL
ESP H' will appear on the status line. Press the corresponding key to
obtain these functions: Global Format: Selects how values are to be
formatted when inputed. Choose from Dollar, Normal and Integer
formatting. Dollar will automatically change your inputed value to dollar
and cent format. Normal will leave your value untouched, while Integer
will round your input to the next whole number.

Load Worksheet: Loads a previously saved worksheet from a disk
or cassette, Press D or C to select Disk or Cassette respectively. If using
cassette follow the same procedure as loading BASIC programs. If using
disk, you may either press the bar to cycle through the Smartsheet
workfiles on your disk and press RETURN to load the file displayed in
the input window. Or you may input a filename directly on the input line
and press RETURN to load it.

Save Worksheet: Saves current worksheet in memory to either disk
or cassette. Press D or C to select Disk or Cassette to save on
respectively. NOTE: Smartsheet saves the whole sheet, so cassette
‘owners make sure you have about 50 counter spaces on the cassette
and be prepared to wait during saving and loading times! Disk owners
have two choices (same procedure as Load function): Press the space
bar to cycle through the Smartsheet files on your disk and press RETURN
to update or save over the file displayed in the input window or input
a filename (8 letter limit) directly on the input line and press RETURN
to save it. NOTE: Smartsheet uses “SS’ as an extender on its saved
worksheets to identify them.

Erase Worksheet: Clears the current worksheet from memory. The
program will re-ask whether you wish to erase the current worksheet
in memory. Type Y to erase, or any other key to return to the worksheet.
Hf you type Y then the screen will temporarily clear and a clean worksheet
will appear.

Print Worksheet: Prints the current worksheet to a printer. Make
sure your printer is ON LINE! First you will be asked to input the cell
at the lower right corner of your worksheet (in order to define the bottom
and rightmost column). After entering the cell co-ordinate, you may
imbed printer control codes at the beginning of each row in the
worksheet. Type Y to imbed control cades eg., double width for headings.
If you elect not to use printer codes, press RETURN to begin printing.
If you type Y for printer codes input the row number to imbed the code.
NOTE: The program will send control code before printing the row. Next,
type the code in and follow the same procedure to input more codes.
When you have finished press RETURN to print the worksheet

Home Cursor: Returns the cursor to cell Al. When you are moving
around the far extremes of the worksheet itis handy to use this function
instead of repeatedly using the cursor keys.

Help Screen: Calling up this screen lists all the main keys and
functions of Smartsheet. That about wraps up the features of
‘Smartsheet. If you prefer to have the cursor move without having to use
the CONTROL and arrow keys simultaneously, just change the value
equal to K in the lines 65, 70,75 and 80 to 61,45,43 and 42 respectively.

EXAMPLE WORKSHEET: An actual example is better to explain the
basics behind a worksheet or ‘template’, ala the two sample screens.
Screen 1 shows a template in its raw state with all formulas being
uncalculated. All headings and item names are example of labels. NOTE:
Any character including numbers may be made into a label by typing
an apostrophe before entering the label, .eg. the line of minus signs
beneath the heading. The price of the items are all values and have been
Dollar formatted. The formatting has been changed to ‘Normal’ mid-way
in creation to prevent quantity values to be in dollar and cent format.
In the D column, formulas are present. in cell D6, the value of cell BG
(price of chicken) will be multiplied by cell C6 (quantity of chicken). The
result of this formula will be shown after calculation. The same applies
to cell D18, where the item total (D15) is subtracted from the available
cash (D3). Cell 015 (item total) is using the SUM function. Upon
calculation, Smartsheet will add all values from cell D6 to D13. NOTE:
Smartsheet calculates all formulas and sums from left to right, top to
bottom on the worksheet.hen START is pressed, Smartsheet will pause
to calculate and the result will appear as in Screen 2, where all formulas
in the D column have been solved and replaced by a number. From here
the user may experiment with different cash, price or quantity values
to view the final outcome on Mrs Jones’ purse. As can be seen in Screen
2, Mrs Jones will have trouble paying the bill with only thirty dollars.

490 INPUT H1;LIWE1$:LINEL=VAL CLIWEMS (1
7532 :G0TO 468

495 REM 44 WE HAVE @ MATCH!

5@@ IF LIME1S=LIWE2$ THEN 425

$10 ? HIO:? HIO;"FILE Bi: ";LINELS
$20? HIO;"FILE #2: ";LINEZS

S538 GOTO 428

1888 REM HH

1816 IF PEEK(195)=136 THEN ? “END O
F FILE REACHED": END
1020 7 “ERROR “;PEEK(1952;" STOPPED EK

ECUTION

Page 14 (scan)

STARWARS

STARWARS (Parker Brothers) is the translation of the famous
Starwars arcade game put into cartridge for the Atari 8-bit computers.
The object of the game is to destroy the Imperial Fighters, the maze of
laser towers, and destroy the Death Star by flying down the trenches
of the Death Star and dropping your cargo of anti-matter disrupter into
the exhaust port. That's what | call what you are firing, for a lack of
calling it anything else. They are actually Proton Torpedoes.

The game is played with the joystick as you might imagine, being
an x-wing pilot, and the fire button is used to blast the Imperial Fighters,
Towers, and Thermal Exhaust Port. I've noticed the controls are very
similar to the arcade version!

Any time you want to freeze the action you only have to press (I
didn't say Hit) the Space Bar. This allows you to take pictures of the
screen to show your friends the ultimate high score.

There are 3 waves of difficulty which one has to deal with the
destroy the Death Star:

1. Approaching the Imperial Fleet: You must destroy the Tie-Fighters.
Sounds simple? Well, think again. These nasty little guys hurtle fireballs
at you as they pass. The fireballs disrupt one shield per hit. You only have
9 energy shields to begin with! When successful you will be ported to
the next wave, as with all the waves.

2. Surface of the Death Star: In this wave you maneuver your craft
through a series of Laser Towers. The Towers shoot fireballs back at you,
80 be careful. You are to shoot the tops of the Towers to go on to the
next wave. Sound simple? (tee hee) By the way, when you hit a tower
with your ship you lose an energy shield.

3. Death Star Equatorial Trench (DSET): Once you are in the DSET
be prepared to fly by the seat of your pants. Again as with the other
waves there are the fireballs to put up with. You even get the chance
to fly under or over suspended catwalks. Don't touch them with your
craft or you will lose another shield. I've found it easier to blast the
fireballs the instant they appear on the screen. Then all you have to do
is fly between the catwalks.

When you have flown past the catwalks keep an eye on the trench
floor for the Thermal Exhaust Port. Blast away to send your proton into
the Death Star. Then off you go to watch the explosion, at which time
you have saved the Rebel Base.

The game ends when you run out of shields then are hit by a fireball,
run into a tower, or run into a catwalk. You get points along the way to
save the Rebels by destroying the following: Tie Fighters — 1000 points;
Fireballs — 33 points; Laser Towers — 200 point each (bonus of 50,000
points if all are destroyed); Death Star — 5000 points (bonus award of
3 energy shields).

Depending upon which wave you are in you will earn bonus points
using the Force: Wave 1 — 5,000; Wave 2 — 10,000; Wave 3 — 15,000;
Wave 4 — 25,000; Wave 5 — 50,000; Wave 6 — 100,000.

Upon playing the game | find myself wondering why I spent all those
quarters in the arcade! The graphic ability of the Atari really shines
this program. My compliments to the game designer. the graphic screens
in this game are very similar to those in the arcade. Well, very close for
an 8-bit machine. There is also something worth mentioning. It has a
180 day warranty. Now that is something you don't see every day! |
suggest this one be purchased and added to your collection.

— Stephen E. Warn

VP RAMBLINGS

The newsletter of late has not been the best that we can do. This
has mainley been due to the fact that I have not coordinated my part
of the putting together of the newsletter with the other editors. Anyway
this policy is now changed and we will try to bring you the newsletter
of old where everything in the issue was for that issue and nothing was
left out. | hope that by these actions we will be able to bring you a better
newsletter and one which all members can be proud of.

‘As you have seen in the stores and newsprint the price of computers
is coming down and this means programs etc. are doing the same. From
the rumors that are going around the price should fall even further so
everyone who wants one can own a computer. This is good news for
all of you who have been putting off buying some of that equipment you
wanted. The way things are going you will soon be able to afford it. This
should make things more enjoyable.

Keep your eyes on the printer market as they are not only coming
down in price but they are getting better then ever. The quality of print
is getting better, speed too. The noise level is lower along with the price
so that, like computers, you can get great printers and very low prices
especially compared to a few years ago.

More people of late have told me about buying a computer. They
have talked about the ST and all that it can do and what they can do
with it. After all that was said and done | asked them one question, “what
do you want to do with the computer?” They thought about this and
after they told me what they wanted it turned out all they need was a
good old eight (8) bit machine. In fact the 130XE more than filled the
bill and can do everything they wanted and more. So there is still a place
for this machine and more software to operate it. The small machine
is not dead, but very much alive and giving very useful service.

— Larry Gold

TOKENS

(Atari Tokenized BASIC Files, reprinted from October, 1985 R.A.G. BAG)

There is a pattern to the header seen on the first sector of a SAVEd
Atari BASIC file. The first 14 bytes ($0D) are pointers to the various tables
which BASIC uses to store variable names, values and the statements
which make up our programs. Take a look at the sector dump below of
the first sector of a BASIC program.

SECTOR 620 ($26C) FP. 621 F#13

00 00 00 00 01 2A 01 28 01 ....”.+. Header

08 A3 01 B9 OD CF OD 46 4E #.9.0.FN

10 A4 46 57 A4 D8 C2 4F 46 SFWSXBOF Var Name Table

18 46 53 45 D4 CB 43 54 52 FSETKCTR

20 CC DS DA 44 53 44 4C 4C LYZDSDLL

28 CF 44 53 44 4C 48 C9 44 ODSDLHID

30 53 44 CC 44 4C CC CC CA SDLDLLLJ

38 00 80 00 00 00 00 00 00......... Var Value Table

40 00 80 01 00 00 00 00 00

48 00 00 02 00 00 00 00 00

50 00 80 03 00 00 00 00 00......

58 00 80 04 00 00 00 00 00.......

60 00 00 05 00 00 00 00 00

68 00 80 06 00 00 00 00 00 .

70 00 80 07 00 00 00 00 00 ..

78 00 00 08 00 00 36 6D 7D

The first two lines can be decoded or using the following diagram:

00 00 VN TB EV NT DV VT

DS TB DS DL DE ND vn vn

The first pair of bytes ($00,01) is the pointer to LOMEM which is
stored at $80,81 (129,130 dec). Itis loaded in from $2E7,2E8 (743,744
dec). Again, these bytes are stored in lo-byte format, that is, the low
half of the number is first and the high half is last. These first two bytes
are always 00 00".

The second pair, labeled "VN TB" (bytes $02,03) is the pointer
(actually tells the distance of the Variable Name Table from the start of
RAM) +2567. These 256 bytes are a temporary storage buffer during
tokenization of a statement just after you hit the RETURN key. The value
is normally “OO 01”. | say normally because you can alter the value of
VN, the third byte of the sector (& first byte of each additional header
byte pair by the same amount), and effectively protect your program
being listed. In our example “00 01" means the Variable Name Table
starts at the $0E (14 dec}th byte of the sector. The variable name is FNS
and is “46 4E A4” in ATASCII. The variable names are written with the
last character inverted. Dextral character inverted (DCI) means the high
bit of the binary number used for the ending character is turned on
making it inverse video. This in reality just adds $80 (1000 0000 in
binary), and in this way BASIC knows when it reaches the end of the
variable name.

Next comes the pointer to the end of the Variable Name Table +
256 (bytes $04,05 and shown as EV NT).

Bytes $06,07 (shown as DV VT) gives the distance from the start
of the variable name table to the start of the Variable Value Table +256.
Just count the number of bytes from the start of the variable name table
to the start of the variable value table and add 256 (that’s a hi-byte 01)
and you've got the number.

In the second line of the sector dump, the bytes labeled “DS TB”
(sector byte $08,09) point to the start of the Statement Table. Following
these bytes is the offset to the end of the Statement Table (bytes $0A,0B
shown as DS DL). This is the end of your BASIC program. These bytes
point to the last byte of the last line of the actual program.

But there's more. Remember when you SAVEd your program? The
line you typed in with the program name is also there in your BASIC file.
It's what I call the Default Save Last Line (DS DL). It starts at the byte
following the end of the statement table (bytes $0A,0B) and ends with
the address pointed to by bytes $0C,OD (labeled DE ND).

Look over the sector dumps included and see if you can find all the
parts we've mentioned.

Page 15 (scan)

SECTOR 621 ($26D) FP. 622 F#13

00 00 00 00 00 00 09 00 00 ..

08 00 00 00 00 00 0A 00 00

40 00 00 00 00 00 08 00 00

48 00 00 00 00 00 OC 00 00

20 00 00 00 00 00 0D 00 00 ..

28 00 00 00 00 00 OE 00 00 ......

30 00 00 00 00 OA 00 24 24......8 Statement Table

38 00 41 54 41 52 49 20 42 ATARI B

40 41 53 49 43 20 46 49 4C ASIC FIL

48 45 20 52 45 43 4F 56 45 3 RECOVE

50 52 59 2D 44 49 53 4B 9B RY-DISK.

58 14 00 13 13 00 62 79 20......by

60 42 69 6C 6C 20 50 65 74 Bill Pet

68 72 79 9B 1E 00 11 11 00 ry.

70 31 37 20 44 65 63 20 31 17 Dec 1

78 39 38 34 9B 28 36 GE 7D 984.(6n,

The ending sector of the program is #646, with the last byte
designating the number of data bytes in use. For us that's $28 (43 dec).

SECTOR 646 ($286) FP. 0 F#13,

00 00 00 1B 1B 36 87 2D 03...

08 41 02 08 00 00 00 16 E8 A.

10 03 06 06 24 16 00 80 16....S...

18 16 19 OF OE 44 3A 52 45 ...D:RE

20 43 4F 56 45 52 44 2E 42 COVERD.B

28 41 53 16 44 4C 48 C9 44 AS DLHID

30 53 44 CC 44 4C CC CC CA SDLDLLLJ.

38 00 80 00 00 00 00 00 00

40 00 00 01 00 00 00 00 00 ......

48 00 00 02 00 00 00 00 00

38 00 00 30 00 00 00 00 00

38 00 00 04 00 00 00 00 00

38 00 00 05 00 00 00 00 00...

38 00 00 06 00 00 00 00 00

38 00 00 07 00 00 00 00 00 ......

38 00 00 08 00 00 34 00 28 ....4.+

“Tokens are an intermediate short-hand form of storing your BASIC
statements. Each time you type in a line in BASIC and press RETURN,
the line (presently in the line buffer) is tokenized and then stored in
memory, When you RUN the program the tokens are quickly interpreted
and translated to machine language and so goes the program. Two books
are available: ‘De Re Atari” and "The Atari BASIC Sourcebook”.

What follows is a list of tokens used in Atari BASIC (Atari Microsoft
uses different token values):

Atari BASIC Fixed Tokens

Var Value Table

Statement Operator Function
$4 oH $#
00 0 REM OE 14 (NUM CONST) 30 61 STRS
01 1 DATA OF 15 (STR CONST) 3E 62 CHRS

02 2 INPUT 10 16 DOUBLE QUOTE 3F 63 USR

03 3 COLOR 11 17 (DUMMY) 40 64 ASC
04 4 LIST 1218, 41 65 VAL
05 5 ENTER 13 19 $ 42 66 LEN
06 6 LET 14 20 (STMT END) 43 67 ADR
07 71F 15.21; 44 68 ATN
08 8 FOR 16 22 CAR RTN 45 69 COS
09 9 NEXT 17 23 GOTO 46 70 PEEK
0A 10 GOTO 18 24 GOSUB 47 71 SIN
OB 11 GO TO 19 25 TO 48 72 RND
OC 12 GOSUB 1A 26 STEP 49 73 FRE
OD 13 TRAP 18 27 THEN 4A 74 EXP
OE 14 BYE 1c 28 # 4B 75 LOG
OF 15 CONT 1D 29 (= (NUM) 4C 76 CLOG
10 16 COM 1E 30 () 4D 77 SAR
11 17 CLOSE 1F 31 )= 4E 78 SGN
12 18 CLR 20 32 ( 4F 79 ABS
13 19 DEG 21:33) 50 80 INT
14 20 DIM 22 34 = 51 81 PADDLE
15 21 END 23 35 53 82 STICK
16 22 NEW 24 36 * 54 83 PTRIG
17 23 OPEN 25 37 + 55 84 STRIG
18 24 LOAD 26 38 -
19 25 SAVE 27:39/
1A 26 STATUS 28 40 NOT

18 27 NOTE 29 41 OR
1C 28 POINT 2A 42 AND

1D 29 X10 2B 43 (
1E 30 ON 2C 44)
1F 31 POKE 2D 45 = (ARITH)
20 32 PRINT 2€ 46 = (STRING)

21 33 RAD 2F 47 (= (STRINGS)
22 34 READ 30 48 ()

23 35 RESTORE 31 49 )=
24 36 RETURN 32 50 (

25 37 RUN 3351)
26 38 STOP 34 52 =
27 39 POP 35 53 + (UNARY PLUS)
28 40? 36 54 - (UNARY MINUS)
29 41 GET 37 55 ( (STRING LEFT PAREN)
2A 42 PUT 38 56 | (ARRAY LEFT PAREN)
2B 43 GRAPHICS 39 57 { (DIM LEFT PAREN)
2C 44 PLOT 3A 58 ( (FUNCTION LEFT PAREN)
2D 45 POSITION 3B 59 | (DIM STR LEFT PAREN)
2€ 46 DOS 3C 60 , (ARRAY COMMA)

2F 47 DRAWTO

30 48 SETCOLOR

31 49 LOCATE

32 50 SOUND

33 51 LPRINT

34 52 CSAVE

35 53 CLOAD

36 54 (IMPLIED LET)
37 55 ERROR (SYNTAX)

Each variable name you use in your program is also tokenized by
a number starting with $80+ (dec 128+) and referred to by the variable
number (in sequence that you named them), rather than by their actual
name. A short program to list out these tokens is given in the Atari BASIC
sourcebook.

BASIC File Recovery

Protecting BASIC programs has been done for several years. In the
Fall, 1983 issue of Atari Connection, p. 60, is given a simple way of
protecting BASIC programs. | tried it and, indeed, it did work. In that
article itis stated that once you protect your program it was irrecoverable.
Irrecoverable is not impossible (at least not in the same way a formatted
disk is). It took a couple of days. We'll use what | learned about the
Default Save Last Line to demonstrate line structure and token use.

Resetting Current Line Pointer

32767 POKE

PEEK (138) +256* PEEK (139) + 2,0:SAVE"D:FILENAME”:NEW

In tokens it looks like this:
FF 7F 45 33 IF 46 3A OE 41 01 38 00 00 00 2C 25 03 41 02 56 00
00 00 24.46 3A OE 41 01 39.00 0000 2C 25 OE 4002 0000 00 00
12 0E 00 00.00 00 00 00 14 42 19 OF OA 44 3A 46 49 AC 45 4E 41
AD 45 14 45 16 16

This statement resets the line pointer for the current line. Recovery
is by locating “DS DU’ (bytes $0A,0B) and finding the address of the
start of the Default Save line ($8000, 32767 dec). Using byte $0E as
the starting address, count forward (MSB-1)*256+LSB. This corrects
for the buffer offset of the “DS DL” value. On reaching this, type in the
SAVE line in accordance with the following example:

Default Last Line at End of BASIC program

Line Tokens

0080_____ 19 0F08443A ~~ — ~ ~~ —

Line Byte Number

0123456789ABCDEF 1011 1213 1415

Bytes #2,3 are the line length and statement offset. If you use an
eight letter filename plus a three letter extender you will end up with
a line length of $15 bytes. Enter your line length in both 2 and 3.

‘Once the default last line has been added at the proper location,
add the line length (in hex) to the “DS DU’ and place the new address
(be sure it includes the MSB+1 buffer offset) in “DE ND" ($C & D) of
the BASIC program file header. This will enable you to list the BASIC
program, providing the Variable Name Table is in order. If it has been
replaced with single characters, like below, then edit by using normal
CAPITAL letters (the hexadecimal ATASCII equivalence, of course), ended
with an inverse capital letter or number. By the way, if you replace all
the variable names with lowercase letters you will be able to list the
program. However, when you attempt to list any line separately you'll
end up with a mess. Give it a try and you'll see.

Replaciing Variable Name Table with Single Character

32766 FOR Q=PEEK(130) + 256*PEEK(131) TO
PEEK (132) + 256" PEEK(133):POKE Q,155:NEXT Q

Peeking prior to cleaning up the program will lock up the system,
which precludes fixing the pointers and variable names that way. If all
this seems like a lot of work, it is. However, | have summarized the
cleaning-up process in a simple GET/PUT Basic program. This program,
RECOVERD.BAS, has been on the RAG BBS (707-539-8889) for
downloading.

‘A much better way to protect your BASIC programs, besides altering
tables, is to compile them to machine code. This can be easily done with
a BASIC compiler. MMG is a good one. What you end up with is a binary
load file which can give you that “Assembly Language” programming
ability without even the slightest knowledge of 6502 machine language.

15

oc - 16

Page 16 (scan)

Atari Computer Enthusiasts

A.C.E. is an independent, non-profit and tax exempt computer club
and user group with no connection to Atari Corp. We are a group
interested in educating members in the use of Atari computers and
Publishing the latest News, Reviews and Rumors.

All our articles, reviews and Programs come from you, our
members.

Our membership is world wide. Membership fees include the A.C.E,
newsletter (10 issues per year) and high access in the A.C.E. Bulletin
Board System. Dues are $14 a year for U.S., and $24 a year overseas
airmail.
Subscription Dept.
President —

3662 Vine Maple Dr., Eugene, OR 97405

Dick Barkley, 2907 Wingate, Eugene, OR 97405

(503) 344-5843

Vice President — Larry Gold, 1927 McLean Blvd., Eugene, OR 97405

(503) 686-2490

8-Bit Librarian — Chuck & Jody Ross, 2222 Ironwood, Eugene 97401

(503) 343-5545

ST Librarian — Jim Bumpas, 4405 Dillard Road, Eugene, OR 97405

(503) 484-4746

Mike Dunn, 3662 Vine Maple Dr., Eugene, OR 97405

(503) 344-6193

Jim Bumpas, 4405 Dillard Road, Eugene, OR 97405

(503) 484-4746

Larry Gold, 1927 McLean Blvd., Eugene, OR 97405

(503) 686-1490

E.R.A.C.E (Education SIG Editor) — Nora Young, 105 Hansen Lane

Eugene, OR 97404 / (503) 688-1458

Send 0c stamps or coin ($1 overseas) to the Librarian for updated
ACE Library lists.

Editors —

A.C.E. Bulletin Board
(503) 343-4352

On line 24 hours a day, except for servicing and updating. Consists
of a 130 XE upgraded to 576k by Charlie Andrews, 2 double-density
famdisks, 2 double-density disk drives, and a 10-meg hard disk from
Supra Corp, an Epson MX80 printer, a 2400 US Robotics Courier modem,
running the Mindlink Bulletin Board software (modified).
Best of ACE books

Volume 1 contains bound issues of the ACE Newsletter from the
first issue, Oct. 1981 to June, 1982.

Volume 2 contains July 1982 through June 1983.

Only $12 each ($2 extra for airmail). Available only from George
Suetsugu, 45-602 Apuapu St., Kanoehe, Hl 96744.

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 B 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

Editing & Design Sarvices

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

SortFinder Index
SortFinder Index
iA Composite index of Atari related articles in four popular computer
Periodicals, including the ACE Newsletter. Volume 1 covers April, 190)
through June, 1983. Volume 2 covers July, 1983 through December,
1985. Only $6 per printed copy or $11 per disk copy for ACE members.
Available from: Jim Carr, 2660 SW. DeArmond, Corvallis, OR 97333.

rf Aran
Sk |Compurer

SENTHUSIASTS -
3662 Vine Maple Dr Eugene OR 97405

FIRST
CLASS
MAIL