Project 3a - Automatic Morse Generator (Single Message)

What the PC Program Does:
This program allows you to type in your message in plain text. It then converts your message into morse code and combines it with the file called BASE.PIC to create a file that can be compiled. The program runs under DOS or in a Command Prompt window.
Using the Program:
Both MORSE.EXE and BASE.PIC must be saved to the same folder (directory). Navigate to that directory and run MORSE.EXE. It will ask you for the name of the file to create. This name is limited to 8 characters plus a three character extension, because the program was designed to run under DOS if necessary. I would recommend that you use .ASM as the extension but you don't have to.
Having created the file, the program then asks for your message. Because some PC characters do not have a morse code equivalent, the program checks your message and tells you how it will encode it. It also tells you of any characters that it counld not encode.
Some morse characters do not have any PC keyboard equivalents so the program allows you to use an equals sign(=) as a break (-...-), a plus sign(+) for End of Message(AR _._._), less than(<) for End of Work(VA ...-.-), greater than(>) for Wait(AS .-...) and hash for Preliminary call(CT -.-.-).
At the end of your message, the keyer normally stops and waits for you to press the button again. To have the message repeat continuously, use a circumflex character(^) at the end of your message but make sure that you insert a space before the circumflex unless you want the last character of you message to be followed immediately by the first character of your message.
Compiling the PIC Program:
Once the file has been created by MORSE.EXE, it must be compiled and loaded into the PIC.
BASE.PIC has been designed to be compiled using the Microchip assembler (MPASMWin).
Complete Program:
Click on the disk icon to download a file:

Executable Program MORSE.EXE This program creates a single frequency.
PIC Information File BASE.PIC This program contains the information needed to complete the PIC program.
Source Code Files:
Click on the disk icon to download the source code file:

Source Code MORSE.C

The source code was written in 'C' and compiled using the Borland C++ Development Suite Version 5.
PIC Files:
PIC Programs Click on the disk icon to go to the PIC Files page.
Other Information:
  • Help, I can't download the PIC files!
    If you have Quicktime installed, the extension PIC may be registered as a Quicktime movie. In that case, right click on the icon and select 'Save target as...' Choose the folder to save the data in and click on the Save button.
  • When I try to download the PIC files I get a message saying that running scripts is dangerous.
    This is the same as previously mentioned. The PIC extension has been registered to another application. You need to save the file and not run it. Simply right click on the icon and select 'Save target as...' Choose the folder to save the data in and click on the Save button.
Errors, Ommissions and Updates: