; VIEW OVERLAY (for VIEW43) ; Assemble to a HEX file and overlay on VIEW43 with MLOAD true equ -1 false equ 0 esc equ 1bh cr equ 0dh lf equ 0ah ; ; CODE BEGINS ; org 103h db 'Z3ENV' ; Z-tool header db 3 z3eadr: dw 0fe00h ; Installed by Z3INS (or overlay) dw 100h ;---------------------------------------------------------------------------- ; ; PATCHABLE OPTIONS ; ; Printer initialization string sent by "I" command. ; Begins with byte count, then the bytes. Max char count is 16. ; Don't change this unless patching a version which was assembled differently lstok equ true ; Include listing options initsz equ 16 ; Max length of printer init string IF LSTOK init$str: db 1 ; Char count db cr ; Chars ds (initsz+1)-($-init$str) ENDIF ; If CRT supports insert line function, performance of VIEW is enhanced by ; using it. INSFLG tells VIEW whether or not user has installed code. insflg: db true ; True = use insert line, false = work around ; This is the insert line code. Default is used by Wyse, Televideo, et. al. ; Must use 5 bytes with terminating 0's. inscrt: db esc,'E',0,0 ; Insert line on CRT, up to 4 bytes. db 0 ; Scan speed - speed of continuous scrolling ; Smaller number goes faster. (May be changed from within program, also.) ; Must be a power of 2 i.e. 1,2,4,8...128 scanspd: db 32 end