I want to patch some traps and make other programs, not
knowingly, use my code. The problem is my code has grown
rather large and does not fit into my shared library because
of the 64K limit. Can I get around this problem in any way?
Also, would it be possible to make a shared library which in
tur
Would it be possible to make a shared library which in turn uses one or two
static libraries to overcome the 64K limit on shared libraries?
Regards
Petrus
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
ECTED]
-Original Message-
From: Petrus Wrangö [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 9:53 AM
To: Palm Developer Forum
Subject: RE: Multi segment shared libraries
I REALLY don't think I can break it apart, since all these lovely methods
share global variables.
An
0k programs that use a shared library.
The shared library being one project file outputting two libs. It IS one
large shared library, but if you're going to share 140K of code, you need to
break it up somehow.
-Original Message-
From: Petrus Wrangö [mailto:[EMAIL PROTECTED]]
Sent: T
.
-Original Message-
From: Petrus Wrangö [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 9:23 AM
To: Palm Developer Forum
Subject: Multi segment shared libraries
I've searched the archive, and there are some questions related to this, but
I can't figure it out.
My shared l
I've searched the archive, and there are some questions related to this, but
I can't figure it out.
My shared library has grown very large, and I can no longer compile it. I'm
getting all kinds of strange link errors.
I've tried to make it multi segment, And the closest I've got is by using
these
When I try to multiply two variables of type ULong I get a Link error:
Link Error : Main.c: '__lmul__' referenced from 'HandleTimerElapse' is
undefined.
I get similar errors when I try division or modulus.
I think I've done this before with no error. Maybe I've messed with some
settings in co
Hi, I'm using CW R5 with SDK 3.0.
I know this topic has come up several times before, but searching the
archive didn't provide me with a solution.
I've written a shared library with some code that will be run at interrupt
level, and now I want to debug my code.
How can I get the debugging of a s
d effective address"
All in all though, I find the 68000 is much more orthogonal than the X86
- you have many more registers and can use them much more generally,
with many more addressing options, so you may find you can do things you
never could do on the X86. :)
Petrus Wrangö wrote:
>
&
Phu, this Motorola assembler isn't anything like the x86.
I've been looking through Targeting PalmOS and Motorolas 68k
Reference/Manuals but I dont get it to work.
I have this function, like;
void bogus(){
//some code
}
And then, in an asm function, I would like to use bogus as a variab
o kick ass interrupt questions!
Hi Petrus,
Good luck using non-documented and non-supported API's!
It sounds like you might be better off using a virtual serial driver. Take
a
look at knowledgebase article #1812 for some sample code.
Regards,
Peter Easton
Palm Developer Support
Petrus Wra
trying to do.
There are no words to describe how much I would appreciate any help.
Regards
Petrus Wrangö
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
this please let me know.
Thanks
Petrus
Petrus Wrangö <[EMAIL PROTECTED]> wrote in message
news:19214@palm-dev-forum...
>
> Here's one for you all to chew on!
>
> I want to do some work when a serial interrupt occurs. Normally one just
> posts an event and picks up in th
Here's one for you all to chew on!
I want to do some work when a serial interrupt occurs. Normally one just
posts an event and picks up in the event loop, but my program is not of
'appl' type, more of a hack nature, so I don't have any event loop. There
must be away around this problem, and I won
Is there a function I can patch on to that I can be sure gets called at
regular intervals. I must be REALLY sure!
I'd prefer a function that gets called every 10ms or so. Something like a
tick increase function. Is there such a function? Any other way to create
callback without occupying the OS/ex
iles in an
intranet. Is there a way to make these newer versions of AvantGo operate
this way?
Preferably a cheap and easy way!
Petrus Wrangö
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
I would like to start AvantGo and make it open a specific page, preferably
in a way compatible with PalmOS 3.0 and up. How can I do this?
Petrus
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
>> Still, creating a millisecond delay must be possible. Right? (Even if I
have
>> to go to assembly level coding.)
>Stop and think carefully about what you really want. I suspect you
>don't really want a delay of exactly one millisecond. Instead, I
>suspect you want one thing to happen exact
>This may seem difficult to accept, but the operative phrase is "[in your]
short experience" --
>your application is, almost without question, corrupting kernel data
structures by using those
>functions, leading to instability, possible data corruption, and an
eventual crash.
Ok, I can accept tha
Previously I was talking about timers. And now I'm starting to realize I
can't get better accuracy than 10ms this way (using sysTimerX functions). So
now I want to know a way to make a delay for EXACTLY one millisecond.
I also want to hear from anyone that has tested the sysTimerX functions more
It seems the PalmOS defaults the ticksPerSecond to 100.
I would like to change this to 1000 to get better accuracy on timers and
such. How can I change this, and would it be safe to change it?
If not, is there another way to create something like a timer with better
accuracy than 10ms?
The way I
I didn't get much response on my question about sysTimerX functions so I
went hunting on my own. Here's what I found: (I'm still looking for more
info.)
To create a timer you use the sysTimerCreate, the sysTimerCreate id declared
as:
Err SysTimerCreate(DWordPtr timerIDP, DWordPtr tagP,
Sy
Is there any documentation for these undocumented functions? :)
SysTimerCreate, SysTimerDelete, SysTimerWrite, SysTimerRead
Any info and help on how to use these would be greatly appreciated.
Petrus
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
> you dont need to use globals at ALL really.
Sorry, I forgot to mention that I'm porting a rather large piece of code.
And I really need the 'real' globals.
Petrus
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support
Official information states that 'real' globals canot be used in a shared
library.
What I want to know is: Can I use globals in serial and virtual drivers?
How?
I'm also interested in using globals in shared libs, despite official info.
Anyone knows the whereabouts of this article?:
"PalmOS Shar
25 matches
Mail list logo