

There are 8 programs on this month’s cassette not counting the LOADER program.
LOADER - 2K 1 - ADDITION - 2K 2 - SUBTRACTION - 2K 3 - WHITE-HOLE - 2K 4 - TAPESTRY - 2K 5 - PAYROLL - 16K 6 - SUPERSCROLL - 16K 7 - INVERSCROLL - 16K 8 - BULLETIN - 16K
Each program is recorded only once on each side of the cassette. The first programs that can be LOADed will be of the small size followed by the larger sized programs. For example, this month’s cassette has the first to fourth programs recorded as 2K programs. The 5th to 8th programs are 16K. The other side of the cassette is a duplicate of the first side.
For you new subscribers who aren’t familiar with LOADing procedures for cassette programs, follow these directions:
A – Make sure that the volume setting of the recorder is set at about 80 % maximum.
B – If you have a Bass and/or Treble control on the recorder, make sure the Treble is at maximum and the Bass is at minimum.
C – To LOAD the first program, type in LOAD “” and press the ENTER key on the computer. Then press the PLAY button of the recorder. The lead time on the FEB/83 cassette is about 15 seconds until the first program begins.
The time needed to load the LOADER program is 26 seconds. When the program is loaded, a list of this month’s programs will appear automatically.
Shut off the recorder when the LOADER program is loaded. Any of the listed programs can now be loaded into the computer by pressing the appropriate number on the keyboard and then pressing the PLAY key on the recorder. The loader program loads the program by searching for the name of the program you want and ignoring any of the other programs it may encounter along the way.
If you want to go directly to a program without waiting, we suggest you first find the tape location of the beginning of each of the programs with your recorder counter. This can be done as you go through the programs the first time, noting the tape location on the counter as each one is being loaded.
If you don’t have a counter, approximate the tape position with the fast forward key just before where the program would start and then LOAD the program with the name of the program using the format LOAD “NAME OF PROGRAM”.
Some of our subscribers have told us that they could not get the programs to load by name but they would load with the double quotes. Others have told us that the loader program wouldn’t load certain programs. Most have told us that all the programs could be loaded either way. Every customer’s cassette is made from the same master tape so the programs on everyone’s cassettes are identical. We feel it is most probably a problem of volume adjustment or recorder design. We have noticed this situation on some of our recorders.
PROGRAMS (all programs this month are self running |- program’s name has inverse last character /RT = run time/LT = load time) There is an approximate 7 to 20 second pause between programs
“ADDITION” LT = :26
All this little program does is add two numbers together. Great, huh! The unique feature of this program is that the numbers can be of any length of digits that can be accommodated on the screen. That’s right, instead of 8 digit accuracy, you can have 800 or 5000 digit accuracy. The screen will fill up because of the program design, if the total of the digits entered for the two numbers exceeds about 400.
Observe the LISTing of this short program to see how the numbers are treated as string variables and the value of each character is manipulated.
“SUBTRACTION” LT = :24
This is the subtracting version of the one above. It uses a unique method of achieving subtraction through addition of reciprocals.
“WHITE-HOLE” LT = :28
Here’s our big game for the month. It is the year 98,810,003,273 (July, 23rd). The universe is at the peak of its energy expansion and will soon start into its contraction phase (another billion years or so).
An unwanted result of this condition is the depletion of energy from the everyday (53 hour days) energy sources (magnetic gravity simulators).
The only way to replenish these sources is to bring back anti-matter in magnetic bottles and place them in the MGS storage receptacles thoughout the United Federation Galaxies.
Rich sources of anti-matter have been found in Quasars, which have been found to be White-Holes. Unlike Black-Holes that digest matter and anti-matter and make it disappear, White-Holes spew out matter and anti-matter.
Danger, of course, exists when matter and anti-matter come in contact and both are completely destroyed.
No known method has been devised to be able to determine from a distance whether an object is matter or anti-matter.
Your mission is to control a craft across the event horizon of a White-Hole and retrieve as much anti-matter as possible. Your craft is directed to the objects by pressing the <1> key and the <0> key for left and right. The length of the mission is 100 million miles. Your craft uses some of the anti-matter it collects for fuel.
The object is to collect as many tons of anti-matter as possible. When the craft touches an object, one of two things will happen:
1 – Nothing
2 – 100 tons of anti-matter will be absorbed and the rest will ve obliterated causing other matter or anti-matter in the vicinity to be destroyed.
For each million miles travelled, 1 ton of anti-matter will be used by the craft (very inneficient but due to the low ebb of the universe energy cycle).
A record is kept of the highest tonnage retrieved so that each pilot can have a record to try and beat.
“TAPESTRY” LT = :18
Ever wanted to design your own pattern for an Oriental rug you are chrocheting? Listen, if anyone out there is good at that, let me know. I’ll send you a thousand pounds of steel wool and you can knit me a Volkswagen.
Seriously though, this program generates a rectangular square pattern and then recycles and starts over again.
Insert line #10 RAND if you don’t want to see the same pattern every time you fire the program up!
“PAYROLL” LT = 2:45
Our biggie for the month. The program is set up to accept 50 employees. If you want more or less, EDIT line #2 and change the <50> to whatever you want or what memory will allow. The higher that number is, the longer certain parts will pause in the program and vice-versa.
The program computes payroll under the following rules:
– 40 hour work week
– time and a half over 40 hours
Although this is by no means a program that is suitable for every payroll application, it is very powerful and has Visa-Calc type computing capabilities.
When the menu appears, first use prompt <7> to dimensionalize the variables. The program won’t work at all until this is done.
Now, goto prompt <5> and set the tax levels. For the following inputs requested, enter whole numbers for the percentages. In other words, if six and a half is the percentage needed, enter <6.5>, not <.065>.
If there is no state income tax, enter <0>. When returning to the menu, you will notice a 5 second pause for 50 employees. This pause, and others you will encounter, can be shortened by dimensionalizing line #2 to the bare minimum needed.
Now go to prompt <1> from the menu and enter the required information. Observation of subroutine 8000 will help you determine the maximum amount of character or digit input for each data prompt. For those of us who want the easy way, they are:
EMPLOYEE NUMBER 6 CHAR LAST NAME 12 CHAR FIRST NAME 12 CHAR HOURLY WAGE 5 CHAR TOTAL HOURS 7 CHAR OVERTIME 8 CHAR
Enter your own sample data for the displayed prompts.
For the prompt that asks for TOTAL HOURS you will notice that if the amount is in excess of 40 hours, two totals are split apart.
TOTAL NON-TAX DEDUCTIONS would be for payroll savings, stocks or bonds, loans or any other deductions that are not the taxes that were computed by prompt <5> from the MAIN MENU. You will, of course, have to total all these deductions yourself and enter the sum.
When the prompt to see the employee’s pay occurs, enter “Y”. You will notice that the items are all displayed except for the regular pay and overtime pay totals.
Well, we can’t do everything for you! This is a good exercise for the user and I left enough space to the right of the titles for these data totals. All that remains is for you to write the routine (the Old Professor put me up to this).
Return to the MAIN MENU and execute prompt <3> and then enter the employee number of the sample you have entered.
You will notice a new EDITING MENU that allows you to edit any of the pertinent data except the tax variables. These can be changed by returning to the MAIN MENU later and going to prompt <5> and re-entering that data.
Try editing each of the data items. Here’s where the VISA-CALC type computing capabilities enter the picture. If you write down (if you have a printer, try writing a routine that will copy the screen from another number prompt here) the data for each situation, you will notice that each time data is edited, all the affected data is changed. Of course, the employer can use these editing features to experiment and see how a raise or proposed tax increase will affect his company’s payroll picture.
This program has quite a bit of diversity in its use. The user can execute prompt <6> after all the employee information is entered and then SAVE the program on tape from prompt <4>. Now all the user has to do each week is recall that version of the program, edit the hours and the new payroll picture is presented.
Prompt <2> is basically the same as prompt <3> but without the editing features.
If new employees are added to the payroll, just use prompt <1> and the program will automatically allow the data to be added, as long as the total amount of employees does not exceed the limit allowed in line #2.
I didn’t have time to write a routine to delete employees that leave the company but that would also be a good exercise for the user.
“SUPERSCROLL” LT = :35
Although this program could probably be written in 2K, the string manipulation routines use quite a bit of memory and would cause SCREEN FULL error messages.
A subscriber asked me if I could write a program that would scroll a message across the screen but in large letters so that he could use it to advertise his products. After thinking about it for a while, this is what I came up with using the BASIC language. The problem with this program will soon become obvious.
The only rule is that the words you enter cannot exceed 8 characters in length. There can be as many words as you want.
An excellent experiment for this program would be for a mother to type in a message or instructions for a small child who can read. It might keep him or her busy for hours.
“INVERSCROLL” LT = :39
Basically the same program as the one above, except white characters ar printed on a black background.
“BULLETIN” LT = 2:53 RT = 14;22
Our monthly Bulletin Board program. A unique feature of this program is if you want the scrolling message to stop, press the <P> key. To restart the message, press the <R> key.
You’ll be glad we didn’t use the techniques in programs 7 or 8 to scroll the message unless you have a few weeks of nothing to do on your hands.