How to access monitor driver registers

Hello sir(s),
I plan for a small project, Which controls the brightness and contrast of OpenGL 82845 video graphic adapter throw any programming language. And I want to know which language is the best and suitable one & also the procedure and algoritham of accessing the registers of contrast and brightness in display driver programming with driver display interface.
Thanking you sir,
Your’s sincerly,
Muralidhar.M

Yahoo! India Matrimony: Find your life partneronline.