Adam Talbot wrote:
I am missing an inclue or define statment...
oh, that code I sent is crap.
I did not know you wanted the full thing.
#include <stdio.h> #include <asm/io.h>
main(){ uchar c;
c = inb(0x2e); printf("c %02x\n", c); }
be sure to cc -O2 or the damned asm junk won't get inlined, and you'll get link-time errors.
ron