OFFICECW.COM (C) 1994,1995 Ken R. Mason
Revision 1.02 1/13/95 by Ken R. Mason KC6TEU
Permission is given to freely distribute this executed program if
not modified and this text file (OFFICECW.TXT
or OFFICECW.DOC) must
contained with the OFFICECW.COM file. No money can be charged for
this program except for distribution costs. There is no guarantee
that this program will be bug free. Any suggestions can be
submitted by sending a letter or Email to
the author. Source code in
"Borland C" is available, for a $5.00 donation, from
the author.
Review the revision information for
changes made to this program.
Download OFFICECW Rev. 1.02 Latest
Revision of the Morse Code Trainer Program [info]
by KC6TEU
Return to KC6TEU Home Page
OFFICECW
OFFICECW.COM (C) 1994,1995 Ken R. Mason
Revision 1.02 1/13/95 by Ken R. Mason KC6TEU
Permission is given to freely distribute this executed program if
not modified and this text file (OFFICECW.TXT or OFFICECW.DOC)
must
contained with the OFFICECW.COM file. No money can be charged for
this program except for distribution costs. There is no guarantee
that this program will be bug free. Any suggestions can be
submitted by sending a letter to the author. Source code in
"Borland C" is available, for a $5.00 donation, from
the author.
1.0 Introduction
The program was developed because the available Morse code
programs
on IBM PC compatible computers annoy other people. If they use
the
PC speaker, it is simply too loud. This program (for IBM PC
compatible computers) will let you practice CW without a (across
the room) blasting tone. The volume can be controlled from normal
PC speaker loudness to just about un-heard (the actual volume
varies on different computers and it is fully controllable).
This program uses any text file to be the source for the Morse CW
output. The Morse CW has volume, speed, display, forward, backup,
re-start, pause and continue, calibration, and file control.
While
the CW is output, the keyboard can be used to type characters
onto
the computer screen (unless using the -d command line option).
2.0 Running the Program for the First Time
When the program is run for the first time, it will ask to
calibrate. The calibration will take about one minute. A new file
will be created to save the calibration factor (file name is
OFFICECW.CAL).
When the program is run on a new computer a calibration will have
to be performed again. Two ways to produce a re-calibration is by
A) delete the OFFICECW.CAL or B) add a -c after the program name
at
the DOS prompt (IE: OFFICECW -c).
A calibration can be aborted by pressing the [Esc] key, but the
program is not calibrated. I strongly recommend calibrating this
program before using. If the program is used on the same computer
a calibration should only have to be done once. If the computers
configuration has been changed a re-calibration may be needed.
3.0 Running the Program (without any command line options)
To run the program simply type OFFICECW at the DOS prompt. The
program will ask for a file name, speed, and volume. Pressing
enter
at any one of the prompts will simply use the default values
displayed.
At the file name prompt, any legal DOS file names and path is
acceptable. Example, C:\autoexec.bat, will output the
autoexec.bat
file in CW.
At the speed prompt any speed is possible (I recommend 5 through
30). Farnsworth method is possible by entering the character
speed
separated with a comma then the word speed. Example, 15,8, will
use
a character speed of 15 WPM (Words Per Minute) with a word speed
of
8 WPM. If a single number is entered the program will output CW
at
a rate that has been articulated in the ARRL handbook.
At the volume prompt, the program is expecting a number 0 through
100. A value of 100 will produce the volume to be normal PC
speaker
output. A value of 0 is so low many computers can't even be
heard.
I recommend a number of 70 to 90 for most applications.
At this point Morse CW will start to be output. You can use the
keyboard to type the characters heard onto the computer screen.
Press the [Esc] key to select an option.
After the [Esc] Key has been pressed you can select Re-start,
Continue, Backup, Forward, Display, or Quit by pressing the first
letter of the option you would like.
A re-start starts the CW output from the start of the text file
you
selected. The continue just does that, continue. The backup will
allow you to backup any number of characters in the text file, up
to the beginning. A forward will advance forward in the text file
up to the end of the text file. A display will show the last 80
characters output. The quit selection stops the program and
returns
to the DOS prompt.
4.0 Running the Program Using Command Line Options
Command line options have a form of:
OFFICECW -COMMAND_LINE_OPTION
Possible command line options are as follows:
-d Will display characters as the CW is output (screen typing
disabled)
-c Will perform a calibration
-f Selects the text file for CW output IE: -fc:\autoexec.bat
-v Selects the Volume 0 through 100 IE: -v90 selects 90
Speed parameters can be entered using the normal speed method (as
described in the ARRL Handbook) or the Farnsworth method (where
character speed is faster than the word speed)
For normal speed selection:
-s Sets up the Morse code speed IE -s15 will be 15 WPM
For Farnsworth speed selection:
-sc Sets the character speed IE: -sc20 for a 20 WPM characters
-sw Sets the word speed IE -sw10 for a 10 WPM word rate
5.0 Examples of Command Line Options
Examples of the command line usage are as follows:
OFFICECW -FC:\CONFIG.SYS -V75 -SW5 -SC15
The command line options select a volume of 75, character speed
of
15 WPM, word speed of 5 WPM, and select the C:\CONFIG.SYS file to
use as the CW output.
OFFICECW -S15 -V90
This command line option simply sets the volume to 90 and the
code
speed to 15 WPM. The program will ask for a file name to use for
the CW output, or simply press [Enter] to use the default file
name
(OFFICECW.TXT).
OFFICECW -SC13 -SW7 -C
This example will cause a calibration to be performed. First the
program asks for a volume to be entered. Then the calibration
will
be performed. When the calibration is complete the program asks
for
a file name to be used for the CW output. After getting the file
name the program will start sending CW at a rate of 13 WPM
character speed with a 7 WPM word speed.
OFFICECW -D -S13 -FOFFICECW.TXT -V80 -C
This example does it all. It performs a calibration then will
output CW at a rate of 13 WPM with a volume of 80. While the CW
is
output the characters are displayed on the screen. The program
will
not need any additional information because the text file has
also
been selected.
6.0 About the Program
The Rev. 1.01 program was developed using BORLAND(r) C++ V3.1.
The
initial program was written in a short time (less than an hour).
Refinements for two weeks were performed to add options. The code
was changed to avoid using any floating point calculations which
led to being able to greatly reduce the code size and ultimately
convert the program to a .COM type file (from 44K to 21K, not
that
the program was large but if you get the same functionality why
not?).
7.0 Revision History
Revision 1.0 9/27/94 has a bug. When the program asks for a
calibration and no is selected, no CW output can be heard.
Revision 1.01 9/30/94 fixes the previous problem and adds a new
feature. If using DOS 3.0 and higher, the program can execute if
it
is in the path (IE: PATH= statement). The calibration file
(OFFICECW.CAL) will be saved in the same directory as the
OFFICECW.COM file.
Revision 1.02 1/13/95 Adds compatibility with Super Morse and
Morse Academy text. Additional improvements include a space
character delay during Morse code sending for a return character
in a file. listed below are the supported codes and the
equivalent
morse code with their meaning. The alphabet, numbers, and
punctuation
are fully supported.
Morse Code Text Character Meaning
.-... ! AS
.-..-. "
-.--. # KN
...-.- $ SK
. ... & ES
---... `
-.--.- (
-.--.- )
...-.- * SK
.-.-. + AR
-....- -
---... :
-.-.-. ;
-...- = BT
.-... @ AS
-.--. ^ KN
8.0 About the Author
I would like to thank WA6TMJ and WA5YWC for giving me suggestions
on improving the program. I (the author) can be reached at:
E-Mail [email protected]
S-Mail Ken Mason
KC6TEU
3481 Pleasant View Ln.
Shingle Springs, Ca 95682
73 -.- -.-. -.... - . ..-
Return to KC6TEU OFFICECW
Revision 1.02 Download Page
Revision History
Revision 1.0 9/27/94 has a bug. When the program asks for a
calibration and no is selected, no CW output can be heard.
Revision 1.01 9/30/94 fixes the previous problem and adds a new
feature. If using DOS 3.0 and higher, the program can execute if
it
is in the path (IE: PATH= statement). The calibration file
(OFFICECW.CAL) will be saved in the same directory as the
OFFICECW.COM file.
Revision 1.02 1/13/95 Adds compatibility with Super Morse and
Morse Academy text. Additional improvements include a space
character delay during Morse code sending for a return character
in a file.
Return to KC6TEU OFFICECW
Revision 1.02 Download Page
This page has been accessed
times this month.
OfficeCW page has been accessed
total times starting 3/6/98.
(Rev. 3/6/98)