Date: Wed, 26 Apr 1995 13:04:49 -0400 (EDT) From: Long Doan To: Bill Davidson Cc: Eli Zaretskii , 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 | +--------------------------------------------------------+