www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/27/21:50:08

Xref: news2.mv.net comp.os.msdos.djgpp:1488
From: Charles.Sandmann, <sandmann AT praline DOT no DOT NeoSoft DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dpmi invocations
Date: Mon, 26 Feb 1996 18:43:11 CST
Organization: NeoSoft Internet Services +1 713 968 5800
Lines: 13
Message-ID: <3132539f.sandmann@praline.no.NeoSoft.com>
References: <199602260320 DOT WAA28198 AT delorie DOT com>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: praline.no.neosoft.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> From the DPMI spec (http://www.delorie.com/djgpp/doc/dpmi/) :
>   The real mode stack is at least 200H bytes in size ... Interrupts that 
>   are reflected to real mode, as well as calls
>   to real mode interrupt handlers or procedures via Int 31H Functions
>   0300H, 0301H, or 0302H, will use this stack.

Beware - this is the total size of the stack, so things like real mode 
interrupts which happen in these functions will also use this stack.  
In case of nesting or real mode callbacks, you also sharethe same 200H bytes.

The DPMI 0.9 specification (in Section 11) indicates you should not use
the default stack if your procedure/interrupt routine uses more than 30 words
(ie 60 bytes, or 1/8 of the total) of stack space.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019