View Single Post
Old 09-01-02, 02:16 AM   #7
HurgleBurgle
Registered User
 
Join Date: Jul 2002
Location: Baltimore, MD
Posts: 21
Default

The inf is really really simple people!

think of it as a table for the refresh rates.

something like

x x x x | x x x x | 140 120 100 85 | 75 72 70 60
0 0 0 0 0 0 0 0.....0.....0.....1....0......0...0...0...1

The dots are there to maintain proper spacing.
I don't remember what the refresh rates are above 140. (they're in the pdf)

Each refresh rate is either on (1) or off (0). This is binary@!
Ok so in my little example all you get is 60 or 100.
In binary (from the table!!!!) this is 00100001.

Convert that number to hex! (21)
If you don't know how to convert to hex here's an easy method.
Break the binary down into groups of 4 digits. In the example this would be:

0010 | 0001

Look up the group of 4 in the following table.

..bin..| hex
---------------
0001 | 1
0010 | 2
0011 | 3
0100 | 4
0101 | 5
0110 | 6
0111 | 7
1000 | 8
1001 | 9
1010 | A
1011 | B
1100 | C
1101 | D
1110 | E
1111 | F


That makes the example:

0010 | 0001 = 21 (HEX)
..(2)......(1)

Ok so in the inf there are lines like this: (this is from my file actually)

HKR,, NV25_Modes_Delta, %REG_MULTI_SZ%, "S 640x480 800x600 1024x768 1152x864 1280x960 1280x1024 1600x1200=10;"

the key part of this for the setting of refresh rates is the
1600x1200=10;"

You may be thinking "ten! why does he want a refresh rate of ten!" Well it's not ten it's actually hex ten which comes out to a binary of 00010000. From the refresh rate table above you can see that this turns on the refresh rate of 85 only. This rate applies to all the resolutions that come before the ;

One last example. Let's say you wanted every refresh rate from 60 up to 140. This would result in a binary code of

1111 | 1111 = FF (HEX)
..(F).......(F)

Ok so if you want this to apply to 640x480 you would modify the line above to read.

HKR,, NV25_Modes_Delta, %REG_MULTI_SZ%, "S 640x480=FF; 800x600 1024x768 1152x864 1280x960 1280x1024 1600x1200=10;"


If this isn't any clearer than the pdf, then I guess some people will never get it.

EDIT: Had to add dots to maintain proper spacing in my charts. Hey moderator when i put more than one space I want more than one space or at least give me a way to force more than one space!!

Last edited by HurgleBurgle; 09-01-02 at 02:29 AM.
HurgleBurgle is offline   Reply With Quote