while( ! ( ( tmp = inportb( portaddr + 2 ) ) & 1 ) ) //portaddr为0x3f8 portaddr + 2 为中断辨识寄存器 { switch( tmp ) { case 0 : inportb( po...
阅读全文
2008
03-05