home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 1
-
-
-
-
- TesSeRact(TM)
-
-
- A Library of Routines for Developing Ram-Resident Programs
-
- and
-
- A Proposed Standard for Ram-Resident Program Communication
-
-
- Source Code Documentation Version 1.10
- October 2, 1988
-
-
- Copyright (c) 1988, TesSeRact Development Team
- All Rights Reserved
-
-
- _______
- ____|__ | (TM)
- --| | |-------------------
- | ____|__ | Association of
- | | |_| Shareware
- |__| o | Professionals
- -----| | |---------------------
- |___|___| MEMBER
-
-
-
-
- Table of Contents
-
-
- Acknowledgements................................................2
- The TesSeRact Development Team.............................2
- Chapter 1. Legal Stuff.........................................3
- Copyright Notice and Software License......................3
- Warranty...................................................3
- Registered User License....................................4
- Source Code License........................................4
- Required and Suggested Notices.............................4
- Chapter 2. Shareware Terms.....................................7
- Technical Support..........................................8
- Association of Shareware Professionals.....................8
- Standards.............................................9
- Order Form................................................10
- Chapter 3. History of TesSeRact...............................11
- Chapter 4. Source Code Files..................................12
- Supported Compilers.......................................12
- Description of Macros.....................................13
- Chapter 5. Modifying the Source...............................15
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- Page 2 TesSeRact(TM) Source Documentation (v. 1.10)
-
-
- Acknowledgements
-
- Grateful appreciation is expressed to CompuServe Information Service,
- CompuServe's 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.
-
- It is also necessary to thank the beta testers and documentation reviewers
- (too numerous to mention here) who spent many hours helping produce
- TesSeRact.
-
- And let's not forget Anne Marie, who suffered through the long evenings and
- nights spent getting this product ready.
-
- The TesSeRact Development Team:
-
- Chip Rabinowitz
- Jim Kyle
-
- TesSeRact is based in part on work done by the Ringmaster Development Team,
- in efforts to develop a public domain TSR standard.
-
- The Original Ringmaster 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
- Mark Horvatich
- John Hensley
- David Moskowitz
- Advisors: Robert Bierman
- David Intersimone
- Rick Kraus
- Gary Saxer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 3
-
-
- Chapter 1. Legal Stuff
-
- Before beginning this description of TesSeRact, there are a number of legal
- considerations to dispense with.
-
-
- Copyright Notice and Software License
-
- 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 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 is 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. A registered
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- Page 4 TesSeRact(TM) Source Documentation (v. 1.10)
-
-
- user who reports a valid bug in a release version of TesSeRact will receive
- the same rights and privileges that beta testers will receive (described in
- a future chapter).
-
-
- Registered User License
-
- Upon receipt of the appropriate registration fee, The TesSeRact Development
- Team will license the user to use the TesSeRact Library in any and all
- products that the registered user wishes. The registered user may also
- distribute unregistered copies of the TesSeRact product, provided said
- copies include all materials, documentation and copyright notices provided
- with the original copy of TesSeRact. In addition, the embedded copyright
- notice within the code may not be removed from any copy of either the
- TesSeRact Library, or from an executable program that uses the TesSeRact
- Library. Finally, the notices described later in this document must be
- reproduced in both the source code to the registered user's product, and in
- the documentation for that product.
-
- Users of TesSeRact are requested to formally register each Ram-Resident
- product with the TesSeRact Development Team. This registration is free and
- allows the Development Team to maintain a list of 'available' TSR
- Identification Strings. Although this registration is not required by the
- terms of the software license, it is strongly recommended to avoid
- conflicts of TSR names.
-
-
- Source Code License
-
- In addition to the provisions described previously, upon receipt of the
- appropriate fee, the TesSeRact Development Team licenses the user to use,
- but NOT DISTRIBUTE, the source code to the TesSeRact Library. Registered
- users may, at their option, modify the TesSeRact Library routines, with the
- following exceptions:
-
- 1. The Interrupt 2fh Multiplex Functions must not be modified in any
- way that is detectable by an outside program. The modified code
- must look and execute as if it was the original.
- 2. The embedded copyright notice, and the associated checksum code,
- may not be removed.
-
- Object modules and executable programs containing the modified TesSeRact
- Library routines may be distributed without additional restrictions (other
- than described previously); the source code may not be distributed in any
- form, either in its original or modified form, without the express, written
- permission of the TesSeRact Development Team.
-
-
- Required and Suggested Notices;
-
- Under the terms of this license, any product, either commercial, shareware,
- freeware, or public domain, must include the following notice in both the
- program code and the documentation (Note than an embedded copyright notice
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 5
-
-
- already appears in the TesSeRact code itself; this notice should be placed
- in a commented section of the code):
-
- ----------------------------------------
- This product uses the TesSeRact(TM) Ram-Resident Library and supports
- the TesSeRact Standard for Ram-Resident Program Communication. For
- information about TesSeRact, contact the TesSeRact Development Team
- at:
-
- TesSeRact Development Team
- 1657 The Fairways
- Suite 101
- Jenkintown, PA 19046
-
- Phone: 215-884-3373
- CompuServe: 70731,20
- MCIMAIL: 315-5415
- FAX: 215-886-4225
-
- 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.
-
- ----------------------------------------
-
- Products that are written to support the TesSeRact Standard which do not
- use the TesSeRact Library routines are encouraged to include the following
- notice in their documentation:
-
- ----------------------------------------
- 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
- 1657 The Fairways
- Suite 101
- Jenkintown, PA 19046
-
- Phone: 215-884-3373
- CompuServe: 70731,20
- MCIMAIL: 315-5415
- FAX: 215-886-4225
-
- 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 (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- Page 6 TesSeRact(TM) Source Documentation (v. 1.10)
-
-
- Developers who have special circumstances which would appear to violate a
- portion or portions of the TesSeRact License Agreement are urged to contact
- the TesSeRact Development Team to work out details of a special license.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 7
-
-
- Chapter 2. Shareware Terms
-
- TesSeRact is a user-supported program, also known as 'shareware.' You are
- permitted under the terms of this license to use this software for 30 days
- without any payments. If you continue to use this software past this
- point, you must register your copy as outlined below.
-
- Registration for the TesSeRact Library, in any form, is a one-time fee of
- $25. Payment of this fee entitles you to:
-
- 1. A disk with the latest version of the TesSeRact Library.
- 2. Printed Documentation
- 3. The right to use the TesSeRact Library with any Ram-Resident
- program you sell or distribute, provided the appropriate
- copyright notices appear in your code and documentation.
- 4. Upgrades to future versions of TesSeRact for $10.
-
- The complete, commented source code to TesSeRact is also available to
- registered users only for a fee of $25.
-
- For an additional $10 per year, registered users can receive a monthly
- newsletter consisting of a list of all registered products, their
- associated TSR Identification Strings, and level of support of the
- TesSeRact Ram-Resident Program Communication Standard. This newsletter
- will also contain information about new versions of TesSeRact, supported
- languages, new documentation, etc.
-
- Users who wish to 'test-drive' TesSeRact may do so for a period of 30 days
- without charge. The TesSeRact Library and Documentation are available on
- many electronic bulletin boards, commercial electronic networks, and mail
- order 'distribution' houses. If you do not have access to any of these
- methods, the TesSeRact Development Team will send you a copy of the Library
- and disk-based documentation for $10. The disk-based documentation differs
- from the printed documentation only in formatting -- the content is
- identical.
-
- Developers who have special circumstances which would appear to violate a
- portion or portions of the TesSeRact License Agreement are urged to contact
- the TesSeRact Development Team to work out details of a special license.
-
- Registered users of TesSeRact are requested to formally register each Ram-
- Resident product with the TesSeRact Development Team. This registration is
- free and allows us to maintain a list of 'available' TSR Identification
- Strings. Although this registration is not required by the terms of the
- software license, it is strongly recommended to avoid conflicts of TSR
- names. Registered products will be printed in the monthly newsletter.
-
- Persons interested in testing future versions of TesSeRact should contact
- the TesSeRact Development Team for information. Registered testers who
- report verifiable bugs or who make enhancement suggestions that are
- implemented in TesSeRact receive an automatic registration to either the
- current or next version of TesSeRact; or a freesource code license.
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- Page 8 TesSeRact(TM) Source Documentation (v. 1.10)
-
-
- Developers are also encouraged to include Chapter 10 of this document,
- entitled 'Communicating with the TesSeRact,' with any or all of their
- program documentation. Chapter 11, 'Writing TesSeRact-Compatible
- Programs,' is also suitable for reproduction. These chapters, with the
- appropriate copyright notices intact may be reproduced without fee for the
- purpose of promoting the TesSeRact Standard.
-
-
- Technical Support
-
- Technical Support for TesSeRact is provided free of charge in Subtopic 13
- of the Computer Language Magazine Forum (GO CLMFOR) on CompuServe
- Information Service. This is the ONLY official electronic location for
- TesSeRact technical support, although asking a question almost anywhere on
- CompuServe will get an answer. Technical Support will NOT be provided via
- MCIMAIL or CompuServe Easyplex Mail.
-
- Members of the TesSeRact Development Team may, at their option, be
- available for lectures and seminars on the product. Please do not contact
- them directly -- forward such requests to the official address of the
- development team listed above, or via electronic means.
-
- Prepared programs currently exist for a one-to-two hour TesSeRact
- 'introduction' seminar, as well as for a full-day Workshop for developing
- applications with TesSeRact. These programs were designed by the TesSeRact
- Team Leader; Users Groups, Colleges, or Corporations interested in such
- programs should contact the Development Team.
-
-
- Association of Shareware Professionals
-
- The Team Leader of the TesSeRact Development Team is a member of the
- Association of Shareware Professionals (ASP), an organization formed in
- April 1987 to strengthen the future of shareware (user supported software)
- as an alternative to commercial software. Its members, all of whom are
- programmers who subscribe to a code of ethics, are committed to the concept
- of shareware as a method of marketing.
-
- The primary goals of the ASP are:
-
- To inform users about shareware programs and about shareware as a
- method of distributing and marketing software;
- To encourage broader distribution of shareware through user groups and
- disk dealers who agree to identify and explain the nature of
- shareware;
- To assist members in marketing their software;
- To provide a forum through which ASP members may communicate, share
- ideas, and learn from each other; and
- To foster a high degree of professionalism among shareware authors by
- setting programming, marketing and support standards for ASP
- members to follow.
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 9
-
-
- Standards for the Association of Shareware Professionals
-
- PROGRAMMING STANDARDS:
-
- The program meets the ASP's definition of "shareware" (i.e., it is not
- a commercial demo with major feature disabled, nor a time-limited
- program).
- The program has been thoroughly tested by the author and should not be
- harmful to other files or hardware if used properly.
-
- DOCUMENTATION STANDARDS:
-
- Sufficient documentation is provided to allow the average user to try
- all the major functions of the program.
- Any discussion of the shareware concept and of registration
- requirements is done in a professional and positive manner.
-
- SUPPORT STANDARDS:
-
- The member will respond to people who send registration payments, as
- promised in the program's documentation. At a minimum, the
- member will acknowledge receipt of all payments.
- The member will establish a procedure for users to report, and have
- acknowledged, matters such as bug reports, and will describe such
- means in the documentation accompanying all versions of the
- programs. The author will respond to written bug reports from
- registered users when the user provides a self-addressed, stamped
- envelope.
- Known incompatibilities with other software or hardware and major or
- unusual program limitations are noted in the documentation that
- comes with the shareware (evaluation) program.
-
- GENERAL:
-
- Members [will keep the ASP apprised of changes in mailing address;
- which shareware programs they have published and are currently
- supporting; the current version numbers; and of any changes in
- the status of their programs.
- If a user has a dispute with an ASP member-author, the user may appeal
- to the ASP to mediate for arbitration of the dispute.
-
- For more information about the Association of Shareware Professionals,
- contact Jim Button, chairman of the board of directors, at Compuserve
- 71435,2012.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- Page 10 TesSeRact(TM) Source Documentation (v. 1.10)
-
-
- TesSeRact(TM) Products Order And Registration Form
-
-
- Registration Number: ____________________________
-
- Name: ______________________________________
-
- Address: ______________________________________
-
- ______________________________________
-
- City: ______________________________________
-
- State: __________________________ Zip: ______
-
- Telephone: ______________________________________
-
- Item Quantity Total
- --------------------------------------------------------------
- Registered User Upgrade ($10)_______________________|_________
- (to Version 1.10)
- Upgrade for Registrations after 9/15/88_____________|____0.00_
- TesSeRact Registration ($25 each)___________________|_________
- TesSeRact Source Code License ($25 each)____________|_________
- TesSeRact Trial Disk ($10)__________________________|_________
- Monthly Information NewsLetter______________________|_________
- ($10 per year)
- Product Identification String (Free!!)______________|____0.00_
- Your ID String: ______________ Product Name: ______________
-
- Shipping Charges: Upgrade Order Normal Registration
- U.S. : $ 0.00 U.S. : $ 0.00
- Canada: $ 5.00 Canada: $10.00
- Europe: $10.00 Europe: $15.00
- Overnight: $15.00 + Normal Shipping Charge (from above)
- Total Shipping Charges______________________________|_________
- --------------------------------------------------------------
- Total Due: |_________
-
- Preferred Disk Size: 3.5" ____ 5.25" ____
-
- Where did you hear about TesSeRact? __________________________
- Primary Language/Compiler: ___________________________________
-
- Mail Completed Form to:
- TesSeRact Development Team
- 1657 The Fairways
- Suite 101
- Jenkintown, PA 19046
-
-
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 11
-
-
- Chapter 3. History of TesSeRact and the TesSeRact Development Team
-
- The TesSeRact Development Team was organized in early 1986 as the
- Ringmaster Development Team for the sole purpose of establishing a standard
- to be shared by TSR program developers, in hopes of reducing the notorious
- levels of conflict between such programs. Participants (all listed earlier
- in this document) represented the majority of leading independent TSR
- developers. From the start, the team conducted its discussions using the
- CompuServe Information System; it originally met in a restricted area of
- IBMNET and subsequently moved to the CLMFORUM for public beta tests of the
- libraries.
-
- The team's original goals were lofty; too much so, perhaps, to be
- achievable within a reasonable time span. The team envisioned a total
- Applications Program Interface (API) for use by both independent and
- commercial TSR programs. Although discussions with a leading software
- publisher were held, a consensus developed that no such universal API could
- gain acceptance. After that conclusion was reached, active participation
- dwindled with the passage of time, and at one point it appeared to nearly
- everyone as if the project had died. Establishment of a public discussion
- area for TSR techniques on the old MSOFT forum breathed new life into the
- effort and brought fresh contributions from Thomas Brandenborg and John
- Hensley. As a result of that discussion, the activity revived with a more
- limited goal of providing a simplified method for creation of TSR programs
- using high level languages and a standard interface for communicating with
- such programs.
-
- The present package is the outcome of that revived research. Although most
- of the original team members did not participate in the development of the
- current product, their efforts were vital to the TesSeRact library routines
- and Standard. Development continues, and the original goal of a universal
- API remains faintly visible on the horizon as a rainbow to be chased. In
- the meantime, TesSeRact as it exists today provides a usable, and we hope,
- useful tool to the TSR development community.
-
- Future plans for TesSeRact include support for Expanded and Extended
- Memory, and of course, new and improved future versions of DOS. If support
- for the TesSeRact interface is strong enough, we plan to develop a version
- that will run in protected mode as a keyboard monitor under OS/2.
-
- In addition, if there is enough support, the TesSeRact Development Team
- would like to become the 'clearinghouse' for TSR program development,
- studying options and continuing to delve into undocumented features of
- operating systems for the PC.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- Page 12 TesSeRact(TM) Source Documentation (v. 1.10)
-
-
- Chapter 4. Source Code Files
-
- To assemble the TesSeRact source code, an assembler compatible with MASM
- 5.0 is required, and the MIXED.INC file provided with MASM 5.0 is also
- needed. The MIXED.INC provided with MASM 5.1 is different, and some of the
- macros may require editing before use. Descriptions of the macros used by
- the TesSeRact source code are included in this chapter.
-
- In addition, MASM 5.0's MIXED.INC file needs to be modified if you intend
- to use it with MASM 5.0 in assembling TesSeRact. Change all occurrances of
- '@Datasize' to '@DataSize' and it will then assemble correctly. MASM 5.1
- may be used with the MASM 5.0 MIXED.INC file, or by changing the '.model'
- directive in each file to use the correct version of the new 'setModel'
- macro described in this chapter.
-
- The TesSeRact source code is fully compatible with Microsoft MASM 5.0 and
- 5.1 (except as noted above); with SLR System's OPTASM, and with Borland
- International's TASM. When using MASM or TASM to assemble TesSeRact,
- please make sure the command line includes the '/DMASM' definition. TASM
- will give a warning about using a reserved word, but this may be ignored.
-
- Regardless of what assembler you use, the resulting OBJ and LIB modules are
- known to be compatible with the following high-level language compilers:
-
- Turbo C Versions 1.5 and 2.0
- Microsoft C Versions 5.0 and 5.1
- Microsoft Quick-C Versions 1.x
- Turbo Pascal Versions 4.0 and 5.0
- Turbo Prolog Version 2.0
- Microsoft QuickBasic Versions 3.0 and 4.0
-
- The actual source code for TesSeRact is included in the following files:
-
- TESS.INC Include file; internal macros and equates
-
- TSINT2F.ASM Global variables and Multiplex Handler
- TSINT13.ASM Interrupt 13h handler
- TSINT16.ASM Interrupt 16h handler
- TSINT1C.ASM Interrupt 1Ch handler
- TSINT21.ASM Interrupt 21h handler
- TSINT24.ASM Interrupt 24h handler
- TSINT28.ASM Interrupt 28h handler
- TSINT8.ASM Interrupt 08h handler
- TSINT9.ASM Interrupt 09h handler
-
- TSPOPUP.ASM Popup/background routines
- TSUTIL.ASM Utility routines
- TSHOT.ASM Keyboard Checking routines
-
- TSCHKRES.ASM int 2f, fn 00h - user routine
- TSGETPAR.ASM int 2f, fn 01h - user routine
- TSCHKHOT.ASM int 2f, fn 02h - user routine
- TSUSER24.ASM int 2f, fn 03h - user routine
- TSGETDAT.ASM int 2f, fn 04h - user routine
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 13
-
-
- TSSETHOT.ASM int 2f, fn 05h - user routine
-
- TSENATSR.ASM int 2f, fn 10h - user routine
- TSDISTSR.ASM int 2f, fn 11h - user routine
- TSRELTSR.ASM int 2f, fn 12h - user routine
- TSRESTSR.ASM int 2f, fn 13h - user routine
- TSGETSTA.ASM int 2f, fn 14h - user routine
- TSSETSTA.ASM int 2f, fn 15h - user routine
- TSGETPOP.ASM int 2f, fn 16h - user routine
-
- TSCALTSR.ASM int 2f, fn 20h - user routine
- TSSTUKBD.ASM int 2f, fn 21h - user routine
- TSTRIGPO.ASM int 2f, fn 22h - user routine
- TSTRIGBG.ASM int 2f, fn 23h - user routine
-
- TSDOBEEP.ASM Beep routine
-
- TSINIT.ASM Init routines
- TSSTACK.ASM Stack setting routines
-
- DUMMY1.ASM Stub module for TsrMain
- DUMMY2.ASM Stub module for TsrBackCheck
- DUMMY3.ASM Stub module for TsrBackProc
- DUMMY4.ASM Stub module for TsrTimerProc
- DUMMY5.ASM Stub module for TsrUserProc
- DUMMY6.ASM Stub module for TsrCleanUp
-
- To create the 'generic', or C Language version of TesSeRact, these are the
- only files required. Some other source files are also included, to
- assemble other versions of the code:
-
- TESS_ASM.ASM Module for Assembler version
- TESS_BP.ASM Module for Assembler version
- TESS_END.ASM Module for Assembler version
-
- TESS_TP.ASM Module for Turbo Pascal 4 version
- TESSTP.PAS Module to create TESSTP Unit for TP4
- TESSTP5.PAS Module to create TESSTP Unit for TP5
- TESS.TP4 Include module for TP4 & TP5 versions
-
-
- Two different 'makefiles' are also provided. MAKE1 is for *nix-compatible
- make programs (like Borland MAKE), that supports macros. MAKE2 is for
- Microsoft MAKE. MAKE1.LB and MAKE2.LB are LIB response files for Borland's
- TLIB and Microsoft's LIB programs, respectively. You should
- combine/add/subtract from each makefile according to the tools you
- have/use.
-
-
- Description of Macros
-
- High-Level-Language Interface Macros - Version 1.0
- for Microsoft Macro Assembler 5.0
- (C) Copyright Microsoft Corporation, 1987.
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- Page 14 TesSeRact(TM) Source Documentation (v. 1.10)
-
-
-
- Syntax Purpose
- ------ -------
-
- setModel Sets model from text equate
-
- hProc <name [NEAR|FAR]> [,<USES reglist>]
- [,arg[:type] [,arg[:type]]]...
- Starts a procedure with optional stack arguments
-
- hLocal var[:type] [,var[:type]]...
- Defines local stack variables
-
- hRet Returns from the current procedure
-
- hEndp Ends the current procedure
-
- ifFP statement Assembles statement if far data
-
- FPoperand Conditionally provides ES override for data
-
- pLes register,address Conditionally loads data through ES
-
- pLds register,address Conditionally loads data through DS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved
-
-
- TesSeRact(TM) Source Documentation (v. 1.10) Page 15
-
-
- Chapter 5. Modifying the Source
-
- The source code license permits you to modify any/all of the TesSeRact
- routines with the following restrictions: The embedded copyright notice
- and associated checksum verification may not be removed; and the Interrupt
- 2Fh Multiplex handler must not be modified in any way detectible from an
- outside program, as it relates to the standard Multiplex functions.
-
- The primary purpose for modifying the TesSeRact source would be to add some
- special handling of the keyboard or timer interrupts, not permissable by
- the standard TesSeRact routines. There is no problem with this whatsoever.
- There is also no problem with modifying the size of the keyboard buffer, or
- even removing it (if you do remove it, be sure to mark the FuncFlags
- parameter that that Multiplex function is not available).
-
- Feel free to add additional functionality to the Interrupt 2Fh interface --
- if you do, however, please use a different value for the AX register than
- the TesSeRact id number (5354h).
-
- This documentation is intentionally brief; most questions can be answered
- by looking at the source code and reading the standard documentation. If
- you have any questions, please contact the TesSeRact Development Team at:
-
- TesSeRact Development Team
- 1657 The Fairways
- Suite 101
- Jenkintown, PA 19046
-
- Phone: 215-884-3373
- CompuServe: 70731,20
- MCIMAIL: 315-5415
- FAX: 215-886-4225
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright (c) 1988, TesSeRact Development Team, All Rights Reserved