#include #include #include #include int main() { iopl(3); outb_p(0xb4, 0x64); outb_p(0xff, 0x64); unsigned short int cookie; for (int i=0; i < 100; i++) { cookie = inb_p(0x60); printf("0x%04x\n", cookie); } outb_p(0xfb, 0x64); outb_p(0xff, 0x64); }