> >Is interrupt aanvraag die is opgewekt d.m.v. het gebruik van register#19
ook
> >op deze manier te cancellen door simpel weg status#1 te lezen, welke
volgens
> >de documentatie een reset veroorzaakt van het FH bit.
> >
> >Sommige demos lezen dit FH bit maar zonder gebruik te maken van de
eigenlijk
> >bijbehorende interrupt.
>
> I think most code that reads FH but doesn't use the interrupt, doesn't
> enable the interrupt either.
> To find out if an interrupt can be cancelled, the best way is to write a
> test program.

If executed between a DI and an EI it indeed cancels the interrupt (if not
between DI and EI it's useless because if the interrupts are enabled the
interrupt-routine itself will 1. read the register itself and therefor erase
it, or 2. not read the register and end up in an infinite loop of
interrupts.
Anyways, ofcourse the int can be cancelled this way, since the VDP can't
distinguish an interruptroutine from a normal routine...


~Grauw


--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<
          email me: [EMAIL PROTECTED] or ICQ: 10196372
             visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to