;NULU patch file for Spectrum +3 ;Author: F.T. Gowen ;Version: 1.0 ;Last Mod.: 12/01/1996 - FTG CR EQU 0DH ESC EQU 1BH FF EQU 0CH LF EQU 0AH TRUE EQU 01H FALSE EQU 00H BDOS EQU 0005H ORG 194H NCFULL: DEFB 80 ;Max no. chars. per line NCVIS: DEFB 51 ;Visible no. chars. per line ORG 198H NFO: DEFB 7 ;No. of open files (>=4) NRT: DEFW 0010H ;No. of rel. tasks (>=000DH) NDRIVES: DEFB 3 ;No. of drives [A-->C] NUSERS: DEFB 16 ;No. of user areas [0-->15] ORG 1CDH BDOSADDR:DEFW BDOS ORG 24DH NULURO: DEFB FALSE ;NULU read/only flag NULUAX: DEFB FALSE ;NULU Auto eXit like LU BROFF: DEFB TRUE ;Start with BRief mode OFF CHNON: DEFB TRUE ;CHaiNing ON NCFLVL: DEFB 3 ;NCF file nest LeVeL (=NFO-4) INITSEQ: DEFB '-Y *.LBR -O',0 ; INITial SEQuence of commands when NULU is ;loaded. 39 chars. + 0 terminator allowed ORG 27DH REVON: DEFS 1 ;ID byte DEFB 2 ;Length of DEFB ESC,'p' ;REVerse video ON sequence DEFB 0,0,0 ;5 bytes allowed REVOFF: DEFS 1 ;ID byte DEFB 2 ;Length of DEFB ESC,'q' ;REVerse video OFF sequence DEFB 0,0,0 ;5 bytes allowed ULINON: DEFS 1 ;ID byte DEFB 2 ;Length of DEFB ESC,'r' ;UnderLine ON sequence DEFB 0,0,0 ;5 bytes allowed ULINOFF: DEFS 1 ;ID byte DEFB 2 ;Length of DEFB ESC,'u' ;Underline OFF sequence DEFB 0,0,0 ;5 bytes allowed CLRSCRN: DEFS 1 ;ID byte DEFB 4 ;Length of DEFB ESC,'H',ESC,'E' ;CLeaR SCReeN sequence DEFB 0 ;5 bytes allowed ORG 2A0H PRTPL: DEFB 60 ;PRinTer Page Length ORG 2A2H INITP: DEFS 1 ;ID byte DEFB 3 ;Length of DEFB CR,LF,FF ;Printer INITialisation sequence DEFB 0,0 ;5 bytes allowed PATCHEND: END