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:
@@ -85,12 +85,12 @@ _protected_code_segment:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
enable_a20:
|
enable_a20:
|
||||||
movw $2402, %ax // first, query the a20 status
|
movw $0x2402, %ax // first, query the a20 status
|
||||||
int $0x15
|
int $0x15
|
||||||
jc _a20_old_method // if that fails, use the old AT method
|
jc _a20_old_method // if that fails, use the old AT method
|
||||||
test $0x1, %al
|
test $0x1, %al
|
||||||
jnz _a20_done // Is a20 gate already enabled?
|
jnz _a20_done // Is a20 gate already enabled?
|
||||||
movw $2401, %ax
|
movw $0x2401, %ax
|
||||||
int $0x15
|
int $0x15
|
||||||
jnc _a20_done
|
jnc _a20_done
|
||||||
_a20_old_method:
|
_a20_old_method:
|
||||||
|
|||||||
Reference in New Issue
Block a user