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/
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
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
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.
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
, 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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
21 matches
Mail list logo