home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
1134.RTTYTEST.DOC
< prev
next >
Wrap
Text File
|
1990-02-15
|
4KB
|
89 lines
RTTY TEST LIBRARY
=================
Copyright 1990 by Power Mountain Systems
P.O. Box 161, Cora, Wyoming 82925
(307) 367-4766
Registration fee is $20.00
This library is for Quick C programmers, and allows you direct control
of the sound generator in your PC. With these utilities it is possible to
generate tones that are accurate and completely seamless. No lttle gaps in
between each frequency change.
Those who register will also receive other routines as well as those
included here, along with improvements made. Added routines will include CW
(Morse) utilities and other little goodies. If you like these routines then
registering would be to your advantage, not just an ethical responsibility.
This library is SHAREWARE and using it without paying for it is
stealing.
If you have any suggestions then we would love to here from you. If
we can help please call or write.
This library can be merged into your Large memory model library with the
LIB utility. The command looks like this:
LIB LLIBCE +RTTYTEST.LIB;
RTTYTEST.EXE is a program written to help in the building and calibration
of the PMX-200 Morse/RTTY Detector project featured in the APRIL/MAY 1990 issues
of Radio Electronics. This program demonstrates the feasability of this library
of routines. RTTYTEST.EXE will be revised often over the next couple of months
and become more refined then it is here. An updated version will be included to
those who register.
RTTYTEST.CFG is the delay factor (993) that works with my system here,
and when you choose option 'X' the program will recalculate the proper value for
your system. The higher the number the faster your machine is.
TESTRYRY.DAT is a text file that you can edit to suit your needs with
a normal programmer's editor, EDLIN, etc. It should contain the message you
want to use to test your system.
Here are a few of the features in this library:
rttyon(mark);
This routine starts the sound generator and leaves it running at the
desired frequency. 'mark' is the desired frequency in hertz.
rttyoff();
This little gem turns off the tone currently running.
movemark(freq);
This allows you to change frequency without reinitializing the sound
generator ic. The big reason that a glitch is generated in the audio when you
try to generate the sound with a normal high level language procedure is the
internal initialization in the chip itself. Using movemark(); we can change
the frequency without tampering with any other parameter. Smooth as silk and
blinding fast in assembler. 'freq' is the new desired frequency in hertz.
The frequency sweeping done in rttytest.exe was done with this
procedure and though it is sweeping 10 hertz at time the change sounds smooth
and allows you to use a scope to sweep the input filters to check their
frequency response. VERY handy.
sound(freq,duration,delay);
SOUND was developed because QuickC 2.0 lacks a speaker beeper, and I
wanted to have one. 'freq' is the frequency in hertz, duration is the length
in milliseconds (65535 max) and delay is an integer that is the loop timing for
the specific system you're on. On this 12 Mhz AT 993 is the delay integer that
calibrates 'duration' for 1 millisecond intervals. On an old Tandy 1000 the
number Is 263. You can use rttytest.exe to determine the correct delay number.
Just run it and option number 'X'. It'll give you the correct value.
rttysend(char,mark,bit,shift,delay);
RTTYSEND has a complete assembly coded ascii to baudot translator built
in to allow easy and perfect baudot transmission. All you do pass the pertinent
information to the routine and it does the rest. 'char' is an integer value
that corresponds to the letter value. 'mark' is the mark frequency in hertz.
'bit' is the bit length in milliseconds. 'shift' is the shift in frequency
required, and delay is described above, under sound();