Re: [MSX] switching r800 <-> z80 in TP

2004-01-02 Thread raymond
L PROTECTED] cc Subject Re: [MSX] switching r800 <-> z80 in TP Yup, and the stupid thing is, it checks the MSX type EVERY time a song is started, switches to R800, and modifies the appropriate I/O routines. This should be in some kind of initialisation routine. I understand why there&

Re: [MSX] switching r800 <-> z80 in TP

2003-12-30 Thread Eric Boon
Patriek Lesparre wrote: Mr. Boon, Mr Lesparre, get a life. Eric ___ MSX mailing list ([EMAIL PROTECTED]) Info page: http://lists.stack.nl/mailman/listinfo/msx

Re: [MSX] switching r800 <-> z80 in TP

2003-12-29 Thread Patriek Lesparre
Mr. Boon, If you know so well, why don't you release a proper patch then? In fact, if you know so well, why didn't you help Raymond in the first place? You wrote: (Although, to be 100% sure, the routine would have to check the MSX type & R800 mode on every interrupt ;-P) That's only when assuming

Re: [MSX] switching r800 <-> z80 in TP

2003-12-29 Thread Eric Boon
Patriek Lesparre wrote: Yup, and the stupid thing is, it checks the MSX type EVERY time a song is started, switches to R800, and modifies the appropriate I/O routines. ...to make sure that the I/O timing is always correct, I presume. (Although, to be 100% sure, the routine would have to check the

Re: [MSX] switching r800 <-> z80 in TP

2003-12-29 Thread Patriek Lesparre
Yup, and the stupid thing is, it checks the MSX type EVERY time a song is started, switches to R800, and modifies the appropriate I/O routines. This should be in some kind of initialisation routine. I understand why there's no such routine, because the original assembly player doesn't have one e

Re: [MSX] switching r800 <-> z80 in TP

2003-12-29 Thread Laurens Holst
Ah, yes... It probably doesn't detect the current CPU mode - instead it detects the computer type, which is ofcourse always turboR (which it interprets as R800) whether it actually is in Z80 mode or not. ~Grauw Patriek Lesparre wrote: > Hi Raymond, > > That's indeed a pretty good indication the

Re: [MSX] switching r800 <-> z80 in TP

2003-12-28 Thread Patriek Lesparre
Hi Raymond, That's indeed a pretty good indication the problem indeed lies with the player. I suppose you're using Kari Lammassaari's Moonblaster player for Pascal? I took a small look at it and here's how to disable the turboR detection: Load a Hex-Editor (DiskView on MSX will do fine) and edit

Re: [MSX] switching r800 <-> z80 in TP

2003-12-28 Thread Eric Boon
Patriek Lesparre wrote: What would you like rewritten? Your program, the MoonBlaster player, > MSX BIOS, the compiler? Yes. :-) Even though it may seem to be the moonblaster player, it could be > YOUR program that causes an environment in which moonblaster can't > function. Indeed. If I may a

Re: [MSX] switching r800 <-> z80 in TP

2003-12-28 Thread raymond
w what I should search for as we are creating our game in TP. Thanks. Raymond Patriek Lesparre <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 28-12-2003 07:50 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [MSX] switching r800 <-> z80 in TP

Re: [MSX] switching r800 <-> z80 in TP

2003-12-27 Thread Patriek Lesparre
Raymond wrote: Isn't there somebody out there who can rewrite this so that it will work correctly? What would you like rewritten? Your program, the MoonBlaster player, MSX BIOS, the compiler? Please send an application form in threefold to the address shown on the screen when the error occurs.

Re: [MSX] switching r800 <-> z80 in TP

2003-12-27 Thread raymond
:14 Please respond to [EMAIL PROTECTED] To <[EMAIL PROTECTED]> cc Subject Re: [MSX] switching r800 <-> z80 in TP Laurens Holst wrote: > Well, as was explained before, the MB routines detect the CPU mode at > a certain point, and all the I/O timing after that is based on tha

Re: [MSX] switching r800 <-> z80 in TP

2003-12-04 Thread Laurens Holst
The MSX Files wrote: > I have a better one: detect if the computer is a turbo-r, and if it > is, set R800 mode, and set a flag so the program knows you are in > 7mhz, not in 3Mhz. > > So wherever your animation gets too fast (or any other routines you > want to slow down), just check the "speed fla

Re: [MSX] switching r800 <-> z80 in TP

2003-12-03 Thread The MSX Files
At 12:05 AM 04/12/2003 +0100, you wrote: > >So... Basically Alex Wulms has the correct solution ^_^. Or you could keep >the R800 disabled all the time. > > >~Grauw > I have a better one: detect if the computer is a turbo-r, and if it is, set R800 mode, and set a flag so the program knows you are in

Re: [MSX] switching r800 <-> z80 in TP

2003-12-03 Thread Laurens Holst
Laurens Holst wrote: > Well, as was explained before, the MB routines detect the CPU mode at > a certain point, and all the I/O timing after that is based on that > detection. Probably, it detects the CPU mode somewhere in the period > before switching to Z80 (during initialization or loading), so

Re: [MSX] switching r800 <-> z80 in TP

2003-12-03 Thread Laurens Holst
[EMAIL PROTECTED] wrote: > What we do is the following. > > R800 is running when we start or program > We load the music file > Do some graphic moves etc in VRAM to prepare the game > Switch to Z80 as we want to start the game > Start music and then the MSX hangs... > > When I remove the switch to

Re: [MSX] switching r800 <-> z80 in TP

2003-12-03 Thread Alex Wulms
Hi Raymond, The solution to your problem seems to be very simple: Don't switch back to the Z80. Why would you want to switch back to the Z80 anyway? The R800 is more powerfull. Kind regards, Alex Wulms Op zaterdag 29 november 2003 19:20, schreef [EMAIL PROTECTED]: > What we do is the followin

Re: [MSX] switching r800 <-> z80 in TP

2003-11-29 Thread raymond
What we do is the following. R800 is running when we start or program We load the music file Do some graphic moves etc in VRAM to prepare the game Switch to Z80 as we want to start the game Start music and then the MSX hangs... When I remove the switch to Z80 it runs fine. When I remove the

Re: [MSX] switching r800 <-> z80 in TP

2003-11-26 Thread Eric Boon
[EMAIL PROTECTED] wrote: 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 switch

Re: [MSX] switching r800 <-> z80 in TP

2003-11-26 Thread Alex Wulms
Op woensdag 26 november 2003 20:32, schreef [EMAIL PROTECTED]: > 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

RE: [MSX] switching r800 <-> z80 in TP

2003-11-26 Thread raymond
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. Does someone have a new routine for TP to play moonblaster 1.4 mu

RE: [MSX] switching r800 <-> z80 in TP

2003-11-24 Thread Frits Hilderink
You should also add the: $fb); { ei } after the SetCPU to keep the interrupts enabled. Frits > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Monday, November 24, 2003 7:41

Re: [MSX] switching r800 <-> z80 in TP

2003-11-24 Thread Patriek Lesparre
We have loaded the moonblaster routines and when we switch the CPU to Z80, it will completely hang the machine. We have found that if we do not use this routine above, the problem doesn't occure, but we need to switch to the Z80... I assume you've also tested without the moonblaster routines? If i