home *** CD-ROM | disk | FTP | other *** search
- GLOBAL TYPE
- Colors = 0..15; (* Standard Black thru White *)
-
- GLOBAL VARIABLES
-
- ActiveDP : Byte; (* Active Display Page *)
- LineWidth : Integer; (* Line Width of current video mode *)
- VideoMode : Byte; (* Current Video Mode i.e. 0,1,2,3,7 *)
-
-
- FUNCTION CurrentVideoMode : Byte;
- PROCEDURE CursorOn;
- PROCEDURE CursorOff;
- FUNCTION KUCase(S:String):String;
- FUNCTION KLCase(S:String):String;
- FUNCTION Color(FG,BG:Colors):Byte;
- PROCEDURE KAttr(Row,Col,Rows,Cols:Integer;Attr:Byte);
- PROCEDURE KFill(Row,Col,Rows,Cols:Integer;Ch:Char;Attr:Byte);
- PROCEDURE KTrim(VAR S:String);
- PROCEDURE KWrite(Row,Col:Integer;Attr:Byte;S:String);
- PROCEDURE KWriteV(Row,Col:Integer;Attr:Byte;VAR S:String);
- PROCEDURE KWriteC(Row:Integer;Attr:Byte;S:String);
- PROCEDURE KWriteCV(Row:Integer;Attr:Byte;VAR S:String);
-
- Listed are the procedures and function contained in KTOOLS1.TPU
-
- The arrival of Turbo 4 was welcomed by most everyone. It is by far the best
- yet with a few small draw backs.
-
- These simple routines take advantage of the new abilities of TP4 and are
- hereby declared Public Domain property if such a statement is needed.
- Also it is fashionable to say that these routines did not blow my CPU's mind,
- but if yours has one foot in the grave and the other on a banana peel and
- croaks off well..... if you use these routines, you in what ever language is
- in use, agree with me that I didn't have a thing to do with it. If you
- like them and want to support my programming then 5 bucks cash is helpful.
- If you don't care if I program to help others then I don't either I guess.
- If you just like what they may have shown you about writing such routines
- then a call will be welcomed.
-
- The Programmers'Source
- Rt 2 Box 54
- Center, Tx. 75935
- Data 409-598-9057
- Voice 409-598-3809 if I or the XYL are home.
-
- I have tried to use things that TP4 provides as well as BIOS calls to show
- their usage in the routines.
-
- KTOOLS.pas has documentation enough to point you in the right direction if
- you wish to change these to suit your own needs. If you do modify them and
- figure on turning them loose in the world, please make a note to the effect
- that you made the modifications. Also do me a favor and change name of the
- file as I will be adding to these as I go along and they will be released
- with a version extention to KTOOLS.
-
- If you use these routines in your program don't forget to send along all these
- source files if you release your program source code.
-
- I hope these provide help to some TP4 programmers. Don't forget call,write or
- drop by anytime.
- Drue Kennon
-
- P.S. Not responsible for typo errors in documentation.
-
- KTOOLS Copyright (c) 1987 by Personalized Computer Programming Co.
-
-