         Audiometer sample program source files
                      11/10/92 -med


The source files have been compressed into packed archive
form in orderto save space on the disk. You can unpack 
the source files with the UNPACK program that is provided.

Copy the files UNPACK.EXE and SAMPLES.PAK to your hard disk, 
or to a freshly formated floppy disk. Then run the unpack 
program to unpack the source code by entering the following 
at the DOS prompt:

   UNPACK SAMPLES.PAK



The following program source files are provided with the 
Audiometer RS232 disk to show example programming for the 
Fonix audiometer.

------------------------------------------------------
TESTAUD.PAS  - Source code for the TESTAUD program

------------------------------------------------------
APAC.PAS     - Source code for the APAC program
AUDUNIT.PAS  - Display control unit for APAC
AUDIO.PAS    - Keyboard/mouse control unit for APAC
AUDMISC.PAS  - Misc other routines used by APAC

------------------------------------------------------
AUDKEY.PAS   - Source code for the AUDKEY program 
AUDPARMS.PAS - Misc other routines used by AUDKEY
HETS.PAS     - Misc definitions used by AUDKEY

------------------------------------------------------
AUDGRAM.PAS  - Source code for the AUDGRAM program
AGSUB.PAS    - Misc routines used by AUDGRAM program

------------------------------------------------------
CALPRN.PAS   - Source code for the CALPRN program

------------------------------------------------------
TERM.PAS     - Source code for the TERM program 

Common routines used by the above programs
------------------------------------------------------
AUDFIPP.PAS  - Audiometer communications routines
AUDSUBS.PAS  - Audiometer control subroutines
VIDSUBS.PAS  - Computer screen control subroutines
TERMSUB.PAS  - ASCII terminal subroutines
TICKER.PAS   - Dos/Windows timer routines
MOUSE.PAS    - Mouse control routines
MOUSESTK.PAS - mouse stack
MOUSEISR.PAS - mouse isr
MOUSECUR.PAS - mouse cursor
MOUSESUB.PAS - mouse sub functions
DOSCRT.PAS   - Windows CRT emulator (for Windows use only)
AUD.RES      - Resourse file for Windows (Frye logo icon) 
FRYE.RES     - Resourse file for Windows (Frye logo icon) 

------------------------------------------------------
PASCAL.TXT   - documentation about the Pascal programs


------------------------------------------------------
Note that these programs require Borland's Turbo Pascal
to compile. You may use the Windows version, or the MSDOS
version. The compile directives in the files automatically
select the appropriate code for the target system. 

The Windows version of the programs are very simplistic 
in order to maintain the compatibility to MSDOS. 
The DOSCRT unit does most of the work to provide the 
emulation of the MSDOS enviornment. You can either 
continue to use the DOSCRT unit, or you can start with 
your own Windows enviornment. The audiometer communication
routines do not rely on DOSCRT to do their work. 
Do note though that they require a special compiler switch 
to work in Windows mode. This slows things down a bit, but 
it is generally not a limiting speed factor.

The programs listed require that the FRYERS driver be loaded 
to be able to communicate with the audiometer. The FRYERS 
driver must be loaded before the program is run. FRYERS.COM 
is a TSR program that will stay in the system until you 
turn the power off or reboot your computer. For Windows 
operation, FRYERS must be loaded before WIndows is started. 
Additionally, for Windows operation or any other protected 
mode enviornment, you must use Version 3.00 or later of the 
Fryers program which allows use in protected mode operation.


<eof>
