Eric wrote:
>
> my patch replace the system keyboard, I use sysgettrapaddress to
> get the system keyboard function pointer first, I want to save it in
> database so that I can recover it later.
>
> void (*oldKeyboardPtr)(KeyboardType);
> oldKeyboardPtr=SysGetTrapAddress(0xA2E2);
>
> how to save the oldKeyboardPtr?
Saving sys trap pointers (dynamic) in databases (static) isn't
a very good idea. What is it that you're trying to do that would
cause you to have to "recover" the trap address?
-Daniel.