thanx
Open /dev/mem and use either read or mmap.You can find an example doing both in:http://www.daimi.au.dk/~kasperd/vgareset.c
-- Kasper Dupont