Re: Question about the A20 line
- From: Dirk Wolfgang Glomp <spamtrap@xxxxxxxxxx>
- Date: Thu, 29 Dec 2005 13:50:03 +0100
alex schrieb:
>
> I've hit a snag when testing my code on various different pc's, in which
> the a20 enabling code works on about 60% of systems i try, and others
> fail..
>
> i've looked at a few examples of code that enables the a20, in other
> peoples work..
;----------------------------
EnableA20: call W_8042
jnz BACK
mov al, 0D1h
out 64h, al
call W_8042
jnz BACK
mov al, 0DFh
out 60h, al
W_8042: xor cx, cx
STATUS: in al, 64h
and al, 2
loopnz STATUS
BACK: ret
;----------------------------
Dirk
.
- Follow-Ups:
- Re: Question about the A20 line
- From: alex
- Re: Question about the A20 line
- References:
- Question about the A20 line
- From: alex
- Question about the A20 line
- Prev by Date: Re: Troubles with Tlink
- Next by Date: Re: Question about the A20 line
- Previous by thread: Question about the A20 line
- Next by thread: Re: Question about the A20 line
- Index(es):