On Thu, 14 Oct 1999, Boon, Eric wrote:

> > I hope you mean 1=50Hz sync, 2=60Hz sync eh? (thus making no 
> > difference if the VDP is currently working at 60 or 50Hz...)
> 
> I don't quite get what you're after. Do you mean that I should
> switch the VDP mode, or leave the VDP mode alone and only switch
> replay speed? Will be difficult to replay @ 60Hz sync, while being
> in 50Hz mode :-(

Laurens is talking about replay speed.
It's possible to replay at 60Hz while the VDP frequency is 50Hz.
Examples of solutions:
- call MB interrupt twice every 5th VDP interrupt:
  simple but inaccurate
- use line interrupts instead of the retrace interrupt:
  accurate but tricky to program
- use timer in MSX-AUDIO or MoonSound:
  accurate but doesn't work for MSX-MUSIC only systems

> > The autodetection part shouldn't be too hard.

In EDIT files, the first byte is always the same. In USER files, it
contains information and will usually be different. I think the value it
has in EDIT mode is an invalid value for USER mode, so you can use it to
detect the file type.

> Right, although the EDIT type isn't very hard to decode.
> I could even do EDIT->USER conversion while loading the file :-P

Well, if it's easy, you can do it. But it's not a feature I would miss if
it was not there.

Bye,
                Maarten

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to