home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!newsserver.jvnc.net!rutgers!ub!dsinc!satalink!bert.tyler
- From: bert.tyler@satalink.com (Bert Tyler)
- Newsgroups: comp.os.os2.misc
- Subject: Re: To XGA-2 or not
- Message-ID: <31045.1088.uupcb@satalink.com>
- Date: 7 Jan 93 07:38:00 GMT
- Reply-To: bert.tyler@satalink.com (Bert Tyler)
- Organization: Datamax/Satalink Connection * Ivyland, PA (215) 443-9434
- Lines: 52
-
- JM>Just how monitor-dependent is the DMQS file? Do I have to get one
- JM>specifically for a Sony CPD1302, or do I just need one for
- JM>800x600xhowever-many-colors-it-supports mode? What's _in_ there, anyway?
-
- I have a preliminary copy of an XGA manual that describes the content
- of DMQS files, I've been told I can discuss it, and I've written
- small "C" programs (the cryptic kind that only the creator could
- love) that I've used to look at some DMQS entries, so here goes.
-
- The short answer is that all you need is a DMQS file for some
- other monitor that handles the same video modes (defined in terms
- of resolution and refresh rates) as your Sony. If you or the programs
- you run were *really* picky, you might want to look for one that also
- has the same size screen ("I'm sorry, Mr. user, but you appear to have
- a 14" monitor, and we have determined that attempting to distinguish
- individual pixels in 1024x768 mode would be bad for your long-term
- visual health. This program will shut down in 30 seconds.").
- The long answer is below.
-
- A DMQS file contains some basic information about the display
- (an ASCII text string which "describes the display in user-friendly
- terms", the height and width of the screen in millimeters, whether
- it is mono or color, CRT or LCD), and then a number of entries,
- each describing a valid video mode.
-
- Each video mode entry describes the horizontal and vertical
- resolution of the mode (but *not* the number of colors - that's
- an adapter-related issue that analog monitors don't care about),
- the pixel width and height of that mode (in millimeters?),
- the pixel, line, and frame rate, and some data that decodes into
- XGA-specific commands that throw an XGA or XGA-2 adapter into that
- particular resolution (there's an entry where the file can specify
- that a particular video mode requires an XGA-2 adapter or will run
- on an original XGA adapter).
-
- Note that these XGA commands are *not* sufficient to throw an XGA
- adapter completely into a particular video mode - they just provide
- the resolution-dependent instructions. Other items, like setting
- up the adapter for 2/4/16/245/65526-color mode or deciding whether to
- use the 4MB, 1MB, or 64K aperture, are up to the driver program.
-
- It would sure seem to me that a well-written XGA/XGA-2 driver could
- run any old oddball resolution a DMQS entry chooses to describe
- (maybe a 1024x1024 resolution on a square monitor?), as long as the
- driver picks up all of its resolution-dependent information from
- that entry. Then again, maybe that's because I've never had to write
- one.
-
- Bert Tyler (bert.tyler@satalink.com)
- ---
- . DeLuxe./386 1.25 #343sa . Death is just God's way of dropping Carrier Detect
-
-