[hatari-devel] Re : DSP host interface interrupted mode : help needed
Thomas Huth
huth at users.berlios.de
Sat Sep 19 14:07:37 CEST 2009
On Tue, 15 Sep 2009 22:29:59 +0200
Laurent Sallafranque <laurent.sallafranque at free.fr> wrote:
> >> As I don't know well the MFP part, would you (Thomas), add the
> >> interrupt ?
> >>
> >> (I can add the "dsp_get_HREQ()" function in dsp.c if you want it to
> >> be coded this way).
> >>
> >
> > Ok, please prepare the code, then tell me where I can add the code
> > that should trigger the interrupt, then I'll have a try.
>
> I've added a new function to dsp.c
>
> Dsp_get_HREQ()
>
> It can take 2 values :
> 0 = no interrupt
> 0x8000 = interrupt
Actually, I didn't meant a function for querying the HREQ line, but a
function that is called when the interrupt should be triggered.
But never mind, I've figured it out on my own. Now the HREQ interrupt
should be triggered right. However, Graoumpf tracker still is not
working right yet, it crashes for me when I try to load a .MOD file.
Thomas
More information about the hatari-devel
mailing list