From mint-bounce@lists.fishpool.fi Wed Feb 6 14:32:26 2008 Message-ID: <47AA084B.9060009@freesbee.fr> Date: Wed, 06 Feb 2008 20:19:39 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] binutils 2.18 References: <47A732CA.9000803@freesbee.fr> <47A85ECA.1040307@freesbee.fr> <000001c8681a$bf379b30$df7c110a@eng.vmware.com> In-Reply-To: <000001c8681a$bf379b30$df7c110a@eng.vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id m16JWPUe005942 Standa Opichal wrote: > Could we make the new binutils not to use d4 for the initial jump behind the > file format header (the instruction in the first few bytes in a binary)? > It should be easy enough to use one of the scratch registers, am I right? > What about d1? Let's go back the the old good days with some POKE ! With your favorite hex editor, open an executable produced by the GNU ld for MiNT. Go to offset $1c and replace the value $28 by $22 Go to offset $22 and replace the value $48 by $18 The initial jump will use d1 instead of d4 ! -- Vincent Rivière