Date : Mon, 18 Aug 2008 01:52:28 +0100
From : jgh@... (Jonathan Graham Harston)
Subject: Hard reset from Software
John Kortink wrote:
> On Sun, 17 Aug 2008 12:38:48 +0100, "Mark Haysman" wrote:
> >Is there a way of doing the same function as a power-on reset, from a
No. There is no software way of dropping the RST line, which is
required to reset the hardware and the CPU.
> LDA #&7F
> STA &FE4E
> JMP (&FFFC)
> is equivalent to a powerup reset.
Otherwise seen as OS."FX151,78,127":CALL !-4
No it isn't, it software resets *one* peripheral which just happens
to have the ability to be reset through software, and then jumps to
the code that a reset causes the CPU to jump to, relying on the
firmware to cope with the reset code being entered with the
hardware not in a reset state.
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
**** DO NOT EMPLOY MARREN BUILDERS/ROOFERS, SHEFFIELD ****