The MicroFirm Function Library for Zortech C/C++ Version 1.04
-------------------------------------------------------------

The file MFLZT.DOC should be printed out.  This will give directions for
printing further documentation on each function, and installation of the
library. Note that several sections, most notably those discussion the
included utilities and demos, have not been properly updated for this
release. Corrected verions will be included with copies sent to registered
users as well as in future releases.

If you have received the full source registration, please also printout
the file RELINK.DOC.

The version 1.04 libraries were built using Zortech's Zorlib librarian
which produces smaller files and works faster as well.

The version 1.04 libraries were compiled with ZTC 1.07 and should be
compatible will all 1.xx releases of ZTC/C++. It has also been tested with
the 2.0 compiler and compiles properly. Compatibility of the 1.04 libary
with the 2.0 compiler is not assured without recompiling.  A new release
is planned which will be compiled with ZTC++ 2.0 and will include C++
class versions of a number of library functions.

MicroFirm also publishes a compatible Microsoft C/Quick C version of
this library. ZTC-specific functions are missing but in their place are
a set of high-speed direct video routines. See the registration form at
the end of MFLZT.DOC for more information on obtaining both libraries.

A compatible version of this library for Turbo C is available from:

        Steven E. Margison
        124 Sixth Street
        Downers Grove, IL 60515

Compatible shareware versions of this library are available from BBS's and
software libraries as:

        MFLZTnnn.xxx    This library
        MFLMSnnn.xxx    The MicroFirm Function Library for Microsoft C's
        SMZTnnn.xxx     Older version of this library
        SMTCnnn.xxx     Older version of this library for TC

...where nnn=revision and xxx=archiver (e.g. ZIP, LZH, ARC, etc.)


For SMZT/SMTC users only - SMZT/TC functions missing from MFLZT 1.04:
---------------------------------------------------------------------

COMEXIT.C       Obsoleted by atexit()
IOBNBF.C        Obsoleted by setbuf() and setvbuf()
EXEUNT.ASM      Obsoleted by atexit()
ISLEAP.C        Obsoleted by identical routine in JULDATE.C
LEXCMP.C        Obsoleted by strcmpl()
ONEXIT.C        Obsoleted by atexit()
STRCHG.C        Obsoleted by routines in STRXLAT.C
STRCHG2.C       Obsoleted by routines in STRXLAT.C

For SMZT/SMTC users only - New functions in MFLZT 1.04:
-------------------------------------------------------

STREAMIO.C      sfopen()        Open a stream, allowing installable stream
                                filters.
                scopen()        Open a channel stream, allowing installable 
                                stream filters.

                NOTE:  Sfopen() is used with normal DOS streams such as files,
                       stdin, stdout, etc. Scopen() is used to treat an
                       external channel device such as interrupt-driven serial
                       I/O as a stream.

                sclose()        Close a stream or channel stream.
                sfinstall()     Install a simple stream filter.
                sfread()        Read a block of data from a stream.
                sfgets()        Get a string from a stream.
                sfgetc()        Get a character from a stream.
                sfwrite()       Write a block of data to a stream.
                sfputs()        Send a string to a stream.
                sfputc()        Send a character to a stream.

FILTERS1.C      ucase_filt      Simple stream filter for forcing streams to
                                upper case.
                lcase_filt      Simple stream filter for forcing streams to
                                lower case.

FCRYPT.C        crypt_install() Installs an encryption/decryption stream
                                filter with selectable security.

RLENCODE.C      ncode_install() Installs an RLE compression stream filter.
                dcode_install() Installs an RLE expansion stream filter.

FCOPY.C         fcopy()         Copy a file to a new file name or to a
                                directory with overwrite control.

VOLABEL.C       flretvol()      Retrieves the volume label for a given drive.
                flremvol()      Removes the volume label for a given drive.
                flsetvol()      Sets the volume label for a given drive.

DELFILES.C      del_files()     Delete files using FCB's - allows *fast*
                                wildcard deletions.

WILDNAME.C      wildname()      Stand-alone smart filename wildcard matching
                                function.
                dirmask()       Validates directory names and attributes with
                                both inclusion (must match) and exclusion
                                (can't match) masks.

PRTSC.C         PrtSc()         Like the key of the same name - prints the
                                text screen on LPT1.

VINIT.C         v_init()        Retrieves information about the video system.

ANSISYS.C       ansisys()       Detects the presence of ANSI.SYS or compatible
                                device driver.

REBOOT.ASM      reboot()        Allows warm or cold reboot.

EXIT2DOS.C      shell2dos()     Temporary shell to DOS.

MK_FP.C         MK_FP()         A more efficient implementation of the macro.

DIVMOD.ASM      divmod()        Divide with modulus (int)
                divmodu()       Divide with modulus (unsigned)
                divmodl()       Divide with modulus (long)
                divmodlu()      Divide with modulus (unsigned long)

CRC_32.C        crc32_clear()   Initialize the 32-bit crc calculation
                crc32_update()  Update the 32-bit crc with a new character
                crc32_finish()  Complete the 32-bit crc calculation

SETMODE.C       setmode()       TC/MSC/QC compatible function to change the
                                mode (binary/text) of a given file using the
                                file handle.
                setfmode()      Function to change the mode (binary/text) of
                                a given file using the file decriptor.

STRFTIME.C      strftime()      ANSI-compliant time formatting function -
                                supports ANSI locale.

LOCALE.C        setlocale()     Sets the current locale - supports different
                                locale categories.
                localeconv()    Get the currently active locale specification.
                tzset()         TC/MSC/QC compatible timezone setting 
                                function.

LOCALE.H        struct lconv    A full-featured ANSI-compliant locale
                                implementation.

MFLFILES.H      FOPEN_MAX       ANSI definition (equal to _NFILE)
                FILENAME_MAX    ANSI definition (equal to my MAX_FLEN)
