The Instantiate entry is called by the Channel Handler? when a voice is added to the sound system.
Entry | |
---|---|
R0 | Channel number |
Exit | |
---|---|
R0 | Preserved if the Instantiation succeeded |
R1-R4 | Preserved |
R5 | May be corrupted |
R6-R12 | Preserved |
The Voice Generator is entered in IRQ mode with IRQs enabled. R14 should not be used as any interrupts will corrupt the value.
To return to the Channel Handler use LDR PC,[R13],#4