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