On Monday 30 October 2000 14:59, you wrote:
> Hello obsolete people. I'm fighting against the source code of
> Moonblaster for Moonsound replayer, in order to arrange it to be used in
> a music demo a friend is making. But I find a very strange problem in
> the "start music" routine: at the end of this routine there is the
> following sequence of OUTs:
>
> OUT #C4,2
> OUT #C5,-248 / -208 (for 50Hz or 60 Hz equalization)
> OUT #C4,4
> OUT #C5,%01000001
>
> Well, it happens that after the last OUT, the computer hangs!! I tried
> even the raw OUTs in BASIC environment and it also hangs!! Where is the
> problem? What is the exact meaning of these ports? Can someone help me
> pleez?
This code intialises one of the internal OPL timers. Unless you have
installed an interrupt hook that resets the IRQ, once an interrupt occurs it
will never be silenced and the MSX will hang.
Bye,
Maarten
****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****