|Re: [hatari-devel] DSP and HREQ|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
Actually, it doesn't run into the exception adress.
Something is missing somewhere ;)
Le 26/01/2015 23:02, Laurent Sallafranque a écrit :
For the DSP side, I propose :
HSR equ $ffe9 ;Host Status Register
HTX equ $ffeb ;Host Transmit Register
; General code to initialise port B
movep #>3,x:<<$ffe8 ; enable interrupts
I think I have to set %11 to $ffe8 to enable interrupts.
I'll test this under hatari first.
Le 26/01/2015 23:00, Nicolas Pomarède a écrit :
Le 26/01/2015 22:48, Laurent Sallafranque a écrit :
I'm trying to do the test you're asking.
Is the cpu code OK for you ?
(I'm starting the DSP code now)
I think you copied/pasted twice, your asm part is doubled :)
Apart from that I think it should work with the appropriate small
piece of dsp code to transmit 1 byte in the low dsp word and trigger
hreq at $ffa202.
But I never really coded for the dsp, so you or some other people
here certainly know better than me :)