Rev 227 | Rev 424 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 227 | Rev 301 | ||
---|---|---|---|
Line 366... | Line 366... | ||
366 | jcxz $+2 |
366 | jcxz $+2 |
367 | out 40h, al |
367 | out 40h, al |
368 | jcxz $+2 |
368 | jcxz $+2 |
369 | sti |
369 | sti |
Line -... | Line 370... | ||
- | 370 | ||
- | 371 | ; (hint by Black_mirror) |
|
- | 372 | ; We must read data from keyboard port, |
|
- | 373 | ; because there may be situation when previous keyboard interrupt is lost |
|
- | 374 | ; (due to return to real mode and IRQ reprogramming) |
|
- | 375 | ; and next interrupt will not be generated (as keyboard waits for handling) |
|
- | 376 | in al, 0x60 |
|
370 | 377 | ||
371 | ; bootloader interface |
378 | ; bootloader interface |
372 | push 0x1000 |
379 | push 0x1000 |
373 | pop ds |
380 | pop ds |
374 | mov si, kernel_restart_bootblock-0x10000 |
381 | mov si, kernel_restart_bootblock-0x10000 |