From mint-bounce@lists.fishpool.fi Fri Jul 31 07:51:54 2009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LD6szBeNUT87/bs1iZkvnf3TeI2oEf8vo/XqFWhgKbo=; b=jLQYNw4VBGnf4ID7CSSu+XgN18ZOJSbHZell+FEzA4T87DKF0I+tzqzS0xQMr+V7Jw syATUWyOQ59zRANnZNyCRjKIa4sr6AJWCkdyDDeMXh+CqBdMBYo/MZY0LScOMNHSsb+3 o964rdBnH7kM7Y2mQkGpZFfLEhplso5OUic1k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=MTl2HwySX+WUr2ThHHPCNIeWLJJoSM2OJ7L68bTBvfBEotpZI/ymi/uy1eZRqifCn9 brQFog5xBpxqWSHyXYrwSn5w8XpH4ILDH4+vMJVqEh5prJ4nB7cXUT+wgdeqwXdtmXnC jnyRlqAnYgKERNN0H4ZfRgvry/YSdypwtJtqI= Message-ID: <4A72DA20.5080209@freesbee.fr> Date: Fri, 31 Jul 2009 13:48:48 +0200 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] Half-ugly fullscreen applications, how to recover when things go bump References: @mail.ie-meel.nl <4A71C3BB.5070604@atari-source.org> <1C73DC0F-2F69-4BAA-85A1-1E112B7988BF@gmail.com> In-Reply-To: <1C73DC0F-2F69-4BAA-85A1-1E112B7988BF@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Peter Persson wrote: > The biggest problem with this is that when something goes wrong, i.e. if > the app crashes, I need to restore the desktop screen and > keyboard/mouse/joystick vectors. The solution to make such cleanup may be GEMDOS vector VEC_CRITICALERR as described here: http://cd.textfiles.com/ataricompendium/BOOK/HTML/CHAP2.HTM#gdvectors Another solution could be to hook the 68000 exceptions vectors directly (bus error, adress error...). The MiNT function Psignal() with SIGBUS, etc. may work, or even the signal() function in the MiNTLib. OS experts should tell us wich method is the good one. -- Vincent Rivière