asm outport
Jim Wilson
wilson@specifix.com
Tue Dec 6 01:52:00 GMT 2005
david pasha wrote:
> #include <conio.h>
> ...
> outport(0x56,0xf);
You didn't mention what gcc error you got. You need to give complete
info about a problem if you want a good answer.
Since this is a very target dependent issue, you might try sending mail
to a cyginw or mingw list. Gcc developers generally aren't Microsoft
Windows experts.
I tried a quick web search, it seems the answer is that win32 doesn't
support direct access to the I/O ports, so you can't do what you are
trying to do without a device driver. If you want a better answer, you
need to ask people who know more about MS Windows programming.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
More information about the Gcc-bugs
mailing list