🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #315

Problems with EMM386.EXE.

#315
From: Daniel Hopp
Date: Tue, 15 Sep 1992 08:27
47 lines
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
Technical Details
Message-ID: <1992Sep15.082703.20767@rhrk.uni-kl.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!tangram.informatik.uni-kl.de!d_hopp

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!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: Problems with EMM386.EXE.
Message-ID: <1992Sep15.082703.20767@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: Tue, 15 Sep 1992 08:27:03 GMT
Lines: 50