delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/12/27/20:18:42

Date: Sat, 28 Dec 1996 02:14:36 +0100
Message-Id: <199612280114.CAA04398@tyr.diku.dk>
From: Morten Welinder <terra AT diku DOT dk>
To: billc AT blackmagic DOT tait DOT co DOT nz
CC: djgpp-workers AT delorie DOT com
In-reply-to: <32C50DE0.2D19@blackmagic.tait.co.nz> (message from Bill Currie
on Sat, 28 Dec 1996 12:09:04 +0000)
Subject: Re: Debuggers and mouse hooking (or maybe dpmi memory allocation).

> a couple of calls to dos via int 21 (rather that dpmi int, general 
> registers only)

Direct int 21 calls are semi-problematic because it is difficult
to ensure safe stack practices that way.  If I remember things
right then the introduction of __dpmi_int meant an increase in
reliability by overkilling the stack size.

So unless you really need to, don't use int 21 directly.

Morten

- Raw text -


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