[hatari-devel] No sound on tos100, tos102 and tos104 with current hg version

Thomas Huth th.huth at gmx.de
Sat Oct 8 12:17:49 CEST 2011


Am Sat, 08 Oct 2011 11:40:21 +0200
schrieb Nicolas Pomarède <npomarede at corp.free.fr>:

> Le 08/10/2011 10:03, Thomas Huth a écrit :
> > Am Fri, 07 Oct 2011 11:16:27 +0200
> > schrieb Nicolas Pomarède<npomarede at corp.free.fr>:
> >
> >> Le 07/10/2011 10:53, Christer Solskogen a écrit :
> >>> On Fri, Oct 7, 2011 at 10:28 AM, Nicolas Pomarède
> >>> <npomarede at corp.free.fr>   wrote:
> >>>
> >>>> Are you sure you're not running in STE mode ? This is not
> >>>> compatible with those TOS, as they don't configure the STE's LMC
> >>>> chip at boot, which means you get a 0 volume from the mixer.
> >>>>
> >>>
> >>> Ah, that explained it. I was thinking it would switch back as when
> >>> you try to run 1.62 on a ST system (TOS version 1.06 and 1.62 are
> >>> for Atari STE only. Switching to STE mode now)
> >>
> >> Yes maybe we could print a warning when using STE mode with those
> >> TOS, but without forcing the mode to STF (in all case, when Hatari
> >> switches to another machine due to the TOS, you will get a warning
> >> on the screen ; if not, then machine stayed in STE mode for
> >> example)
> >
> > Is it necessary that the LMC starts with 0 volume after reset? We
> > could also change it to have a hearable default volume...?
> >
> 
> Yes, we could, but from a hardware point of view, volume is really 0 
> when the LMC is reset (or more precisely when it switched on, the LMC
> is not connected to the reset pin in fact).
> 
> So from a compatibility point of view, I think we should not change 
> volume. Setting the volume to non 0 could also have side effect if
> the STE boots and some ym regs are not cleared, we could now have
> parasite sound, which we didn't hear before because the LMC was at
> volume 0.

Ok ... What about adding a check for TosVersion there, and if it's less
than 0x106 we start with volume enabled, else with volume = 0 ?

 Thomas




More information about the hatari-devel mailing list