.TITLE AUXTBL - File Table Entrys. .IDENT /1.0/ .ENABL LC ;+ ; ; Free software BY ; Project Software & Development, Inc. ; ; This software is furnished for free and may be used and copied as ; desired. This software or any other copies thereof may be provided or ; otherwise made available to any other person. No title to and ; ownership of the software is hereby transferred or allowed. ; ; The information in this software is subject to change without notice ; and should not be construed as a commitment by PROJECT SOFTWARE ; AND DEVELOPMENT, INC. ; ; PROJECT SOFTWARE assumes no responsibility for the use or reliability ; of this software on any equipment whatsoever. ; ; Project Software & Development, Inc. ; 14 Story St. ; Cambridge, Ma. 02138 ; 617-661-1444 ; ; ; Title: AUXTBL.MAC ; Author: Robin Miller ; Date: July 23, 1985 ; ; Description: ; ; This module contains the file table entrys used to control the ; listing of file(s) at the terminal. ; ; Modification History: ; ;- .ENABL AMA .NLIST BEX ; Define offsets for file entry tables: O.STAT == 0 ; The status word. (word) O.FDB == O.STAT+2 ; The FDB address. (word) O.FNB == O.FDB+2 ; The FNB address. (word) O.CSI == O.FNB+2 ; The CSI block address. (word) O.FNAM == O.CSI+2 ; Address of ASCII file name. (word) O.FDAT == O.FNAM+2 ; Address of ASCII file date. (word) O.FPTR == O.FDAT+2 ; Pointer to input file name(s).(word) O.TOP == O.FPTR+2 ; The current top line number. (word) O.BOT == O.TOP+2 ; The current bottom line number(word) O.FLIN == O.BOT+2 ; The file name line number. (word) ; Defaults for the top file display. T.FLIN = 1 ; The file name line number. T.RLIN = T.FLIN+1 ; The ruler line number. T.TOP = T.RLIN+1 ; The current top line number. T.DTOP = T.TOP ; The default top line number. T.BOT = 22. ; The current bottom line number. T.DBOT = T.BOT ; The default bottom line number. ; ; Format of the screen: ; ; line 01 - The top file name, ruler, or first display line. ; line 02 - The ruler (if file name enabled) or a blank line. ; line 03 - The first display line (if file name enabled). ; ; line 12 - The bottom file name, the ruler, or a separator. ; line 13 - The first display line. ; ; line 23 - Used for message display. ; line 24 - Used for prompt display. ; ; One file display: range of lines is 01-22. ; ; Address of the active file entry. IENTRY::.WORD IFILE1 ; Address of active file entry. ; Entry for the top file being displayed. IFILE1::.WORD 0 ;(O.STAT) The status word. .WORD INFDB ;(O.FDB ) The FDB address. .WORD INFDB+F.FNB ;(O.FNB ) The FNB address. .WORD INCSI1 ;(O.CSI ) The CSI block address. .WORD INFIL1 ;(O.FNAM) Address of ASCII file name. .WORD INDAT1 ;(O.FDAT) Address of ASCII file date. .WORD INBUF1 ;(O.FPTR) Pointer to input file names. .WORD T.TOP ;(O.TOP ) The current top line number. .WORD T.BOT ;(O.BOT ) The current bottom line #. .WORD T.FLIN ;(O.FLIN) The file name line number. .END