> With the help of Maarten and Jose Morente I fixed the bug at last.
> Indeed the MSX-MIDI was generating interrupts every 5ms and my program was
> expecting it at 16/20 ms.
>
> Instead of switching hooks, I fixed the bug with a simple lookup
> in the vdp status register, to check if the interrupt was indeed a VIRQ:
>
> IN A,(99h)
> AND A
> RET P

Does that work??? I think the VDP statusregister is being reset upon readout
in the MSX interrupt routine itself...

Anyways, relocating the hook to #FD9F is a much, much nicer solution I
think.


~Grauw


--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
 email me: [EMAIL PROTECTED] or ICQ: 10196372
      visit my homepage at http://grauw.blehq.org/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
 The MSX faq: http://www.faq.msxnet.org/
 The MSX newsgroup: comp.sys.msx
 The MSX IRC channel: #MSX on Undernet
****

Reply via email to