Use "local" (instead of "global") disable/enable A20.

This solves the problems with NIOS.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@656 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-08-28 20:32:01 +00:00
parent c444161296
commit 9b42b52056

View File

@ -849,7 +849,7 @@ _XMSDriverAddress:
global __EnableA20
__EnableA20:
mov ah,3
mov ah,5
UsingXMSdriver:
push bx
call far [cs:_XMSDriverAddress]
@ -858,7 +858,7 @@ UsingXMSdriver:
global __DisableA20
__DisableA20:
mov ah,4
mov ah,6
jmp short UsingXMSdriver
dslowmem dw 0