MemMove or not ?

2004-11-10 Thread Chris Apers
Hi, Based on your experience and PalmOS source code, what's the fastest in ARM : - MemMove - or void my_memmove(UInt8 *dst, UInt8 *src, UInt32 size) { while (len--) *dst++ = *src++; } Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: MemMove or not ?

2004-11-10 Thread Peter Voss
MemMove ist much faster!!! Chris Apers schrieb: Hi, Based on your experience and PalmOS source code, what's the fastest in ARM : - MemMove - or void my_memmove(UInt8 *dst, UInt8 *src, UInt32 size) { while (len--) *dst++ = *src++; } Thanks Chris -- For information on using the Palm

T5 questions

2004-11-10 Thread Neil Whitworth
1) Is it posible to debug on the device (with CW9.3)? I have tried, but not been successful yet. 2) What are the keys for the 5-way navigator on the T5 sim? I have tried the arrow keys and numeric keypad but no luck. I am using a laptop (Dell Inspiron) and nothing seams to work. -- For

Re: T5 questions

2004-11-10 Thread Nikolai Filipov
Hello, Neil! There's a text file accompanying the T5 Sim, which says the keys are the arrow keys, like the ones for Treo 600 Simulator, but that's incorrect. One of the text or PDF downloads in the Pluggedin program (where the T5 Sim download is) lists the correct keys - Alt+Enter for Center,

can't compile simple example on solaris using prc-tools

2004-11-10 Thread Sinisa Marovic (AC/EDD)
Hi all, I'm a newbie in this palmos buisiness, but as quite experienced c programmer I'm getting frustrated not being able to compile the most simple example from prc-tools page http://prc-tools.sourceforge.net/misc/ (armlet.tar.gz). m68k-palmos-gcc armlet.o -o armlet

Re: can't compile simple example on solaris using prc-tools

2004-11-10 Thread Aaron Ardiri
I'm a newbie in this palmos buisiness, but as quite experienced c programmer I'm getting frustrated not being able to compile the most simple example from prc-tools page http://prc-tools.sourceforge.net/misc/ (armlet.tar.gz). m68k-palmos-gcc armlet.o -o armlet

RE: can't compile simple example on solaris using prc-tools

2004-11-10 Thread Sinisa Marovic (AC/EDD)
Hi Aaron, thanks for you quick response. The same example was succesfully compiled at home on linux without modifications (or warnings). I used palmdev-prep to set the header files dirs (the printout showed that it found the files, and the 'specs' file was updated accordingly. Anyway,

Re: can't compile simple example on solaris using prc-tools

2004-11-10 Thread Aaron Ardiri
m68k-palmos-gcc -Wall -palmos5 -O2 -c -o armlet.o armlet.c this one compiles your c - o m68k-palmos-gcc armlet.o -o armlet armlet.o(.text+0x66):armlet.c: undefined reference to `DmGetResource' armlet.o(.text+0x70):armlet.c: undefined reference to `MemHandleLock'

Re: Using Records

2004-11-10 Thread Ralph Curtis
If you are never going to do anything with the HH data on the PC then replacing the record is a reasonable option. If you can see that one day you may want to access and modify the data on PC via conduit and PC application then replacing is not a good option because it can be a problem to sync HH

Re: Palm OS's Future

2004-11-10 Thread Matthew Graham
mike margerum wrote: I just dont understand their licensing strategy. Why not license it to anyone who wants to build devices around it without ridiculous startup fees and minimum sales contracts. Let Dell take a whack at palmOne. Dell? You're kidding right? You think the company that still

Re: T5 questions

2004-11-10 Thread Ben Combee
At 04:14 AM 11/10/2004, you wrote: 1) Is it posible to debug on the device (with CW9.3)? I have tried, but not been successful yet. http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=889 -- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. Combee on

Re: How to bring PalmOS to new hardware (e.g. XScale architecture)

2004-11-10 Thread Matthew Graham
Peter Gschwendtner wrote: I have a request to adapt Palm OS for a hardware device, that shall be developed next time. Target CPU is intended to be XScale. Just a request, please adapt Palm OS Cobalt, the newest release. -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: How to bring PalmOS to new hardware (e.g. XScale architecture)

2004-11-10 Thread Ben Combee
At 04:16 PM 11/9/2004, you wrote: Hello, I have a request to adapt Palm OS for a hardware device, that shall be developed next time. Target CPU is intended to be XScale. What must be done to make it running on such a new device. What tools are available? Are there any evaluation boards for

RE: can't compile simple example on solaris using prc-tools

2004-11-10 Thread Sinisa Marovic (AC/EDD)
Hi all, I've found the solution posted at thread: http://www.mail-archive.com/palm-dev-forum@3com.com/msg13273.html It looks that this problem was fixed after version 0.5.1b3, but not for solaris. After I fixed the file PalmTypes.h at line 204 (I'm working with SDK 5), it compiled without a

Creating Debug version using CodeWarrior

2004-11-10 Thread Peter Easton
Hi, Creating a new CW project creates 2 targets: Debug and Release. How do I add debugging code to the Debug target? Is there a symbol defined (DEBUG?) that I use, or is it a matter of having one file (that defines DEBUG) included in one target and not in the other? What are my options? I

Re: How to bring PalmOS to new hardware (e.g. XScale architecture); thanks for the answer

2004-11-10 Thread Peter Gschwendtner
Your answer really helps. Probably it's not a good idea to use PalmOS for the project because access to it is too difficult. I just found a hint for a board support package from INTEL without detailed information. Board support packages for ... PalmOS* ... are available for the Intel DBPXA25x

Re: Palm OS's Future

2004-11-10 Thread Mike Margerum
Dell? You're kidding right? You think the company that still hasn't sold an AMD-based PC is gonna start making Palm OS devices? Do you really think they'd put that strain on their relationship w/ MS to make something for Palm OS? I'm sure of all the possible licensees, Dell is the one

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Adrien Regimbald
I've set up debug and release macros for my project in CodeWarrior through precompiled headers. You create two precompiled headers, then in the target settings, specify the precompiled header belonging to the target. Within your precompiled headers, you can specify whatever macros you like, and

RE: Unknown events on T3

2004-11-10 Thread Ezekiel Sanborndeasis
Thats a winDisplayChangedEvent... It is well defined in the SDK docs. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: FormType and database

2004-11-10 Thread Ezekiel Sanborndeasis
The problem in OS 5 is due to the shaadow structures... What you get back from FrmNewForm is not the form but rather just the shadow of the real native ARM form. Some of the form information is shadowed to increase compatiblity of apps that access those structure elements directly, but not

How to detect if a menu is open

2004-11-10 Thread Tam Hanna
Hi, I am in the process of developing a little clock that draws to the screen via a buffer. No problems up to here However, when the user opens up the menu, it gets overdrawn with the data that comes in from the buffer at a nilEvent in the forms event handler. I would now like to know how it is

RE: How to detect if a menu is open

2004-11-10 Thread Robert Moynihan
You need to look for winenter and winexit events to see if something else (the menu) is active on the screen. If so, you stop drawing. -- RA Moynihan Sent from my Treo -Original Message- From: Tam Hanna Date: 11/10/04 1:25 pm To: Palm Developer Forum Subj: How to detect if a menu

CW 9.3 debugger does not fully scroll to breakpoint

2004-11-10 Thread Luc Le Blanc
Since I moved to CW 9.3, I noticed that most of the time (if not all), when I stop on a breakpoint while debugging, I have to scroll down the debugger window to get to see the breakpoint line. Is it just me or is this a bug (or undocumented feature)? -- Luc Le Blanc -- For information on

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Stefan Stolz
Hi, I use this in one header-File: #if __ide_target(Debug) #define DEBUG #endif Stefan Peter Easton wrote: Hi, Creating a new CW project creates 2 targets: Debug and Release. How do I add debugging code to the Debug target? Is there a symbol defined (DEBUG?) that I use, or is it a

RE: CW 9.3 debugger does not fully scroll to breakpoint

2004-11-10 Thread Gert van Kruiningen
Luc, I have that as well, would be nice if the window opens with the breakpoint right there. I believe that 9.2 had the same. Gert van Kruiningen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luc Le Blanc Sent: Thursday, 11 November 2004 07:42 To: Palm

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Peter Easton
Very, very nice! This is a very elegant solution. Thanks! Peter Stefan Stolz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I use this in one header-File: #if __ide_target(Debug) #define DEBUG #endif -- For information on using the Palm Developer Forums, or to

Re: Unknown events on T3

2004-11-10 Thread Jan Slodicka
Thanks, that explains everything. Jan Slodicka - Original Message - From: Ezekiel Sanborndeasis [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 6:56 PM Subject: RE: Unknown events on T3 Thats a winDisplayChangedEvent... It is well

Treo 270 API for SMS/EMS

2004-11-10 Thread Oscar De Leon
Hi, I have been googling the web for information about the Treo 270 APIs/SDK with no luck. I would like to know if it is possible to create a Palm OS application that requests with an SMS (Short Message Service) and receive a reply with an EMS (Enhaced Message Service). The idea is to request for

Re: CW 9.3 debugger does not fully scroll to breakpoint

2004-11-10 Thread Luc Le Blanc
Gert van Kruiningen a écrit : I have that as well, would be nice if the window opens with the breakpoint right there. I believe that 9.2 had the same. I went directly form 8.3 to 9.3, but I'm sure I didn't have this problem in 8.3. -- Luc Le Blanc -Original Message- From: [EMAIL

Re: How to detect if a menu is open

2004-11-10 Thread Tim Kostka
An easy way to do this without using globals or flags is to check if the current window is the active form's window when you want to draw something. If they are not the same, don't draw to the screen. I found this easier and just as effective as trapping winEnter/winExit events. Cheers, Tim