Thread View: alt.msdos.programmer
1 messages
1 total messages
Started by Daniel Hopp
Tue, 15 Sep 1992 08:27
Problems with EMM386.EXE.
Author: Daniel Hopp
Date: Tue, 15 Sep 1992 08:27
Date: Tue, 15 Sep 1992 08:27
47 lines
2113 bytes
2113 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads