diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-08-31 15:49:25 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-08-31 15:49:25 +0200 |
| commit | d9199842084865b0d9f33b31289d92bc0c3fbbb0 (patch) | |
| tree | 69b1af2a2ab6414c701390a27deb39b91071b358 /boot | |
| parent | 301b86e11cffe9b1b7f8fe7f3ec1fbdd4f0f1618 (diff) | |
Moved enable_a20 back to bootloader
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/mbr.asm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boot/mbr.asm b/boot/mbr.asm index bb74d23..4a75e3e 100644 --- a/boot/mbr.asm +++ b/boot/mbr.asm @@ -141,6 +141,14 @@ boot_16: boot_32_pm: ; +; ;enable A20 +; ;http://www.brokenthorn.com/Resources/OSDev9.html +; ;Method 3.1: Enables A20 through keyboard controller +; ;Not all keyboard controllers support this +; ;todo: check if this has any effect at all !?!? + mov al, 0xdd ; command 0xdd: enable a20 +; ;mov al, 0xdf ; command 0xdf: disable a20 + out 0x64, al ; send command to controller ; call KERNEL_OFFSET ;jump into our Kernel! ; |
