Re: [hatari-devel] STE DMA Sound with Falcon emulation? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On sunnuntai 21 huhtikuu 2013, Matthias Arndt wrote:
> This is a question I cannot answer as I use it as a binary blob. I
> didn't do the stuffs to make it GFABASIC compatible, that did GT
> Turbo/C.V.S.D. in 2004
>
> Is there a chance to find out?
You can trace IO register address reads with:
--trace io_read
But it may provide so much output that you'll want to redirect it
to a file so that you can grep for that register afterwards:
--trace-file somefile.txt
However, the problem is that rest of the code (starting from TOS,
at bootup) is fairly likely also to access that register, so you
need to somehow differentiate them...
- Eero
> I will not add hacks for Hatari
> workarounds as it works on real hardware! This is a case that should be
> fixed in Hatari.
>
> Regards,
> ssb
>
> Am Sonntag, den 21.04.2013, 13:03 +0300 schrieb Eero Tamminen:
> > Hi,
> >
> > On sunnuntai 21 huhtikuu 2013, Matthias Arndt wrote:
> > > It must be some strange MFP problem then.
> > > The program from evl works with Hatari but my program does not.
> > >
> > > It uses the Wizzcat Protracker replay for STE. It works on my Falcon
> > > so I still suspect there is something fishy, even if it is not
> > > directly the DMA sound itself? It stays silent, no bombs, just
> > > silence. The rest of the program works.
> >
> > Is it by any chance checking video refresh address register values:
> > http://listengine.tuxfamily.org/lists.tuxfamily.org/hatari-
> > devel/2013/02/msg00155.html
> >
> > ?
> >
> > - Eero
> >
> > > Regards,
> > > ssb
> > >
> > > Am Sonntag, den 21.04.2013, 11:22 +0200 schrieb Anders Eriksson:
> > > > On Sun, 21 Apr 2013, Matthias Arndt wrote:
> > > > > My program uses STE DMA sound to play music, this works fine in
> > > > > STE mode of Hatari. When I run the program with Falcon emulation
> > > > > (TOS 4.04, FPATCH2 is not required but loaded anyway), it stays
> > > > > silent on Hatari.
> > > > >
> > > > > It runs with music on my Falcon with TOS 4.02 and FPATCH2 loaded.
> > > >
> > > > Hello,
> > > >
> > > > as I've been using STe samples on Falcon while developing (for
> > > > example ACE DSP replay not working, I've substituted it for a
> > > > sample when coding in with Hatari) and it has worked.
> > > >
> > > > So I did a very short routine to try it out again, and it seems to
> > > > work like I remember. Here's my example code (just a few lines)
> > > > and also an exec to try if you don't have gen.ttp:
> > > > http://ae.dhs.nu/tmp/ssb_dma.zip
> > > >
> > > > --
> > > > Anders Eriksson
> > > > ae@xxxxxx http://www.dhs.nu/
> > > > ae@xxxxxxxxx http://www.atari.org/