At 9:41 AM -0500 10/12/99, Jun-Kiat Lam wrote:
>For the '16-bit code reference...out of range' error, you might want to
>check out the FAQ at http://www.metrowerks.com/pda/palm/faq/7.stm since it
>explains this error and some common solutions.
I followed the advice in the FAQ. When I change the Code Model to
Smart instead of Small I can build the project. But when I try to
install the app on the emulator or on my Palm V things go horribly.
The emulator says "Could not install the Palm OS file 'Ultimate.prc'
because Palm OS error 0x0201 (dmErrMemError) occurred." I'm not sure
what that's about. The only change was to switch the code model. If I
run it under the simulator then everything works fine. It was also
working well not too long ago in the emulator and on my Palm V.
When I installed it on my Palm V I got a fatal error when it finished
installing. I had to do a hard reset to make my Palm work again.
I'm frustrated because I've got some cool stuff working in my
solitaire game now but I can't show anyone on an actual Palm!
I've been trying to make jump islands and move code around for hours
now. I'm not getting very far. The code is in a lot of pieces that
call each other and it's difficult for me to do this by hand. Has
anyone else been able to change the Code Model to "Smart" and used
the results successfully? Am I doing something wrong?
<Later> I just made a little progress. I realized I could remove
MacsBug symbols from the build. That made my code a lot closer
together. Phew. I think I can build again. I'd still like to get the
"Smart" Code Model stuff working though. It should work for the Palm,
right?
Thanks!
Eric