Re: [cc65] C64, Interrupt and in need of an example

From: stefan <stefan-physik1gmx.net>
Date: 2008-02-28 17:10:34
Oh thats right, i overlooked it.
asm("lda %v", VIC.irr)
asm("sta %v", VIC.irr) in the c-irq routine
will do it.
For some reason asm("lsr %v", VIC.irr)  won't work.
In this way, the complete irq-init can be written in c.
No asm is needed.

Monte 

> ooops, yes indeed.
>
> whats much worse though, and you overlooked it aswell *G*, is that d019 isnt 
> acknowledged in the irq routine itself either - so it wont work at all, 
> glitches or not =D
>
>   



******* Diese Email wurde gesendet von der ********
Laser- und Medizin-Technologie GmbH, Berlin
                  (gemeinnuetzig nach 52 AO)
     Fabeckstr. 60 - 62, 14195 Berlin
     Telefon:  +49 (0)30 8449 23 - 0
     Fax:      +49 (0)30 8449 23 - 99
     Handelsregister:    Berlin 97 HRB 23 655
     Homepage: www.LMTB.de
     Vorsitzender des Aufsichtsrats: Dr. Frank Frank
     Geschaeftsfuehrung: Dr. H. Albrecht
                         Prof. Dr.-Ing. H. J. Eichler
*************************************************** 
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Feb 28 17:12:47 2008

This archive was generated by hypermail 2.1.8 : 2008-02-28 17:12:50 CET