home *** CD-ROM | disk | FTP | other *** search
/ World of Ham Radio 1997 / WOHR97_AmSoft_(1997-02-01).iso / cw / cw_20 / amsoft.iii next >
Text File  |  1997-02-01  |  4KB  |  90 lines

  1.  
  2. THE SOURCE CODE FILES ARE:
  3.                            CW-0278H.ASM
  4.                            CW-03BCH.ASM
  5.                            CW-0378H.ASM
  6.  
  7. THE EXECUTABLE FILES ARE: 
  8.                            CW-0278H.COM
  9.                            CW-03BCH.COM
  10.                            CW-0378H.COM
  11.  
  12.  
  13. These programs will decode morse code and print it to the screen. Hook up
  14. a morse key to pins 18 and 15 of the parallel printer port and just start
  15. sending code :)
  16. The programs are tsr's and can run in the background while other software
  17. runs in the foreground. These programs change the clock tick from 18.2/sec
  18. to 72.826/sec ....this was done to accomodate faster cw speed than the slower
  19. clock allowed. Some software will re-set the clock to 18.2/sec when run and
  20. so will be incompatible with these tsr's. I wrote this code to control
  21. software from a remote location with just one button...and it works very well
  22. for this purpose :) I put in all letters of the alphabet..the numbers 0 - 9
  23. and the characters "."  ","  "?" and also added a new code of ..--  that is
  24. "dit dit dah dah" which is a control code and outputs the character "#"
  25. also if you send 6 dahs the computer speaker will beep :) if an unknown
  26. morse sequence is decoded the program outputs a "*" to tell you it does not
  27. compute :)
  28. The PC's clock is not affected by the changed clock tick speed and will
  29. keep perfect time as I built in correction code to keep it on track. This 
  30. will of course not work if a piece of software resets the tick rate back to
  31. 18.2/sec ... in this case the clock will be S L O W :(
  32. This code was a part of a larger program I am writing and thus does not
  33. contain the code to prevent re-loading over itself..so only load it up once
  34. or you will create havok with the timing :)
  35. The 3 different com files are the same except they each work with a different
  36. parallel port address...I included all three so you could pick the one to
  37. use according to the address of your port...
  38. I think the programs are indeed quite tiny to accomplish morse decoding :)
  39. The actual assembly code that does the decoding is about 300 bytes long
  40. all the rest is the code for installing a tsr and is jettisoned after loading.
  41. The three values that you can change to alter the speed of morse copy are:
  42.  
  43. DITLIM  --------This is the demarcation line between a dit and a dah
  44. SPACEVAL -------This is the keyup length that if passed means "send a space"
  45. DECODELEN ------This is the keyup length that if passed means "decode a char"
  46.  
  47. One could write a high level program to slide these values around while
  48. copying code and thus keep the speed on track...I chose the values that
  49. are already in the program to match my poor cw sending abilities :)
  50. I guess it will copy at between about 7 - 15 words per minute with the
  51. values as they are now...I never checked to make sure :)  I did build a
  52. small circuit using a 567 tone decoder and used it with this program to 
  53. decode cw off the radio..it was very interesting seeing what all the dit-dahs
  54. were saying :)  I did a small program to watch for "keywords" and beep if
  55. they came across the radio...it was a lot of fun to watch for names of
  56. cities and states... :)
  57.  
  58.  
  59. I am almost finished with the program I wrote this code for..it is called
  60. PSICLONE.EXE and will be uploaded to the net soon..It is a program for a
  61. light/sound machine for experimenting with altered states of consciousness.
  62. It will have a small circuit that you have to build that plugs into the
  63. printer port.
  64. If this interests you keep an eye out for the program or send me e-mail
  65. and I'll let you know when it is ready....
  66. it is going to be free software...not shareware :)
  67.  
  68.  
  69. THE PROGRAMS IN THE FILE CWDECODE.ZIP ARE RELEASED TO THE PUBLIC DOMAIN
  70. THAT INCLUDES ALL THE FOLLOWING FILES
  71.  
  72. CW-0278H.ASM
  73. CW-03BCH.ASM
  74. CW-0378H.ASM
  75. CW-0278H.COM
  76. CW-03BCH.COM
  77. CW-0378H.COM
  78.  
  79. IN PLAIN LANGUAGE THIS MEANS THAT ANYONE CAN USE THEM FOR ANY PURPOSE THAT
  80. THEY CAN DREAM UP. AND NEED NOT GIVE ANYONE ANY CREDIT FOR THE FILES OR ANY
  81. PAYMENT OF ANY SORT :)
  82.  
  83. IF YOU HAVE ANY QUESTIONS, COMMENTS (OR MORE LIKELY CRITISISMS) PLEASE FEEL
  84. FREE TO CONTACT ME AT  ghensinger@envirolink.org
  85.  
  86. My name is Gwendolyn Hensinger and I hope you find these files to be of value
  87. :) :) :)
  88.  
  89.  
  90. p.s.  I wrote the program code using BORLAND'S TURBO ASSEMBLER in IDEAL MODE.