From fnaumann@mail.cs.uni-magdeburg.de Wed Dec 10 06:42:30 2003 Message-ID: <1071034718.3fd6b15e15223@imp2-l.free.fr> Date: Wed, 10 Dec 2003 06:38:38 +0100 From: Xavier Joubert To: mint@fishpool.com Subject: Re: [MiNT] Shutdown() discussion References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 Delivered-To: mint@fishpool.com Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: xavier.joubert@free.fr Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: Hi Lonny, Selon Lonny Pursell : > Thanks for explaining it. Why can't aranym intercept a pre-existing call? > In my mind the emulator :) Because it's not really pre-existing code. Natfeat shutdown was defined almost at the same time as Rodolphe implemented the shutdown in the logic of the CT60. At least nobody else than us (Rodolphe, Didier and me) knew how to shutdown the CT60 when natfeat shutdown was designed. Because ARAnyM is not a CT60 emulator. So even if someone a CT60 shutdown emulation in ARAnyM, we would still need some specific code in the kernel to detect ARAnyM (in addition of the CT60). Because the natfeat shutdown is not specific to ARAnyM, but to any emulator implementing natfeats (which is an open interface to use advanced features of emulators). So, by implementing it, we add support for any emulator using it, without having to add specific code to detect each emulator, and without having to implement CT60 shutdown in every emulator. Given this, I don't see any good reason not to support natfeat in the kernel. Best regards, Xavier