Danko Radic wrote:
> if I have part of the code for Normal launch handling and that
> code works with globals - may I put it into the 2nd segment?
> Ie. can globals be accessed in 2nd segment under Normal launch?

Yes, absolutely.  When globals are available at all, they are available
in all segments.  This is because (at asm level) globals are addressed
relative to the A5 register, which stays the same no matter in what
segment your code is executing.

The key point is to remember that the OS (and startup code) will either
set up your A5 based globals _and_ set up all extra code segments (for
normal launch) or it will do neither (for lightweight launch).

-slj-

Reply via email to