[Coco] Programming help

William Astle lost at l-w.ca
Fri Jun 28 10:01:16 EDT 2013


On 2013-06-28 03:51, Johann Klasek wrote:
> The program ends with a RTS, maybe a Basic EXEC restores the previously saved
> CC register on stack which would make an explicit ANDCC #$AF unnecessary ...

The main loop of Basic forces interrupts to be enabled during each 
iteration of the loop, just before it checks for BREAK. So any time you 
get back to the main command interpretation loop, including after EXEC 
returns, interrupts are always enabled.




More information about the Coco mailing list