Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | Pointer to Voice Generator or reason code |
R1 | Voice slot (0 to install in next free slot else 1-32) |
All other registers dependent on reason code |
Exit | |
---|---|
R0 | Pointer to name of previous voice, or null terminated error string if R1 = 0 |
R1 | Voice number allocated, or 0 if unable to install |
All other registers dependent on reason code |
Used to add a Voice Generator to the table of available voices, or perform voice specific actions depending on the reason code.
If an error occurs, this SWI does not set V in the usual manner. Instead R1 is zero on exit, and R0 points directly to a null-terminated error string.
If an attempt is made to replace an existing Voice Generator R0 will point to the previous Voice Generator name, R1=0 and the new Voice Generator will not be installed.