This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: asm outport


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]