[hatari-devel] Whip is working

Laurent Sallafranque laurent.sallafranque at free.fr
Sat Jan 30 17:43:26 CET 2010


In complement, there's no dsp transmit code in Whip.
Just $c and $e (receive and receive with error).

$10 and $12 (SSI transmit are just NOP)

For me, the only way to listen sound in Whip would be that ADC and DAC 
are connected
together at Falcon startup. I have nothing to test that.

Thomas, is it possible for you to:
1) start your falcon
2) just start a debugger
3) disasm memory from $ff8900 to $ff8942

And send me the default values of these registers when the falcon is 
started ?


DSP disasm 9-11:
0009:  000000         (02 cyc)   nop
000a:  000000         (02 cyc)   nop
000b:  000000         (02 cyc)   nop
000c:  0bf080 000067  (06 cyc)   jsr p:0x0067
000e:  0bf080 000075  (06 cyc)   jsr p:0x0075
0010:  000000         (02 cyc)   nop
0011:  000000         (02 cyc)   nop
 >
DSP disasm 12-1a:
0012:  000000         (02 cyc)   nop
0013:  000000         (02 cyc)   nop
0014:  000000         (02 cyc)   nop
0015:  000000         (02 cyc)   nop
0016:  000000         (02 cyc)   nop

Thanks

Laurent




Laurent Sallafranque a écrit :
> Hello,
>
> You're right with the chain, but there's no DMA activity at all.
> There should be a DMA start playing and start recording, but nothing in 
> the traces.
> It's at address $ff8901.
>
> I've included the full crossbar trace.
>
> Very strange...
>
> Regards,
>
> Laurent
>
>
> Crossbar : $ff8936 (record track select) write: 0x00
> Crossbar : $ff8937 (CODEC input) write: 0x00       
> Crossbar : $ff8936 (record track select) write: 0x00
> Crossbar : $ff8937 (CODEC input) write: 0x01       
> Crossbar : $ff8938 (ADC input) write: 0x00         
> Crossbar : $ff8939 (CODEC channel amplification) write: 0x88
> Crossbar : $ff8938 (ADC input) write: 0x00                 
> Crossbar : $ff8939 (CODEC channel amplification) write: 0x88
> Crossbar : $ff8930 (source device) write: 0x0081           
> Crossbar : $ff8932 (destination device) write: 0x0080      
> Crossbar : $ff8920 (sound mode control) write: 0x00        
> crossbar : $ff8921 (additional sound mode control) write: 0x03
> Crossbar : $ff8920 (sound mode control) write: 0x00
> crossbar : $ff8921 (additional sound mode control) write: 0x43
> Crossbar : $ff8930 (source device) write: 0x0080
> Crossbar : $ff8930 (source device) write: 0x0080
> Crossbar : $ff8930 (source device) write: 0x0081
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x00
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x02
> Crossbar : $ff8932 (destination device) write: 0x0080
> Crossbar : $ff8930 (source device) write: 0x0081
> Crossbar : $ff8930 (source device) write: 0x0081
> Crossbar : $ff8930 (source device) write: 0x0091
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x00
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x02
> Crossbar : $ff8932 (destination device) write: 0x0080
> Crossbar : $ff8930 (source device) write: 0x0091
> Crossbar : $ff8930 (source device) write: 0x0091
> Crossbar : $ff8930 (source device) write: 0x0191
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x00
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x02
> Crossbar : $ff8932 (destination device) write: 0x0080
> Crossbar : $ff8930 (source device) write: 0x0191
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x00
> Crossbar : $ff8934 (ext. clock divider) write: 0x00
> Crossbar : $ff8935 (int. clock divider) write: 0x02
> Crossbar : $ff8932 (destination device) write: 0x00f0
> Crossbar : $ff8900 (Sound DMA control) write: 0x00
> Crossbar : $ff8901 (additional Sound DMA control) write: 0x00
>
>
>
>
>
> Thomas Huth a écrit :
>   
>> On Wed, 27 Jan 2010 22:17:48 +0200
>> Eero Tamminen <eerot at users.berlios.de> wrote:
>>
>>   
>>     
>>> Hi,
>>>
>>> On Wednesday 27 January 2010, Laurent Sallafranque wrote:
>>>     
>>>       
>>>>  From what I see, there's no output sound configured (or there's
>>>> something I miss) :
>>>>
>>>> $FF8930 : DMA Crossbar Input Select Controller  : 0191
>>>> $FF8932 : DMA Crossbar Output Select Controller : 00f0
>>>>
>>>> (info crossbar is a really nice option in debugger :)
>>>>
>>>> This means (for me) that only ADC is connected to DSP in, but the
>>>> DAC output is connected to DMA out (not DSP out).
>>>>       
>>>>         
>> But DMA input is connected to the DSP output, right? So I think you've
>> got this chain:
>>
>> Mic -> ADC -> DSP in -> DSP out -> DMA in -> DMA out -> DAC -> Speaker
>>
>>   
>>     
>>>> Does Whip plays the sound from the microphone on a real Falcon ?
>>>>       
>>>>         
>>> I have no idea, I didn't have a Falcon (a friend who kept Atari BBS
>>> in 90's had a modded one, but I don't recall seeing Whip on it).
>>>
>>> Maybe somebody on the list can (test and) tell?
>>>     
>>>       
>> As far as I can remember, the answer is yes. I sometimes used Whip, and
>> it played the music through the speakers that I've connected to the
>> Falcon.
>>
>>  Thomas
>> _______________________________________________
>> hatari-devel mailing list
>> hatari-devel at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/hatari-devel
>>
>>
>>   
>>     
>
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
>
>
>   




More information about the hatari-devel mailing list