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

Re: [MiNT] MiNTLib for ColdFire



Lonny Pursell wrote:
There's also the possibility of reworking the GFA-Basic Compiler/Library so
it builds CF native apps.  Then this would allow just a recompile, to get
even more stuff up and running at improved speeds.  However, I don't know
just how much work this will be, I suspect a lot.  But, I'm willing to do it
if the machine is released.

There is not so much work to do in a compiler/interpreter.
Some examples :

- replace addq.w by addq.l

- replace move.l d0-d7,-(sp)
by 	lea -32(sp),sp
	move.l d0-d7,(sp)

and avoid missing instructions like rol, etc...

For operating systems, it is a little more tricky because of different
stack frame handling on traps, but for normal apps there is no such problem.

So sure, if you add native ColdFire support in the GFA it would be a
definitive good feature for ACP users !

--
Vincent Rivière