delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/06/14:02:56

Date: Thu, 6 Jan 2000 19:13:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: DJGPP <djgpp AT delorie DOT com>
Subject: Re: The endless int31 hooking debugging continued
In-Reply-To: <200001061624.RAA06442@father.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.1000106191121.23317A@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 6 Jan 100, Martin Str|mberg wrote:

> > Or, better still, don't call any library functions from within the hook; 
> > then you don't need to worry about SS and ESP.
> 
> Yes, but I need call cputs to get some debug information out.

It should be easy to throw together a function that copies the string 
into a static buffer (together with any attribute byte, to make its tand 
out), then blits it all to video RAM.  If you write this in assembly, you 
can forget about the stack.

- Raw text -


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