home *** CD-ROM | disk | FTP | other *** search
- CrtPlus Unit Revision 1.0
- Shareware Release
- April 1991
-
- Turbo Pascal is a registered trademark of Borland International, Inc.
-
- (c) Copyright 1991 Modern Solutions. All rights reserved.
-
- Modern Solutions P.O. Box 55721, Hayward, California 94545
-
- INTRODUCTION
- ************
-
- SHAREWARE
- *********
-
- CrtPlus has been released under shareware concepts. This enables users
- of Turbo Pascal to use CrtPlus within their software without any initial
- cost incurred.
-
- Shareware software is not considered free. You are, however, encouraged
- to use this software as often as you like. Once you are satisfied with the
- product and its capabilities, it is recommended that the program is registered.
- Registration entitles users to an official registered copy of the CrtPlus
- unit and the accompanying documentation. Registered users also will be kept
- up to date on latest releases and updates and are entitled to using Modern
- Solution's software support line.
-
- Once registered, the registered user is entitled to use CrtPlus as often
- as he or she likes within their programs, whether commerical or not, as long as
- it is not distributed as a 'stand alone' product.
-
- To register the CrtPlus unit, send a check or money order for $25.00 +
- $2.50 ( Shipping & Handling ) with the registration form. ( No C.O.D. please. )
-
- The registration form is included with the CrtPlus unit files.
- To print the registration form, run the REGISTER batch file from the DOS
- prompt. ( For more information on running batch files, see your DOS manual. )
-
- DISCLAIMER
- **********
-
- Modern Solutions makes no warranties, neither expressed nor implied
- pertaining to this software. If you choose to use this software, you do
- so at your own risk, and Modern Solutions is not obligated for any personal
- loss incurred by the usage of this software.
-
- Permission is hereby granted to distribute this software under shareware
- concepts as long as this documentation accompanies it. This software may not
- be distributed for profit other than the single-disk asking price of a
- shareware distributor used to cover duplication and distribution costs, not to
- exceed $10 under any circumstances. Modern Solutions reserves all rights to
- the software and accompanying documentation.
-
- CRTPLUS
- *******
-
- CrtPlus is a collection of routines for Turbo Pascal alphanumeric
- programmers that cannot be accomplished with the CRT unit or calls to
- IBM BIOS or MS-DOS interrupts nor are they found in typical alphanumeric
- toolboxes. Routines are written primarily in PC Assembly Language for
- maximum performance.
-
- THE CRTPLUS UNIT
- *****************
-
- function CGApresent:boolean;
-
- Returns the TRUE if a CGA compatible video adapter is available.
-
- function MDApresent:boolean;
-
- Returns the TRUE if a MDA compatible video adapter is available.
-
- function EGApresent:boolean;
-
- Returns the TRUE if an EGA compatible video adapter is available.
-
- procedure Crt80x43;
-
- Creates a DOS compatible 80x43 alphanumeric video mode. The system
- must have an EGA compatible video adapter.
-
- procedure Crt80x50;
-
- Creates a DOS compatible 80x50 alphanumeric video mode. The system
- must have a VGA compatible video adapter.
-
- procedure BlinkingOff;
-
- Disables all blinking within alphanumeric modes. Unlike interrupt
- calls, this routine will disable CGA and MDA blinking as well to
- produce a total of 16 foreground and 16 background colors in all
- video systems.
-
- procedure BlinkingOn;
-
- Enables blinking within alphanumeric modes. Unlike interrupt
- calls, this routine will enable CGA and MDA blinking to restore
- all video systems to their normal foreground and background colors.
-
- procedure BlockFill(x1,y1,x2,y2,fc,bc,ascii:integer);
-
- Fills a square in the video buffer from x1,y1 to x2,y2 with the
- colors fc and bc with the common character specified by the variable
- ascii. BlockFill is useful for high speed windowing and other
- alphanumeric screen techniques.
-
- BlockFill requires the global typed constant VIDEOSEGMENT to be
- set to the beginning of the alphanumeric video buffer. By default,
- VIDEOSEGMENT is set to $B800 which is the appropriate value for all
- video adapters except MDA compatible adapters. MDA compatible
- adapters use the value $B000.
-
- To change this value simply type :
-
- videosegment:=$b000;
-
- procedure BlockColor(x1,y1,x2,y2,fc,bc:inte`ger);
-
- Changes the color of a square in the video buffer from x1,y1 to
- x2,y2 to the colors specified by fc and bc. BlockColor is useful
- for highlighting items of the alphanumeric screen.
-
- BlockColor requires the global typed constant VIDEOSEGMENT to be
- set to the beginning of the alphanumeric video buffer. By default,
- VIDEOSEGMENT is set to $B800 which is the appropriate value for all
- video adapters except MDA compatible adapters. MDA compatible
- adapters use the value $B000.
-
- To change this value simply type :
-
- videosegment:=$b000;
-
- procedure BlockCopy(x1,y1,x2,y2,x3,y3:integer);
-
- BlockCopy copies a block of video from x1,y1 to x2,y2 to another
- location in the video buffer specified by x3,y3. Unlike similar
- offerings, BlockCopy is direction independent, meaning that it
- will not overwrite the source block when creating the destination
- block within the video buffer.
-
- BlockCopy requires the global typed constant VIDEOSEGMENT to be
- set to the beginning of the alphanumeric video buffer. By default,
- VIDEOSEGMENT is set to $B800 which is the appropriate value for all
- video adapters except MDA compatible adapters. MDA compatible
- adapters use the value $B000.
-
- To change this value simply type :
-
- videosegment:=$b000;
-
- CONTACT
- *******
-
- Modern Solutions can be contacted through the following sources :
-
- Compuserve
- Borland International Turbo Pascal Forum
- User Name : Allen Drennan ( Modern Solution's Representative )
- User Identification : 76130,3112
-
- TurboCity BBS (209) 599-7435 Ripon, California
- The Best Turbo Pascal BBS in the World.
- User Name : Allen Drennan ( Modern Solution's Representative )
- Fido 1:208/2
-
- Modern Solutions
- P.O. Box 55721
- Hayward, CA 94545
-
-