home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Ham Radio 1997
/
WOHR97_AmSoft_(1997-02-01).iso
/
cw
/
cw_20
/
amsoft.iii
next >
Wrap
Text File
|
1997-02-01
|
4KB
|
90 lines
THE SOURCE CODE FILES ARE:
CW-0278H.ASM
CW-03BCH.ASM
CW-0378H.ASM
THE EXECUTABLE FILES ARE:
CW-0278H.COM
CW-03BCH.COM
CW-0378H.COM
These programs will decode morse code and print it to the screen. Hook up
a morse key to pins 18 and 15 of the parallel printer port and just start
sending code :)
The programs are tsr's and can run in the background while other software
runs in the foreground. These programs change the clock tick from 18.2/sec
to 72.826/sec ....this was done to accomodate faster cw speed than the slower
clock allowed. Some software will re-set the clock to 18.2/sec when run and
so will be incompatible with these tsr's. I wrote this code to control
software from a remote location with just one button...and it works very well
for this purpose :) I put in all letters of the alphabet..the numbers 0 - 9
and the characters "." "," "?" and also added a new code of ..-- that is
"dit dit dah dah" which is a control code and outputs the character "#"
also if you send 6 dahs the computer speaker will beep :) if an unknown
morse sequence is decoded the program outputs a "*" to tell you it does not
compute :)
The PC's clock is not affected by the changed clock tick speed and will
keep perfect time as I built in correction code to keep it on track. This
will of course not work if a piece of software resets the tick rate back to
18.2/sec ... in this case the clock will be S L O W :(
This code was a part of a larger program I am writing and thus does not
contain the code to prevent re-loading over itself..so only load it up once
or you will create havok with the timing :)
The 3 different com files are the same except they each work with a different
parallel port address...I included all three so you could pick the one to
use according to the address of your port...
I think the programs are indeed quite tiny to accomplish morse decoding :)
The actual assembly code that does the decoding is about 300 bytes long
all the rest is the code for installing a tsr and is jettisoned after loading.
The three values that you can change to alter the speed of morse copy are:
DITLIM --------This is the demarcation line between a dit and a dah
SPACEVAL -------This is the keyup length that if passed means "send a space"
DECODELEN ------This is the keyup length that if passed means "decode a char"
One could write a high level program to slide these values around while
copying code and thus keep the speed on track...I chose the values that
are already in the program to match my poor cw sending abilities :)
I guess it will copy at between about 7 - 15 words per minute with the
values as they are now...I never checked to make sure :) I did build a
small circuit using a 567 tone decoder and used it with this program to
decode cw off the radio..it was very interesting seeing what all the dit-dahs
were saying :) I did a small program to watch for "keywords" and beep if
they came across the radio...it was a lot of fun to watch for names of
cities and states... :)
I am almost finished with the program I wrote this code for..it is called
PSICLONE.EXE and will be uploaded to the net soon..It is a program for a
light/sound machine for experimenting with altered states of consciousness.
It will have a small circuit that you have to build that plugs into the
printer port.
If this interests you keep an eye out for the program or send me e-mail
and I'll let you know when it is ready....
it is going to be free software...not shareware :)
THE PROGRAMS IN THE FILE CWDECODE.ZIP ARE RELEASED TO THE PUBLIC DOMAIN
THAT INCLUDES ALL THE FOLLOWING FILES
CW-0278H.ASM
CW-03BCH.ASM
CW-0378H.ASM
CW-0278H.COM
CW-03BCH.COM
CW-0378H.COM
IN PLAIN LANGUAGE THIS MEANS THAT ANYONE CAN USE THEM FOR ANY PURPOSE THAT
THEY CAN DREAM UP. AND NEED NOT GIVE ANYONE ANY CREDIT FOR THE FILES OR ANY
PAYMENT OF ANY SORT :)
IF YOU HAVE ANY QUESTIONS, COMMENTS (OR MORE LIKELY CRITISISMS) PLEASE FEEL
FREE TO CONTACT ME AT ghensinger@envirolink.org
My name is Gwendolyn Hensinger and I hope you find these files to be of value
:) :) :)
p.s. I wrote the program code using BORLAND'S TURBO ASSEMBLER in IDEAL MODE.