Showing changes from revision #2 to #3:
Added | Removed | Changed
The Instantiate entry is called by the Channel Handler? when a voice is added to the sound system.
On entry, the following registers are defined:
Entry | |
---|---|
R0 | Channel number |
Contents | |
---|---|
R0 | |
R1-R4 | Preserved |
R5 | May be corrupted |
R6-R12 | Preserved |
On return to the Channel Handler:
Register | Contents |
---|---|
R0 | Preserved if the Instantiation succeeded |
R1-R4 | Preserved |
R5 | May be corrupted |
R6-R12 | Preserved |
To The return Voice to Generator the is Channel entered Handler in use LDR IRQ PC,[R13],#4 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