Mail Archives: djgpp-workers/1998/07/19/17:56:44
Eli Zaretskii wrote:
>
> On Sun, 12 Jul 1998, Charles Sandmann wrote:
>
> > > EMM386 is loaded. This is the first two lines from my CONFIG.SYS:
> > >
> > > About the interrupt call, do you mean CWSDPMI should do that?
> >
> > No, if an application is going to access the HMA they must make sure
> > it's "on".
>
> Can someone please direct me to the interrupt call which turns on the A20
> line to make sure HMA is accessible? I want to add that call to the conio
> function which accesses the font table in the BIOS.
Looks like there's an XMS call, and also perhaps a BIOS call. The BIOS
is INT 15h/AX=2401h, and XMS seems to be a far call with AH=03h or 05h
(not sure which one is appropriate). See the INTLIST.
Seems to me it would be a good idea to turn it on at the start of the
program's run, and leave it at that.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -