Re: [stella] nop and wrap around

Subject: Re: [stella] nop and wrap around
From: Eckhard Stolberg <Eckhard_Stolberg@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jan 1999 16:33:36 +0100
At 00:16 13.01.99 -0600, you wrote:
>> Try experimenting with swapping in a ROM full of BRK instructions.  I
>> *think* the BRK instruction acts as a soft reset, resetting the PC to the
>> startup vector.
>
>Anyone else know about the BRK?

Actually BRK is more of a software interrupt. It pushes the current
PC to the stack, sets the BRK bit in the statur register and then
sets the PC to the BRK vector at $1ffe and $1fff.


Ciao, Eckhard Stolberg



--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

Current Thread