From mint-bounce@lists.fishpool.fi Wed Mar 3 20:13:39 2010 X-SourceIP: 77.249.76.7 Message-ID: <4B8F0865.30400@chello.nl> Date: Thu, 04 Mar 2010 02:09:57 +0100 From: Henk Robbers User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mint Subject: Re: [MiNT] Patch for xaloader.prg References: <72454075-6FA5-46CA-A174-A3AE573771A6@gmail.com> <20100301222525.bcb94ec5.mandin.patrice@orange.fr> <5398E197-FA46-43CA-98B9-714944936DEE@gmail.com> <201538AE-CDC2-4A56-8346-3A7F035079CA@gmail.com> <11a6f2b11003021451xeb71979t99723ab357f8223d@mail.gmail.com> In-Reply-To: <11a6f2b11003021451xeb71979t99723ab357f8223d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=dFTJNr//OApgz790TnY+O6n+VSjuGIjvlcM+aYgYbcs= c=1 sm=0 a=pGLkceISAAAA:8 a=HpkHhv1iAAAA:20 a=JxdZti4tAAAA:8 a=ZU78BW1tfTPYq05CBQsA:9 a=JZT76CIm_u46l6w6t-MzfhyuVzEA:4 a=MSl-tDqOz04A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: h.robbers@chello.nl Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Paul Wratt wrote: > On Tue, Mar 2, 2010 at 9:06 AM, Peter Persson wrote: > >>On 2 mar 2010, at 15.51, Jo Even Skarstein wrote: >> >> >>>That's true, but when using a boot manager it's a lot easier to do this than editing configuration-files which I would have to do if I started everything from mint.cnf. But there's no problem in creating a boot-manager that works by manipulating mint.cnf or perhaps a startup-script run from mint.cnf. It could also (de)activate the correct device drivers for the current hardware. >> >>I'd much rather have a conditional application launcher which checks cookies etc and launches the binary if the specified criteria is met. >> >>Example (mint.cnf) >> >>exec cload "_MCH==0x0004000" 68882.prg >> >>Another approach could be to extend the mint.cnf parser to handle conditionals with variables based on cookies and other system properties. >> >>But either way - I'm fully aware of the fact that my proposed loader doesn't cure cancer, but that wasn't the scope either. If someone else would like to implement what you're proposing that's just great, but personally I have no need for it at the moment. >> >>-- PeP >> > > Is it work adding some IF COOKIE= to the cnf parser then. This might > be useful for XaAES as well (which also uses mint cnf parser) > > I think it has potential > > You can find the original cnf parser of XaAES2002 on my web page. It had conditionals. I needed those. -- Groeten; Regards. Henk Robbers. http://members.chello.nl/h.robbers Interactive disassembler: TT-Digger; http://digger.atari.org A Home Cooked C compiler: AHCC; http://ahcc.atari.org