PS/2 Keyboard: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Combuster (talk | contribs)
Added spin on inb(0x64) after reports this was necessary on some old and decrepit hardware. Unconfirmed.
Line 62: Line 62:
pusha
pusha
;Apparently spinning until the byte is ready is necessary on some older machines.
.spin:
in al, 0x64
and al, 0x01
jz .spin

;read scancode
;read scancode
in al, 0x60
in al, 0x60