AW: Sound on an iBook?

Michel Lanners mlan at cpu.lu
Wed Dec 13 06:01:07 EST 2000


Hi all,

On   8 Dec, this message from Iain Sandoe echoed through cyberspace:
> we are all quite familiar with i2c.
>
> the new thing here is the particular Apple hardware, registers etc. used to
> implement the bus interface... another set of stuff we may have to deduce
> the hard way.
>
> it's not the cuda - the iBook doesn't have a cuda - AFAIK.  (PMU, I expect).

You might want to look for the aproach Apple used when implementing I2C
in the planb ASIC (that was in the 7500/8500 machines, back around
'94-'95). This I2C interface talks to a single chip on the bus (the
SAA7196 video decoder), and it goes like this: write the target device
register subaddress into some register, wait a bit, write the data into
another register, and off it goes into the target device.

There is a third register that monitors the SAA7196's only readable
register, a status register.

FWIW, register address is at 0x200, data is at 0x204, and status at
0x208 into planb's address space.

Of course, KeyLargo might work in an entirely different way...

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan at cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list