[Coco] 64K ROM to RAM programs - where did this one come from?

Alex Evans varmfskii at gmail.com
Thu Dec 16 09:18:39 EST 2021


That was my motivation.

On Thu, Dec 16, 2021 at 7:47 AM Joel Rees <joel.rees at gmail.com> wrote:

> On Wed, Dec 15, 2021 at 12:12 PM Allen Huffman <alsplace at pobox.com> wrote:
> > [...]
> > Why do some of you push CC at the start?
>
> Especially if you're playing with the S stack in your copy routine,
> you may not want interrupts to occur while you are copying. But if you
> leave them masked when you're done, the computer may not respond
> normally to normal input until you hit the reset button or power
> switch.
>
> By pushing CC before you mask the interrupts, you avoid having to know
> what state to restore the interrupt masks to when done.
>
> HTH.
>
> --
> Joel Rees
>
> http://reiisi.blogspot.jp/p/novels-i-am-writing.html
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list