"Eric W. Sirko" <[EMAIL PROTECTED]> wrote in message
news:62035@palm-dev-forum...
>
> 1. I understand that it's not possible to patch the New Serial
Manager
> functions via SysGetTrapAddress and SysSetTrapAddress. The serial
functions
> are all called through a special dispatch function; they don't have
entries
> in the "system" dispatch table. My question: Why does the New Serial
> Manager differ from the rest of the system in this way?
Actually, they have ONE entry in the system dispatch table for all of
the new serial manager calls -- it is sysTrapSerialDispatch. However,
to patch that, you would have to have a trap that checked the selector
and passed on other calls to the original selector dispatch.
> 2. Does the system extension mechanism provide an easy way to patch a
> single serial function, say SrmOpen? (Yes, I know system extensions
are
> only for the initiated...)
This sounds like a job for a new serial driver, rather than patches and
hacking. See http://oasis.palm.com/dev/kb/present/1107.cfm and the
chapter on writing serial or virtual drivers in the Palm OS Companion.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/