| www.delorie.com/djgpp/doc/dpmi/api/310301.html | search |
Call With

AX = 0301H
BH = flags
CX = number of words to copy from protected mode to real mode stack
Bit Significance 0 reserved for historical reason, must be zero 1-7 reserved, must be zero
Returns
Offset Length Contents 00H 4 DI or EDI 04H 4 SI or ESI 08H 4 BP or EBP 0CH 4 reserved, ignored 10H 4 BX or EBX 14H 4 DX or EDX 18H 4 CX or ECX 1CH 4 AX or EAX 20H 2 CPU status flags 22H 2 ES 24H 2 DS 26H 2 FS 28H 2 GS 2AH 2 IP 2CH 2 CS 2EH 2 SP 30H 2 SS

if function unsuccessful
Carry flag = set
AX = error code
| 8012H | linear memory unavailable (stack) |
| 8013H | physical memory unavailable (stack) |
| 8014H | backing store unavailable (stack) |
| 8021H | invalid value (CX too large) |
| prev next webmaster donations bookstore | delorie software privacy |
| Copyright © 1996 by DJ Delorie | Updated Apr 1996 |