:)
hacking assembly into your C code to get around bugs is very common.
I'm sure Dmitiry can also comment on this :)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
why the glue library code should be open source; so one
could just use the function that they need (ie: c+p the code where they need)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
Dveloper pages anymore.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
but in a more elegant manner (vs the nilEvent processing)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
i say it;
as you should really restructure your code. lockups are expected
on windows mobile :) not on palm.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
anyhow.
now that i think about it; i knew i wrote my own string routines for a reason;
there are a bunch of routines missing from the standard SDK that should
be in a standard C library.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http
FYI: here are my routines; (try to re-use what i can) :P
// look for a specific character in the memory buffer, starting at end
char *
_MemRChr(void *p, char chr, uint32 count)
{
char *pos;
char *x;
int i;
// default return value
pos = NULL;
// pre-condition (cannot have
for; but thats how i
would do something like that.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
a link to the paper discussed in that mail post
http://www.ardiri.com/publications/palmsource2000.pdf
keep in mind these documents are almost 7 years old - but, you asked :)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http
of memory cards.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
, you have many options
y = (float)x / 100;
y = x / (float)100;
y = x / 100.0;
etc.. this is a standard C language issue; nothing related to palm
http://drpaulcarter.com/cs/common-c-errors.php#2.5
a nice page with a list of very common C programming errors
--
// Aaron Ardiri
--
For information
:)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
need a mac osx intel machine -
with vmware to have windows/linux images. then you can do everything
from a single machine :)
vmware rules - if you dont know about it, check it out www.vmware.com
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe
for layout.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
seen her at any event/show.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
On Nov 1, 2007 9:36 PM, Dmitry Grinberg [EMAIL PROTECTED] wrote:
to find the order, try random things.
There is a better solution, however: CodeWarrior.
or multi-section prc-tools :) just define what functions go into what section.
--
// Aaron Ardiri
--
For information on using the ACCESS
. you
can convert to and from using utilizies (par for example) on the desktop.
you simply install via hotsync.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
to change the string, so, it has to be in a
read-write memory location, hence the use of globals.
pc-relative information is for constant data.
ie:
const Char timeString[10] = my string;
can be assumed read-ony.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums
, not as a variable inside.
b) use a resource
resources are simply memory pointers when locked. not that slow at all.
what do you expect pc-relative data is? it is data inside a 'code' resource.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see
as #defines, to no avail. What is the trick?
*((Int32 *)f) = fNAN;
*((Int64 *)d) = dNAN;
you need to tell the compiler to assign the int32/int64 direct as
bits, not try and convert them into float/double. its ugly, but, thats
how it works.
--
// Aaron Ardiri
--
For information on using the ACCESS
can play with it to get it looking more elegant. idea remains.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
On 9/29/07, Harald Schlangmann [EMAIL PROTECTED] wrote:
Do you have complete code for PalmOS? There is no Int64...
Kind regards, Harald
typedef long long Int64;
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
exist that remap
the basic character set into other sets as well. if you are looking for
a true unicode solution, specifically dealing with something like utf8
then you need to roll your own solution.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe
as a resource, and
then locking that down and using it. not everything you do on the pc will
work the same way on the handheld, in some cases, major design changes
are needed.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access
yourself.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
that does not
support it, or if there is a version out there.. its too old for my needs. i
have my own glue code :)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
PalmOSGlue.h from Palm OS SDK 5.0 (111823) and
MemGluePtrNew is not defined there. so now you know why
we had to write our own.. i think it was added 5.x+
granted, all new developers.. they are being handed all our
problems in a nice little package to make life easier for them :)
--
// Aaron
much longer than 2000, in fact if
i remember right Ken Kruger wrote some of the first headers, back
in 1998 :)
is we are doing history lessons :)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers
On 6/21/07, Jagat Nibas Mahapatra [EMAIL PROTECTED] wrote:
What is the unpublished API ?
try searching for it :) it has been discussed a lot in the archives.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access
.
or, you can use Ben's suggestions and use the types defined (standand C)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
On 6/8/07, Jagat Nibas Mahapatra [EMAIL PROTECTED] wrote:
Isn't there any prc-tools for windows ?
www.cygwin.org
if you cannot install this, you need to pay. simple fact. no freebies.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see
a SysUIAppSwitch() to it. of course, the manual creation would
be by receiving information over TCP/IP.
the unfortunate thing is that it is hard to have an application delete or
update itself without some complex programming.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums
- you can recompile prc-tools on the device.
now, porting POSE to the new linux+GUI libraries will mean you can have
a full garnet development platform on this new device.
the limitation will be the size of the internal flash memory - can it fit them?
--
// Aaron Ardiri
--
For information on using
On 5/31/07, Michal Seliga [EMAIL PROTECTED] wrote:
Aaron Ardiri wrote:
the limitation will be the size of the internal flash memory - can it
fit them?
if not then this is what sdcard slot is for... or usb
i am not sure if the expansion capabilities have been truely discussed yet.
my guess
windows xp.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
used to ship POSE on a CD rom (saved session)
with the rom built in. we needed an agreement with palm to do this. we
don't do it anymore tho, because now we have a native binary for windows.
you might find it better just to wite a native version.
--
// Aaron Ardiri
--
For information on using
/msg20575.html
as one example.. the par utility will in fact do the job as well.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
and viola. all is done.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
On 5/11/07, Michal Seliga [EMAIL PROTECTED] wrote:
main.prg: entry point 0xb79c too distant
move your main function towards the start of the code segment.
0xb79c = 47004.
this value should be, at maximum 32767, the limit of the relative jump on 68k
--
// Aaron Ardiri
- as long as hotsync does
not try and back them up.
why not split them over two resources and re-create them on the device?
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
. be sure to post info :) i would
recommend
looking at unix command line sed sources as a start.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
which you download *seperately* from the url above.
it probably wasn't supposed to be made available to the public at this
point in time - bad web hosting.
its probably too late now, but there should be a .htaccess file installed.
--
// Aaron Ardiri
--
For information on using the ACCESS
server error - so, i had to click around.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
else if(romVersionsysMakeROMVersion(5,0,0,sysROMStageRelease,0)){ //pre-os6
you do mean:
sysMakeROMVersion(6,
there right :)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
for cancelling a pop-up list. you need
to simulate it yourself.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
- why not use two
seperate event structures? :) (Evt1, Evt2) and see what happens?
is the above code real? or, have you substituted it with code which
we may understand better? if so, post the real code. your results
dont match the code regardless how you see it.
--
// Aaron Ardiri
On 3/15/07, Luca Bertoncello [EMAIL PROTECTED] wrote:
// The program's icon
ICON netTools.bmp
ICONCOLOR, or use the more up-to-date ICONFAMILY definition
--
// Aaron Ardiri
--
For information on using the ACCESS
is to be located.
if you dont want to see it, or dont need it, simply move it out
side of the bounds of the form.
http://examples.oreilly.com/
palmprog/CDROM/Linux/Pilrc/pilrc2.0/doc/pilrc.htm#Form
GRAFFITISTATEINDICATOR AT (Left.p Top.p)
--
// Aaron Ardiri
--
For information on using the ACCESS Developer
assume
variables have a default value of some form, and set it.
its a matter of programming style.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
:) you dont want to be
reading the address of 0xL :P
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
:) word align has
a 50% chance of working or failing remember :)
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
3 different sets of forms, no dynamic label.
:) ok. then the next step is to use a tool like prc2pilrc to convert
the final prc to a rcp file so you can check to make sure constructor
aint buggy :)
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums
in there to help. it all comes down to memory;
as long as the RGBColorType components are after each other; it'll work.
you can do a lot of cool tricks like color averaging etc with this too.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
many duplicates exist.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
On 2/26/07, Regis St-Gelais wrote:
never said stupid :)
you actualy did: // Aaron Ardiri sick of stupid questions (tm)
no-one reads signatures :)
On 2/26/07, Alexander R. Pruss wrote:
I have some bilinear resize code, both ARM and 68K, in the partial
myKbd source release at www.sf.net
of sample scripts in the prc-tools sdk folders.
you may want to do:
m68k-palmos-objdump -D file.o
so you can see the sections that are actually defined within your object file.
Any help would be appreciated.
you are using prc-tools right? forget this if your using codewarrior :)
--
// Aaron
didn't constantly
keep re-asking the same questions.
--
// Aaron Ardiri sick of stupid questions (tm)
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
was encrypted based on the hotsync username. this was written in
2000 - and, it still works today.
you just need to know what your doing. no assembly needed.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev
; your midlet would be an icon
by itself within the launcher.
i did this with our gameboy emulator (liberty) when it was ported to
the vtech helio - worked out quite well; but, we never did the same on
palmos; would have been nice.
--
// Aaron Ardiri
--
For information on using the PalmSource
and the new lines.
chances are, the line offsets are off.
this happens occassionaly - if someone modifies a file after the
patch file has been made; but, it isn't impossible to still apply the patch
manually :)
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums
. then
you just need to send the launch code to it.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
!= NULL) DmCreateDatabase()
DmFindDatabase()
...DmOpenDatabase()
is the standard way to do things; and then handle your opendatabase
errors accordingly (ie: unable to open etc etc)
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
On 2/15/07, Rabbi [EMAIL PROTECTED] wrote:
MemSet(event, sizeof(EventType), 0);
should be:
MemSet(event, sizeof(EventType), 0);
your passing the address of a pointer - which you should NOT be passing.
--
// Aaron Ardiri
--
For information on using
to POSE (palmos emulator).
the routine is right there for you.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
.
head = (char *) MemPtrNew(100);
StrCopy(head, text-GetCharPtr(header));
maybe?
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
database types. you can
find a list of these in the reference documentation.
you shuold stick to known database types like 'data' :)
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
). hotsync will always
install a newer version.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
space. j2me.. mm. fun :) its just not
going to happen, there are so many other technologies that area really
going to take its place.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
a
blessing to fix the headers :) we, the sick ones.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
it dynamically; you just show/hide it as you deem necessary.
in fact; having it defined but with parameters that dont make sense for
display automatically hides the scrollbar.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
documented; but the desktop
side of things may not be.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
.
palmos has a known problem with dynamically generated forms, so its
more stable to define objects that are not used and/or not visible than
to attempt to create them on the fly.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
On 1/23/07, wawa [EMAIL PROTECTED] wrote:
Excuse me, As said by Aarn Aadiri I forgot ...
for the record,
is it really hard to get my name spelt right? at least one of them?
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
symbian
linux
other
might be better options, allowing you to select more than one. i have 120+
handhelds, running all of the above operating systems. surely, i dont use
them all at once, but i have a stash of 4-5 devices which i can choose based
on my mood,.
--
// Aaron Ardiri
--
For information
, that's not a big deal), but seems
more elegant (no checking for particular devices, no direct fiddling
with structures).
too much work :) i avoid PACE because its slower - only use it when
absolutely necessary. doing some 68K work requires messing with
resources and stuff :)
--
// Aaron Ardiri
to the buffer. it is common that
you may request 1024 frames, but actually must process 2048.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
, and there are plenty of docs out there to read from. now,
i've spent the weekend homebrewing my PSP. i can tell you, its
been fun, but not something i would recommend to anyone :)
now my apps semi-run on the PSP :) just got a few things to tweak.
--
// Aaron Ardiri
--
For information on using the PalmSource
.
but to answer your question; yes. it will work. you can either use a feature
memory pointer, or create a large resource in a database on the storage
heap. FtrPtrNew() is cleaner - a database of type/creator 'a68k/a68k' will
be stored in the DbCache on NVFS devices - and will never be cached.
--
// Aaron
right.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
manually - something most people just
wish the compiler would sort out for them (except when its buggy) :P
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
PODS inherits from its dependency
on prc-tools, but i believe all compilers act the same way.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
a starting point for you.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
to it.
most debugging is done under visual studio in win32 when it comes to
application logic - but, device specific debugging (hardware type things)
is done using the above technique.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
routine; in addition to
its appropriate r9 table reference.
you seem to be bypassing the offical way to call 68K from ARM directly -
which is why it may work. the manner in which palmsource expects us to
call it (as above); may actually be broken for FrmSetDIAPolicyAttr on a T3
--
// Aaron Ardiri
is standard from 5.3+ - i just have to make it work with the
3rd party solutions that work on pre 5.3
the form modification direct on T3 does solve it - but, it doesn't explain
why the PACE callback crashes - which, to me is a PACE bug.
--
// Aaron Ardiri
--
For information on using the PalmSource
while you may have a working solution using another undocumented
API - my original email was to point out the recommended method
was busted (maybe a bug on T3 directly)
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
difficult to write a white paper on something like this without
rewriting the complete SDK honestly. for what its worth; i dont really
have the time to do something like that.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http
could find to post here :)
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
certification.
it may help some self-made companies as consultants however.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
. If you're just doing this at form close, just don't remove
it at all -- it will be removed automatically by unloading the form.
i had a project that i managed to keep stable - but, ben is right. its
very flaky.
if you do things right, you wont run into any problems.
--
// Aaron Ardiri
- because i simply dont know at compile time
what my user interface was going to contain. it was a 100% scripted application
that would build UI's based on script values.. super fun.
in these types of projects; dynamic UI is essential.
--
// Aaron Ardiri
--
For information on using the PalmSource
On 12/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
does it support square root, exponents, multiplication, division
What place of decimal accuracy is supported?
google + mathlib + palm
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe
:) or, write your own.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
of instruments. if you want to check it,
listen to a midi on the desktop (windows/mac); then, play it back as
a ring tone on the treo.
you'll hear two different things.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev
for it to compile and execute (gave segmentation fault); but, it
wasn't that hard to track down the bug.
the core is there - you should be able to get it working easily.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev
.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
function is of type void. Is the forward declaration necessary?
just change it to:
static void UniqueUpdateForm(...)
its a common error to forget the return type on functions; and, by default
they are assumed to be int's under C/C++. making it void corrects the issue.
--
// Aaron Ardiri
1 - 100 of 2564 matches
Mail list logo