Re: 16MB RAM in POSE

2003-10-16 Thread Daniel Pak
Hi,

I have read about this in the forums..and
could only safely conclude that the Treo 300 is the only ROM
that will support 16MB,
and that no Palm OS ROMS support 16MB at the moment.
I find this very had to believe (that no Palm OS ROMs support
16MB) and was wondering if anyone could tell me if there
are any Palm OS ROMS which support 16MB of RAM?
If it turns out that the Treo is the only one, then it looks like
I will have to move my development onto Windows -_-
I would really like to keep it on Linux at the moment...
Any suggestions would be immensely appreciated.

Cheers

Daniel

_
Protect your inbox from harmful viruses with new ninemsn Premium. Click here 
 http://ninemsn.com.au/premium/landing.asp

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


SysAppLaunchCmdSyncNotify source code crashes

2003-10-16 Thread Tom Walek
Hi, I am trying to sort my DB after synchronization. I use
SysAppLaunchCmdSyncNotify, but it crashes with this error:


case sysAppLaunchCmdSyncNotify:
 {
LocalID dbID;
DmOpenRef DB;

dbID = DmFindDatabase (0, KLIENT_DB_NAME);
if(dbID != 0) {
DB = DmOpenDatabase (0,  dbID, dmModeReadWrite);
 DmQuickSort(DB, ComparKlientByID, 0);
}

}

but it crashes with this memory erorr and comment:
this access usualy means that the application accessed a global variable
after PilotMain was called with layunch code that does not support global
variables.

But I dont use any global  variables and I not at all know what can happens
this error. Can anyone advice?

Thanks a lot

Tomas



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Floating point manager

2003-10-16 Thread Pascal LEVY
Hi all,

I'm facing a compatibility issue with the float manager.

On 68k devices, floating point errors (divide by zero, overflow, and so 
on) set the corresponding flag in the FPU state register, which can be 
checked by calling the _fp_get_fpscr function. On ARM devices as well as 
on Simulator, such operations are not considered as errors and return 
special IEEE754 values (NaN, +INF, -INF and so on). Getting the state 
register always returns 0. For example:

double x, y;
Int32   r;
x=0.0;
y=3.0/x;
r=_fp_get_fpscr();
On m68k devices, y contains zero and r is set to flpDivByZero. On ARM 
devices, y contains +INF and r is not set to flpDivByZero. Disassembling 
this code snippet shows that the division is implemented by calling the 
Palm OS _d_div function, not by calling a special routine in the 
compiler runtime library. So I'm quite sure the problem comes from a 
change in Palm OS 5.x.

I admit this new behavior is much more closer to the IEEE754 
specification, but it makes my program breaks. Is there any documented 
or undocumented way to make the new floating point manager performs like 
the old one ? Or should I rewrite all my error checking routines, taking 
into account the OS version ?

Thanks in advance,

Pascal

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: How to use Dana SDK in Codewarrior 9???

2003-10-16 Thread Ben Combee
At 08:34 PM 10/15/2003, Victor . wrote:
I want to ask all of you whether you know how to
configure Codewarrior 9.0 to use Dana Alphasmart SDK
(The Palm with wide screen) as well as normal Palm OS
4.0. I am new to Metrowerks products here. Can you
tell me step by step how to do that? Thanks so much.
The Dana SDK ships with CodeWarrior.  The easiest way to use it is to pick 
it as an option when creating a new project using the wizard.  If you've 
already started a project, just add a system access path to

{Compiler}/CW for Palm OS Support/(Other SDKs)/AlphaSmart/Include

and then include the appropriate header files and calls to your code, as 
described in the Dana Companion Guide PDF.

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: How to use Dana SDK in Codewarrior 9???

2003-10-16 Thread Mark Cameron
There's some pretty good docs that ship with CW9. On my PC the docs are in
C:\Program Files\Metrowerks\CodeWarrior\CW for Palm OS Support\(Other
SDKs)\AlphaSmart\docs.

Programming for the Dana is pretty straightforward. You have to include a
wTap identifier resource to your project, which is documented in the Dana
Companion Guide. You can either use two different sets of forms, one for the
wide screen and one for a standard Palm, or dynamically size your forms.
I'd suggest the latter if you can, because there are other form factors
emerging as well. Dynamically sizing forms also allows you to use both the
portrait and landscape modes of the Dana.

The keyboard is a bit trickier, since the Dana emulator has to emulate the
use of shift, ctrl  cmd keys (i.e. emulating two keys being pushed
simultaneously on screen, where you can only click on one key at a time).
It's not too bad, but make sure you test your app on a real device and not
just the emulator. And IMO, the documentation for screen usage is better
than the docs for the keyboard.

Cheers,
-Mark 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Victor .
Sent: Wednesday, October 15, 2003 6:35 PM
To: Palm Developer Forum
Subject: How to use Dana SDK in Codewarrior 9???


Dear Palm Developers:

I want to ask all of you whether you know how to
configure Codewarrior 9.0 to use Dana Alphasmart SDK
(The Palm with wide screen) as well as normal Palm OS
4.0. I am new to Metrowerks products here. Can you
tell me step by step how to do that? Thanks so much.


Victor

__
Do You Yahoo!?
A free party for the most shiok photo! 
http://sg.yahoo.com/shiok

-- 
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/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Mike McCollister
I'm seeing this too on my T3.

Mike
--- Jonatan Fernstad [EMAIL PROTECTED] wrote:
 I have noticed something strange and rather annoying with the Tungsten T3.
 
 The first time that you power off and then powers on the T3 after a reset,
 the performance of the T3 is changed and everything runs slower than before
 the power off/power on.
 
 Has anyone else seen this on their T3?
 
 It is perfectly reproducable ( atleast on mine ).
 
 To test this one can install a benchmark app ( such as Speedy 3.0 from
 www.aldweb.com ), perform a reset, launch Speedy and run a benchmark test.
 Then power off and power on the device and then run a second benchmark test.
 
 Speedy´s Calculation test is ~23 % slower, the Memory read/write test is ~29
 % slower and the Graph test is about 25 % slower with the second benchmark
 test compared to the test being run before the power off / power on.
 
 Can someone find an explanation to why this is happening?
 
 I have verified that the Bus and CPU core clock settings remain the same
 before and after, aswell as the SDRAM clock.
 
 Is it perhaps some power saving setting that is set at power off, is
 forgotten about and hence is not reset at power on?
 
 Some new task is started and runs in the background after a power on?
 
 
 TIA,
 
 Jonatan
 
 www.clievideo.com
 
 
 
 -- 
 For information on using the Palm Developer Forums, or to unsubscribe, please
 see http://www.palmos.com/dev/support/forums/


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


List Glue problems in Tungsten T

2003-10-16 Thread Miron Ophir
We are having problems in LstGlueSetIncrementalSearch on Tungsten T devices.
It is not working (You enter char and the list selection isn't changing).
Did anyone had the same problems?

--
--
Regards,
Miron.

==
Eng. Miron Ophir,
The MobiMate Team
Home Page:  www.mobimate.com
ICQ:   6785948
==
To reply to this message replace at and dot in e-mail address.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Palm Desktop Install function.

2003-10-16 Thread Oscar De León
Hi,
I am developing an application that creates PDBs from another database
system.
I would like to know if it is possible to call the Palm Desktop install
function externally (as a dll function or similar)to install the PDB
automatically, so the next time the user performs a Hotsync operation, the
PDB is uploaded.
I have tried just copying the PDB to the user\Install directory but it does
not work.

Regards

Oscar



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Problem with T3 graffiti area and menus

2003-10-16 Thread Kaloyan Donev
Hi,

On Simulator T3 when I enable graffiti hide, then hide graffiti,
then popup menu, and hide menu, and on winEnterEvent graffiti area
opens. Should I call something on winEnterEvent or anywhere else. Or
should I save the state  of graffiti and then restore it on
winEnterEvent. 

Thanks,
Kaloyan Donev



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Dinho
I have made the same test and get the same results. but I have no idea 
about what is causing this!!!

Dinho

Robert Hildinger wrote:

Jonatan Fernstad [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 

I have noticed something strange and rather annoying with the Tungsten T3.

The first time that you power off and then powers on the T3 after a reset,
the performance of the T3 is changed and everything runs slower than
   

before
 

the power off/power on.

Has anyone else seen this on their T3?

It is perfectly reproducable ( atleast on mine ).
   



I've noticed it too, and it's as reproducible on my T3 as it is on yours.
Unfortunately, like you I have been unable to figure out what is causing
this. I tend to believe it is a thread issue, as I too have checked the CPU
clock configuration registers and it appears to be still running at 400 MHz
even while running slower.
I hope someone has an answer for this...

-Robert



 



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Beam Newer Application Issue

2003-10-16 Thread David Chevalier
Mike McCollister wrote:
I beamed a newer application to my wife's Palm and it came up with this
message:
An older AppName application already exists. Do you want to replace it with the
one you are about to receive?
Well, when I beamed an update of one of my applications, it did not detect that
it was newer.  What is the proper way to do this?
Thanks,

Mike McCollister
There's a 16-bit field in the PRC/PDB format that is called database version 
(offset 0x22)
If I recall correctly, that is what triggers the OS to prompt as you mention 
above.

-Dave

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Dinho
Another question.

why Tungsten C is faster then T3?

Thanks

Dinho

Robert Hildinger wrote:

Jonatan Fernstad [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 

I have noticed something strange and rather annoying with the Tungsten T3.

The first time that you power off and then powers on the T3 after a reset,
the performance of the T3 is changed and everything runs slower than
   

before
 

the power off/power on.

Has anyone else seen this on their T3?

It is perfectly reproducable ( atleast on mine ).
   



I've noticed it too, and it's as reproducible on my T3 as it is on yours.
Unfortunately, like you I have been unable to figure out what is causing
this. I tend to believe it is a thread issue, as I too have checked the CPU
clock configuration registers and it appears to be still running at 400 MHz
even while running slower.
I hope someone has an answer for this...

-Robert



 



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Aaron Ardiri
 why Tungsten C is faster then T3?

320x480 vs 320x320
and, virtual grafitti/PIN

with updates to the OS, you get slowdowns. features are added.
it is natural :P

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Dinho
If I knew that I had bought a TC instead.
;(
Thanks

Dinho

Aaron Ardiri wrote:

why Tungsten C is faster then T3?
   

320x480 vs 320x320
and, virtual grafitti/PIN
with updates to the OS, you get slowdowns. features are added.
it is natural :P
---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]


 



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Changing Form position dinamically

2003-10-16 Thread rguevara
Hi, to all
I have a little form, and want to position it over each line of a list when is tapped, 
and don't know how do
Any idea?
--
Open WebMail Project (http://openwebmail.org)


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Aaron Ardiri
 If I knew that I had bought a TC instead.
  ;(

as a developer - you normally tend to have both :)

the Tungsten|C provides 802.11b functionality, if you are doing
networking - good for testing. the Tungsten|T3 provides the 
DIA/PIN functionality - its the first main stepping stone to
OS6 with the UI features; so, getting use to it now might help. 

these two things most developers might be interested in, and, 
as such can justify having both :) i own both, along with around
50 other palm powered devices.. (yes, i am a sick man)

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Changing Form position dinamically

2003-10-16 Thread Aaron Ardiri
 Hi, to all
 I have a little form, and want to position it over each line of a list 
 when is tapped, and don't know how do Any idea?

a form? or, a control within a form? you can use FrmSetObjectPosition 
to move an object within the form to a specific location on the form.
why not use a gadget? and, have that gadget draw so it looks like
your little form?

what are you trying to do? tool tips? :)

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Newbie developer WAS Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Dinho
Hi Aaron,

I'm quite new in this field - palm developer. :-) This T3 is my first 
Palm and I intend to develop an application to collect some data from 
our equipment and perform some tests with this. I hope I have chosen the 
right Palm for this. what do you think?

thanks

Dinho

Aaron Ardiri wrote:

If I knew that I had bought a TC instead.
;(
   

as a developer - you normally tend to have both :)

the Tungsten|C provides 802.11b functionality, if you are doing
networking - good for testing. the Tungsten|T3 provides the 
DIA/PIN functionality - its the first main stepping stone to
OS6 with the UI features; so, getting use to it now might help. 

these two things most developers might be interested in, and, 
as such can justify having both :) i own both, along with around
50 other palm powered devices.. (yes, i am a sick man)

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]
 



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Changing Form position dinamically

2003-10-16 Thread rguevara
Thanks, i solved with FrmGetWindowHandle() and WinSetBounds() and work.
--
Open WebMail Project (http://openwebmail.org)

-- Original Message ---
From: Aaron Ardiri [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Thu, 16 Oct 2003 15:26:37 +0200
Subject: Re: Changing Form position dinamically

  Hi, to all
  I have a little form, and want to position it over each line of a list
  when is tapped, and don't know how do Any idea?
 
 a form? or, a control within a form? you can use FrmSetObjectPosition
 to move an object within the form to a specific location on the form.
 why not use a gadget? and, have that gadget draw so it looks like
 your little form?
 
 what are you trying to do? tool tips? :)
 
 ---
 Aaron Ardiri
 [EMAIL PROTECTED]
 http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]
 
 --
 For information on using the Palm Developer Forums, or to unsubscribe, 
 please see http://www.palmos.com/dev/support/forums/
--- End of Original Message ---


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Text to PDB

2003-10-16 Thread Srinivas
Hi All:
  Is there any third party tool which helps us to
convert text file to PDB file in compressed mode.

Throw light on the above...

thanks,
srini

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


.JPG, GIF to PDB

2003-10-16 Thread Srinivas
Hi:
  How to convert a JPG file .PDB file. Any tool in the
market which is freely available.

thanks
srini

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


error, Object not in form - but it is!!

2003-10-16 Thread Brian Preston
I have a few forms that I'm using a certain technique
on. I have sets of items that I want to display, more
than can fit on the screen at one time. I looked into
tables and scrollbars, but that just looked like a LOT
of code for a simple function, so I decided to try
something different.

I know that the total # of the items that I want to
display will never be more than 6, so I've set up a
form with 2 buttons, basically an Up and Down buttons.
So the first time you hit the form you see items 1-2
and only the Down button is visible. If you hit the
down button, you see items 3-4 and both Up and Down
buttons are available, etc. etc. There's more to it,
but that's the basics.

Each item can have 1 to 3 sub-items that are simple
labels, so the display looks something like this:

Item 1
   subItem1
   subItem2

Item 2
  subItem1


If there are  3 subItems, the subsequent subItem
labels must be hidden, and this is where the problem
is. 

I use a method, setLabelText(), that simply does
FrmHideObject, FrmCopyLabel, and FrmShowObject. I use
this method to set all the labels in this form. When I
want to 'hide' a label, I simply pass an empty string.

The error is occurring on the 2nd page, the 2nd item,
and the 2nd subItem, when I'm trying to blank it out.

Any ideas?


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: SysAppLaunchCmdSyncNotify source code crashes

2003-10-16 Thread Matthew Henry
Why not set a breakpoint and see what line it's crashing in?
You (or your compiler) are using a global somewhere, either that or you are
calling a function not in the first segement.


Tomá¹ Walek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Hi, I am trying to sort my DB after synchronization. I use
 SysAppLaunchCmdSyncNotify, but it crashes with this error:


 case sysAppLaunchCmdSyncNotify:
  {
 LocalID dbID;
 DmOpenRef DB;

 dbID = DmFindDatabase (0, KLIENT_DB_NAME);
 if(dbID != 0) {
 DB = DmOpenDatabase (0,  dbID, dmModeReadWrite);
  DmQuickSort(DB, ComparKlientByID, 0);
 }

 }

 but it crashes with this memory erorr and comment:
 this access usualy means that the application accessed a global variable
 after PilotMain was called with layunch code that does not support global
 variables.

 But I dont use any global  variables and I not at all know what can
happens
 this error. Can anyone advice?

 Thanks a lot

 Tomas







-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: error, Object not in form - but it is!!

2003-10-16 Thread Aaron Ardiri
 I use a method, setLabelText(), that simply does
 FrmHideObject, FrmCopyLabel, and FrmShowObject. I use
 this method to set all the labels in this form. When I
 want to 'hide' a label, I simply pass an empty string.

are you using FrmGetObjectIndex() for your index's? or,
just assuming that first index is 0, then 1, 2, 3 etc :)

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Palm Desktop Install function.

2003-10-16 Thread Matthew Henry
see the conduit docs



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Problem with T3 graffiti area and menus

2003-10-16 Thread Matthew Henry
OnWinEnterEvent you should be doing this

 EventType eventToAdd;
 MemSet(eventToAdd, sizeof(EventType), 0);
 eventToAdd.eType = (eventsEnum) winDisplayChangedEvent;
 EvtAddUniqueEventToQueue(eventToAdd, 0, true);


in case the grafitti area changed since you were last in the form.
Not sure why popping up a menu and removing it would cause the graffiti area
to change.
You definitely shouldn't need to save the graffiti state and restore it tho.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Hildinger, Robert
Well, that's kind of what this thread is all about. When the T3 is reset and
before a power off/on sequence it is as fast as a T3, like you would expect.
It's only after a power off/on sequence that it slows to about 75% of the
performance of a T3. I must also respectfully disagree with Aaron Ardiri in
that I do not think this has anything to do with newer OS/feature overhead.
If all the features can run just fine after a reset at the T3's higher
speed, why can't they do that after a power cycle?

'Tis a mystery...

-Robert



Dinho [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

 Another question.

 why Tungsten C is faster then T3?

 Thanks

 Dinho

 Robert Hildinger wrote:




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


graphic library for PalmOS

2003-10-16 Thread xavi dominguez
Hi Palmeros!
I'd like to know if there is some graphic library to develop graphics 
applications like OpenGL ?
Thanks,
   xavi (a nerd)

_
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Newbie developer WAS Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Hildinger, Robert
Dinho,

Like Aaron stated below, unless you need 802.11b specific functionality or
on-board keyboard access, there's no reason not to use the T3 for your main
development platform. I think you'll be very happy with it! It's nice to be
able to own more than one device, but that's a pretty expensive proposition
for most. Me personally, my development devices are the T3 and the Sony
UX50. I'd have more but that's all I can afford.   :-(

-Robert



Dinho [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

 Hi Aaron,

 I'm quite new in this field - palm developer. :-) This T3 is my first
 Palm and I intend to develop an application to collect some data from
 our equipment and perform some tests with this. I hope I have chosen the
 right Palm for this. what do you think?

 thanks

 Dinho

 Aaron Ardiri wrote:

 If I knew that I had bought a TC instead.
  ;(
 
 
 
 as a developer - you normally tend to have both :)
 
 the Tungsten|C provides 802.11b functionality, if you are doing
 networking - good for testing. the Tungsten|T3 provides the
 DIA/PIN functionality - its the first main stepping stone to
 OS6 with the UI features; so, getting use to it now might help.
 
 these two things most developers might be interested in, and,
 as such can justify having both :) i own both, along with around
 50 other palm powered devices.. (yes, i am a sick man)
 
 ---
 Aaron Ardiri
 [EMAIL PROTECTED]
 http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]
 
 
 
 







-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Aaron Ardiri
 I must also respectfully disagree with Aaron Ardiri in that I do not 
 think this has anything to do with newer OS/feature overhead.

i was not referring to this 'issue' :)

in general, you will most likely feel that the T|C runs faster
than the T|T3 - even though they run at the same clock speed.

the slowdown after this on/off thing is a serious bug. and, a 
seperate issue from what i was talking about. take the devices,
hard reset them, then run benchmarks. see who wins. :)

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Problem with T3 graffiti area and menus

2003-10-16 Thread Dave Carrigan
On Thu, Oct 16, 2003 at 03:24:29PM +0300, Kaloyan Donev wrote:

   On Simulator T3 when I enable graffiti hide, then hide graffiti,
 then popup menu, and hide menu, and on winEnterEvent graffiti area
 opens. Should I call something on winEnterEvent or anywhere else. Or
 should I save the state  of graffiti and then restore it on
 winEnterEvent. 

This issue was just discussed - and solved - yesterday on this very
forum. Doesn't anybody read the archives any more?

See http://tinyurl.com/r5yq

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


POLForm.cpp: Near data segment is bigger than 64k.

2003-10-16 Thread Vijayasaradhi D.
Dear all,

 I have a large project created using Object library Palm application wizard using 
code warrior 9, the application code size  550kb,

The code has multi level Inheritance, The base classes do have a lot of virtual 
functions, which is need in my project. 

We are getting link error around more than 100 like below.
We have made sure that the code in a segment doesn't exceed 64K.

Please Help to come out of this problem.

Thanks and Regards,
Saradhi


POLForm.cpp: Near data segment is bigger than 64k.
Link Error   : POLForm.cpp: Near data segment is bigger than 64k.

Link Error   : POLForm.cpp: Near data segment is bigger than 64k.

Link Error   : NMWException.cp: 'std::terminate()' 16-bit data reference to 
'__CW_FEATURES_PTR' is out of range.

Link Error   : PalmOS_AbortExit.cpp: 'abort' 16-bit data reference to 
'__CW_FEATURES_PTR' is out of range.

Link Error   : PalmOS_GlobalDestructors.c: '__register_global_object' 16-bit data 
reference to '__global_destructor_chain' is out of range.

Link Error   : PalmOS_GlobalDestructors.c: '__destroy_global_chain' 16-bit data 
reference to '__global_destructor_chain' is out of range.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: POLForm.cpp: Near data segment is bigger than 64k.

2003-10-16 Thread Ben Combee
At 10:02 AM 10/16/2003, Vijayasaradhi D. wrote:
Dear all,

 I have a large project created using Object library Palm application 
wizard using
code warrior 9, the application code size  550kb,

The code has multi level Inheritance, The base classes do have a lot of 
virtual
functions, which is need in my project.

We are getting link error around more than 100 like below.
We have made sure that the code in a segment doesn't exceed 64K.
You've hit a data size limit.  Make sure you're using V9.2, and upgrade 
your project to expanded mode.  This may not work, but its the only way to 
increase the amount of global data in your application for storing C++ 
virtual tables and exception tables.

See my white paper on the Metrowerks site (off the Palm OS product page) 
for more details on expanded mode.

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: POLForm.cpp: Near data segment is bigger than 64k.

2003-10-16 Thread Maks Pyatkovskiy
Good day Palm,

Thursday, October 16, 2003, 8:02:34 AM, you wrote:

VD We are getting link error around more than 100 like below.
VD We have made sure that the code in a segment doesn't exceed 64K.

Your project uses C++ exceptions. This is the source of your problem.
Just look into FAQ section on POL support site
(http://www.aqpoint.com/pol/faq.asp).


---
Sincerely yours,
 Maks Pyatkovskiy  mailto:[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: graphic library for PalmOS

2003-10-16 Thread Mathew B. Parker
http://sourceforge.net/projects/minigl/

Not sure if its ready, or even still being developed.

At 10:41 AM 10/16/2003, you wrote:
Hi Palmeros!
I'd like to know if there is some graphic library to develop graphics 
applications like OpenGL ?
Thanks,
   xavi (a nerd)

_
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/

--
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/


RE: Where is the Keylock preference stored?

2003-10-16 Thread Jeff Ishaq
Found it.  For anybody who ends up following this thread, I'll just
paste in my code, hope the tabs aren't too trashed.  Have fun!

-Jeff Ishaq


// These are my own empirical values that indicate the status of the
Keylock feature,
// which only seems to appear on devices running Palm OS 5.2.1 and
higher, and which
// are TOTALLY UNDOCUMENTED for some silly reason:
#define kKeylockFtrCrID 'keyl'  // The creator of the two
Keylock features
#define kKeylockFtrNumOne   0   // The first Keylock
feature (not sure what it represents)
#define kKeylockFtrNumTwo   1   // The second Keylock
feature (not sure what it represents)

#define kKeylockFormID  23600   // The resource ID of the
Keylock Activated form; may differ on French device

// Possible Keylock values
typedef enum
{
  KL_UNINITIALIZED, // Uninitialized state...
  KL_NOT_PRESENT,   // Keylock is not a feature that is
supported on this device
  KL_NEVER, // Keylock exists; is not activated
  KL_AUTO,  // Keylock exists; is activated
automatically when device turned off
  KL_MANUAL // Keylock exists; is activated when you
press  hold power btn for 2 seconds
} eKeylockType;


eKeylockType GetKeylockState()
{
  // See if the device we're running on has Keylock:
  eKeylockType eKeylock = KL_UNINITIALIZED; // We have not yet set
this variable.
  UInt32 dwKeylockFtrOne, dwKeylockFtrTwo;

  Err err = FtrGet( kKeylockFtrCrID, kKeylockFtrNumOne, dwKeylockFtrOne
);
  if ( ftrErrNoSuchFeature == err )
eKeylock = KL_NOT_PRESENT;  // Keylock feature DNE...
  else if ( errNone == err )
  {
// Get the second keylock feature now:
err = FtrGet( kKeylockFtrCrID, kKeylockFtrNumTwo, dwKeylockFtrTwo
);
if ( errNone == err )
{
  switch ( dwKeylockFtrTwo )
  {
case 0L:
  eKeylock = KL_NEVER;  break;
case 1L:
  eKeylock = KL_AUTO;   break;
case 2L:
  eKeylock = KL_MANUAL; break;
default:
  ErrNonFatalDisplay(Unknown value for Keylock Ftr Two!);
  }
}
else
{
// We expect for two values to exist, empirically.  Not sure
what
// to do if this is not the case!
ErrNonFatalDisplay(Unable to acquire Keylock state.);
}   
  }
  else
ErrNonFatalDisplay(Error checking the Keylock feature.);  //
Unexpected err
  return eKeylock;
}


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


[Repost] Palm SDK

2003-10-16 Thread Mark Lenz
Hi,
I went to the Palm Source website to see if there was an updated SDK.  They
list a bunch:

Palm OS 5 SDK (68K) R3 - Installer
Palm OS SDK 5 for CodeWarrior - Installer
Unsupported Palm OS SDK 5 for PRC-Tools

Will the Palm OS 5 SDK (68K) R3 - Installer work with Falch.net
(PRC-Tools) or only the Unsupported Palm OS SDK 5 for PRC-Tools?  And is
the Unsupported Palm OS SDK 5 for PRC-Tools updated to R3?
Thanks.

Mark Lenz
Software Engineer
Control Systems Group
Pierce Manufacturing, Inc.
(920) 832-3523
[EMAIL PROTECTED]

The information contained in this electronic mail message is confidential
information and intended only for the use of the individual or entity named
above, and may be privileged.  If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.  If
you have received this transmission in error, please  contact the sender
immediately, delete this material from your computer and destroy all
related paper media.  Please note that the documents transmitted are not
intended to be binding until a hard copy has been manually signed by all
parties.
Thank you.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: error, Object not in form - but it is!!

2003-10-16 Thread Brian Preston
Yes, I'm using FrmGetObjectIndex() for the indeces. I
use this method all over my app and the other 99.9% of
the time it works fine.

It may even be a method that shipped with the CW 8
tutorial and I just started using it; there's a
comment above it referring to CW 8.

Here it is, in case you're interested:

void setLabelText( FormPtr frm, int labelid, CharPtr s
)
{
int objindex;
objindex = FrmGetObjectIndex( frm, labelid );

FrmHideObject(frm, objindex);
FrmCopyLabel(frm, labelid, s);
FrmShowObject(frm, objindex);
}

Brian

  I use a method, setLabelText(), that simply does
  FrmHideObject, FrmCopyLabel, and FrmShowObject. I
 use
  this method to set all the labels in this form. 
 When I
  want to 'hide' a label, I simply pass an empty 
 string.

 are you using FrmGetObjectIndex() for your index's?
 or,
 just assuming that first index is 0, then 1, 2, 3 
 etc :)

 ---
 Aaron Ardiri


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Ron Nicholson
There should be some performance differences between the T|C
and the T|T3.  The memory bandwidth required for display
refresh isn't coming from nowhere, and the T3 has 50% more
pixels to refresh.

I don't have a T3 to test, but I wonder if the display configuration
or display refresh depth or rate could be changing on wake-up,
and differently from after a soft reset?


Ron Nicholson
HotPaw Productions
 http://www.hotpaw.com/rhn/palm 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Aaron Ardiri
 There should be some performance differences between the T|C
 and the T|T3.  The memory bandwidth required for display
 refresh isn't coming from nowhere, and the T3 has 50% more
 pixels to refresh.

that is exactly what i was saying. in addition, it is an OS
with additional enhancements (DIA) which could also take more
processing power when doing nothing 
(it has to actually manage the grafitti area programmatically)

 I don't have a T3 to test, but I wonder if the display configuration
 or display refresh depth or rate could be changing on wake-up,
 and differently from after a soft reset?

that could be something. 

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Hildinger, Robert
Ron Nicholson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 There should be some performance differences between the T|C
 and the T|T3.  The memory bandwidth required for display
 refresh isn't coming from nowhere, and the T3 has 50% more
 pixels to refresh.

Wouldn't that depend on whether or not the LCD controller was bus-mastering?
If so the CPU utilization for the LCD controller would be negligible, with
the only delays coming in those cases where there were bus contention
between the LCD controller and the running CPU core. If memory access were
the only problem then presumably certain benchmarks that were more
memory-intensive would be affected greater than the non-memory-intensive
ones, and that doesn't seem to be the case.

Case in point: Using test versions of Power48 I can measure how many
instructions it emulates per second during both idle modes and active
calculation. The speed 'loss' of the T3 appears to be uniform across the
board with regards to processor / memory utilization.


 I don't have a T3 to test, but I wonder if the display configuration
 or display refresh depth or rate could be changing on wake-up,
 and differently from after a soft reset?


Hey, sounds like a good test! I'll see if I can run this experiment tonight
and report the results back to the forum.

-Robert



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Problem with SelectDay on T3

2003-10-16 Thread Harold Howe
George Henne wrote:
On a T3 and the T3 Simulator, when I put a bitmap on a form using
WinDrawBitmap, then call SelectDay, the bitmap is gone after returning.
(The same happens with WinDrawLine, and perhaps others.)
The bitmap reappears properly on all other devices, Palm OS 3.0 on.
In the past, the SelectDay form had the save bits behind attribute set. 
This is no longer true on the T3.

H^2

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Design Input Please

2003-10-16 Thread Mitch
I have an application that generates a single database record during the
course of being used for 4-6 hours (in addition to a bunch of other stuff).

The record is a list of data objects (each about 36 bytes).

Depending on the user, the record may get to be as big as 150 or so objects.
But it might only be 40-80, with no real way to predict in advance.

My question is should I allocate one big record (in the datamanager) that
is 3K or so and then resize the record down when I close it or allocate in
chunks (40 or 50 objects large) as I go.  Or, is this still small enough
that it doesn't really make any difference?

Thanks,

Mitch



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: System not detecting silk button taps...

2003-10-16 Thread Harold Howe
Jeff Diamond wrote:
Our app normally gets a pen tap, and if it sees it's in the area of a 
silk screen button, it passes the penDown onto the system.

We had the problem that the T3 didn't say where its silk screen buttons 
were,
Could you elaborate on this? What method were you trying to use to 
determine where the silk buttons are?

H^2

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Tungsten T3 performance change after power off -- power on sequence

2003-10-16 Thread Hans Olsen
Hi,

I tried this on my T3 as well and it has the same preformance
characteristics, after doing a soft reset, the T3 is about 20-25% faster
then it normaly would be. Turning the device off, either manuly or due to
inactivity, results in the device becoming slower.

Anyone tried doing this on the Tungsten E?

Cheers,
Hans

Jonatan Fernstad [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 I have noticed something strange and rather annoying with the Tungsten T3.

 The first time that you power off and then powers on the T3 after a reset,
 the performance of the T3 is changed and everything runs slower than
before
 the power off/power on.

 Has anyone else seen this on their T3?

 It is perfectly reproducable ( atleast on mine ).

 To test this one can install a benchmark app ( such as Speedy 3.0 from
 www.aldweb.com ), perform a reset, launch Speedy and run a benchmark test.
 Then power off and power on the device and then run a second benchmark
test.

 Speedy´s Calculation test is ~23 % slower, the Memory read/write test is
~29
 % slower and the Graph test is about 25 % slower with the second benchmark
 test compared to the test being run before the power off / power on.

 Can someone find an explanation to why this is happening?

 I have verified that the Bus and CPU core clock settings remain the same
 before and after, aswell as the SDRAM clock.

 Is it perhaps some power saving setting that is set at power off, is
 forgotten about and hence is not reset at power on?

 Some new task is started and runs in the background after a power on?


 TIA,

 Jonatan

 www.clievideo.com







-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


T3 speed 'loss' investigation

2003-10-16 Thread Hildinger, Robert
Okay,

With regard to the speed loss that is occuring over power cycles on the T3,
I've performed some experiments to try and isolate the cause, and sadly I've
been unable to do so as yet. I thought some of you might find the results
interesting anyway and can draw your own conclusions...

The first thing I did was try to see if there was any change in the LCD
configuration before and after a power cycle when the T3 was in a freshly
reset mode. I recorded the values of all the LCD configuration registers
before the power cycle and then compared them to the after-cycle values.
There was no significant change in any of the registers.

I tried the same thing with the memory controller and the OS timer and pulse
width modulator registers. Same result...

Since these test didn't reveal the cause of the slowdown, I tried a slightly
different tack. I created the following extremely complex armlet [ ;-) ] as
a direct test of the processor speed:

UInt32 ARMlet_Main(const void *emulStateP, UInt8 *userData68KP,
Call68KFuncType *call68KFuncP)
{
   UInt32 x,tval1,tval2;
   volatile UInt32 *treg;

   treg = (volatile UInt32*)0x90A00010;

   tval1 = *treg;
   for (x=0;x1000L;x++) { }// simple delay loop
   tval2 = *treg;

   return tval2-tval1;
}

I turned off all optimizations so CW9.2 wouldn't optimize away the delay
loop. The register at 0x90A00010 is the OS timer counter and runs at 3.6864
MHz. The following results using this armlet over multiple passes were
observed:

Freshly Reset T3: 29, 29, 29, 29, 29, 29, 28, 29, 29, 29 ...

T3 after Power cycle: 29, 29, 44, 45, 233, 44, 229, 29, 29, 44 ...

The results above are fairly intriguing in that 29 counts of the 3.6864 MHz
counter is approximately 7.9 microseconds, which should be small enough to
fit in a single OS time slice.

I invite your comments and interpretation...

-Robert



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Mail To And ExgRequest()

2003-10-16 Thread Rick Sands
I am trying to create a message using the mailto syntax and the exchange
manager. I'm trying to include the to, subject, and body in a single message
using the default mail handler (VersaMail and Mail). The results are
inconsistent and I never get all the data in the to, subject, or body.  I've
consulted the varioius PDFs but cannot see anything wrong...

ExgSocketType exgSocket;
StrCopy(Text, mailto:[EMAIL PROTECTED]body=testing123);
MemSet(exgSocket, sizeof(exgSocket), 0);
exgSocket.description = Creating Msg;
exgSocket.localMode = 1;  // Specify local mode
exgSocket.count = 1;
exgSocket.length = StrLen(Text) + 1;
exgSocket.type = text/mail;
exgSocket.name = Text;
ExgRequest(exgSocket);

-Rick



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: graphic library for PalmOS

2003-10-16 Thread Alan Ingleby
Other things to look at are SHARK, Razor, and PalmOS SDL (incomplete).

Alan

Mathew B. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

http://sourceforge.net/projects/minigl/

Not sure if its ready, or even still being developed.

At 10:41 AM 10/16/2003, you wrote:
Hi Palmeros!
I'd like to know if there is some graphic library to develop graphics
applications like OpenGL ?
Thanks,
xavi (a nerd)

_
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.yupimsn.com/


--
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/


Re: POLForm.cpp: Near data segment is bigger than 64k.

2003-10-16 Thread Jeremy Neal Kelly
Maks Pyatkovskiy [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Your project uses C++ exceptions. This is the source of your problem.

C++ exceptions are *a* source of the problem; they are not *the* source. Nor
is it always necessary to remove them to fix the near data segment
limitation (despite your blanket rejoinders to the contrary). We have four
non-trivial apps that use C++ exceptions, and only one of them has near data
segment problems that were not fixed by expanded mode.

If the application is large enough, C++ exceptions certainly will surpass
the 64K limit. However, anyone with CodeWarrior 8 or 9 should follow Ben
Combee's advice and try expanded mode before changing their code.

Jeremy Neal Kelly
Software Engineer
Peapod




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: T3 speed 'loss' investigation

2003-10-16 Thread Ron Nicholson
A few more questions regarding T|T3 units which slow down after a power cycle: 

- Are System Sounds (or any other sounds) enabled?
- Did the T3 beep when woken-up?
- If not, does the performance change after running an app which plays
music?  (or any other sampled sounds, either after reset or after a
power cycle).
- Does performance change after performing a HotSync?
- Does performance change after beaming over Ir, or changing the Ir
preferences?
- same question about Bluetooth...

Thanks for the fishing expedition,

Ron Nicholson
HotPaw Productions
 http://www.hotpaw.com/rhn/palm 

--Original Message --
On Thu, 16 Oct 2003 15:09:46, Hildinger, Robert writes:
Okay,

With regard to the speed loss that is occuring over power cycles on the T3,
I've performed some experiments to try and isolate the cause, and sadly I've
been unable to do so as yet. I thought some of you might find the results
interesting anyway and can draw your own conclusions...

The first thing I did was try to see if there was any change in the LCD
configuration before and after a power cycle when the T3 was in a freshly
reset mode. I recorded the values of all the LCD configuration registers
before the power cycle and then compared them to the after-cycle values.
There was no significant change in any of the registers.

I tried the same thing with the memory controller and the OS timer and pulse
width modulator registers. Same result...

Since these test didn't reveal the cause of the slowdown, I tried a slightly
different tack. I created the following extremely complex armlet [ ;-) ] as
a direct test of the processor speed:

UInt32 ARMlet_Main(const void *emulStateP, UInt8 *userData68KP,
Call68KFuncType *call68KFuncP)
{
   UInt32 x,tval1,tval2;
   volatile UInt32 *treg;

   treg = (volatile UInt32*)0x90A00010;

   tval1 = *treg;
   for (x=0;x1000L;x++) { }// simple delay loop
   tval2 = *treg;

   return tval2-tval1;
}

I turned off all optimizations so CW9.2 wouldn't optimize away the delay
loop. The register at 0x90A00010 is the OS timer counter and runs at 3.6864
MHz. The following results using this armlet over multiple passes were
observed:

Freshly Reset T3: 29, 29, 29, 29, 29, 29, 28, 29, 29, 29 ...

T3 after Power cycle: 29, 29, 44, 45, 233, 44, 229, 29, 29, 44 ...

The results above are fairly intriguing in that 29 counts of the 3.6864 MHz
counter is approximately 7.9 microseconds, which should be small enough to
fit in a single OS time slice.

I invite your comments and interpretation...

-Robert


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Palm OS coding contest

2003-10-16 Thread Jeff Mitchell

I'm hosting a little coding contest; please help spread the word
by telling everyone you know! If you can help by linking to the page or
helping sponsor, please let me know :) This is all in the spirit of fun
and challenging ourselves.

You're all welcome to submit an entry of course!

http://www.codejedi.com/shadowplan/contest.html

Cheers!

jeff

--
Have you played Atari today?



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


FW: Near Data Segment is bigger than 64K

2003-10-16 Thread Maneesh Gupta, Noida
HI,

I am developing an application having some data tables. These tables
contains some data to be used but due to these tables data segement size is
exceeding 64K limit.Please let me know how to solve such problems. I can't
aoid declaring these data tables.

I am using the Large code model. I am also using C++ exceptions and I am not
in a position to remove that support.

Thanks  Regards
Maneesh

P.S. I had read on the forum that expanded mode could help in solvindg such
problems and Metrowerks has some white paper over it. But I am not able to
download it from internet. I believe there is some problem in metrowerks
site. Please help. If somebody has the copy of it and could share it please
let me know.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: FW: Near Data Segment is bigger than 64K

2003-10-16 Thread Prashant Jha
Maneesh,
These tables contains some data to be used but due
to these tables data segement size is exceeding 64K
limit.Please let me know how to solve such problems. 

You might want to create a multi-segment application
and then arrange your files accordingly in different
segments, if you have not already done that.
Hope this helps.
Prashant
--- Maneesh Gupta, Noida
[EMAIL PROTECTED] wrote:
 HI,
 
 I am developing an application having some data
 tables. These tables
 contains some data to be used but due to these
 tables data segement size is
 exceeding 64K limit.Please let me know how to solve
 such problems. I can't
 aoid declaring these data tables.
 
 I am using the Large code model. I am also using C++
 exceptions and I am not
 in a position to remove that support.
 
 Thanks  Regards
 Maneesh
 
 P.S. I had read on the forum that expanded mode
 could help in solvindg such
 problems and Metrowerks has some white paper over
 it. But I am not able to
 download it from internet. I believe there is some
 problem in metrowerks
 site. Please help. If somebody has the copy of it
 and could share it please
 let me know.
 
 
 
 
 -- 
 For information on using the Palm Developer Forums,
 or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: FW: Near Data Segment is bigger than 64K

2003-10-16 Thread Ben Combee
At 11:30 PM 10/16/2003, Maneesh Gupta, Noida wrote:
P.S. I had read on the forum that expanded mode could help in solvindg such
problems and Metrowerks has some white paper over it. But I am not able to
download it from internet. I believe there is some problem in metrowerks
site. Please help. If somebody has the copy of it and could share it please
let me know.
I just downloaded a copy of the white paper from 
http://www.metrowerks.com/pdf/Expanded_Mode.pdf

Try this link again.

-- Ben Combee
   Senior Software Developer, CodeWarrior tools
   Metrowerks Corporation (a Motorola Company) 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Converting .PDB file to JPG

2003-10-16 Thread Marianne
Hello,

I have a Sony ClieNX80 . I have taken snaps using the camera available on
the CLIE. I had downloaded the photo using HotSyn to the Computer. But the
snaps are stored in the .PDB format. I want to convert it to .jpg, is there
any tools for converting it??

Regards,

Marianne


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: FW: Near Data Segment is bigger than 64K

2003-10-16 Thread Ron Nicholson
On Thu, 16 Oct 2003 21:33:47, Maneesh Gupta, Noida writes:
I am developing an application having some data tables. These tables
contains some data to be used but due to these tables data segement size is
exceeding 64K limit.Please let me know how to solve such problems. 

Global tables can usually be replaced, with very few code changes, into
pointers to data resources.  In your startup code just point the global
table bases to these resources after getting their handles and locking
them.  If the table entries need to be modifiable, you can copy the data
in the data resources into the dynamic heap first.  You can also
assemble global tables much larger than 64k using the copy method.

I can't aoid declaring these data tables.

One shortcut to creating these data resources is just to declare
the data tables in some development code, and then write that chunk
of memory out to a resource.  These data resources can later be cut
and pasted into the actual application which needs them.


Ron Nicholson
HotPaw Productions
 http://www.hotpaw.com/rhn/palm 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/