; MGA MILLENIUM SETTINGS FOR NANAO 77F MONITOR WITH 90kHz (V) / 150Hz (V) REFRESH RATES
;
; I have a Nanao 77F monitor with max. 90kHz horizontal and 150Hz vertical refresh rates.
; Since the MGA.MON file provided with my 8MB MGA Millenium's OS/2 video drivers contained 
; no preset values that fully matched its specs, I spent some time calculating optimal
; settings which would use the card's and monitor's potentials to the fullest, while still
; falling within nominal values. 
;
; If anyone wants to experiment, the formulas are: 
;                   Hf=(Pixel_Clk/(H_Disp+H_Fporch+H_Sync+H_Bporch))
;                   Vf=(Hf/(V_Disp+V_Fporch+V_Sync+V_Bporch))
; The V_Fporch and V_Sync can usually stay around 1 and 3, but the V_Bporch should increase
; about proportionally to the increase in vertical resolution. (I used 3.7% of V_Disp)
; The H_Fporch, H_Sync and H_Bporch should be multiples of 32. MGA.MON contains additional 
; instructions. I would also suggest studying the Nixdorf monitors - they are well optimized.
; 
; All settings comply with the parameters as listed in the manuals, and I've used them for a
; few years with no ill effects. The same values should theoretically also be valid for most
; multisync monitors with 90kHz horizontal and 150Hz vertical refresh rates or higher. 
; However, I in no way guarantee that they will work, or that they will not adversely affect
; your computer, monitor, video card, sanity, or social standing. Use at your own risk.
;
; ALWAYS MAKE AN ARCHIVE BEFORE YOU MAKE ANY CHANGES TO YOUR SYSTEM, so you can restore the
; old settings if the new ones do not work satisfactorily. If you insist on not doing so,
; and the screen should become illegible after you change the settings, reboot the computer, ; press Alt-F1 when the small white OS/2 square appears on the top left of the screen during
; boot-up, start the system up in VGA mode, and reinstall your video drivers. 
;
; If, after reading the above disclaimer, you still want to use the settings, add the lines
; below into the MGA.MON file in the \MGA\OS2 directory on your boot drive.
; REMEMBER TO BACK UP THE ORIGINAL MGA.MON FILE. When you then open the MGA Settings utility,
; you should find a new section under Nanao called _Nanao Flexscan 77F 220Mil/8MB_. Choose
; the appropriate resolution, and restart the computer. 
;
; If you find this useful, and feel like telling me so, I can be reached at:
; zircon@interlink.or.jp
; Teijo Kaakinen
; Enjoy!


; ###########################################################################################
; ##############  PLACE THIS SECTION IN MGA.MON'S MONITOR DEFINITIONS SECTION  ##############
; ###########################################################################################

[Nanao.Flexscan 77F 220Mil/8MB]
640X480    = NI, *NANAO_77F_640X480X145Hz
800X600    = NI, *NANAO_77F_800X600X142Hz
1024X768   = NI, *NANAO_77F_1024X768X111Hz
1152X864   = NI, *NANAO_77F_1152X864X90Hz
1280X1024  = NI, *NANAO_77F_1280X1024X84Hz
1600X1200  = NI, *NANAO_77F_1600X1200X72Hz
NTSC       = NA
PAL        = NA


; ###########################################################################################
; ###############  PLACE THIS SECTION IN MGA.MON'S VIDEO PARAMETERS SECTION  ################
; ###########################################################################################


[*NANAO_77F_640X480X145Hz]; (Pix=60.480MHz / Hf=70kHz / Vf=140.0Hz)
PIXEL_CLK  = 60480   ; kilo pixels/sec
H_DISP     =   640   ; pixels
H_FPORCH   =    32
H_SYNC     =    64
H_BPORCH   =   128
H_SYNC_POL =     0   ; negative
V_DISP     =   480   ; lines
V_FPORCH   =     1
V_SYNC     =     3
V_BPORCH   =    16
V_SYNC_POL =     0   ; negative
INTERLACE_ENABLE=0   ; non-interlaced

[*NANAO_77F_800X600X142Hz]; (Pix=93.984MHz / Hf=89kHz / Vf=142.1Hz)
PIXEL_CLK  = 93984   ; kilo pixels/sec
H_DISP     =   800   ; pixels
H_FPORCH   =    32
H_SYNC     =    96
H_BPORCH   =   128
H_SYNC_POL =     0   ; negative
V_DISP     =   600   ; lines
V_FPORCH   =     1
V_SYNC     =     3
V_BPORCH   =    22
V_SYNC_POL =     0   ; negative
INTERLACE_ENABLE=0   ; non-interlaced

[*NANAO_77F_1024X768X111Hz]; (Pix=122.464MHz / Hf=89kHz / Vf=111.2Hz)
PIXEL_CLK  =122464   ; kilo pixels/sec
H_DISP     =  1024   ; pixels
H_FPORCH   =    32
H_SYNC     =    96
H_BPORCH   =   224
H_SYNC_POL =     0   ; negative
V_DISP     =   768   ; lines
V_FPORCH   =     1
V_SYNC     =     3
V_BPORCH   =    28
V_SYNC_POL =     0   ; negative
INTERLACE_ENABLE=0   ; non-interlaced

[*NANAO_77F_1152X864X90Hz]; (Pix=136.704MHz / Hf=89kHz / Vf=89.9Hz)
PIXEL_CLK  =136704   ; kilo pixels/sec
H_DISP     =  1152   ; pixels
H_FPORCH   =    32
H_SYNC     =   128
H_BPORCH   =   224
H_SYNC_POL =     0   ; negative
V_DISP     =   864   ; lines
V_FPORCH   =     1
V_SYNC     =     3
V_BPORCH   =    32
V_SYNC_POL =     0   ; negative
INTERLACE_ENABLE=0   ; non-interlaced

[*NANAO_77F_1280X1024X84Hz]; (Pix=155.347MHz / Hf=89.9kHz / Vf=84.3Hz)
PIXEL_CLK  =155347   ; kilo pixels/sec
H_DISP     =  1280   ; pixels
H_FPORCH   =    32
H_SYNC     =   160
H_BPORCH   =   256
H_SYNC_POL =     1   ; positive
V_DISP     =  1024   ; lines
V_FPORCH   =     1
V_SYNC     =     3
V_BPORCH   =    38
V_SYNC_POL =     1   ; positive
INTERLACE_ENABLE=0   ; non-interlaced

[*NANAO_77F_1600X1200X72Hz]; (Pix=191.888MHz / Hf=89.5kHz / Vf=71.7Hz)
PIXEL_CLK  =191888   ; kilo pixels/sec
H_DISP     =  1600   ; pixels
H_FPORCH   =    64
H_SYNC     =   224
H_BPORCH   =   256
H_SYNC_POL =     0   ; negative
V_DISP     =  1200   ; lines
V_FPORCH   =     1
V_SYNC     =     3
V_BPORCH   =    44
V_SYNC_POL =     0   ; negative
INTERLACE_ENABLE=0   ; non-interlaced

