Google
 

Trailing-Edge - PDP-10 Archives - TOPS-20_V6.1_DECnetSrc_7-23-85 - mcb/tkb36/textd.req
There are 2 other files named textd.req in the archive. Click here to see a list.
!                    COPYRIGHT (c) 1980, 1981, 1982
!                    DIGITAL EQUIPMENT CORPORATION
!                        Maynard, Massachusetts
!
!     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)					!
!