"8042" PS/2 Controller: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m more "see also" |
Shifted "CPU reset" from "PS/2 Keyboard" page |
||
Line 70: | Line 70: | ||
'''TODO''' |
'''TODO''' |
||
== CPU Reset == |
|||
To trigger a CPU Reset (No matter what state the CPU currently has) you have to write the value 0xFE to the Output port. |
|||
<source lang="asm"> |
|||
;Wait for a empty Input Buffer |
|||
wait1: |
|||
in al, 0x64 |
|||
test al, 00000010b |
|||
jne wait1 |
|||
;Send 0xFE to the keyboard controller. |
|||
mov al, 0xFE |
|||
out 0x64, al |
|||
</source> |
|||