/kernel/branches/kolibri-process/boot/bootcode.inc |
---|
1518,3 → 1518,29 |
gmok2: |
push ds |
pop es |
sidt [cs:old_ints_h] |
cli ; disable all irqs |
mov al, 255 ; mask all irqs |
out 0xa1, al |
out 0x21, al |
l.5: |
in al, 0x64 ; Enable A20 |
test al, 2 |
jnz l.5 |
mov al, 0xD1 |
out 0x64, al |
l.6: |
in al, 0x64 |
test al, 2 |
jnz l.6 |
mov al, 0xDF |
out 0x60, al |
l.7: |
in al, 0x64 |
test al, 2 |
jnz l.7 |
mov al, 0xFF |
out 0x64, al |