delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/04/15:05:25

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <271DBBEEA095D511B80D009027DE7D670DD133@mcoexc01.mlm.maxtor.com>
From: "Dykstra, Sean" <Sean_Dykstra AT maxtor DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: Critical Error Interrupt Help
Date: Tue, 4 Dec 2001 13:02:04 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Reply-To: djgpp AT delorie DOT com

> I don't understand how the handler can be called; CWSDPMI sets up a 
> RM Int 24 handler which always fails (al=3).  Maybe I'm forgetting
something 
> I did really tricky ...

Well, as it turns out, I have gotten used to debugging under Windows, so it
was indeed their DPMI host that was reflecting to me, not CWSDPMI.  Oops!

Now my code is setup to use the real mode callback, which works fine under
windows, and instead of Abort returning a 2, I set it up to return a 3.  

However, I cannot seem to use getch() within the callback using CWSDPMI.  If
I do I get a SIGSEGV error.  Anyone have any suggestions?

Thanks!


- Raw text -


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