Article View: comp.os.msdos.programmer
Article #1439Help! Problems with EMM386.EXE.
From: Daniel Hopp
Date: Fri, 11 Sep 1992 12:34
Date: Fri, 11 Sep 1992 12:34
47 lines
2143 bytes
2143 bytes
Hi,
I've got a problem switching the expanded memory manager EMM386.EXE, using
the functions documentated in Ralf Brown's interrupt list. Although switching
to modes OFF and AUTO works fine, I COULDN'T SWITCH IT ON !!!!!
Here's the excerpt from the list:
> INT 67 - Microsoft EMM386.EXE v4.20+ - INSTALLATION CHECK
> AX = FFA5h
> Return: AX = 845Ah if loaded
> BX:CX -> API entry point
>
> Call API entry point with:
> AH = 00h get memory manager's status
> Return: AH = status
> bit 0: not active (OFF)
> bit 1: in "Auto" mode
> AH = 01h set memory manager's state
> AL = new state (00h ON, 01h OFF, 02h AUTO)
>
This is the assembler program I use:
QUEST dw 0ffa5h
INSTALLED dw 0845ah
API_POINT dd ?
MAIN: mov ax,QUEST ; test installation
int 67h
cmp ax,INSTALLED ; equal if installed
jne EXIT
mov word ptr API_POINT,cx ; entry point in BX:CX
mov word ptr API_POINT[2],bx
ENABLE: mov ah,01h ; set state
mov al,00h ; ON - does not work !
mov si,offset API_POINT
call dword ptr cs:[si]
As this thing is of great importance for me, it would be nice if somebody
could help me here. Thanx!
Daniel Hopp
Technical Details
Message-ID:
<1992Sep11.123421.13832@rhrk.uni-kl.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!ira.uka.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!tangram.informatik.uni-kl.de!d_hoppShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!ira.uka.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!tangram.informatik.uni-kl.de!d_hopp From: d_hopp@tangram.informatik.uni-kl.de (Daniel Hopp) Subject: Help! Problems with EMM386.EXE. Message-ID: <1992Sep11.123421.13832@rhrk.uni-kl.de> Keywords: emm386 Sender: news@rhrk.uni-kl.de Reply-To: d_hopp@tangram.informatik.uni-kl.de (Daniel Hopp) Organization: University of Kaiserslautern (Germany) Date: Fri, 11 Sep 1992 12:34:21 GMT Lines: 50