<<<<<<<<<<<< THIS DOCUMENTATION IS IN FILE BALL.DOC >>>>>>>>>>>>
THE BASEBALL PROGRAM DESCRIBED BELOW HAS A REGISTERED COPYRIGHT
DATED 22 OCTOBER 1986.
THIS PROGRAM MAY BE FREELY
DISTRIBUTED ONLY IN ITS
ORIGINAL AND COMPLETE FORM
PROVIDED SUCH DISTRIBUTION
IS MADE WITHOUT CHARGE.
This is a summary of the BASEBALL (BALL.V15) program. It presents
installation steps, in case of trouble information, and requirements and
features of the game.
The BASEBALL (BALL.V15) program is not a public domain or free program!
It is being distributed as Shareware which gives users a chance to try
software before buying. If you try BASEBALL (BALL.V15) and continue using
it, you are expected to register. Registration licenses you to use
BASEBALL (BALL.V15) and future updates. Any unregistered use other than
trial use to determine if BASEBALL (BALL.V15) meets your needs is a
violation of the license agreement and is forbidden. A nominal charge may
be made for copying and mailing expences expenses only.
YOU START THIS PROGRAM BY TYPING "BASEBALL", WITHOUT THE QUOTE MARKS AND
ONCE STARTED YOU QUIT DURING PLAY WITH THE "F1" KEY OR BY ANSWERING
PROMPTS DISPLAYED AT END OF A GAME!
1. Make sure you have the following sixteen (16) files:
EXECUTABLE DOCUMENTATION USED BY PROGRAM
BASEBALL.EXE README.DOC BALL.DLY
NEWRCD.BAT LICENSE.DOC BASEBALL.RCD
DLYBLD.BAS BALL.DOC BAT.RCD
If you don't have all files, you must get them before proceeding.
2. Make a backup and copy all files to the same directory that you plan
3. The files listed above under column "USED BY PROGRAM" contains six (6)
files with the extension ".DLY". The file "BALL.DLY" is used during
execution to determine the length of time various things are displayed on
the screen and it has values for a computer with a clock speed of 4.7Mhz.
If you know that your computer has a clock speed of 4.7Mhz you don't have
to change anything. Type "BASEBALL" and go to step c below.
If you know that your computer has a clock speed different than 4.7Mhz,
then you must make the simple change:
a. Delete the file "BALL.DLY" and create a new file "BALL.DLY" with
the contents of the appropriate "CLK--.DLY" file. The clock speed of
each "CLK--.DLY" file is shown by the integer part of the name where
47 = 4.7Mhz and 8, 12, 16, and 20 = Mhz. Type "BASEBALL" and go to
step c below.
b. If you don't know what the clock speed of you computer is, try
the program by typing "BASEBALL", without the quote marks, and see
what things look like. If screen movement appears too fast, your
machine is probably faster than 4.7Mhz so try making a new
"BALL.DLY" file as described (a.), above.
c. If after you typed "BASEBALL" you could not start the game, go to
step 4 for start up problems.
d. If after you typed "BASEBALL" and everything seems OK, your done
with installation. Go to step 5.
e. INTERPRETIVE BASIC GENERATION OF "BALL.DLY".
This BASIC program "DLYBLD.BAS" is provided to adjust delay values
for computers of different clock speeds from 4.7 Mhz to 20 Mhz if
you don't like delays provided. Get into your BASIC and execute
"DLYBLD.BAS" to set delays. The program will prompt you for what
entries are needed and will generate the file "BALL.DLY". Type
"BASEBALL" and go to step c above.
4. If you have start up problems:
a. Make sure you have the files "BASEBALL.RCD" and "BAT.RCD" in the
same directory (all files should be in same directory) that you
copied files to in step 2.
b. If neither of the above files exist, make sure the file
"NORCD.DMY" exists and that it is in the directory that you copied
files to in step 2.
c. If neither a or b is satisfied, enter the following ASCII text to
a file named "NORCD.DMY" in the directory that files were copied to
in step 2 exactly as shown. The text shown is what the file
"NORCD.DMY" must contain.
c. If you still have problems, make sure the file "GNAME.PIC" exists
in the directory you copied files to in step 2. If it does not
exist, you must get everything again because you cannot create this
5. You are now ready to play but should read the rest of this document
If you have problems and are a licensed user, I will assist you. Send
information, including Version # and where you acquired the program, to
the following address.
Russell J. Yuma
2111 Latham #121
Mountain View, Calif.
USE VERSION REFERENCE # V15 FOR PROBLEM REPORTING
<<<<<<<<<< CAUTION >>>>>>>>>>
NOTE: The files "BASEBALL.RCD" and "BAT.RCD" are provided only to have
some data for display when you play and complete your first game. After
you have installed everything you can delete these files and start record
files of your own.
If you want to start the record's files ("BASEBALL.RCD" and "BAT.RCD")
over do the following:
1. Save the current files "BASEBALL.RCD" and "BAT.RCD", if you want to,
using DOS and make sure you use different file names.
2. Always delete, after you save, files "BASEBALL.RCD" and "BAT.RCD" with
the provided batch file "NEWRCD.BAT". This BAT file will not delete the
needed "BASEBALL.RCD" and "BAT.RCD" unless the file "NORCD.DMY" exists.
The version of BASEBALL (BALL.V15) provided requires a MONOCHROME or
COLOR DISPLAY, at least one disk drive, and a system with at least 128K
of memory above operating system requirements. It has been tested on IBM
PC, IBM XT, and IBM ATs and compatibles and will work with a single disk,
two disks, or hard disk systems and systems with RAM disks. Limited
testing has been done on systems with Hercules compatible graphics
This program requires IBM DOS 2.0, or above, or the equivalent.
<<< DEFINITIONS >>>
Players means the number of persons playing the game. This game allows
one or two players. When two players are selected, keys on the right
and left side of the keyboard are activated. With one player selected,
keys on the left side of the keyboard are activated.
Teams means the baseball teams in the game. There are always two teams
regardless of the number of players.
<<< END OF DEFINITIONS >>>
1. Each player is identified by a one to three character ID for a record
file. When only one player is selected only one player ID is required.
2. Each team is identified by a one to twelve character name. You must
enter two team names regardless of how many players are selected.
3. There are three levels of skill, one of which may be selected and
assigned to each team. A skill level is required for each team, not
necessarily the same, regardless of the number of players. Effects of
skill selection are subtle and apparent.
4. A summary similar to a box score is displayed at end of game.
5. A records file is displayed at the start and at the end of each game.
At the end of the game any new record(s) set during the game are
highlighted and the records are written to disk.
6. A statistics file is displayed at the end of each game. It contains the
line ups for each team with the following statistics for each player:
at bats, hits, singles, doubles, triples, home runs, walks, strike
outs, double plays hit into, and batting average. The top of the
display shows total games played and number won and lost by each team.
The bottom of the display shows total team statistics. Because of the
amount of data displayed, the statistics are displayed separately for
7. At the end of the game an option is presented to play another game with
same players and teams or different players, teams, and skill levels.
8. Color is used for a color monitor, and highlighting and reverse image
is used for monochrome monitor, automatically.
8. Music of "TAKE ME OUT TO THE BALL GAME" is played and sound is provided
for errors of entry and for pitches, hits, and outs. The music and
sound can be turned off and on with function key F8.
9. Games of extra innings are supported.
10. A score board is displayed and updated as play progresses.
11. An auxiliary board of balls, strikes, and outs is displayed and updated
on each pitch.
12 An action board of action and team batting averages is displayed and
updated as play progresses.
13. Home and visitor line ups can be displayed. Each display shows the
current batter (marked with a flashing "*"), the player's position,
batting average for all games, (ie. season) and at bats and hits for
current game. The visitor line up is on the right and is turned on/off
with the cursor down key, and the home line up is on the left and is
turned on/off with function key F6.
14. The players of each team are represented on a "bench" and adjusted as
15. At bat team players move to "on deck" and "at bat" positions.
16. A batter is positioned as batting left or right.
17. A pitched ball moves on the screen from pitcher to catcher.
18. If a pitched ball is swung at and missed it is a strike. If not swung
at it may be a strike or a ball.
19. An umpire figure appears briefly to indicate balls and strikes.
20. A "hit" ball moves, on the screen, foul or fair.
21. A ball "hit" fair may be a single, double, triple, home run, or an out.
22. A full screen message with a figure jumping across the screen is
displayed for home runs.
23. A ball "hit" for an out may simply be an out or it may be a sacrifice
fly, fielders choice, or a double play.
24. Runners are displayed on the bases and they advance, on the screen,
according to total bases for a hit, one base for a walk, and movement
is shown for all outs.
25. Runners on base may steal second and third base and movement is shown
on the screen for both runners and the catcher's throw.
26. The game is played with function keys and the keys used depend upon how
many players there are.
27. The active function keys are displayed during the game on line 25 with
an explanation. The keys used are F6, F7, F8, and F9; and the cursor
Left, Right, Up, Down.
28. Function key F5 is not shown because of space limitations, but when
depressed the game is interrupted and team statistics are shown and
then the game is resumed (see #6 above).
29. The game may be terminated at any time with function key F1.
30. A clock display is shown in the upper left corner while the game is being
played. It is active only while the game is being played and its purpose is to
show you that the BASEBALL game is still active, waiting for input, and most
importantly, the BASEBALL program is still alive and not hung up.
<<<<<<<<<< MAINTENANCE NOTES >>>>>>>>>>
The BASEBALL.EXE file has been made from the source in directory \SHWARE
which is the version for Quick Basic 4.0. The Quick Basic V4.0 has
changes to execute correctly when either BASEBALL.RCD or BAT.RCD files
are not present.
One problem was that the record lengths of a newly created BASEBALL.RCD
file were not always 80 bytes and this caused RCDTXT.ASM to put garbage
on the screen, forever.
FIX - The file NORCD.DMY must be present whenever BASEBALL.RCD is not
The second problem was that without a BAT.RCD file it is possible that
the presentation of the team summary could cause a divide by zero if
any batter had zero at bats. Not likely, but in testing with a game of
1 inning instead of 9 it happens.
FIX - Added a test so that no divide with a zero at bats is attempted.
The third problem was in testing for visitor team setting a new record.
FIX - Eliminated testing for visitor team statistic equal to home team
statistic. That was a wrong translation of BASEBALL (BALL.V15) BASICA
code to structured IF STATEMENTS in Quick Basic V4.0.
Added the batch file NEWRCD.BAT to delete BASEBALL.RCD and BAT.RCD with
a caution that Ctrl-Break can abort and a delete will not be done if the
file NORCD.DMY does not exist.
<<<<<<<<<< END MAINTENANCE NOTES >>>>>>>>>>