applied hint by Black_mirror for keyboard work after kernel restart
git-svn-id: svn://kolibrios.org@301 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0e85b8f362
commit
b5e0fe41ca
@ -368,6 +368,13 @@ restart_kernel_4000:
|
||||
jcxz $+2
|
||||
sti
|
||||
|
||||
; (hint by Black_mirror)
|
||||
; We must read data from keyboard port,
|
||||
; because there may be situation when previous keyboard interrupt is lost
|
||||
; (due to return to real mode and IRQ reprogramming)
|
||||
; and next interrupt will not be generated (as keyboard waits for handling)
|
||||
in al, 0x60
|
||||
|
||||
; bootloader interface
|
||||
push 0x1000
|
||||
pop ds
|
||||
|
Loading…
Reference in New Issue
Block a user