浜様様様様様様様様様様様様様様様様様様様様様様様様様様様融 VidDiag V1.01 based on ET4_DIAG V2.2 by Joon Soft Div. DOS-Monitor maintenance and test program for VESA/ET4000/S3 And CIRRUS graphics controllers 7th September 1994 藩様様様様様様様様様様様様様様様様様様様様様様様様様様様夕 ************************************************************************** Usage: viddiag [Configurationfilename] [any 2nd para for invoke autotest] ************************************************************************** Examples: viddiag Starts VidDiag with default config file VIDDIAG.CFG; if this is not present, it will be created! viddidag vesa Starts VidDiag using the configuration file VESA; if this is not found, program will be halted. viddidag test1024 x Starts VidDiag using CFG file TEST1024 and performs the test routine which is specified within (at the end of) file TEST1024 until pressed. (Instead of "x" you can enter any other parameter) viddidag c:\temp\vesa NOT VALID. The CFG files must always be stored in the path (and will be saved to the path) in which viddiag.exe resides!! TABLE OF CONTENTS M CHIPS/MODES SUPPORTED C THE CONFIGURATION FILE I GENERAL KEYSTROKES II POSSIBLE KEYSTROKES OF THE SINGLE TESTS: III AUTOTEST MODE IV REVISION HISTORY V FINAL NOTES M CHIPS/MODES SUPPORTED ======================= (Preceeding number is the internal driver mode number used by VidDiag) I) 16 COLOR MODES: 1 IBM EGA, 320x200, 16 Colors 3 IBM EGA, 640x350, 16 Colors 4 IBM VGA, 640x480, 16 Colors 5 VESA VGA, 800x600, 16 Colors "VESA" means that the card supports the 6 VESA VGA, 1024x768, 16 Colors Video Electronics Standards Association 7 VESA VGA, 1280x1024, 16 Colors BIOS extensions (often loaded as TSR prg) 17 CIRRUS VGA, 800x600, 16 Colors 18 CIRRUS VGA, 1024x768, 16 Colors "CIRRUS" is Cirrus CL-GD542x VGA Chip 19 CIRRUS VGA, 1280x1024, 16 Colors 44 S3 VGA, 800x600, 16 Colors "S3 is the ("S Cube") 86C928 VGA Chip 45 S3 VGA, 1024x768, 16 Colors 46 S3 VGA, 1280x1024, 16 Colors 51 TSENG LABS VGA, 800x600, 16 Colors 53 TSENG LABS ET4000 VGA, 1024x768, 16 Colors 54 TSENG LABS ET4000 VGA, 1280x1024, 16 Colors II) 256 COLOR MODES: 1 IBM VGA, 320x200, 256 Colors [Note that VESA 640x350/256colors is not supported!] 3 VESA VGA, 640x480, 256 Colors 4 VESA VGA, 800x600, 256 Colors 5 VESA VGA, 1024x768, 256 Colors 6 VESA VGA, 1280x1024, 256 Colors [Note that CIRRUS 640x350/256colors is not supported!] 22 CIRRUS VGA, 640x480, 256 Colors 23 CIRRUS VGA, 800x600, 256 Colors 24 CIRRUS VGA, 1024x768, 256 Colors 25 CIRRUS VGA, 1280x1024, 256 Colors [Note that S3 640x350/256colors is not supported!] 57 S3 VGA, 640x480, 256 Colors 58 S3 VGA, 800x600, 256 Colors 59 S3 VGA, 1024x768, 256 Colors 60 S3 VGA, 1280x1024, 256 Colors 66 TSENG LABS ET4000 VGA, 640x350, 256 Colors 69 TSENG LABS ET4000 VGA, 640x480, 256 Colors 72 TSENG LABS ET4000 VGA, 800x600, 256 Colors 73 TSENG LABS ET4000 VGA, 1024x768, 256 Colors [Note that ET4000 1280x1024/256colors is not supported!] C THE CONFIGURATION FILE ======================== The pure ASCII configuration files serve three main purposes: 1. Defining the type of chip which will be used with this CFG file (by editing the file using a standard text editor) 2. Saving all variable parameters of the different tests 3. Definition of a SCRIPT routine for the autotest mode You may specify different CFG files (extension CFG may be omitted), e.g. for different chips or autotest scripts. Viddiag.exe CFGFILENAME then executes the desired configuration. For example if you make a copy of the default cfg file VIDDIAG.CFG to VESA. (with line "ChipNr=4" changed to "ChipNr=1") you can call for VESA support. Sections/Lines which you can edit: *ChipNr and Mode charts (16 and 256 color): Possibilities for the Mode table: a) "X" means: this mode not supported from VidDiag. If you overwrite "X" with any other value this will have no effect!! b) "1" means: your card DOES support this mode c) "0" means: this mode blocked out for your card, for example if you do not have a 2MB version for 1280x1024/256 colors. This pre- vents your system of crashing. *;TEXTMODE: here you can enter a specific extended text mode of your card (for example $26 for 80x60 with ET4000 chip) *;CORNER: here you can specify a user defined string which will appear in the four corners of TestNr1 (General test pattern) *;AUTOTEST: script for autotest mode (see chapter III) *;DOSCALL: see below, section I)G) * YOU SHOULD NOT EDIT ANY OTHER LINES IN THE CFG FILES. IF ANY TROUBLE OCCUR, ERASE ALL CFG FILES AND START VidDiag. THIS WILL CREATE A NEW DEFAULT CFG FILE VIDDIAG.CFG! I GENERAL KEYSTROKES: ===================== A) At any time (except within the "Alpha Mode"-test/ShftF1) you may change the current videomode by pressing the (Alt)1..(Alt)6 keys: 16 color-modes: 256 color-modes: Key Resolution Mode Key Resolution Mode 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 1 32o x 2oo/16 $0D ALT1 32o x 2oo/256 $13 2 64o x 35o/16 $10 ALT2 64o x 35o/256 $** 3 64o x 48o/16 $12 ALT3 64o x 48o/256 $** (**=Mode depends on chip 4 8oo x 6oo/16 $** ALT4 8oo x 6oo/256 $** else IBM VGA Standard) 5 1o24 x 768/16 $** ALT5 1o24 x 768/256 $** 6 128o x 1o24/16 $** ALT6 128o x 1o24/256 $** B) At any time you may change the current test by pressing one of the following function keys: F1 General Test pattern F2 Pure Grid F3 Plains F4 Plains Reverse/Pumping F5 Dim Plains F6 Check Moir F7 Div. Fullscr.Patterns F8 Triangle Palette Mix F9 16/64 Grayscales F10 Diamond's Joy ShftF1 Plain Color Bars ShftF2 Alpha Mode C) At any time you may toggle a display that shows information about the current videomode by pressing the (Carriage return) key. D) At any time you may invoke the Overscan area by pressing the key. As overscan color, the current drawing color (palette entry #1) is selected, except in grayscale test where lightest color is selected. E) At any time pressing exits VidDiag. ==> All current parameters, e.g. videomode/test/settings are stored in the configuration file when you leave VidDiag. F) At any time you may perform a refreshrate measurement by pressing the (="H"ertz) key. In a little window, the actual vertical refreshrate and the according kHz-spec the monitor should be able to handle will appear. Notes: 1. IMPORTANT: Use the built in refreshrate procedure only if VidDiag is called directly from DOS-level. Don't call it e.g. from within MS-windows. Remove all TSR's that might affect VidDiag's timer-routine. 2. Interlace-trap: If "scanlines" in the result window shows only half of the total scanlines which are assigned to a mode (e.g. 384 instead of 768 with 1o24x768 resol.) the refresh rate refers to interlaced mode; the real refreshrate must be divided by 2. 3. The estimated kHz-Value is computed: xkHz = (scanlines*refreshrate)+5% (+5% for additional lines needed for sync). 4. Press any key to fade refreshrate-window in order to return to normal VidDiag commands. G) At any time (except within the "Alpha Mode"-test/ShftF2) you may execute any DOS-program (which you can specify in the *.CFG file-section headed ";DOSCALL") by pressing the (for 'e'execution) key. Note that VidDiag consumes about 190K of memory while you try to start other programs this way. In the distribution there is a sample menu. Here, the batchfile SUBSHELL.BAT will be executed. You may take the AUTOMENU.DAT file as a template and edit it using any text-editor for your own special needs. Or just execute one single DOS-program by editing the appropriate section ";DOSCALL" in the *.CFG-file if you just want to execute ONE DOS program. H) At any time (except within the "Alpha-Mode"-test/ShftF2) you may enter a DOS shell by pressing the (for 'D'OS Shell) key. Type "exit"(return) to re-enter VidDiag. II POSSIBLE KEYSTROKES OF THE SINGLE TESTS: =========================================== F1 General Test pattern 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 No further functions implemented Note: You may specify the string appearing in the four corners within the used CFG file (below line ";CORNER") F2 Pure Grid (use to check misconvergence) 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 R Toggle Red Gun G Toggle Green Gun B Toggle Blue Gun Down More horizontal lines Up Less horizontal lines Right More vertical lines Left Less vertical lines Home Default grid End Narrow grid F3 Plains and F4 Plains Reverse/Pumping 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 + Increase color (cycles thru white,red42,red63,green42,green63,blue42,blue63) - Decrease color R,G,B,W Select Full intensity Red/Green/Blue/White directly (F3 only) Right Increase horizontal size CTRLRight Increase horizontal size fast Left Decrease horizontal size CTRLLeft Decrease horizontal size fast Up Increase vertical size CTRLUp Increase vertical size fast Down Decrease vertical size CTRLDown Decrease vertical size fast Home Set size to 100% End Set size to 30% F4 only: Built in screen pumping test ("High voltage regulation" test). 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 P Set highvoltage regulation (pumping) delay parameter +,Up,Right using <+>oror and <->oror keys. Valid range -,Dn,Left is 0..2000. After exiting this setup (via or

), the pumping starts and runs until any key is pressed. Invoke pumping directly with the current delay parameter; (i.e. without need to go into the delay setting first) Notes: 1. Pumping uses the current reverse plain geometry settings. 2. Pumping can NOT be invoked from AUTOTEST script mode! F5 Dim Plains 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 + Increase color (cycles thru white,red,green,blue) - Decrease color Right Increase intensity Left Decrease intensity Home Maximal Brightness (DAC-value=63) End Minimal Brightness (DAC-value=1) F6 Check Moir (vertical lines) 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 +/- (See F3 Plains) Right Decreases horizontal line distance respectively changes from vertical to horizontal line pattern Left Increases horizontal line distance respectively changes from vertical to horizontal line pattern Up Increases vertical line distance respectively changes from horizontal to vertical line pattern Down Decreases vertical line distance respectively changes from horizontal to vertical line pattern Home Minimal line distance for current pattern End Maximal line distance for current pattern Note: There are 4 different line distances available F7 Div. Fullscr.Patterns 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 +/- (See F3 Plains) Right Change pattern, next Left Change pattern, previous Note: There are 19 different built in patterns available F8 Triangle Palette Mix 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 Right Select red/green or blue component forward Left Select red/green or blue component backward Up Increase DAC-value of selected R/G/B component Down Decrease DAC-value of selected R/G/B component Home Set selected R/G/B component to 0 (minimum) End Set selected R/G/B component to 63 (maximum) F9 16/64 Grayscales 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 + Increase color (cycles thru white,red,green,blue) - Decrease color Right Change scale mode (either dark-light-dark or light-dark-light) Left (Same as Right) Note: In 16 color modes you can see only 16 grayscales In 256 color modes you can see only 64 monochrome grayscales because of the limited 64 possible DAC-values F10 Diamond's Joy 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 +/- (See F3 Plains) Right More Facettes Left Less Facettes Home Minimum Facettes End Maximum Facettes Down Fill Facettes with random colors p Let it sparkle... Notes: Right/Left cycle thru 15 different #s of facettes and

functions will be executed until any key is pressed ShftF1 Plain Color Bars 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 + Duplicate number of bars *2 - Divide number of bars /2 ShftF2 Alpha Mode 陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳 No further action here; You may return to a graphics test of your choice directly by pressing the appropriate key. Note: The AlphaMode-Videomode number may be specified in the CFG-file if you want to invoke another than the standard mode $03 (for example enter $26 for ET4000 80x60 text mode III AUTOTEST MODE: ================== If VidDiag is called with any second commandline parameter (e.g. "VidDiag SCRIPT.CFG x ") the program performs automatically the tests that are specified in the last ASCII-section of the specified confi- guration file until any key is pressed. Edit these lines with an ASCII-editor to create your personal test-routine(s). All tests requested in the autotest-lines will use the current settings of the CFG file. If you want to change anything (e.g. modeinfo-window active during script execution) enter VidDiag, perform the changes, quit VidDiag; then in- voke autotest mode again. Sample CFG-Excerpt: . . . R=ALPHA S=1 R=320X200 C=16 T=1 S=4 R=640X480 C=256 T=2 S=1 R=800X600 C=16 T=3 S=5 ;THIS IS THE END OF THE CONFIG FILE Legend: Valid entries: R =Resolution (320x200 or 640x350 or 640x480 or 800x600 or 1024x768 or 1280x1024); C =Colors (16 or 256); T =TestNr (1..11); S =Execution Time in seconds (1..59) (Note that the AlphaMode-line does not need Color and Testnr specifications) ======================================================================== IV REVISION HISTORY / RELEASE NOTES =================================== IMPORTANT RELEASE NOTES VidDiag 1.01: Bug fixed in autotest mode when calling textmode IMPORTANT RELEASE NOTES VidDiag 1.0: support for 4 different, wide spreaded, chips added 128ox1o24 resolution support introduced mode table renamed ET4_DIAG ==> VidDiag packing EXE file reduced its code redrawing of test blocked if same test invoked again cursor keys may be used alternately besides +- in F4/pump test cornerstring of general test pattern selectable in CFG only 1 textmode available, but selectable in CFG vmode subshell sample (ET4000 only) removed IMPORTANT RELEASE NOTES V2.2: V2.2 introduces a more flexible subshell organization in order to execute more than one DOS program from ET4_DIAG after pressing -key (-key replaces

-key, because

conflicted with

alette function of 'Diamond's Joy'-test F10). IMPORTANT RELEASE NOTES V2.1: V2.1 introduces the ability to execute a DOS-program while ET4_DIAG stays active in memory. The program and whether there should be a pause after its execution can be manually specified in the appropriate section ;DOSCALL PRG=C:\UTILS\VMODE {program to be executed} PAUSE=0 {0= no pause; 1=stop after execution} of the config-file *.CFG. The program can be executed per hot key 'P' (except from Alpha-Tests). See section I G) of this file. Besides this preset program-execution there is now also a regular DOS-Shell which can be invoked by pressing hot key 'D'. See section I H) of this file. IMPORTANT RELEASE NOTES V2.0: V2.0 introduces vertical refreshrate measurement and screen pumping mode. Upgraders V1.41==>V2.0: You need to read theses notes and sections I)F) and II)F3,F4 only! If the optional parameter [Configurationfilename] is omitted, the default configuration file ET4_DIAG.CFG will be used OR CREATED if it does not exist (e.g. very first time you call ET4_DIAG.EXE). The config.file will always be saved to the location where the called ET4_DIAG main program resides. If you specify a path for a user-defined config.file as commandline parameter, the path will be ignored. If a config.file is specified as commandline parameter, and can not be found, ET4_DIAG aborts. You are not allowed to rename the main program. Do not run ET4_DIAG from other than VGA mode (e.g. EGA-emulation); otherwise you'll get rather ugly results ... V FINAL NOTES: ============== VidDiag has been developed with and for service staff of Qume GmbH, Dsseldorf, Germany; special thanks to Werner Frey; VidDiag is freeware; if you distribute it, please do not forget to copy this textfile also, for it is essential for understanding all possibilities of VidDiag! Any comments appreciated: Qume GmbH, Schiess-Strae 55, D-40549 Dsseldorf ======================================================================== -- Johannes Schmitt, 6th September 1994 -- ;THIS IS THE END OF THE TEXTFILE