Mail Archives: djgpp/1998/12/02/13:41:11
| From: | jjed AT hotmail DOT com
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | XMS Calls from protected mode
|
| Date: | Wed, 02 Dec 1998 18:23:31 GMT
|
| Organization: | Deja News - The Leader in Internet Discussion
|
| Lines: | 21
|
| Message-ID: | <7440iv$2i3$1@nnrp1.dejanews.com>
|
| NNTP-Posting-Host: | 212.216.209.189
|
| X-Article-Creation-Date: | Wed Dec 02 18:23:31 1998 GMT
|
| X-Http-User-Agent: | Mozilla/3.0 (compatible; Opera/3.0; Windows 95/NT4) 3.2
|
| X-Http-Proxy: | 1.0 mail2:3128 (Squid/1.1.20), 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 192.168.0.2, 212.216.209.189
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
| Reply-To: | djgpp AT delorie DOT com
|
Is it possible to call the XMS handler from protected mode and allocate some
memory? Or is the memory already eaten by the DPMI host?
XMS specification requires that a real-mode handler is called:
Example:
mov ax, 4310h
int 2Fh ; get handler address
mov word ptr [XMSControl], bx
mov word ptr [XMSControl+2], es
mov ah, 00h
call [XMSControl] ; Get XMS version number
Now, how do I do this in protected mode?
Thank you,
James
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
- Raw text -