<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 17 Aug 2008 15:58:00 +0200
From   : kortink@... (John Kortink)
Subject: Hard reset from Software

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 
>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?

LDA #&7F
STA &FE4E
JMP (&FFFC)

is equivalent to a powerup reset.


John Kortink

-- 

Email    : kortink@...         
Homepage : http://www.inter.nl.net/users/J.Kortink

GoMMC, the ultimate BBC B/Master/Electron storage system :
http://web.inter.nl.net/users/J.Kortink/home/hardware/gommc
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>