30
16/03/2006
Appendix 1 – Defining Custom Modes
Custom Mode information is stored in the Registry at:
•
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DGC123\Device0
In a
REG_MULTI_SZ
value named “Mode”. Each mode definition is on a single line (there
can be multiple mode definitions each on a new line). The mode definition should be typed in
the following format as a comma-separated string:
X, Y, Refresh, hfp, hsync, hbp, vfp, vsync, vbp, hpol, vpol, dotclock
For example:
1280,1024,50,24,240,144,3,3,1,0,0,90139
The following table explains what each value represents:
X
Active display width in pixels
Y
Active display height in lines
Refresh
Refresh rate displayed in dialog. Also used for calculating dot-
clock if no dotclock value is provided
hfp
Horizontal front porch in pixels (value must be divisible by 8)
hsync
Horizontal sync width in pixels (value must be divisible by 8)
hbp
Horizontal back porch in pixels (value must be divisible by 8)
vfp
Vertical front porch in lines
vsync
Vertical sync width in lines
vbp
Vertical back porch in lines
hpol
Horizontal sync polarity (0 = negative, 1 = positive)
vpol
Vertical sync polarity (0 = negative, 1 = positive)
dotclock
Pixel dot-clock in KHz (optional). Allows more accurate control of
the dot-clock
Note
If this registry value is amended the TWIN tab must be closed then re-opened to ensure
the new values are read from the Registry.
Содержание Vigilant-X
Страница 20: ...20 16 03 2006 ...