Date : Sun, 17 Aug 2008 13:31:55 +0100
From : etljwk@... (John Kenyon)
Subject: Hard reset from Software
----- Original Message -----
From: "Mark Haysman" <jumbos.bazzar@...>
To: <bbc-micro@...>
Sent: Sunday, August 17, 2008 12:38 PM
Subject: [BBC-Micro] Hard reset from Software
> Hi folks.
>
> Is there a way of doing the same function as a power-on reset, from a
> software call? I've tried the basics such as *FX200,2 then a call to
> (&FFFE), but it either just does a soft break or comes up Bad Sum. Is
there
> a way of fooling the Beeb into doing a full reset without manually holding
> down the CTRL button?
>
IIRC The System VIA is the only device which doesn't get reset by the break
key - it has it's own reset circuit.
The MOS uses this to differentiate between power up and hitting the break
key.
- if the system VIA is reset, then it's a power up.
For your purposes you need to find out which bit of the system VIA is
checked
by the MOS and then set it appropriately before calling/jumping to (&FFFE).
/john