Rev 160 | Rev 164 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 160 | Rev 161 | ||
---|---|---|---|
Line 362... | Line 362... | ||
362 | ; loopnz test_kbd |
362 | ; loopnz test_kbd |
Line 363... | Line 363... | ||
363 | 363 | ||
364 | push 0 |
364 | push 0 |
365 | pop es |
365 | pop es |
- | 366 | and word [es:0x9031], 0 |
|
- | 367 | ; \begin{Mario79} |
|
366 | and word [es:0x9031], 0 |
368 | ; find HDD IDE DMA PCI device |
367 | ; check for PCI BIOS |
369 | ; check for PCI BIOS |
368 | mov ax, 0xB101 |
370 | mov ax, 0xB101 |
369 | int 0x1A |
371 | int 0x1A |
370 | jc .nopci |
372 | jc .nopci |
Line 398... | Line 400... | ||
398 | int 0x1A |
400 | int 0x1A |
399 | jc .nopci |
401 | jc .nopci |
400 | and cx, 0xFFF0 ; clear address decode type |
402 | and cx, 0xFFF0 ; clear address decode type |
401 | mov [es:0x9031], cx |
403 | mov [es:0x9031], cx |
402 | .nopci: |
404 | .nopci: |
- | 405 | ; \end{Mario79} |
|
Line 403... | Line 406... | ||
403 | 406 | ||
404 | mov al,0xf6 ; Ñáðîñ êëàâèàòóðû, ðàçðåøèòü ñêàíèðîâàíèå |
407 | mov al,0xf6 ; Ñáðîñ êëàâèàòóðû, ðàçðåøèòü ñêàíèðîâàíèå |
405 | out 0x60,al |
408 | out 0x60,al |
406 | xor cx,cx |
409 | xor cx,cx |