www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/26/14:24:37

Date: Wed, 26 Apr 1995 13:04:49 -0400 (EDT)
From: Long Doan <ldoan1 AT osf1 DOT gmu DOT edu>
To: Bill Davidson <bdavidson AT ra DOT isisnet DOT com>
Cc: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Chaining real-mode interrupts

On Wed, 26 Apr 1995, Bill Davidson wrote:

> The program sits in a pretty tight event loop, and I noticed that with 
> 'topline' in my GO32 variable the 'P' and 'R' at top left both sat there 
> all the time, just barely flickering.  Should this tell me something?  It 
> looks like the processor is mode-switching very fast (maybe 18.2 times a 
> second?).

  What do you do in this event loop? The CPU should only switch mode when
you call DOS or something. (Poll for key?)

> Incidentally, just to make sure that the compiler/library were OK I 
> recompiled the pctime12 sources, and the program ran fine, which was 
> really irritating!  "My" program is one I am porting, and I am beginning 
> to suspect that there is some weird interaction going on with some other 
> function, although I can't imagine where.  When it segfaults I always get 
> _two_ "Segmentation Violation" messages (sometimes more), and symify 
> can't make any sense of the tracebacks (which either show just one 
> address or just two, the bottom one in that case being NULL).

That's pretty normal. BTW, are you running under DPMI? If you are, there
is a posibility that you don't have enough stack.

Hope that help,
Long.
+--------------------------------------------------------+
| Long Doan                          ldoan1 AT osf1 DOT gmu DOT edu |
|                                          ld AT netrix DOT com |
+--------------------------------------------------------+

- Raw text -


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