[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Need help with hardware i/o
From: |
Daniel Glöckner |
Subject: |
Re: [Tinycc-devel] Need help with hardware i/o |
Date: |
Fri, 21 Aug 2009 09:47:08 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Fri, Aug 21, 2009 at 09:24:01AM +0300, Antti Huovilainen wrote:
> You cannot access hardware directly in win32 programs (or linux programs
> for that matter).
As root you can enable access to io ports with iopl(2) and ioperm(2) in Linux.
> 1) You cannot access video ram directly in windows (or linux).
With sufficient privileges you can mmap /dev/mem in Linux to access
physical address space.
Daniel