Mike writes:
Can someone explain the difference between an ARM native program
and a 68K native program?
You don't say what your background is, so it's hard to tell whether this is
a simple or a deep question. I'd start by looking up the terms compiler,
machine code, assembly language,
On Tue, Jan 21, 2003 at 11:21:00AM -0600, Ben Combee wrote:
The Plugged-In program as a version of POSE for the Tungsten W
Are you sure? Last time this came up, it appeared to be mythical.
http://www.escribe.com/computing/pcpef/m5461.html
John
--
For information on using the
On Tue, Jan 21, 2003 at 11:21:00AM -0600, Ben Combee wrote:
The Plugged-In program as a version of POSE for the Tungsten W
Are you sure? Last time this came up, it appeared to be mythical.
http://www.escribe.com/computing/pcpef/m5461.html
yes, i am sure.
i have it here on my hard
Hi,
This a newbie question :o) :
I have a class :
class firstClass {
public:
firstClass(a, b);
..
(vars declaration)
( functions declaration)
}
and another one :
class nextClass : public firstClass {
public:
nextClass(a, b);
.
(vars declaration)
(
On Mon, Jan 20, 2003 at 11:28:21AM -0600, Ben Combee wrote:
If you're using prc-tools, I'm fairly sure stack size is an option you can
pass to build-prc.
Don't just be fairly sure, check the documentation! :-)
http://prc-tools.sourceforge.net/cgi-bin/info/definition+files
And Chris
Hello
could somebody who has MemMgr.c source tell me what this message means?
(There was already similar question posted to this forum, but remained
unanswered.)
I get this message from within an Armlet in otherwise working code so it is
a bit difficult to find the reason.
(Tungsten T/t, Palm OS
could somebody who has MemMgr.c source tell me what this message means?
(There was already similar question posted to this forum, but remained
unanswered.)
I get this message from within an Armlet in otherwise working code so it
is
a bit difficult to find the reason.
(Tungsten T/t, Palm OS
How to pass a pointer to a callback function? The function is my
keyboard replacement code. And can this code be in the same app where
the lines below are (and made start it on tapping on the silkscreen
abc-button while e.g. Memopad runs)? Now I have to replace the first
NULL to avoid the
Hello,
I have a .c file that must compile different part of code
depending on a define ex :
#ifdef _PALM_OS
int i;
#else
char i;
#endif
How can I set the _PALM_OS string as a compiling define in the
project setting ?
thanks ?
--
For information on using the Palm Developer Forums, or to
Thank you.
The problem is that there is no MemHandleLock() call. The only thing which
could cause it is PACEInterface::FrmCustomAlert() call. It is called from
the armlet and works on the Simulator.
Jan Slodicka
- Original Message -
From: Aaron Ardiri [EMAIL PROTECTED]
could somebody
Thank you.
The problem is that there is no MemHandleLock() call. The only thing which
could cause it is PACEInterface::FrmCustomAlert() call. It is called from
the armlet and works on the Simulator.
FrmCustomAlert() - not passing NULL there are you? :)
seems to be an issue maybe with the
Hello,
I have a .c file that must compile different part of code
depending on a define ex :
#ifdef _PALM_OS
int i;
#else
char i;
#endif
How can I set the _PALM_OS string as a compiling define in the
project setting ?
thanks ?
--
For information on using the Palm
Subject: Barcode Symbologies
From: [EMAIL PROTECTED]
Can anyone tell me if and how to activate the scanning of the following
barcode symbologies on the Symbol range of scanners?
Bar code M - Addendum and Bar code N Addendum, these codes are usually
found on books, magazines and other
Hi All,
We are doing some analysis on the available dynamic heap size on 2M Palm
devices and wonderring whether higher Palm OS versions can provide more
dynamic heap on the same Palm device with 2M memory. We know that a 2M Palm
device with Palm OS 3.5 installed can yeild us 128K dynamic heap.
Hello,
I don't exactly see differencies in the CW projet setting betwwen DEBUG and
RELEASE target?
What is the differences?
Is there a define that I can test in my code?
I can compile my application in debug, but I have a link error in release ?
thanks to help me.
--
For information on
I always did
FrmSaveActiveState (vTP-origFrmState);
...
FrmSetActiveForm (vTP-origFrmP); =
FrmRestoreActiveState (vTP-origFrmState);
BUT as I looked at the OS 4.0 source code I see that they use it w/o
FrmSetActiveForm()
FrmSaveActiveState
How to init variables in sampleLib ? Is it related to wrong CW settings?
Please look at the code below. Why intxxx, intyyy, gdate, spxxx, spyyy,
and ddd cannot be initialized? The constants assigned to the Global
Varaibles are not included to the prc file. The constants assigned to
the local
Do you have multiple segments? If so, are they setup the same way in both
targets? I have run in to linking issues between targets where I fail to
update one of the targets when moving files from one segment to another
(usually release).
Brad
Rodolphe Bréjaude [EMAIL PROTECTED] wrote in
Thanks for the idea. I already have a place in my code where I hide a label,
change the text then show it again. That was the only way I could find to
get the new text to show up right. Didn't work with changing the font so I
tried your idea of FrmRemoveObject() then FrmNewLabel(). That worked,
Chris Apers wrote:
class firstClass {
public:
firstClass(a, b);
..
(vars declaration)
( functions declaration)
}
class nextClass : public firstClass {
public:
nextClass(a, b);
.
(vars declaration)
( functions declaration)
}
and i want to
How do I do it? I am using pilrc vs. constructor and I am not quite sure
how to change my stack size. I could add my original .r file, but I don't
see the Rez as a compiler option in the file mapping panel.
Thanks in advance,
Brad
In the meantime I am going to change the fact that I use so
Is anyone having a problem with break points not being snapped to unless
the source file is maximized in the CW9 IDE? If so, is there any way around
it? Also, is there a Show Next Instruction like in visual studio?
Thanks,
Brad
--
For information on using the Palm Developer Forums, or to
The SDK is
just a wrapper for the OS calls, and has (almost) nothing to do
with the ISA used by the binary (ARM, x86/IA32 or 68k).
I guess I'm confused. If I do embedded programming for a micro, my compiler
goes from C to assembly as there is no OS running on the micro... But you're
saying
Rodolphe Bréjaude wrote:
How can I set the _PALM_OS string as a compiling define in the
project setting ?
I think you can set your define in a header file and then
include that header file in the project settings as the
prefix header file.
--
For information on using the Palm Developer
I asked this last month, here the answer from Ben Combee :
With the Metrowerks compiler, we define __PALMOS_TRAPS__ when compiling for
68K Palm OS, and __PALMOS_ARMLET__ when compiling ARMlet code for Palm OS.
Chris
- Original Message -
From: Matt Graham [EMAIL PROTECTED]
Newsgroups:
Dear All,
We have developed a Palm PDA app which need to allocate big chucks of memory
in the dynamic heap at run time due to the memo fields in our data tables.
When we are probing the possiblity to yield as much as available dynamic
heap to run our app, we get to know that one of the dynamic
How do I do it? I am using pilrc vs. constructor and I am
not quite sure
how to change my stack size
I believe this has been covered before on this forum.
If you are using the new Palm OS 68K Linker included with CW for Palm V9,
there is a setting in the Palm OS 68K Target settings
running export project on version 9 generate the following output
# Makefile generated by Metrowerks CodeWarrior IDE
#
all: Debug Release
clean: clean_Debug clean_Release
I first try this on an existing project which was upgraded and
then try it again in brand new
Am Mit, 2003-01-22 um 12.32 schrieb nybxvc :
Hi,
SysCurAppDatabase(myCardNo, myDbID);
err = SysNotifyRegister(myCardNo, myDbID,
sysNotifyKeyboardDialogEvent ,
NULL, sysNotifyNormalPriority, NULL);
If your replacement function is called MyKeyboardCode, it should
At 14:58 2003-1-22 +0100, you wrote:
Hello,
I don't exactly see differencies in the CW projet setting betwwen DEBUG and
RELEASE target?
What is the differences?
Look at the project settings. In a wizard created project, these two
targets will usually differ in the optimization level used
At 22:22 2003-1-22 +0800, you wrote:
How to init variables in sampleLib ? Is it related to wrong CW settings?
Please look at the code below. Why intxxx, intyyy, gdate, spxxx, spyyy,
and ddd cannot be initialized? The constants assigned to the Global
Varaibles are not included to the prc file.
At 08:12 2003-1-22 -0700, you wrote:
How do I do it? I am using pilrc vs. constructor and I am not quite sure
how to change my stack size. I could add my original .r file, but I don't
see the Rez as a compiler option in the file mapping panel.
This has been answered here before... in fact,
At 11:45 2003-1-22 -0500, you wrote:
running export project on version 9 generate the following output
# Makefile generated by Metrowerks CodeWarrior IDE
#
all: Debug Release
clean: clean_Debug clean_Release
I first try this on an existing project which was
At 08:30 2003-1-22 -0700, you wrote:
Is anyone having a problem with break points not being snapped to unless
the source file is maximized in the CW9 IDE? If so, is there any way around
it?
No. I'm not quite sure I understand what the bug is you are describing.
Also, is there a Show Next
Does anyone know of anything for this?
I spent about 40 minutes on the phone with Palm support and the store and
they could neither confirm nor deny that it was available.
I know that there is a 4.1-J ROM, but I'd doubt that there was any
upgrade program for it.
-- Ken
--
Ken Krugler
Mike allegedly writes:
If I do embedded programming for a micro, my compiler
goes from C to assembly as there is no OS running on the micro... But you're
saying that CW does not produce op codes for the specific hardware platform
If you are using CW v8, that could be correct. CW for PalmOS v8
Does anyone have an examples on how to create a popup list with the separator
lines in it like the colors list in the Palm OS 5 Simulator has?
Thanks,
Mike McCollister
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
Hi All,
I've got a database open with, say 9 records numbered 0-8.
I remove the first record using DmRemoveRecord, and then create another
record with DmNewRecord. I get the uniqueID for the new record and
store it (the unique ID for this record *is* different than that of the
deleted record).
At 11:32 2003-1-22 -0800, you wrote:
Does anyone have an examples on how to create a popup list with the separator
lines in it like the colors list in the Palm OS 5 Simulator has?
I think the simplest way would be to do a custom-draw list, and have the
draw routine check to see if the text is
Hi Mike,
some small cents from my side...
Mike wrote:
The SDK is
just a wrapper for the OS calls, and has (almost) nothing to do
with the ISA used by the binary (ARM, x86/IA32 or 68k).
I guess I'm confused. If I do embedded programming for a micro, my compiler
goes from C to assembly as
Ben,
Thanks. I'm working on a similar technique right now.
Mike
--- Ben Combee [EMAIL PROTECTED] wrote:
At 11:32 2003-1-22 -0800, you wrote:
Does anyone have an examples on how to create a popup list with the
separator
lines in it like the colors list in the Palm OS 5 Simulator has?
I
Usually when you put up a form with FrmDoDialog, the window is taken down
and the function returns to the caller automatically when the user taps a
button. If I have my own event handler for the window, what is the method
for finishing up the dialog without the user having tapped a button? My
Easiest is to add (yourself) a ctlSelect on your dialog's OK button. If you don't
have an appropriate button, you can just add one to your form and make it invisible
(not usable). Make sure you don't handle your ctlSelect event and the FrmDoDialog's
event loop will end your dialog and return
Is there any possibility to monitor the available stack size?
- Original Message -
From: Ben Combee [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:23 PM
Subject: Re: Changing the stack size w/ CW9
At 08:12 2003-1-22 -0700, you wrote:
Hey All,
Is there any way to draw a control of type buttonCtl
with no border. I see that the controlAttr structure
has a field for this but there are no functions
provided to acces this field. Any ideas please ?
Thanks,
Venki.
__
Do you Yahoo!?
And Chris Antos wrote:
Metrowerks (and IIRC also GCC) pushes function call arguments onto
the stack ... but does not pop them until the function returns (or
in certain looping situations).
Don't just IIRC, check the documentation :-). See also
At 22:45 2003-1-22 +0100, you wrote:
Is there any possibility to monitor the available stack size?
You can see the amount of stack each function in a file uses by adding the line
#pragma warn_stack_usage 1
to the top of your file, and then compiling it.
--
Ben Combee [EMAIL PROTECTED]
We have just posted the V9.1 update to CodeWarrior Development Studio for
Palm OS. You must have V9.0 installed on your system to apply this
update. This update addresses two problems:
1) PilRC Designer is updated to version 2.0.6 which fixes crashing
problems, the skin selector, and some
If I set a break point in file A.cpp and I launch the debugger while in file
B.cpp, the code breaks, but focus does not go to the line where the break
point is. Instead, I have to search for the break point that was hit by the
code. This only happens when I do not have the files maximized in the
At 15:11 2003-1-22 -0700, you wrote:
If I set a break point in file A.cpp and I launch the debugger while in file
B.cpp, the code breaks, but focus does not go to the line where the break
point is. Instead, I have to search for the break point that was hit by the
code. This only happens when I
Ben,
I am not getting the all in one window. I am getting the actual source
file window, and I can step through code. If I maximize my windows, then I
get the all in one window (with the variables and stack, etc..)! I
promise, I gave up drugs a long time ago!
Brad
Ben Combee [EMAIL
Thank you.
I tried it and got for this function
void DoTestFS()
{
int err=0 ;
const char *filePath ;
char buf[80] ;
clock_t t0, t1 ;
//...
}
this warning: Warning. Function DoTestFS() uses 80 bytes of stack
All variables are used, so the report is a bit strange.
Moreover this procedure
At 23:46 2003-1-22 +0100, you wrote:
Thank you.
I tried it and got for this function
void DoTestFS()
{
int err=0 ;
const char *filePath ;
char buf[80] ;
clock_t t0, t1 ;
//...
}
this warning: Warning. Function DoTestFS() uses 80 bytes of stack
All variables are used, so the report is a
At 15:36 2003-1-22 -0700, you wrote:
Ben,
I am not getting the all in one window. I am getting the actual source
file window, and I can step through code. If I maximize my windows, then I
get the all in one window (with the variables and stack, etc..)! I
promise, I gave up drugs a long time
Ok, cool I think I got it now, thanks!
So CW 8 produces 68k opcodes. But on an ARM platform, the PACE has to
interpret these 68K op codes, even for API calls. So what the PDF is saying
is the actual APIs in the OS are ARM Native. But what it doesn't say (and
what I was missing) is that anything
Has anyone written a driver to use the Palm USB cradle as
a COM port? If it were a COM port I assume I could run RAS or
MochaPPP as a PPP server on Windows?
How about on Mac OS X?
Stuart
On Tue, Jan 21, 2003 at 08:37:19PM -0800, venkatesh moh wrote:
I have a Palm OS 5 Tungsten device with a
On a similar thread, have you considered using a version that has x86let
code, for the simulator?
Christian Vandendorpe [EMAIL PROTECTED] wrote in message
news:110015@palm-dev-forum...
Have you considered making a version that just has the ARM code? This
would keep it at a reasonable size.
If the device has a flash rom, then you can probably upgrade it to 4.1.2,
but the versions in the seeding area are full roms, which are bigger than
2 megs, and therefore won't fit onto most devices. IMHO, I'd stick with
4.1, because I have using Jot for grafitti input.
Alan
Kamil Brzeziñski
Hi,
In my program I have a table that I want to draw a note icon in a column if
the record from my database has a note entry. However, every entry is drawing
the note icon. From what I can tell my code should work.
after I unpack the packedCE record into a ceRecord I have the following code:
Andy Black wrote:
Hi,
In my program I have a table that I want to draw a note icon in a column if
the record from my database has a note entry. However, every entry is drawing
the note icon. From what I can tell my code should work.
after I unpack the packedCE record into a ceRecord I have
I'm using a list, where I've set the choices with LstSetListChoices().
If, at a later stage, I call LstSetListChoices() again, does PalmOS free
the memory of the choices list and choice strings, or is that my
responsibility?
Thx
David
--
For information on using the Palm Developer Forums, or
David,
I think that this Palm OS Knowledge Base article will answer your question:
http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=293
-Bob Whiteman
=
Developer Technical Services Engineer - Comms
PalmSource, Inc.
Hi alll,
I have a struct for a PDB database on Palm handheld created by
Codewarrior like:
#define CON_DB_TYPE('DATA')
#define CON_DB_NAME (ConDB)
#define CON_CREATOR_ID ('cont')
typedef struct
{
int con_pk;
int con_incomplete;
charcon_name [CON_NAME+1];
char
Hello. I just put my CodeWarrior up for grabs on eBay. I don't need it
anymore. Includes the Mac and Windows version. Just opened and used for
a month.
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemitem=2302978946
Thanks,
Ryan Dary
=
www.ryandary.com
At 18:02 2003-1-22 -0700, you wrote:
Ok, cool I think I got it now, thanks!
So CW 8 produces 68k opcodes. But on an ARM platform, the PACE has to
interpret these 68K op codes, even for API calls. So what the PDF is saying
is the actual APIs in the OS are ARM Native. But what it doesn't say
Hi everyone,
In my program i have a custom table which uses TblSetCustomDrawProcedure
to call a callback proceudre which draws items of the table.
This works fine in devices which have OS version less than 5.
But in OS5 (both in Simulator and Tungsten T) it seems the program does not
go in to the
Ben Combee [EMAIL PROTECTED] wrote in message
news:110199@palm-dev-forum...
There isn't a way for normal software developers to have completely
ARM-native applications on current Palm OS devices.
Arm native applications require some sort of system call structure like the
Trap instruction
I am trying to run build-prc and I get the following error message:
$ make
m68k-palmos-gcc ppavotid.o -o ppavotid
ppavotid.o: In function `start':
crt0.c:35: multiple definition of `start'
/usr/m68k-palmos/lib/crt0.o:crt0.c:35: first defined here
collect2: ld returned 1 exit
Am Don, 2003-01-23 um 08.23 schrieb Veronica Loell:
Hi,
ppavotid.o: In function `start':
crt0.c:35: multiple definition of `start'
/usr/m68k-palmos/lib/crt0.o:crt0.c:35: first defined here
The symbol start is defined in crt0.o, so you can't use a function
called start in your app (unless
69 matches
Mail list logo