Changing IO or memory value

2007-07-03 Thread Leon KomloĊĦi
Does anone have idea how to put certain value to a certain IO location 
from operating system. Is there some kind of debug or something?


I need to read IO location 0x09030, change and then write it back.


 Leon Komlosi



Re: Changing IO or memory value

2007-07-03 Thread Paul de Weerd
On Tue, Jul 03, 2007 at 09:06:29PM +0200, Leon Komlo?i wrote:
| Does anone have idea how to put certain value to a certain IO location
| from operating system. Is there some kind of debug or something?
|
| I need to read IO location 0x09030, change and then write it back.

I don't know of a portable way to do this, but if you're on i386, you
may find i386_get_ioperm(2) useful.

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]