home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
HR
/
HR013.ZIP
/
MORSE.DOC
< prev
Wrap
Text File
|
1987-08-19
|
4KB
|
89 lines
Documentation for
Morse Code Converter
Version 1.0
Written by
Paul Risenhoover
August 1987
Hi. My name is Paul Risenhoover. I am a sophomore at
University of Missouri -- Rolla in Rolla, Mo. This summer I
decided to teach myself Morse Code, but, alas, I did not have
a code key nor a radio to listen to. So I decided to write a
simple program that would make the computer transmit Morse
code. At first, I was going to transmit random letters, but
then I decided that it wouldn't be REAL Morse code. I have a
lot of .DOC files (try RBBS.DOC), so I decided to send
them through the speaker as Morse code.
When running the program, the computer first asks for
the file to convert. If it doesn't exist, the computer will
give you one more chance to get it right, then it will exit.
Next, the computer will ask the rate of transmission in
words per minute. The rate variable is an integer one, so
the computer can handle anything between 1 and 32767 wpm,
although anything over 1000 sounds like a sick bumblebee.
(The initial startup sequence runs about 1000 wpm). If you
enter a zero here, the computer will ask again, and if you
enter zero AGAIN, it will exit.
The computer then asks for the pitch. Since I don't
have a radio nor a code key, I don't know what the average
pitch is. I've set the default to 1500 (no units) based on
the many movies I've seen. The variable is an integer
variable, so the range is 1 to 32767. Once again, if you
enter zero twice the computer will exit.
When the computer is transmitting, notice that you have
two options open. You can press [ESC]ape and exit from the
program, or you can toggle a pause by pressing [SPACEBAR].
The computer will pause AFTER it is done transmitting the
letter it is currently transmitting and BEFORE it gets to the
next letter.
I have also implemented a parameter checking routine,
which means you can jump right into the tranmission from DOS
by supplying some parameters to the program. Use this
format:
MORSE filespec [rate] [pitch]
The filespec is required (of course).
Rate is optional and defaults to 15 words per minute.
Pitch is optional and defaults to 1500.
Some final notes:
The program is written in Turbo Pascal.
If the program will completely IGNORE any characters
that are not in the Morse code. For example, the computer
will delay for a space (between words or even a long line of
spaces) but it will NOT delay for a string of dashes.
The program knows lower case.
Control codes do not affect the program, except maybe
for a Control - Z.
If you have any programs that you want written, send me
a note and we can talk. I am a student trying to pay my way
through school, and I'm quite willing to do any kind of
programming work.
I hope you enjoy this program.
Sincerly,
Paul