| Author |
Migrating to expanded mode
|
|
| Usmanov A. 2005-09-12, 11:23 am |
| Hi.
My static C++ API UL-application(9.0.2.3131) created in
MetrowerksCodewarrio
r r.9 + POL
Now I want to migrate from multisegment UL-application to expanded mode.
UL supports Expanded Mode with A5 -based Jumptable
But POL supports another Expanded Mode (A4/A5-relative data) :-(
Can anybody explain to me how setup my project to use expanded mode in my
case?
--
Alex Usnamov
| |
| Usmanov A. 2005-09-14, 11:23 am |
| Question #2
I want use expanded mode because Data Segment of my application is full.
About 60K used by variable 'char const * usm_data ' in generated API-file.
Is there any way to remove this data into resources?
--
> Hi.
> My static C++ API UL-application(9.0.2.3131) created in
> MetrowerksCodewarrio
r r.9 + POL
> Now I want to migrate from multisegment UL-application to expanded mode.
> UL supports Expanded Mode with A5 -based Jumptable
> But POL supports another Expanded Mode (A4/A5-relative data) :-(
> Can anybody explain to me how setup my project to use expanded mode in my
> case?
>
>
> --
>
> Alex Usnamov
>
>
| |
| Stella Lai 2005-09-14, 11:23 am |
| Please read "Building Expanded Mode Applicaions" in the 9.0.2 docs:
UltraLite C/C++ User's Guide
Developing UltraLite Applications for the Palm Computing Platform
Developing UltraLite applications with Metrowerks CodeWarrior
Metrowerks has also added plenty of tutorial/docs on POL and expanded mode
to CW9.
At least, in your project, you may want to use the PalmOS runtime library
with expanded mode, and a specific version of the UL runtime library at:
ultralite\palm\68k\l
ib\cw9_a4a5jt\ulrt.lib
instead of the 'regular' version.
- Stella Lai
iAnywhere Solutions
"Usmanov A." <alex_u@pochtamt.ru> wrote in message
news:43259a65@forums
-2-dub...
> Hi.
> My static C++ API UL-application(9.0.2.3131) created in
> MetrowerksCodewarrio
r r.9 + POL
> Now I want to migrate from multisegment UL-application to expanded mode.
> UL supports Expanded Mode with A5 -based Jumptable
> But POL supports another Expanded Mode (A4/A5-relative data) :-(
> Can anybody explain to me how setup my project to use expanded mode in my
> case?
>
>
> --
>
> Alex Usnamov
>
>
| |
| Usmanov A. 2005-09-15, 7:23 am |
| I already readed this doc.
If you are using CodeWarrior version 9 you can now use expanded mode with an
A5-based jump table (it use PalmOSRuntime_4i_A4A
5jt.lib)
POL supports A4/A5 Expanded Mode (it use PalmOSRuntime_4i_A4A
5.lib).
I don't understand how to combine two models of expanded mode in one
application.
In fact POL + UL DONT WORK TOGETHER IN EXPANDED MODE!
And one cannot create complicated ul-application with many tables using
static c++ in POL-Framework. :-(
Alex Usmanov
| |
| Stella Lai 2005-09-15, 9:23 am |
| Try the PC-Relative Strings checkbox, it should move the string constants in
the code segment.
- Stella Lai
iAnywhere Solutions
"Usmanov A." <alex_u@pochtamt.ru> wrote in message
news:43283504$1@foru
ms-2-dub...
> Question #2
> I want use expanded mode because Data Segment of my application is full.
> About 60K used by variable 'char const * usm_data ' in generated API-file.
> Is there any way to remove this data into resources?
>
> --
>
>
>
| |
| Usmanov A. 2005-09-16, 3:23 am |
| Thanks! It is magically! Data segment decrease more than 2 times!
Now I can add in my project more tables and new features without expanded
mode.
Once more, THANKS!
--
Alex.
> Try the PC-Relative Strings checkbox, it should move the string constants
in
> the code segment.
>
> - Stella Lai
> iAnywhere Solutions
>
> "Usmanov A." <alex_u@pochtamt.ru> wrote in message
> news:43283504$1@foru
ms-2-dub...
API-file.[color=darkred]
mode.[color=darkred]
my[color=darkred]
>
>
|
|
|
|