home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / misc / 41495 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  3.2 KB

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