home *** CD-ROM | disk | FTP | other *** search
- Docs for M.com - display mode selection utility
- R. Trevithick, 06/07/87
-
-
- This is a simple little routine to allow quickly switching display
- modes. The modes that programmers would normally use to test out
- their programs in various text modes can be quickly selected with a
- mnemonic shorthand method, otherwise the mode is selected by number.
-
-
- The short-hand selector options are:
-
- m select the monochrome display
-
- c select color mode, 80x25
-
- c4 select color mode, 40x25
-
- e select ega mode, 80x43 (note the 43 line display)
-
- These will meet the needs of most programmers who routinely switch
- back and forth among modes as they are testing out new
- routines.
-
- The correct font, ega bios cursor compensation bit, and print-screen
- routine are automatically selected along with the display mode.
-
- If the selected device does not exist, or if the device does not
- support the selected mode, the mode and number of lines that were in
- effect when the program was invoked are restored and the help screen
- is displayed.
-
- DISPLAY MODES SUMMARY TABLE
-
- Mode # Device Description
- ------ ------ -----------
-
- 0 COLOR 40 x 25 Black and White
- 1 COLOR 40 x 25 Color burst enabled
- 2 COLOR 80 x 25 Black and White
- 3 COLOR 80 x 25 Color burst enabled
- 4 COLOR 320 x 200 Color burst enabled (Medium res)
- 5 COLOR 320 x 200 Black and White (Medium res)
- 6 COLOR 640 x 200 Black and White (High res)
- 7 MONO Monochrome Adapter or EGA + Mono Display
- 8 COLOR 160 x 200 Color (PCjr only) (Low res)
- 9 COLOR 320 x 200 Color (PCjr only) (Medium res)
- 10 COLOR 640 x 200 Color (PCjr only) (High res)
- 13 COLOR 320 x 200 Color (EGA only) (Medium res)
- 14 COLOR 640 x 200 Color (EGA only) (High res)
- 15 MONO 640 x 350 Mono (EGA only) (High res)
- 16 COLOR 640 x 350 Color (EGA + Enhanced Color Display only)
-
-