A couple notes on building the source under Linux:


---------------- SVGALIB version -----------------------------------

I have tested the SVGA version of the program only under the conditions:

SVGALIB 1.2.6
Linux 1.2.10 and 1.3.58 ELF
GCC 2.6.3    and GCC 2.7.0 ELF
Sound driver version 2.90
ProAudio Studio sound card

You must have SVGALIB installed.  If you do not already have this package
on your system, it can be found at:
   sunsite.unc.edu:/pub/OS/Linux/libs/graphics/svgalib126.tar.gz
The enclosed executable uses the shared version of these libraries.
You should build the program as root, because the executable
must be able to set UID to root when initializing, so that the SVGA library
can access the ports.  If you build the source as a normal user, perform
the following as root:
 chown root freq
 chmod a+rs,go-w freq
Then any user should be able to run the program.  If you don't do this, 
you will probably see the error "svgalib: Cannot get I/O permissions."

To build the file, set up the make file using:
 ln -sf makefile.linux makefile
and build the binary using:
 make clean;make dep;make freq

----------------- SRGP version ---------------------------------------

You will need the srgp.tar.gz package, found at sunsite.unc.edu in the  
directory /pub/linux/libs/X.  This package handles the X Windows interface, 
and this program only send line/text drawing commands.  The enclosed binary
was dynamically linked with and ELF version of this library, with the name
libsrgp.so.1.0.  I built this library using the package described above, 
and making the following changes to Makefile:
change:
   GCCFLAGS = -fpcc-struct-return -O2
to:
   GCCFLAGS = -fpcc-struct-return -O2 -fPIC
add the target:
   libsrgp.so: $(OBJECTS)
        gcc -shared -Wl,-soname,libsrgp.so.1 -o libsrgp.so.1.0 $(OBJECTS)
and then running "make libsrgp.so".
After making the library, copy the libsrgp.so.1.0 file to /usr/lib (or
whatever you prefer) and run "ldconfig" as root.

To build the file, set up the make file using:
 ln -sf makefile.srgp_linux makefile
and build the binary using:
make clean;make dep;make xfreq

You may need to play with the directory locations defined in the makefile

---------------- Sun version ------------------------------------------

You will need the SRGP package, as described above.  

To build the file, set up the make file using:
 ln -sf makefile.sun makefile
and build the binary using:
 make clean;make dep;make xfreq

Again, you will proabably need to play with the directory locations defined 
in the makefile to match your setup.

--------------- DOS version ------------------------------------------

The DOS version works with Borland's BGI library.  Use makefile.dos to 
build the program, or use the freq.ide project file with Borland's IDE.

The following files are required ONLY for compiling under DOS:

binary.h
bvhmlib.lib
bvmlib.lib
egavga.obj
dma_code.asm
gr_dos.c
makefile.dos
pcmio.h
realffta.asm
sb.h
sb_dsp.asm
sc_pas.c
sc_sb.c
sc_sb16.c
sc_vesa.c
sbio.c
sbio.h
state.h
vbeai.h
vesa.c
vesa.h
