--- In amithlondev@y..., "Jacob Dahl Pind" <rachael_@g...> wrote:
> Hi
>
> I have changes a bit in the kernel, so my it has support for
> soundcards again, as my soundcard aint support by the ahi driver.
> If I alloc a buffer on the amiga side can I then just transfere the
> address to x86 side ? or are there some mapping changes ?
> I just wantede a audio device on the amigfa side that pipe it over to
> /dev/audio on linux side. Have anyone tried that ?
>
> Regards Jacob Dahl Pind
>
>
> --
> CBM, Amiga,Vintage hardware collector
> Email: Rachael_@g...
> url: http://rachael.dyndns.org
Hi Jacob,
which soundcard did you have ? We allready made new audio drivers
and looking allways for some helpfull testers.
For your programming questions:
Yes m68k and x86 addresses are same
BUT
If you write address pointers in hardware registers, you have to
check which io region you use. Amithlon supports 2 io regions,
one in little endian and one in big endian where read and writes
are swapped automatically from cpu emu.
If you use linux drivers, you have to make sure that the used
hardware resources are not available to AmigaOS side and that
such things as irq's are cleared in case of cpu emulation reset.
With pci cards this is done over the powerpci.library and some
special mechanism with so called release code tables.
Best regards
VMC Harald Frank