|
| Re: Expanded Mode, Segments and Invalid Pointers |
 |
Wed, 7 May 2008 13:38:19 -0500 |
> I am unsure of the benefits and purpose of expanded mode and havne't found
much for a real explanation. Ben Combee used to have
> a link to a white paper on it but I didn't read up or try to use it till
now and the link is broken. Can anyone help me piece this together?
Expanded mode puts the intersegment jump tables and some C++ control
structures into a separate data segment accessed through the A4
register (A5 is used for most globals). If you use it, you need to
have all code in your application compiled for expanded mode,
including the runtime library. Look for the "A4A5" version. CW will
also try to put some read-only data in the expanded segment, data that
it couldn't put into the code segments because it needed to be
modified once at program start.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|