~============================================================================== ~ROOT Variable = RO Hex Address = $9606 Decimal Address = 38406 ~============================================================================== ~ ~ This routine controls the parameters for a specified oscillator. All of the ~ parameters must be supplied for each Call. The pitch becomes a 2-byte num- ~ ber (0 to 65535). A ROOT Call does not follow the SONIX data bytes. ~ ~ S0 $9772 38770 Pitch (Lo byte) ~ S1 $9779 38777 Pitch (Hi byte) ~ S2 $9780 38784 Volume (0 to 255) ~ S3 $9787 38791 Sound RAM address (Hi byte only) ~ S4 $97BC 38844 Waveform length (coded) ~ S5 $978E 38798 Resolution (0 to 7) ~ S6 $9798 38808 Mode (Free Run 0&1 - One Shot 2&3) ~ S7 $979A 38810 Oscillator number (0 to 29) ~ ~ Example% ~ ~ 10 POKE S0&0 % POKE S1&30 % POKE S2&128 % POKE S3&0 % POKE S4&7 % POKE ~ S5&7 % POKE S6&2 % POKE S7&0 % CALL RO ENDLINE