www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/18/10:50:34

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Disabling interrupts ?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <ok5cssgtjr1hia1b33alrvcu2sr2hdlr3h@4ax.com>
References: <8q2hfc$v9$1 AT info DOT cyf-kr DOT edu DOT pl>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 24
X-Trace: /K0ZEBY8dCnrOe9DqPS22JDq8ljIcOTBC40lw/pqsdX0ERRd5cbVmH7dvwrbiezQuEy4lvZB5le0!bSuCczMB9oTnS7dyfZWKqxGHehPryYKMEyGY8WezOiQemLLm2oselvsB3JjNr2D6wsRHsxS0qzkk!QA==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Mon, 18 Sep 2000 13:20:39 GMT
Distribution: world
Date: Mon, 18 Sep 2000 13:20:40 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 17 Sep 2000 15:37:47 +0200, "Rafał Maj" <r_maj AT poczta DOT onet DOT pl>
wrote:

>Hi,
>>>>>>>>> Is there any way in DJGPP to disable all interrupts :
>I want to write function like :
>
>void critical_error(int code) {
>  disable_interrupts(); // ???
>  textmode(C80);
>  /*...*/
>  _exit(code);
>}

Normally, for this, you simply call allegro_exit().  It unhooks the
interrupts and turns off graphics mode.

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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