Hello
Port C (section 11 of the DSP56000/1 User's Manual) contains a UART
circuitry which isn't wired anywhere on Falcon (In fact the chip
package doesn't have the pins as it's much smaller than the regular
chip). However, you can still use the bad rate generator as a timer to
trigger DSP interrupts (org p:$1C). I use it in my demo Lockup to
drive my music playback routine.
As for the host port interrupts you can do:
org p:$22
movep x:(r5)+,x:<<M_HTX
nop
...
move #some_data,r5
bset #1,x:<<M_HCR ; enable transmit
interrupt
And then you can go and do whatever with the DSP while $22 interrupt
will be fired every time 030 empties the M_HTX register. This is
almost like a DMA ;) I believe this doesn't work in Hatari.
Let me know if you need more info.
Regards
Mariusz
On Wed, 2 Dec 2020 at 18:00, Laurent Sallafranque
<laurent.sallafranque@xxxxxxx> wrote:
Hi,
Can you give me some examples ?
Or documentation source ?
I thought everything was implemented into the DSP.
Regards
Laurent
Le 02/12/2020 à 16:33, Mariusz Buras a écrit :
On Wed, 2 Dec 2020 at 15:26, Nicolas Pomarède
<npomarede@xxxxxxxxxxxx> wrote:
thanks, now you can work on the Videl stuffs ;-)
While you're there, it would be nice to get DSP timer implemented and
host port interrupts to drive the transfer on the DSP side :P
Regards
Mariusz