#include <sys/io.h> int main() { int i ; iopl(3); outb(0x8e, 0x3f5); outb(0x41, 0x3f5); outb(0x41, 0x3f5); outb(0x41, 0x3f5); outb(0x41, 0x3f5); outb(0x41, 0x3f5); for(i = 0 ; i < 100000 ; i++) { outb(0x42, 0x3f5); } return 0 ; }
时间: 2024-10-10 01:44:52