Documente Academic
Documente Profesional
Documente Cultură
To disable key lock via 8042, simply issue write command to 8042 Status
Port (64H), test and wait until the 8042 Status Port (64H) bit 1 is
clear, then send the subsequent command byte 4DH to 8042 Port A which
is the data port for the 8042 and 6805.
4 - Power on computer. Note: the ROM BIOS boot-up process will hang
momentarily, but then display "Keyboard failure" error message and
continue the system initialization. The system will then boot
the operating system off of drive A: and process the Autoexec.bat
file which will execute the NOKEYLOK.COM utility.
-u 100 l17
1BF4:0100 FA CLI
1BF4:0101 B060 MOV AL,60
1BF4:0103 E664 OUT 64,AL
1BF4:0105 31C9 XOR CX,CX
1BF4:0107 E464 IN AL,64
1BF4:0109 A802 TEST AL,02
1BF4:010B E0FA LOOPNZ 0107
1BF4:010D B04D MOV AL,4D
1BF4:010F E660 OUT 60,AL
1BF4:0111 FB STI
1BF4:0112 B8004C MOV AX,4C00
1BF4:0115 CD21 INT 21
-q