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
With this change my program now run on the Turbo-R GT.
Thanks for the help !!
----------------------------------------------------------------
Ricardo Bittencourt http://www.lsi.usp.br/~ricardo
[EMAIL PROTECTED] "Ricardo is subtle, but malicious he is not"
------ Uniao contra o forward - crie suas proprias piadas ------
****
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
****