The Audio Interface (or AI) is one of multiple I/O interfaces in the RCP, which is used to playback audio samples. It is a very simple audio processor: it fetches samples via DMA from RDRAM at a specified rate, and then outputs them. It performs absolutely no conversion on the samples: any audio processing functionality (decompression, mixing, etc.) must be performed by either the CPU or the RSP.
Memory mapped registers are used to configure the AI and initiate DMA transfers. The base address for these registers is
0x0450 0000, also known as AI_BASE. However, because all memory accesses in the CPU are made using virtual addresses, the following addresses must be offset appropriately. For non-cached reads/writes, add
0xA000 0000 to the address. As an example, to directly write to the AI_LENGTH register, use address
R = Readable bit W = Writable bit U = Undefined/Unused bit -n = Default value n at power on [x:y] = Specifies bits x to y, inclusively
|bit 23-0||DRAM_ADDR[23:0]: RDRAM address used for next DMA transfer|
- Read access
- The register is write-only. Reading it returns a mirror of AI_LENGTH.