home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
TURBOM2
/
TELE.LBR
/
TELE.DZF
/
TELE.DEF
Wrap
Text File
|
2000-06-30
|
2KB
|
82 lines
DEFINITION MODULE Tele;
(* Some graphics functions for the Televideo 955 terminal *)
(* Glenn Brooke 6/17/87 *)
PROCEDURE GraphicModeOn;
(* turns on graphics characters *)
PROCEDURE GraphicModeOff;
(* back to ASCII characters *)
PROCEDURE HalfIntensity;
(* select half intensity characters -- until de-selected *)
PROCEDURE FullIntensity;
PROCEDURE Bell;
(* rings bell at keyboard *)
PROCEDURE LockKeyboard;
(* prevents keyboard use *)
PROCEDURE UnlockKeyboard;
(* releases keyboard to user *)
PROCEDURE Columns(x : CARDINAL);
(* select 80 or 132 columns *)
PROCEDURE EraseToEndOfPage;
(* erases screen from cursor position to end of screen *)
PROCEDURE CharAttribOff;
(* terminal attributes set to not take up a character space *)
(* CALL THIS BEFORE GRAPHICS CHARACTER WORK! *)
PROCEDURE CharAttribOn;
PROCEDURE LightBackground;
(* entire screen goes to dark letters on light background *)
PROCEDURE DarkBackground;
(* light letters on dark background -- the usual default *)
PROCEDURE CursorAttrib(p : CARDINAL);
(* sets cursor style
p = 0 cursor not displayed
1 blinking block cursor
2 steady block cursor
3 blinking underscore cursor
4 steady underscore cursor *)
PROCEDURE ReverseBackground;
(* background goes to opposite of current background; remains so until
this procedure is called again. Use this to write simple messages. *)
PROCEDURE Underline;
(* subsequent text will appear underlined with continuous line *)
PROCEDURE ReverseUnderline;
(* subsequent text displayed underlined and in reverse contrast *)
PROCEDURE ReverseBlink;
(* good for error messages -- subsequent text blinks in reverse contrast *)
PROCEDURE Invisible;
(* for passwords, etc -- subsequent text is not displayed onscreen *)
PROCEDURE BoxScreen(Heavy : BOOLEAN; Bright : BOOLEAN);
(* draws box around entire screen *)
(* --- suggest you call ClearScreen first! *)
(* set Heavy = TRUE for thick box, FALSE for thin line box *)
(* set Bright = TRUE for normal intensity, FALSE for half intensity *)
PROCEDURE WriteReversed(s : ARRAY OF CHAR);
(* write string s in reversed mode of background -- good for error msgs *)
END Tele.