Trailing-Edge
-
PDP-10 Archives
-
bb-r775c-bm_tops20_ks_upd_3
-
sources/scrnorev.bli
There are 10 other files named scrnorev.bli in the archive. Click here to see a list.
%TITLE 'SCRNOREV - put the screen in normal mode'
MODULE SCRNOREV ( ! Put the screen in normal mode
IDENT = '1-002' ! File: SCRNOREV.BLI Edit: JBS1002
) =
BEGIN
!
! COPYRIGHT (c) 1981, 1985 BY
! DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
! ALL RIGHTS RESERVED.
!
! THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
! ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
! INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
! COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
! OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
! TRANSFERRED.
!
! THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
! AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
! CORPORATION.
!
! DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
! SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
!
!++
! FACILITY: EDT -- The DEC Standard Editor
!
! ABSTRACT:
!
! This module ensures that the screen is not in reverse video.
!
! ENVIRONMENT: Runs at any access mode - AST reentrant
!
! AUTHOR: Bob Kushlis, CREATION DATE: September 8, 1979
!
! MODIFIED BY:
!
! 1-001 - Original. DJS 12-Feb-1981. This module was created by
! extracting the routine EDT$$SC_NONREVID from module SCREEN.
! 1-002 - Regularize headers. JBS 13-Mar-1981
!--
%SBTTL 'Declarations'
!
! TABLE OF CONTENTS:
!
REQUIRE 'EDTSRC:TRAROUNAM';
FORWARD ROUTINE
EDT$$SC_NONREVID : NOVALUE;
!
! INCLUDE FILES:
!
REQUIRE 'EDTSRC:EDTREQ';
!
! MACROS:
!
! NONE
!
! EQUATED SYMBOLS:
!
BIND
NORM_VIDEO = UPLIT (%STRING (%CHAR (ASC_K_ESC), '[m'));
LITERAL
NORM_VIDEO_LEN = 3;
!
! OWN STORAGE:
!
! NONE
!
! EXTERNAL REFERENCES:
!
! In the routine
%SBTTL 'EDT$$SC_NONREVID - put the screen in normal mode'
GLOBAL ROUTINE EDT$$SC_NONREVID ! Put the screen in normal (no reverse video) mode
: NOVALUE =
!++
! FUNCTIONAL DESCRIPTION:
!
! This routine puts the screen in normal mode (that is, not reverse video).
!
! FORMAL PARAMETERS:
!
! NONE
!
! IMPLICIT INPUTS:
!
! REVID
!
! IMPLICIT OUTPUTS:
!
! REVID
!
! ROUTINE VALUE:
!
! NONE
!
! SIDE EFFECTS
!
! NONE
!
!--
BEGIN
EXTERNAL ROUTINE
EDT$$FMT_LIT;
EXTERNAL
REVID; ! is reverse video on?
IF (.REVID NEQ 0)
THEN
BEGIN
EDT$$FMT_LIT (CH$PTR (NORM_VIDEO), NORM_VIDEO_LEN);
REVID = 0;
END;
END;
END
ELUDOM