SeaMonkey/1.5a   
   Y0rbsTr1V+9X/u/0fy5Nw/VKTTed!Z3fIkOWp9iAi9VXVH/LMnysIdYkMqh2mi4x   
   8QGWjhEwzTrBwbFXQNarGIyPMTRZhh95A+SqCQ3Z!CQ+8kt/om9mt16codfGDv8A=   
   properly   
   From: "David T. Johnson"    
      
   tholen@antispam.ham wrote:   
   > "David T. Johnson" writes:   
   >    
   >> SNAP stores the refresh rate in    
   >> x:\os2\drivers\snap\config\graphics\crtc00.dat   
   >>   
   >> for the base monitor. It's a binary file so you can only edit it with    
   >> binary editor.   
   >    
   > Editing it with a binary editor isn't a problem. Finding the correct   
   > byte is. There are at least a half dozen occurrences of the byte "41"   
   > in the file, which is the hex value for 65 Hz, which assumes, of   
   > course, that the refresh rate is stored in units of Hz.   
   >    
   > As soon as I get to my office, I'm going to need to check whether   
   > the "last written" dates on the crtc* files correspond to about   
   > the same time as the date on the swapper.dat file, which corresponds   
   > to the last reboot. That would at least provide a hint as to   
   > whether they get written at graceful shutdown or not. I' trying to   
   > think of a reason why they would NOT get written immediately upon   
   > the user making the change in the System object.   
   >    
   I'm using SNAP 3.1.8 which identifies itself as build 505 and is the    
   last one release by Scitech. The .dat file gets written immediately    
   after a change to the refresh rate and does not get written again until    
   another change is made to the configuration data stored in the file. If    
   the next change is not made for 30 days, the file does not get written    
   to for 30 days. You could find the correct bit by just making an    
   arbitrary change, saving a copy of the file, and then doing at a file    
   compare with the unchanged file to see where the change was written.   
      
   --    
   Posted with OS/2 Warp 4.52   
   and Sea Monkey 1.5a   
      
   --- Internet Rex 2.31   
    * Origin: The gateway at Omicron Theta (1:261/20.999)   
|