Re: [cc65] printf (C64 library) enables interrupts

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2014-07-21 20:16:40
Hello,

* On Sun, Jul 20, 2014 at 09:41:24PM +0200 groepaz@gmx.net wrote:
 
> yup, its $ffd2 than does CLI somewhere... common surprise for many - and one 
> of the reasons for avoiding it :)

"somewhere" is a fine description. At least for CHROUT to the screen,
the function exits with: 

   cli
   rts

It is highly surprising. IIRC, this CLI is only needed if CHROUT is
called by CHRIN, btw. I believe to remember the CHROUT does not do any
SEI anywhere, only CHRIN does it.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Jul 21 20:38:15 2014

This archive was generated by hypermail 2.1.8 : 2014-07-21 20:38:17 CEST