This section lists the OS/2 Warp requirements for the modes included in a .PMI file. Each supported mode is represented by a set of sections, as follows:
* Comment (optional) * ModeInfo (required) * MonitorModeInfo (optional) * SetMode (optional)
The ModeInfo section is a list of the common mode elements (PMI keyvariables) that define the resolution, window, and size elements of the mode. The mode definition is then complemented by all of the MonitorModeInfo sections following the ModeInfo section. There could be zero or more MonitorModeInfo sections, depending on the capabilities of the hardware to program timings. An adapter may not support a CRT in a particular mode; a single MonitorModeInfo section with zero values is used to indicate such a case. If the adapter can support only a distinct set of values, rather than a range of horizontal and vertical refresh values, multiple MonitorModeInfo sections per horizontal/vertical refresh pair are used to indicate this fact. An adapter with flexibility in programming a range of dotclock (which translates into horizontal and vertical refreshes) should list only one MonitorModeInfo entry with the end of range values for the vertical/horizontal refresh.
Suggested modes include the following:
* 40x25 and 80x25 text
* At least one of the 132-column text modes (if applicable).
* At best, all of the supported 256-color modes with respective
refresh rates (see Monitor Timings Support in this chapter).
At the minimum, modes that are supported by the respective
Presentation Manager display driver.
If the adapter in question has both accelerated and nonaccelerated
modes, only the accelerated modes should be provided.
* At best, all of the supported hi-color and true-color modes with
respective refresh rates (see Monitor Timings Support in this
chapter).
At the minimum, modes which are supported by the respective
Presentation Manager display driver.
If the adapter in question has both accelerated and nonaccelerated
modes, only the accelerated modes should be provided.