aboutsummaryrefslogtreecommitdiffstats
path: root/ldlinux.asm
diff options
context:
space:
mode:
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index bfb483d1..84d47285 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -2535,7 +2535,7 @@ bcopy: push eax
;
%define io_delay call _io_delay
%define IO_DELAY_PORT 80h ; Invalid port (we hope!)
-%define disable_wait 256 ; How long to wait for a disable
+%define disable_wait 32 ; How long to wait for a disable
%define A20_DUNNO 0 ; A20 type unknown
%define A20_NONE 1 ; A20 always on?
@@ -2669,11 +2669,11 @@ a20_test:
push ax
mov cx,0FFFFh ; HMA = segment 0FFFFh
mov es,cx
- mov cx,0100h ; Loop count
+ mov cx,32 ; Loop count
mov ax,[ss:A20Test]
.a20_wait: inc ax
mov [ss:A20Test],ax
-; call try_wbinvd
+ io_delay ; Serialize, and fix delay
cmp ax,[es:A20Test+10h]
loopz .a20_wait
.a20_done: pop ax