I've added th enable interrupt at the end. But everything works fine without the music. Then when I add the music routines, it goes wrong. So it looks like something in this music routine doesn't like the CPU to be switched at all.
Hm, when exactly do you call these switching routines? While music is playing? IIRC the music routines make pretty extensive use of the IX and IY registers, as do your switching routines... Also, the MB replay routine does check whether you're running on R800 or Z80, but only when replaying a song is started, no tduring replay. It uses slightly different routines to OUT data to the Music Module and FM-PAC: the R800 routine has a few NOPs thrown in (or an other pausing mechanism), because the R800 would OUT the data too fast to the music chips. Now if this test happens to be run while you're in Z80 mode, but later on you try to replay a song in R800 mode, I can imagine things going kaboom.
(Just 2 wild guesses)
> Does someone have a new routine for TP to play moonblaster
1.4 music?
Nope :-(
Eric
_______________________________________________ MSX mailing list ([EMAIL PROTECTED]) Info page: http://lists.stack.nl/mailman/listinfo/msx
