22. November 2024, 13:37
mov dx, 0x3d4mov al, 0x0aout dx,alinc dxin al,dxbts al,5push axmov al,0x0adec dxout dx,alinc dxpop axout dx,al
outportb(0x3D4, 14);outportb(0x3D5, temp >> 8);outportb(0x3D4, 15);outportb(0x3D5, temp);
unsigned char temp;outportb(0x3D4, 0xa);temp = inportb(0x3D5);temp = temp | (1 << 5);outportb(0x3D4, 0xa);outportb(0x3D5, temp);