On Sun, 04 Jun 2000, Ricardo Bittencourt wrote:
> However, if you execute RUN"BUG.BAS" before loading
> BLOAD"BUG.BIN",R , then the music will faster than normal!! And
> this bug only happens on MSX Turbo-R GT !! I already tested this
> same program on Turbo-R ST and nothing strange happens!!
>
> The bug seems to be related with MSX-MIDI but I don't
> know how to solve it. The source code for BUG.BIN is BUG.MAC,
> included in the pack. If anyone knows how to fix this, please
> contact me !!
#FD9A is called on every interrupt.
#FD9F is called only on VDP V-blank interrupts.
MSX-MIDI may be generating interrupts and therefore your interrupt handler
is called more often. If you use #FD9F instead of #FD9A, I think the bug
should be gone.
Remember to call the old #FD9F routine after each interrupt handler (to
stop drives on Philips machines, among others). In BUG.MAC, this means you
should end the interrupt handler with "JP SAVE_HOOK".
Bye,
Maarten
****
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
****