[hatari-devel] Issues with DMA sound

Per Almered per at brainfish.net
Sat Aug 15 12:04:13 CEST 2009


> > That's great! I'll get back to you once I've tested the new engine 
> > too. BTW, is there a reliable way to detect Hatari, so I can serve 
> > different versions of the music depending on the emulator?
> >
> 
> Hello,

Salut Nicolas!

> no there's no such things, as hatari is supposed to be 
> "undetectable" from 
> the running program, to ensure maximum compatibility and the closest 
> emulation possible of a real Atari. This should "force" us to 
> correct bug 
> :)

That's the first time I've heard a really good reason not to enable
the virtual machine to detect the emulator. 8-)

> And serving different version of the music would not be a good idea, 
> because if you music is "tuned" for Hatari because of a sound 
> difference, 
> then the day we'll fix Hatari then your music will sound bad again.

Well, the way Pacifist and STeem lets you detect the emulator, you
get a version number as well, so for version numbers I know of problems
with, I can just correct the problem, and for unknown (=future)
versions,
I could just pass control to the user.

> So, better warn the user that problems are known with 
> Steem/Saint/Hatari/... or any emulator in general (or that it 
> requires at 
> least v1.3 of Hatari in the case the volume problem is gone 
> is gone with 
> this new release).

Ideally, I would prefer if a user with a real machine wouldn't have
to be bothered AT ALL, and let emulator users have to make choices (if
I can't detect them in code). It makes sense to reward those who take
the effort to run my demos on a real machine. 8-)

> By the way, do you use the LMC chip to change DMA sample 
> volumes/filter/..., or do you play sample with the default hardware 
> settings ? Because LMC is clearly not fully implemented for now.

Very good question. But no, I don't touch the LMC at all, and as far
as I know, maxYMiser doesn't either, unless my song specifically
tells it to. Which mine doesn't. 8-)


Per.




More information about the hatari-devel mailing list