Global variables in ARMlets

2004-11-03 Thread Michael Yee
I am looking for documentation on how global variables are used in ARMlets. Thanks in advance. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: ARMlets and 68k global data

2004-03-14 Thread Aaron Ardiri
So there you have it. Can't access 68K global data from an ARMlet, even if you pass in a pointer to that global data. Should have guessed, I suppose! :) thats a wrong statement. we do it all the time. you just didn't figure it out. however, the solution you had for your lookup table also

Re: ARMlets and 68k global data

2004-03-14 Thread Aaron Ardiri
thats a wrong statement. we do it all the time. you just didn't figure it out. however, the solution you had for your lookup table also works fine. Interesting. Odd that the code didn't work with a pointer referencing global data, but worked correctly when I passed in a pointer

Re: ARMlets and 68k global data

2004-03-14 Thread Ron Nicholson
On Sun, 14 Mar 2004 03:09:53, Trevor Powell wrote: So there you have it. Can't access 68K global data from an ARMlet, even if you pass in a pointer to that global data. Should have guessed, I suppose! :) thats a wrong statement. we do it all the time. you just didn't figure it out.

Re: ARMlets and 68k global data

2004-03-14 Thread Ben Combee
most likely is data alignment :) remember, 68k and arm also has different padding between different compilers :) if you put everything in uint32's then - you'll never run into a problem (hint) If you store your table in a resource, the start of the table will be properly aligned for access in

ARMlets and 68k global data

2004-03-13 Thread Trevor Powell
, and then uses that value as a lookup into a very large table which is compiled into the program as a global array. A pointer to that array is included as part of the structure passed to my ARMlet. I seem to recall hearing that ARMlets have no access to globals -- I hoped that I could work around

ARMlets and 68k global data

2004-03-13 Thread Trevor Powell
sizable calculation, and then uses that value as a lookup into a very large table which is compiled into the 68k-side of the program as a global array. A pointer to that array is included as part of the structure passed to my ARMlet. I seem to recall hearing that ARMlets have no access to globals -- I

Re: ARMlets and 68k global data

2004-03-13 Thread Trevor Powell
Well, moving that global array into a resource (which I then copy into a malloc()ed block of memory during initialisation) seems to have solved the problem. ARMlet's working very nicely -- the worst-case situation which used to take ~20 seconds to calculate under emulation on my T3 is now

Re: Creating Armlets

2003-11-17 Thread Jan Slodicka
You can pass a structure as the PceNativeCall UserData68KP parameter, as long as it's inside a chunk created by MemPtrNew, and not just a stack local or global variable, unless your 68k compiler can guarantee 4-byte alignment (many can't). Or you force the alignment of the stack variable

Creating Armlets

2003-11-16 Thread munroel
Hi all I am new to PNO, and I am trying to create a PNO that generates a Pure Tone samples for place back using the Sample sound API from the palm os, as well as doing some FFT computations. I have tried passing a chunk created by MemPtrNew, as the UserData68KP parameter, and returning my

Re: Creating Armlets

2003-11-16 Thread Ron Nicholson
On Sun, 16 Nov 2003 10:22:45 munroel writes: I have tried passing a chunk created by MemPtrNew, as the UserData68KP parameter, and returning my samples in this pointer. This work ok, but there are some discontinuities that I am trying to get rid of. I tried to address this by passing a

Debugger for armlets ?

2003-11-05 Thread Francis Picard
Hi all, We develop applications for Palm with prc-tools and we'd like to start making armlets. In prc-tools for windows, there is a arm-palmos-*.exe for almost every m68k-palmos-*.exe, but there is no arm-palmos-gdb.exe. Does that mean we can't debug armlets with gdb

Re: Debugger for armlets ?

2003-11-05 Thread Ben Combee
At 10:39 AM 11/5/2003, Francis Picard wrote: We develop applications for Palm with prc-tools and we'd like to start making armlets. In prc-tools for windows, there is a arm-palmos-*.exe for almost every m68k-palmos-*.exe, but there is no arm-palmos-gdb.exe. Does that mean we can't debug armlets

Re: Debugger for armlets ?

2003-11-05 Thread Carsten
Get some nice GBA emulator.. most of them come with a fine debugging interface. ahh.. and some GBA emus are even open source. Carsten. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

jpeg Armlets

2003-10-04 Thread Matthew Fleming
For those of you who are using my jpeg compression/decompression ARMlets, I just wanted you to know that there has been a bugfix. The bug was causing a small (1 bit) loss of precision in the green component of the decompressed images. This was discovered by Steve Bennett, who also made a small

Armlets

2003-08-14 Thread Paul Johnson
Hi. I have a massive project I need to convert to palm os5. I've stubbed out all the platform dependent stuff finally, and am about to start a conversion proper. Where's the best place to learn about armlets and how to use them. Please note I know nothing about them at this point and have only

Re: ARMlets

2003-07-28 Thread Carl
it in the MSL headers, but it actually isn't implemented in a form that works for PACE native code. Questions about ARM programming and PACE native objects (formerly ARMlets) are best asked on the pno-forum mailing list; palm-dev continues to focus on general application development. -- Ben Combee

ARMlets

2003-07-25 Thread Carl
I am porting an existing running Palm application to use some of the more processor intense code to the Arm side for the OS 5. My question revolves around using methods like StrVPrinF, using a PACEInterface class, versus using sprintf. Is there any speed advantage, in side of the ARMlet, for

Re: ARMlets

2003-07-25 Thread Ben Combee
not be available -- we have it in the MSL headers, but it actually isn't implemented in a form that works for PACE native code. Questions about ARM programming and PACE native objects (formerly ARMlets) are best asked on the pno-forum mailing list; palm-dev continues to focus on general application development

build ARMlets whith prc-tools

2003-06-09 Thread Mario Blancas
Hi, I am wondering if you could offer some pointers to find info or links to resources on ARMlets. i'm interested in general info and their creation, and on how to write makefiles to create ARMlets with prc-tools. thanks, Mario _ Do You

Re: build ARMlets with prc-tools

2003-06-09 Thread Ron Nicholson
Don't forget that there is a PalmOS armlet forum, which might be a more appropriate place for these questions: http://www.escribe.com/computing/poaf/index.html Ron Nicholson HotPaw Productions http://www.hotpaw.com/rhn/palm -- For information on using the Palm Developer Forums, or to