Not exactly remove the armlet code - you can keep both the armlet and the
m68K code and decide (based on the onARM() function bellow) which of the
codes will be applied. Naturally, you have to remove all ARM-specific things
(e.g. endian conversions) from the m68K code.
The advantage of keeping both codes together is that you have just one
distribution package. The disadvantage = increased app size.
Regards,
Jan Slodicka
Boolean onARM()
{
UInt32 processorType;
// get the processor type
FtrGet(sysFileCSystem, sysFtrNumProcessorID, &processorType);
return sysFtrNumProcessorIsARM( processorType) ;
}
----- Original Message -----
From: "Shree S" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 2004 12:20 PM
Subject: Palm OS 5 and Palm OS 4.1
>
> Hi all,
>
> I have developed an application for SDIO on palm OS 5.2.1. (devices
Tungsten and treo600). I have also used few armlets in my code.
> Now, I understand that if i have to run my application on palm os 4.1 i'll
have to remove the armlets.
>
> I want to know from you guys what else do i have to change to make it run
on palm 4.1. or my code will run directly without any modification(armlets
removed).
>
>
> --
> ______________________________________________
> IndiaInfo Mail - the free e-mail service with a difference!
www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for mail
storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
> Powered by Outblaze
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/