At 10:12 PM 4/2/2004, you wrote:
Hello,
Is there a way to detect that a Soft Reset has been requested (pin in the hole), BEFORE the reset process takes place? And if that is possible, can one detect that the Page Up or Page Down key accompanied that request?
I am aware of the "sysNotifyResetFinishedEvent".
What I am looking for is a "sysNotifyResetStartEvent" (which I do not believe exists).
There does not seem to be a "vcrReset" character. Hacking "SysReset()" does not do the trick.
I suspect it is either called behind that API, or it is hardware interupt driven.
The reset button is generally hooked directly up to the hardware reset mechanism. There's no way to catch it before the reset happens -- that's the point of the mechanism.
The page up/page down/power button held logic is processed before Palm OS has even started, so there's no real chance to catch that either.
-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
Let me chime in on this one too. The reset button not being able to be detected by an app is in fact also a security feature incase of a binary corruption of app intentionally or accidentally catching it and corrupting the system. It was designed in mostly in the case of an electrostatic discharge and memory is totally shot.
Steve
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
