home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
BURKS
/
SOFTWARE
/
LIBS
/
TESS110.ZIP
/
TESS.H
(
.txt
)
< prev
next >
Wrap
C/C++ Source or Header
|
1988-10-02
|
20KB
|
493 lines
/*
* TESS.H -- 'C' INCLUDE file for TesSeRact
*/
/********************************< TESS.H >**********************************
* *
* C Include File for TesSeRact *
* ---------------------------- *
* *
* TesSeRact(TM) -- A Library of Routines for Creating Ram-Resident (TSR) *
* programs for the IBM PC and compatible Personal *
* Computers. *
* *
* The software, documentation and source code are: *
* *
* Copyright (C) 1986, 1987, 1988 Tesseract Development Team *
* All Rights Reserved *
* *
*************************************************************************CR*/
/**
This product supports the TesSeRact(TM) Standard for Ram-Resident
Program Communication. For information about TesSeRact, contact the
TesSeRact Development Team at:
TesSeRact Development Team
c/o Chip Rabinowitz
2084 Woodlawn Avenue
Glenside, PA 19038
1-215-884-3373
Compuserve: 70731,20
MCIMAIL: 315-5415
This MCIMAIL Account has been provided to the TesSeRact Development
Team by Borland International, Inc. The TesSeRact Development Team is
in no way associated with Borland International, Inc. TesSeRact is a
trademark of the TesSeRact Development Team.
**/
/**
***************************************************************************
Copyright Notice
***************************************************************************
This document, other accompanying written and disk-based notes and
specifications, and all referenced and related program files, demonstration
code and object modules accompanying this document are copyrighted by the
TesSeRact Development Team. The copyright owner hereby licenses you to:
use the software; make as many copies of the software and documentation as
you wish; give exact copies of the original to anyone; and distribute the
software and documentation in its unmodified form via electronic means.
There is no charge for any of the above.
You are specifically prohibited from charging, or requesting donations, for
any such copies, however made. Exceptions may be granted to organizations
which charge a small fee for materials, handling, postage and general
overhead. NO ORGANIZATION IS AUTHORIZED TO CHARGE ANY AMOUNT FOR
DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION UNDER ANY OTHER CONDITIONS.
Organizations which charge a fee for distribution of any and all TesSeRact
materials, except as noted above or with the express, written consent of
the TesSeRact Development Team, will be considered in violation of this
copyright, and will be prosecuted to the full extent of the law.
In addition, you are specifically prohibited from making any modifications
to the TesSeRact Library Routines and/or documentation, unless you have a
license for the use of the source code. Under no circumstances is the
copyright notice embedded in the TesSeRact code to be modified or removed.
This is not free software. This license allows you to use this software
without charge for a period of 30 days. In order to include this software
as part of any product, either commercial, shareware, freeware, or public
domain, registration is required. TesSeRact may not be included in any
product for any use without registration. Any such use of the TesSeRact
product are in violation of federal copyright laws, and will be prosecuted.
No copy of the software may be distributed or given away without this
accompanying documentation; this notice must not be removed.
***************************************************************************
Warranty
***************************************************************************
There is no warranty of any kind associated with this software, and the
copyright owner is not liable for damages of any kind. By using this
software, you agree to this. Every effort has been made by the TesSeRact
Development Team to make this product bug-free. However, the nature of
software development is that it is impossible to guarantee bug-free
software.
In the event a verifiable bug is found, the TesSeRact Development Team will
make every attempt to repair the bug as soon as possible.
***************************************************************************
Acknowledgements
***************************************************************************
Grateful appreciation is expressed to CompuServe Information Service, the
IBM Software Forums and their Sysops, and Computer Language Magazine, for
providing us with the means to accomplish the development of TesSeRact.
Without their gracious assistance, TesSeRact could never have come into
existence.
And let's not forget Anne Marie, who suffered through the long evenings and
nights spent getting this product ready.
***************************************************************************
The TesSeRact Development Team:
***************************************************************************
Team Leader: Chip Rabinowitz
Developers: Lane Ferris
Kim Kokkonen
Jim Kyle
Neil J. Rubenking
Barry Simon
Rick Wilson
Contributors: Thomas Brandenborg
Chris Dunford
John Friend
Mark Horvatich
John Hensley
Advisors: Robert Bierman
David Intersimone
Rick Kraus
David Moskowitz
Gary Saxer
***************************************************************************
**/
/*#define MSC5 */ /* If using Microsoft C 5.0 */
/*#define TC */ /* If using Turbo C 1.5 */
/*
* Stores interrupt vector information for TesSeRact use
*/
struct TsrIntTable {
void far * OldVector; /* Old Interrupt Vector */
unsigned char IntNumber; /* Interrupt Number */
void near * NewVector; /* offset of new vector */
};
/*
* User structure for defining additional hotkeys
*/
struct ExtraHot {
unsigned char Hotkey; /* hotkey to check for */
unsigned char ShiftState; /* shift state for this hot key */
unsigned char FlagByte; /* flag value to use */
/* MAY NOT BE ZERO!!! */
};
/*
* TesSeRact internal data
*/
struct TsrData {
unsigned char RevLvl; /* Revision Level of TESS Lib */
unsigned char PopupType; /* Type of popup in effect */
unsigned char WasInt8; /* An Interrupt 08h occurred */
unsigned char WasInt13; /* An Interrupt 13h occurred */
unsigned char IntFlags; /* Which interrupts are active */
unsigned char SoftFlags; /* Which soft ints are active */
unsigned char DosVersion; /* current major revision of DOS */