Google
 

Trailing-Edge - PDP-10 Archives - BB-X117B-SB_1986 - 10,7/tkb36/textd.req
There are 2 other files named textd.req in the archive. Click here to see a list.
!COPYRIGHT (c) DIGITAL EQUIPMENT CORPORATION 1980,1981,1982,1986. 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.


!
! DEFINE THE STORAGE BLOCK USED TO DESCRIBE OBJECT TEXT DATA
!
!
! DEFINE THE MAX BYTES OF DATA WHICH CAN FIT INTO THIS BLOCK
!  BEFORE WE MUST GO TO ANOTHER BLOCK.
!

LITERAL
    MAX_TEXT_DATA = 63;

!
SBLOCK (TEXTD, 11)				!THE TEXT ITSELF
HEADER (TEXTD)					!
ABLOCK (TEXTD_TH, %BPADDR, 1)			!UP POINTER TO TEXT HEADER
ABLOCK (TEXTD_NEXT, %BPADDR, 1)			!NEXT TEXT DATA BLOCK
ABLOCK (TEXTD_PREV, %BPADDR, 1)			!PREVIOUS TEXT DATA BLOCK
ABLOCK (TEXTD_NUM_BYTES, %NBITSU (MAX_TEXT_DATA), 1)	!LENGTH
ABLOCK (TEXTD_DATA, MAX_TEXT_DATA*9, 2)		!DATA (9 BECAUSE OF DEC-10/20)
EBLOCK (TEXTD)					!
!