;--------------------------------------------------------- ;offsets to option data locations in TARGET program ;symbol offset default description ;6 byte fields, left Justified & space filled LINELN EQU 1CH ;50 = Nominal output line length CRSTR EQU 1DH ;'CR ' = 0Dh LFSTR EQU 24H ;'LF ' = 0Ah DELIMT EQU 2BH ;'0 ' = End of data delimiter TABSTR EQU 32H ;'TAB ' = 09h RVON EQU 39H ;'DIM ' = 01 RVOFF EQU 40H ;'BRIGHT ' = 02 BELSTR EQU 47H ;'BELL ' = 07h ESCSTR EQU 4EH ;'ESC ' = 1Bh ;6 byte field. Always filled. No spaces SLABEL EQU 55H ;'SCR' = first synthetic label prefix SNUMBR EQU 58H ;'000' = first synthetic label number ;single byte ASCII fields SLTERM EQU 5BH ;':' = label terminator ;a single hex byte, typically a space or tab LABWS EQU 5CH ;' ' = white space around the 'DB' ;6 byte field, left Justified & space filled DBSTR EQU 5DH ;'DB ' = DB | DEFB | .BYTE | ;a single hex byte, typically a non-printing char SLCODE EQU 64H ;NULL = Trigger char for synthetic lbl ;3 byte fields, left Justified & space filled OUTTYP EQU 65H ;'DB ' = Default type for output file INPTYP EQU 68H ;'TXT' = Default type for input file TSPACE EQU 6BH ;T/F Byte T=fold line AFTER a space MAXLIN EQU 6CH ;byte value = Absolute max output line length QCHAR EQU 6DH ;TEXT2DBs quote char, usually ' or " ;--------------------------------------------------------- include cnfgdef.lib ;************************************************************ ; START OF OVERLAY CODE ;************************************************************ ;The next 13 bytes must remain in this location. rst 0 ;for safety - file won't execute dw amenu ;for relocation of addresses, this ;points to the NEXT location. ;first MENU list must be here. All names are local. amenu: dw bmenu,bmenu,ascrn,acase,ahelp ;MENU A acase: include t2db-ca.lib ascrn: include t2db-sa.db ahelp: include t2db-ha.db bmenu: dw amenu,amenu,bscrn,bcase,bhelp ;MENU B bcase: include t2db-cb.lib bscrn: include t2db-sb.db bhelp: include t2db-hb.db ;========================================================= ; SCREEN DATA LISTS ; referenced by any of the case tables ;data pair for representing bit values in screen image ;Can also be used for function 8 display (True/False) ;these are null terminated strings. Note the 'DZ'. yndata: dz 'YES' ;for 1=yes dz ' NO' wsdata: dz 'tab__' dz 'space' ;for 0 tsdata: dz 'AFTER ' dz 'BEFORE' range1: dw 0,127 range2: dw 0,255 range3: dw 30,255 ;=========================================================