Amiga.org

The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: Themamboman on April 03, 2003, 11:20:53 PM

Title: Amithl*n and Aros?
Post by: Themamboman on April 03, 2003, 11:20:53 PM
Just curious.  I remember seeing that there is a port of GCC for Amithlon that would compile x86 native code for use in Amithlon.

I was wondering if some x86 compiled portions of the AROS system could be dropped into Amithlon for use?

Does anyone know if there is some type of flag to let Amithlon to not try to emulate a section of code?

Title: Re: Amithl*n and Aros?
Post by: Fats on April 04, 2003, 07:34:31 PM
No code compiled for Amithlon will run on AROS or vice versa. This is because the amithlon code uses the structure alignment and endianness of m68k to be able to run parallel with m68k code. AROS uses the native x86 alignment and endianness.
Title: Re: Amithl*n and Aros?
Post by: Kronos on April 04, 2003, 09:31:55 PM
Quote

Themamboman wrote:
Does anyone know if there is some type of flag to let Amithlon to not try to emulate a section of code?



AFAIK remember it was done by calling a function with an odd address
which will lead to an excpetion in the 68k-emu (code has to start
at even addresses on 68k). The exception-handler will than know the
code is x86 and bypass the emu.