;************************************************************* ;***************** ******************* ;***************** User Definable Options ******************* ;***************** for NNANSI.SYS ******************* ;***************** Version 5/91 ******************* ;***************** ******************* ;************************************************************* ; Author: Tom Almy, except as noted. ; Card id printout idea by Arend van den Brug. ; Note: I haven't tried all combinations. ; Define both of these TRUE is display type is unknown. ; Otherwise define FALSE what your display isn't. ; Note: If display is neither VGA nor EGA, then this driver won't work, ; but the driver will work if you define both of these FALSE. ; This is useful for VGA systems that want the 43 line mode to ; display 50 lines. Note that if VGA is FALSE,, attempting to ; set 50 line mode will try to put the display in mode 50, which ; might just be a disaster! VGA equ TRUE ; define TRUE for VGA, defining as FALSE eliminates ; 50 line mode code. (43 line mode will run with 50 ; lines like older nansi and nnansi drivers EGA equ TRUE ; define TRUE for EGA for best results on EGA. ; defining as FALSE eliminates 43 line cursor fix code ; If you also want NNANSI to work with a monochrome card ("double headed") ; define MONO to be true. Otherwise define as false since this makes the ; driver larger. Note monochrome operation with NNANSI is not spectacular, ; if all you have is a monochrome display, use another ANSI driver. MONO equ FALSE ; VESA Compatibility -- ONLY SET IF YOUR DISPLAY CONTROLLER IS VESA ; COMPATIBLE. This changes some code in the body of NNANSI. You will ; also need to select a display card or use the default. VESA equ FALSE ; Define one of the following true if you have the appropriate ; display card. Otherwise leave them all FALSE. ; Drivers new with this release are marked as NEW VEGA equ FALSE ; Configure for Video-Seven FastWrite VGA, or ; compatible (such as Tatung VGA (not VGA-16)) PARA480 equ FALSE ; Paradise EGA 480 (NEW) PARADISE equ FALSE ; Paradise VGA STBVGA equ FALSE ; STB VGA Extra TVGA16 equ FALSE ; Tatung VGA-16 EGAWIZ equ FALSE ; EGA Wizard Deluxe ATT600 equ FALSE ; AT&T VDC600 MAGICVGA equ FALSE ; MAGIC VGA (CT-8490) Twinhead International (NEW) ; ps2parms or necparms must loaded for ext. modes TridentVGA equ FALSE ; Trident VGA CHIPS equ FALSE ; Chips SVGA (with C&T VGA chip F82C451) (NEW) TSENG4000 equ FALSE ; Diamond Speedstar, Orchid Prodesigner II (NEW) ; (and other TSENG 4000 based, I hope) ; Define the following TRUE if you have an 8088/6 (PC XT or clone), or might ; want to use the driver with an 8088/6. Define as FALSE for ; processors >=80186 for best performance and smallest size. cheap_pc equ TRUE ; no fancy instructions if true ; The following options specify certain feature options. These options ; take space if turned on, but improve performance and/or add features. key_redef equ FALSE ; keyboard redefinition allowed if true ; If you don't use key redefinition, set at FALSE, since some Trojan ; Horse programs take advantage of this. Also it takes space. init_buf_size equ 256 ; size of keyboard redefinition buffer ; and parameter buffer when key_redef TRUE. You may want to change ; the size, if you use this feature. Don't make it <100. quick_char equ TRUE ; quick graphic characters in modes 10 and 12 ; quick_char should be "TRUE" unless ; you have an incompatible display card. ; And I don't know of any that are. fast29 equ TRUE ; 15 % faster operation (overall) ; of int29 calls (costs 100 bytes) bios_write_tty equ TRUE ; take over BIOS write_tty if true ; NOTE: if bios_write_tty is true, the color rendition of text may ; change, but performance will improve and ANSI control codes can ; be used. This feature can be enabled/disabled at runtime as ; long as it is assembled (TRUE) gbackground equ TRUE ; generate non-black graphic backgrounds ; This option may cause problems for software not expectings its ; existance. Also you must specify quick_char to use gbackground. dos4 equ TRUE ; Answers ANSI.SYS installed (for DOS V4) ; If you are running a DOS version less than 4.0, you don't need ; this. If you are running 4.0 or 5.0, you may not care. ; The following options affect initial state. They do not affect the ; size of the driver. initbiosw equ FALSE ; ANSI write_tty initially on if true initgc equ FALSE ; graphics cursor initially on if true initfast equ FALSE ; initially fast mode if true ; note- you may have to clear the display (CLS command) before ; running some programs, or just before leaving "shell escapes" in ; some programs. But it's typically worth the effort. ; You can disable/enable it with a simple control sequence anyway.