From mint-bounce@lists.fishpool.fi Tue Mar 2 08:40:09 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=2e30I1PouWRiO3Y6JhtEpr63mPEgkjmllhIbrzmeO7E=; b=der+z3xeKBSaD29LYDTVcWu79QK/Augn7mS9Gz/hZRSa4PeCdYpnc6gSfQ6k4l9ass 1aDjdxOf3N72w98YMLiQdPe0ya+cLm45njPKBGjj9byS0bWcqoZGK695p5rUQKWeGaun A+C5kluwt+lXZ0OfSxbh54reFSCh51SQx7IW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=j2B1h7UjYzyASWBaVYACQJR3zGV4VzTWvQ9EK664ELdm1QmuzC3KWWus8cZAvgvi47 6FiLoXuRX6gFZvt64p/wuv/ue/qZljWcyTYYXRAlLv66slEeN+8mcPlt23i5kRnkeHRi 3jvoB94vtGU8YImUcgiTjX4YqSfpWsRe6HoMM= MIME-Version: 1.0 In-Reply-To: <11a6f2b11003020510x6fbd4371x99a61fa966193003@mail.gmail.com> References: <72454075-6FA5-46CA-A174-A3AE573771A6@gmail.com> <20100301222525.bcb94ec5.mandin.patrice@orange.fr> <04F5AE6B-D53F-4EE1-BA57-9BA46392BD13@gmail.com> <1B8C9039-CFB4-4675-9E79-5D1CC4F54DAC@gmail.com> <8CA540DD-0C3E-47B0-9107-0B45D0A5BD11@gmail.com> <11a6f2b11003020510x6fbd4371x99a61fa966193003@mail.gmail.com> Date: Tue, 2 Mar 2010 07:33:04 -0600 Message-ID: <11a6f2b11003020533w1367ce54u3dbd817103718197@mail.gmail.com> Subject: [MiNT] Patch for xaloader.prg From: Paul Wratt To: mint Content-Type: text/plain; charset=ISO-8859-1 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: paul.wratt@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o22De8Nw003202 On Tue, Mar 2, 2010 at 5:26 AM, Peter Persson wrote: > > On 2 mar 2010, at 09.28, Miro Kropacek wrote: >> >> I've written a loader which loads kernel binaries from /mint/ and allows >> the kernel to process the remainder of the auto folder (some ugly DTA magic >> was needed, but it's the same ugly magic that's already in the kernel init >> code (init.c, get_my_name()). > > Why all this hassle? Shouldn't mint.prg be the last program to execute from > AUTO? (the rest should be from mint.cnf or xaaes.cnf) > > I didn't want to change the behavior compared to putting the kernel in the > autofolder. Personally I don't care about it, I could start Centscreen from > the mint.cnf instead, but I thought other people might disagree :) > >> #define MINTDIR        "c:\\mint" > > There's better way -- env variable called SYSDIR (try echo $SYSDIR in shell > :) > > That'll be tricky :) Because SYSDIR isn't available when the mintloader > starts! just remember that mint's default folder is the current version of the kernel (after the check for c:/mint) The ARAnyM setup I use has a live 1-16-cur & 1-17-cur. This may be easier to detect on ARAnyM setups, because of the bootloader option in the config (maybe) anyway, it is worth noting, if this can be sorted or a way can be fopund to make it practical, then getting other stuff to function in the future, as Mikro outlined in Franks comments, would be just a matter of extending the app but I agree, get something up for us to play with first.. I would never use a (tradtional) boot loader for mint, unless I had a machine that required it, and the outlined app should help avoid that too. "I never claimed that this loader is a one-size-fits-all-solution, but at least it does load the correct kernel automatically - which is something some of us need" - yep Paul