; NULUTERM.ASM 12/15/87 ; ; For NULU.COM Version 1.52 (Do not use with prior versions.) ; ; The NULU.DOC contains the information to patch NULU.COM using DDT and ; the save command. An easier way is to use this routine and then use ; MLOADxx.COM. Set the various items as desired and assemble with ASM ; or MAC to obtain a .HEX file. Then use MLOAD as follows: ; ; MLOAD NEWFILE.COM=OLDFILE.COM,NULUTERM.HEX ; ; Keith W. Antcliff ; P.O. Box 906 ; Mead, WA 99021 ; Northwest GodBout/CompuPro RCP/M (509) 624-6799 ; S.M.U.G. (509) 624-7321 ; ;----------------------------------------------------------------------- ; ; 12/15/87 Revised for Version 1.52 - Bill Duerr ; 11/01/85 Revised for Version 1.5 - Martin Murray ; 01/25/85 Revised for Version 1.1 - Keith Antcliff ; 12/02/84 Added EQU's for Patch ORG's - Keith Antcliff ; ;----------------------------------------------------------------------- ; ; See NULU.DOC for further information on the following values. ; NO EQU 0 YES EQU NOT NO ; NL EQU 03 ; Nesting Level for NCF files PATCH1 EQU 00194H ; Number of Characters etc. PATCH2 EQU 00198H ; Number of Open Files etc. PATCH3 EQU 001CDH ; BDOS Vector PATCH4 EQU 0024DH ; Some Toggles and Storage Area PATCH5 EQU 0027DH ; Terminal Control Area PATCH6 EQU 002A0H ; Number of Lines for LST PATCH7 EQU 002A2H ; Printer Initialization Area ; ; ORG PATCH1 DB 80 ; Number of Characters each line can contain DB 80 ; Number of Visible Characters/Line ; ORG PATCH2 DB 04H+NL ; Number of Open Files Allowed DW 0DH+NL ; Number of Relocatable Tasks DB 16 ; Number of Contiguously numbered drives DB 16 ; Number of Contiguous User Areas ; ORG PATCH3 DW 5 ; BDOS vector (See Doc) ; ORG PATCH4 DB NO ; NULU Read/Only DB NO ; Exit like LU on command tail DB YES ; BRIEF mode OFF DB YES ; Allow ESC,RET from PROMPT etc. DB NL ; Nesting Level for NCF files ; ; ; The following 39 bytes can be used to store any valid NULU operators. ; See NULU.DOC for details ; DB '-Y -O',0,0,0,0,0 DB 0,0,0,0,0,0,0,0,0,0 DB 0,0,0,0,0,0,0,0,0,0 DB 0,0,0,0,0,0,0,0,0,0 DB 0 ; Terminator...Do Not Change ; ; ; The following routines are for terminals using ^Z as a clear screen ; code. Change to suit your terminal. Use This Format: ; ; ID byte,Number of Bytes,byte,byte,byte,byte,byte - 7 bytes total ; Do Not Change The ID Byte ; ORG PATCH5 DB 1,0,0,0,0,0,0 ; Background Mode ON DB 2,0,0,0,0,0,0 ; Background Mode OFF DB 3,0,0,0,0,0,0 ; Underline ON DB 4,0,0,0,0,0,0 ; Underline OFF DB 6,1,26,0,0,0,0 ; Clear Screen ; ORG PATCH6 DB 60 ; Number of lines/page for LST ; 0 to supress page formatting ; ; ; Number of Bytes,byte,byte,byte,byte,byte,byte - 6 bytes total ; ORG PATCH7 DB 0,0,0,0,0,0 ; Initialize Printer ; ; END