Verified A20 gate BIOS call values with Ralf Brown's interrupt list - 0x2401/2

was already correct, and my other source was wrong about it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7234 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-04-19 00:00:53 +00:00
parent 46df41d103
commit d2e0469de4
1 changed files with 2 additions and 2 deletions

View File

@ -85,12 +85,12 @@ _protected_code_segment:
*/
enable_a20:
movw $2402, %ax // first, query the a20 status
movw $0x2402, %ax // first, query the a20 status
int $0x15
jc _a20_old_method // if that fails, use the old AT method
test $0x1, %al
jnz _a20_done // Is a20 gate already enabled?
movw $2401, %ax
movw $0x2401, %ax
int $0x15
jnc _a20_done
_a20_old_method: