225 lines
14 KiB
HTML
225 lines
14 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int 2F/AX=2780h/CL=03h
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int 2F/AX=2780h/CL=03h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - MEMORY -
|
|
AX = 2780h
|
|
CL = 03h (module: Memory)
|
|
CH = subfunction
|
|
00h ???
|
|
01h F_PdirGet ???
|
|
02h F_PdirSet ???
|
|
03h Z_PageAlloc allocate a given page of memory
|
|
04h F_PageAllocG allocate global page???
|
|
05h F_PageAllocI allocate instance page???
|
|
06h F_PtblRead get page table???
|
|
">
|
|
<META NAME="robots" CONTENT="none">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFD0A0">
|
|
<center>
|
|
<h2>Int 2F/AX=2780h/CL=03h
|
|
</h2>
|
|
</center><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-4717.htm" tppabs="http://www.ctyme.com/intr/rb-4717.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-4719.htm" tppabs="http://www.ctyme.com/intr/rb-4719.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<h3><font color=#C00040>Novell DOS 7 - EMM386.EXE - MULTITASKING API - MEMORY</font></h3>
|
|
<PRE>
|
|
AX = 2780h.
|
|
<p><b>CL = 03h (module:</b><br>Memory).
|
|
CH = subfunction
|
|
00h ???
|
|
01h "F_PdirGet" ???
|
|
02h "F_PdirSet" ???
|
|
03h "Z_PageAlloc" allocate a given page of memory
|
|
04h "F_PageAllocG" allocate global page???
|
|
05h "F_PageAllocI" allocate instance page???
|
|
06h "F_PtblRead" get page table???
|
|
07h "F_PtrlWrite" select page table???
|
|
08h "Z_PtblGet" read page table
|
|
09h "Z_PtblSet" change page table
|
|
0Ah "Z_PagesAlloc" allocate pages of memory
|
|
0Bh "Z_PageFree" free a given page of memory
|
|
0Ch "Z_MemAlloc" allocate a memory block
|
|
0Dh "Z_MemFree" release memory block
|
|
0Eh "Z_MemSizeGet" get size of memory block
|
|
0Fh "Z_MemResize" resize a memory block
|
|
10h "Z_DescAlloc" allocate a memory descriptor
|
|
11h "Z_DescFree" release a memory descriptor
|
|
12h "Z_DescGet" get details on memory descriptor
|
|
13h "Z_DescSet" set a memory descriptor
|
|
14h "Z_MemDescAlloc" allocate a memory block and its descriptor
|
|
15h "Z_MemDescFree" release a memory block and its descriptor
|
|
16h "Z_MemDescSizeGet" get size of memory block
|
|
17h "Z_MemDescResize" resize a memory block
|
|
18h "Z_PageLock" lock a page, with existing contents
|
|
19h "Z_PageUnlock" unlock a page
|
|
1Ah "Z_PageLockAny" lock a page, contents undefined
|
|
1Bh "Z_PageUnlockReuse" unlock page, reuse phsyical memory
|
|
1Ch "Z_PageLockNone" lock a page, no physical memory assigned
|
|
1Dh "Z_PageUnlockNone" unlock a page, don't reuse physical memory
|
|
1Eh "F_CallRealRaw" call real mode (SS:ESP supplied)
|
|
1Fh "F_IntRealRaw" perform real-mode interrupt (SS:ESP supplied)
|
|
20h "F_CallReal" call real mode with RETF frame
|
|
21h "F_IntReal" perform real-mode interrupt
|
|
22h "F_PagedCallReal" paged real-mode call
|
|
23h "F_PagedIntReal" paged real-mode interrupt
|
|
24h "F_CallIretReal" call real mode with IRET frame
|
|
25h "F_CallIretRealRaw" call real mode with IRET (SS:ESP supplied)
|
|
26h "F_CallProt16" call 16-bit protected-mode code
|
|
27h "F_CallProt32" call 32-bit protected-mode code
|
|
28h "F_IAddPage" add kernel instance data
|
|
29h "Z_PageDomLock" lock page in specific domain, preserve contents
|
|
2Ah "Z_PatgeDomUnlock" unlock page in specific domain
|
|
2Bh "Z_PageDomLockAny" lock page in specific domain, undef contents
|
|
2Ch "Z_PageDomUnlockReuse" unlock page in spec. domain,reuse ph.mem
|
|
2Dh "Z_PageDomLockNone" lock page in spec. domain, no phys memory
|
|
2Eh "Z_PageDomUnlockNone" unlock page in spec. domain, no phys. mem
|
|
2Fh "Z_GateAlloc" allocate a gate
|
|
30h "Z_GateFree" release a gate
|
|
31h "X_MemFreeGet" get total free memory
|
|
32h "X_MemTopGet" get highest memory address
|
|
33h "X_MemTotalGet" get total memory size
|
|
34h "F_DescRead" ???
|
|
35h "F_DescWrite" ???
|
|
36h "F_GetStack" ???
|
|
37h "F_SetStack" ???<br>
|
|
<p><b>Return:</b><br>CX = status (most subfunctions)
|
|
(E)AX and/or (E)BX contain return values, depending on function
|
|
</PRE>
|
|
<p><b>Notes:</b>
|
|
Called by DPMS.EXE and EMM386.EXE.
|
|
This API is only available if AX=12FFh/BX=0EDCh returns successfully;
|
|
because the request is handled on the initial trap to the memory
|
|
manager caused by INT instructions, this API must be invoked with
|
|
an actual INT 2F instruction instead of some simulation such as a
|
|
far call to the address in the interrupt vector table
|
|
<p><b>See Also:</b>
|
|
<a href="rb-4452.htm" tppabs="http://www.ctyme.com/intr/rb-4452.htm">AX=12FFh/BX=0EDCh</a> - <a href="rb-4716.htm" tppabs="http://www.ctyme.com/intr/rb-4716.htm">AX=2780h/CL=01h</a> - <a href="rb-4717.htm" tppabs="http://www.ctyme.com/intr/rb-4717.htm">AX=2780h/CL=02h</a> - <a href="javascript:if(confirm('http://www.ctyme.com/intr/rb- \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/intr/rb-'" tppabs="http://www.ctyme.com/intr/rb-"
|
|
<p>
|
|
<b>Category: <a href="cat-024.htm" tppabs="http://www.ctyme.com/intr/cat-024.htm">
|
|
Memory Management</a>
|
|
- <a href="int-2f-1.htm" tppabs="http://www.ctyme.com/intr/int-2F.htm">
|
|
Int 2Fh</a>
|
|
- <a href="alpha-n.htm" tppabs="http://www.ctyme.com/intr/alpha-n.htm">
|
|
N</a>
|
|
</b><p><p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-4717.htm" tppabs="http://www.ctyme.com/intr/rb-4717.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-4719.htm" tppabs="http://www.ctyme.com/intr/rb-4719.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
|
|
<!-- Bottom Link Start -->
|
|
|
|
<center>
|
|
|
|
<p><table border=1 bgcolor="#ffff99"><tr><td>
|
|
<table border=0 height=80>
|
|
<tr align=center><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">
|
|
<img src="tip.gif" tppabs="http://graphics.ctyme.com/gif/tip.gif" ALT="Sponsors" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">Shopping</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">
|
|
<img src="comment.gif" tppabs="http://graphics.ctyme.com/gif/comment.gif" ALT="Forum" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">Forum</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">
|
|
<img src="mail.gif" tppabs="http://graphics.ctyme.com/gif/mail.gif" ALT="email" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">EMail</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">
|
|
<img src="toc.gif" tppabs="http://graphics.ctyme.com/gif/toc.gif" ALT="Index" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">Index</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">
|
|
<img src="home.gif" tppabs="http://graphics.ctyme.com/gif/home.gif" ALT="Home" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">Home</a>
|
|
|
|
</td><td width="90">
|
|
|
|
<center>
|
|
<FORM ACTION="https://secure.paypal.com/cgi-bin/webscr" tppabs="https://secure.paypal.com/cgi-bin/webscr" METHOD="POST" traget="_blank">
|
|
<INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
|
|
<INPUT TYPE="hidden" NAME="business" VALUE="marc@perkel.com">
|
|
<INPUT TYPE="hidden" NAME="return" VALUE="http://www.perkel.com">
|
|
<INPUT TYPE="hidden" NAME="item_name" VALUE="Donation To Support this Site">
|
|
<INPUT TYPE="hidden" NAME="no_intl" VALUE="1">
|
|
<INPUT TYPE="image" SRC="x-click-but7.gif" tppabs="http://images.paypal.com/images/x-click-but7.gif" vspace=9
|
|
NAME="submit" ALT="Make payments with PayPal - it's fast, free and secure!">
|
|
</FORM>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
|
|
|
|
<center>
|
|
<p>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/hosting/index.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/hosting/index.htm'" tppabs="http://www.ctyme.com/hosting/index.htm" target="_blank">
|
|
<img src="ctymehost.gif" tppabs="http://graphics.ctyme.com/gif/ctymehost.gif"
|
|
border=3 height=60 width=468></a>
|
|
<p>
|
|
<!-- Ad End --->
|
|
|
|
</center>
|
|
<FORM ACTION="http://service.bfast.com/bfast/click" target="_blank">
|
|
<INPUT TYPE="hidden" NAME="siteid" VALUE="30472466" >
|
|
<INPUT TYPE="hidden" NAME="bfpage" VALUE="horizontal">
|
|
<INPUT TYPE="hidden" NAME="bfmid" VALUE="27253343" >
|
|
<INPUT TYPE="hidden" NAME="num" VALUE="30">
|
|
|
|
<table bgcolor=white border=3><tr><td>
|
|
<table bgcolor=white border=0>
|
|
<tr><td>
|
|
<IMG SRC="serve-bfmid=27253343&siteid=30472466&bfpage=horizontal.gif" tppabs="http://service.bfast.com/bfast/serve?bfmid=27253343&siteid=30472466&bfpage=horizontal" BORDER="0" WIDTH="1" HEIGHT="1" align=right NOSAVE >
|
|
<center><b>Search the web with Google</b></center>
|
|
</td></tr><tr><td>
|
|
<TABLE cellpadding=0 cellspacing=5 bgcolor="#FFFFFF">
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr><tr><td>
|
|
<IMG SRC="affiliate_logo.gif" tppabs="http://www.google.com/affiliates/affiliate_logo.gif" border="0" ALT="Google" align="center">
|
|
<INPUT TYPE=text name=q size=30 maxlength=255 value="">
|
|
<INPUT type=submit name=sa VALUE="Go">
|
|
</td></tr>
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr></TABLE>
|
|
</td></tr></table>
|
|
</tr></td></table>
|
|
</FORM>
|
|
|
|
</center>
|
|
|
|
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
|
|
<!-- Bottom Link End -->
|
|
|
|
</BODY>
|
|
</HTML>
|