Re: [cc65] Atmos target

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-02-26 23:59:31


On Wednesday 26 February 2003 23:40, Debrune Jérôme wrote:
> Hi
>
> I don't know why but since the version 2.9.0, atmos target is broken.
>
> It compile but program crashes (In 2.8.0 it was OK) crt0.s in 2.9.0 should
> be ok. But, the code is executed craply by Atmos... I can't find the
> problem ...
>
> Is there some major changes in 2.9.0 in crt0.s or atmos.inc (ld65) which
> could break atmos target ?

can you verify if the problem lies in the startup phase (before main() is 
called) or in the actual (user-)program? i dont know about the oric target, 
but if it copies sections around and/or relies on certain values that are 
filled in by the linker it may trigger a simelar problem like the nes stuff 
seems to do (i cant really specify the actual problem though...some stuff 
seems to be calculated wrong :/). you can probably safe yourself some gray 
hair if you make sure that when main is called, all the sections are at their 
right place, the stack is set up correctly etc pp.... its pretty unlikely 
that the bug is located after that, since it then should appear in all 
targets (IMHO :=P).

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-02-26 23:54:13 CET