Re: Suppress Critical Error Message

new topic     » goto parent     » topic index » view thread      » older message » newer message

Colin Taylor wrote:

> I have to say that this is near the top of my wish list, too.  My (limited)
> understanding of this subject is that when a critical error occurs, DOS suspen
ds
> all program activity until the the error is resolved.  This means that you can
't
> write an error handler in Euphoria because Euphoria will be inactive during th
is
> period.  I have seen examples of error handling programs (written in assembler
)
> that give detailed error messages in pop-up windows, etc.  Is there anything
> like this that is readily available, customizable and will work well with
> Euphoria???

        I think you *can* do it in Euphoria. What you have to do is create, in
assembler, a routine that will take care of the error. You should poke this
routine into the 1st Mb of memory (allocate_low()). Then you must set the
correct interruput to the appropiate memory address.
        This is theory, into practice unffortunally and don't know how to do it.
I'm sure you can find some asm code in the net that deals with error handling,
try to convert them into hex values. The trouble is to know wich interrupt
vector to modify... maybe in Ralph Brown Int list or HelpPC are tips. But I
think the best solution is to ask an expert... ask Jacques Deschjen.

--

            ************************************
            This message sent by Daniel Berstein
            ************************************
     email: architek at geocities.com
 homepages: http://www.geocities.com/SiliconValley/Heights/9316
            http://www.cybercity.hko.net/silicon_valley/architek

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu