From mint-bounce@lists.fishpool.fi Tue Oct 11 11:00:29 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: Re: [MiNT] Calling gemdos function from Interruption From: Odd Skancke To: MiNT List In-Reply-To: <434B63E2.8040406@utbm.fr> References: <001778d5.01c15c7e17a8@smtp.freeola.net> <1128976918.434ad216e758c@webmail2.utbm.fr> <1129018581.5862.149.camel@linuxbox> <434B63E2.8040406@utbm.fr> Content-Type: text/plain Date: Tue, 11 Oct 2005 10:57:27 +0000 Message-Id: <1129028247.5862.161.camel@linuxbox> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-4) Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ozk@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=2.1 tagged_above=-50.5 required=7.0 tests=BAYES_00, RCVD_IN_SORBS X-Spam-Level: ** tir, 11,.10.2005 kl. 09.04 +0200, skrev Olivier Landemarre: > Odd Skancke wrote: > > >man, 10,.10.2005 kl. 22.41 +0200, skrev olivier.landemarre@utbm.fr: > > > > What gemdos functions do you need to call from an interrupt? > > > I thought to Kbshift() and Pkill() There is Ikill() which is interrupt safe .. designed to be called from interrupts :) For kbd shiftstatus, I'm not sure what is the best way. In XaAES I call the VDI function v_key_s(). > > > > So, even if some gemdos functions are callable from interrupts, I think > >it is a big no-no and should be avoided at all costs. The reason for > >MagiC not being too stable, I think, is that such things are allowed. > > > > > Really are you sure? This theorical true, but in practice there is no > sofware doing this except perhaps the AES. No, I'm not sure :) I was jumping to conclusions since I've heard that programmers dont like MiNT because of too much restrictions... Best Regards, Odd Skancke