Created
November 12, 2015 23:13
-
-
Save jeremy-allen-cs/f5dcff006b1be35ad027 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sys/io.h> | |
#define FIFO 0x3f5 | |
int main() { | |
int i; | |
iopl(3); | |
outb(0x0a,0x3f5); /* READ ID */ | |
for (i=0;i<10000000;i++) | |
outb(0x42,0x3f5); /* push */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment