This batch removes the pedestal switch that elevates the black level of some S3 cards.

Before running RUN.BAT you have to find the correct value for you S3 card and modify the register (1F) on the fourth line in ON.SCR and OFF.SCR.
But you can try to run it as is if you have S3 or ViRGE/DX and Trio64V2/DX.

For Trio3D famly third line with 1A should be changed to 27 at the second 3c4.
For ViRGE/DX and Trio64V2/DX keep it 1A.

To find the correct "1F" value:
Run debug.exe and type: 

o 3c4 08
o 3c5 06
o 3c4 1a
i 3c5

You will get a 8-bit hexadecimal value, subtract 20h from it [i.e. you got 3F, (3F - 20 = 1F)].
* Google search: 0x3F-0x20 to find the value.
Type "q" to quit debug.exe.


Replace the 1F value in OFF.SCR with the calculated resulting value and save.
Replace the 3F value in ON.SCR with the default output from "i 3c5" and save.


For more info see this thread on Vogons:
http://www.vogons.org/viewtopic.php?f=46&t=43472