TRUE equ 1 FALSE equ 0 ;*************************************************************************** ; You may change what is below the starred lines to suit your personal ; configuration or preference. After changing these, you will have to ; reassemble all modules with the macro assembler. MONO equ FALSE ; if T, I congratulate you to your ; choice: the color card sucks! COLOR equ TRUE ; if TRUE, choose noflicker: T/F ; I recommend you accept some flicker ; in exchange for "real" performance NOFLICKER = FALSE ; only used in two places, for ; screenupdate and for quick insert ; to the screen, color display is ; simply to slow to allow flickerfree ; direct updating TAB8SPACES equ TRUE ; shall a TAB be ' ' or ^I ? NOBLOCKEXIT equ TRUE ; leave the cursor how it is on exit INITLASTLINE equ FALSE ; if TRUE then display no lastlinemenu ; if FALSE, display it (startup) EOF_CHAR equ 7 ; a small dot, to fill the rest of the ; screen when you edit close to the ; end of the file. CONFIRM equ TRUE ; to confirm with CTL-Y before exiting ; to DOS ORDINARY_HELP equ 'MAX.HLP' ; this is the first file that MAX gets ; when help is asked for. DEFAULT_HELP equ '\MAX\DOC\MAX.HLP' ; this is the second. ;*************************************************************************** ; change only what is above this text. Leave below, unless you really know ; what you are doing. if mono noflicker = false endif BIOS equ 10h StackSpace equ 1024 Helpspace equ 2500 MinWorkSpace equ 200h ; 2000h bytes ; MACROES NUL equ 0 LF equ 0Ah ; ^J CR equ 0Dh ; ^M EOF equ 1Ah ; ^Z ESC equ 1Bh ; ^] CTL_G equ 7 ; ^G NEWPAGE equ 12 ; ^L STR equ '$' TAB equ ' ' ; ^I CRLF equ CR+LF*256 ;--------------------------------------------------------------------------- TOGGLE equ 1 Wrapmode equ 1 HalfWindow equ 9 FullWindow equ 19 HalfScreen equ 9*160-2 FullScreen equ 19*160-2 Line0 equ 0 Line10 equ 10*160 Win1 equ 0 Win2 equ 1 OneWindow equ 0 MacMaximum equ 255 ;------------------------------Screen Attributes------------------------------ Nodisplay = 0 ; is redefined for a color card LowIntensity equ 00000110b Underline equ 00000001b NoColor equ 0Eh ; normal highintensity Inverse equ 01110000b Lastlinecolor equ Inverse Modelinecolor equ Inverse IF MONO Screensegment equ 0B000h ENDIF IF COLOR Screensegment equ 0B800h ENDIF StartofMsgField equ 20*160 EndofMsgField equ 23*160-2 Textlastline equ 19 Textfirstline equ 0 ModelineStart equ 19*160 ModelineEnd equ 20*160-2 LastlineStart equ 3840-320 BCB STRUC FCursor dw 0100h ; 0 1 ; F FCurcol dw 0 ; 3 ; F FEnd dw 0100h ; 4 5 ; F Scrstart dw 0100h ; 6 7 ; F Scrend dw ? ; 8 9 ; -S ScrCursor dw ? ; A B ; -S unused1 dw ? ; C D unused2 dw 0 ; E F FOldCursor dw 0 ; 10 C-X p FOldCurCol dw 0 ; 12 previous column Mark dw 0 ; 14 mark AuxScrStart dw 0 ; 16 maybe temp marker for ( AuxCursor dw 0 ; 18 maybe second aux mark Dirty db 0 ; 1A EDmode db 0 ; 1B BufName db 4 dup ('$') ; c,d,e,f Unused db 0 ; for finding files UnusedF db 1Fh dup (0) ; 20 - 3F File db 0B0h dup ('%') ; to take offset BCB ENDS IF2 %OUT [Pass 2] ENDIF