340 lines
17 KiB
HTML
340 lines
17 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int 2F/AX=2780h/CL=01h
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int 2F/AX=2780h/CL=01h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - SUPERVISOR MODULE -
|
|
AX = 2780h
|
|
CL = 01h (module: Supervisor)
|
|
CH = subfunction
|
|
00h unused
|
|
Return: CX = status (0002h) (see #02739)
|
|
01h unused
|
|
Return: CX = status (0002h) (see #02739)
|
|
02h Z_ModuleReg register an OS module
|
|
EBX = module number (0005h-000Fh)
|
|
DS:EDX - module descriptor (see #02741)
|
|
">
|
|
<META NAME="robots" CONTENT="none">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFD0A0">
|
|
<center>
|
|
<h2>Int 2F/AX=2780h/CL=01h
|
|
</h2>
|
|
</center><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-4715.htm" tppabs="http://www.ctyme.com/intr/rb-4715.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-4717.htm" tppabs="http://www.ctyme.com/intr/rb-4717.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 - SUPERVISOR MODULE</font></h3>
|
|
<PRE>
|
|
AX = 2780h.
|
|
<p><b>CL = 01h (module:</b><br>Supervisor).
|
|
CH = subfunction
|
|
00h unused
|
|
<p><b>Return:</b><br>CX = status (0002h) (see #02739)
|
|
01h unused
|
|
<p><b>Return:</b><br>CX = status (0002h) (see #02739)
|
|
02h "Z_ModuleReg" register an OS module
|
|
EBX = module number (0005h-000Fh)
|
|
DS:EDX -> module descriptor <a href="rb-4716.htm#Table2741" tppabs="http://www.ctyme.com/intr/rb-4716.htm#Table2741">(see #02741)</a>
|
|
<p><b>Return:</b><br>CX = status (0000h,0030h) (see #02739)
|
|
03h allocate SYSDAT memory
|
|
DX = number of ??? to allocate
|
|
<p><b>Return:</b><br>CX = status (0000h,0003h) (see #02739)
|
|
04h get selector to SYSDAT
|
|
<p><b>Return:</b><br>CX = 0000h (successful)
|
|
BX = selector for EMM386 data segment
|
|
EBX high word cleared
|
|
05h "Z_MoveReal" relocate segment into extended memory
|
|
DS:EDX -> descriptor parameter block
|
|
<p><b>Return:</b><br>ECX = status (00h,03h,31h,32h) (see #02739)
|
|
---if successful---
|
|
parameter block filled
|
|
06h "Z_Reboot" return to real mode via triple fault
|
|
07h debugger break
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
Calls INT 03, then INT 21/AH=02h to output a question
|
|
mark
|
|
08h "X_ForeCheck" check if domain is in foreground
|
|
<PRE>
|
|
<p><b>Return:</b><br>CX = 0000h (successful)
|
|
EBX = ??? (0 or 2)
|
|
09h register VxD with system
|
|
0Ah unload VxD hook
|
|
0Bh indicate end of initialization phase
|
|
<p><b>Return:</b><br>CX = status (0002h) (see #02739)
|
|
0Ch "F_AllocWindow" allocate 4K mapping window
|
|
0Dh "F_RegisterBoot" register reboot addresses
|
|
EBX = ???
|
|
EDX = ???
|
|
<p><b>Return:</b><br>???
|
|
0Eh "F_EnquireBoot" check if reboot active
|
|
<p><b>Return:</b><br>CX = 0000h (successful)
|
|
BL = ??? \ or BX = 0000h
|
|
BH = ??? /
|
|
0Fh get debugging level
|
|
<p><b>Return:</b><br>CX = 0000h (successful)
|
|
EBX = new value for debugging level
|
|
10h set debugging level
|
|
EDX = ???
|
|
<p><b>Return:</b><br>CX = 0000h (successful)
|
|
EBX = old value of debugging level
|
|
11h installation check (documented)
|
|
<p><b>Return:</b><br>CX = status
|
|
0000h if multitasker is installed
|
|
EBX = version (0100h for v1.00)
|
|
1101h if multitasker is not present
|
|
12h "F_V86BPInstall" install V86 breakpoint
|
|
DX = ???
|
|
<p><b>Return:</b><br>CX = 0000h (successful)
|
|
AX = old value of ???
|
|
13h "F_V86BPRemove" remove V86 breakpoint
|
|
<p><b>Return:</b><br>CX = status (0000h,003Fh) (see #02739)
|
|
AX = ???
|
|
14h "F_V86BPOffer" indicate INT 03 to be used as V86 breakpoint
|
|
EDX = linear address ??? of INT 03 instruction for breakpoint
|
|
<p><b>Return:</b><br>CX = status (0000h,003Fh) (see #02739)
|
|
15h "F_LoaderCleanup" offer opportunity to clean up
|
|
BX = segment of ???
|
|
<p><b>Return:</b><br>CX = 0000h (successful)
|
|
BX = segment of ???
|
|
16h "F_RegisterVxDWindow" register VxD mapping window
|
|
17h "F_RegisterPNW" register Personal NetWare information
|
|
EBX = subfunction (0-2)
|
|
<p><b>Return:</b><br>CX = status (0002h if EBX>2) (see #02739)
|
|
???
|
|
18h unused
|
|
<p><b>Return:</b><br>CX = status (0002h) (see #02739)<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-4717.htm" tppabs="http://www.ctyme.com/intr/rb-4717.htm">AX=2780h/CL=02h</a> - <a href="rb-4718.htm" tppabs="http://www.ctyme.com/intr/rb-4718.htm">AX=2780h/CL=03h</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-"
|
|
<PRE>
|
|
<p>
|
|
<a name=table2739></a>
|
|
(Table 02739)
|
|
Values for Novell DOS 7 EMM386 function status:
|
|
0000h successful
|
|
0001h not implemented
|
|
0002h invalid subfunction
|
|
0003h unable to find memory
|
|
0004h invalid flag (semaphore) number
|
|
0005h flag (semaphore) overrun
|
|
0006h flag (semaphore) underrun
|
|
0007h no queue handles available
|
|
0009h no queue buffers available
|
|
000Ah queue is in use
|
|
000Bh invalid process handle
|
|
000Ch no process handles available
|
|
000Dh queue access not permitted
|
|
000Eh queue is empty
|
|
000Fh queue is full
|
|
0012h no memory handles available
|
|
0014h can't find process in process list
|
|
001Bh invalid memory handle
|
|
0023h unable to terminate process
|
|
002Ah flag set ignored
|
|
002Dh no more system flags
|
|
002Eh flag (semaphore) not in idle state
|
|
002Fh flag (semaphore) wait timed out
|
|
0030h bad module number in CL
|
|
0031h bad descriptor.
|
|
Invalid value for DESC_PB_SINFO in a descriptor parameter block
|
|
0032h no free descriptors
|
|
0033h error while locking/unlocking a page
|
|
0034h error getting or setting a page
|
|
0035h no pages available
|
|
0036h invalid domain
|
|
0037h process already frozen
|
|
0038h process not frozen
|
|
0039h fork failure (no registered swaplist)
|
|
003Ah page already free
|
|
003Bh page already allocated
|
|
003Ch unable to switch tasks
|
|
003Dh attempted to free critical section which is not active
|
|
003Eh too many active critical sections
|
|
003Fh ???
|
|
41FFh current domain is invalid, or no domain in context
|
|
42FFh domain ID is not a valid descriptor
|
|
43FFh domain creation still in progress
|
|
44FFh domain currently being deleted
|
|
45FFh task manager is busy, cannot unload it
|
|
46FFh task manager already loaded
|
|
47FFh task manager not yet loaded
|
|
48FFh cannot save/restore because prior switch not complete
|
|
49FFh console already has owner
|
|
4BFFh unsupported opcode
|
|
4CFFh 32-bit address prefix not supported
|
|
4FFFh timeout, but not on timer queue
|
|
50FFh unable to lock timer queue
|
|
53FFh unable to switch while in Global Message Mode
|
|
54FFh error while setting Global Message Mode
|
|
55FFh not in Global Message Mode
|
|
56FFh system already in Domain Message Mode
|
|
57FFh not in Domain Message Mode
|
|
58FFh unable to allocate timeout structure
|
|
59FFh unsupported video type
|
|
5AFFh function not handled by any VM
|
|
5BFFh error in Serial..Set call
|
|
5CFFh error in Parallel..Set call
|
|
5DFFh domain list overflowed
|
|
5FFFh unable to free domain while in nobuffers mode
|
|
<p>
|
|
Format of Novell DOS/OpenDOS EMM386 descriptor parameter block:
|
|
<a name=table2740></a>
|
|
Offset Size Description (Table 02740)
|
|
00h DWORD "DESC_PB_BASE"
|
|
04h DWORD "DESC_PB_LIMIT"
|
|
08h WORD "DESC_PB_SEL"
|
|
0Ah BYTE "DESC_PB_MINFO"
|
|
0Bh BYTE "DESC_PB_SINFO"
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#02741
|
|
<PRE>
|
|
<p>
|
|
Format of Novell DOS/OpenDOS EMM386 module descriptor:
|
|
<a name=table2741></a>
|
|
Offset Size Description (Table 02741)
|
|
00h 12 BYTEs descriptor parameter block <a href="rb-4716.htm#Table2740" tppabs="http://www.ctyme.com/intr/rb-4716.htm#Table2740">(see #02740)</a>
|
|
0Ch DWORD -> module entry point
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
For function "Z_ModuleReg", only DESC_PB_SEL and the module entry point
|
|
need to be initialized before calling EMM386
|
|
<p><b>See Also:</b>
|
|
#02740
|
|
<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-4715.htm" tppabs="http://www.ctyme.com/intr/rb-4715.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-4717.htm" tppabs="http://www.ctyme.com/intr/rb-4717.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>
|