[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] EmuTOS for ColdFire



On Sat, 2 May 2009 21:41:22 +0200
Gerhard Stoll <gerhard_stoll@gmx.de> wrote:

> Vincent Rivière wrote:
> 
> > The ColdFire family must not be seen like the successor of the
> > 680x0 family, but like some kind of cousin.
> 
> What I mean is, if a program use the _CPU cookie to test what
> stackframe the CPU have or some other functions. Is then five ok or
> not?

I think you can ignore the "5" for the _CPU cookie in EmuTOS. The
current code does not run on ColdFire anyway.
If EmuTOS really runs on ColdFire one day, I think we should choose a
proper value for the _CPU cookie, for example the reset value of D0
which contains the ColdFire core version and some other useful
information (see ColdFire Family Programmer's Reference Manual by
Freescale).

 Thomas