TANDY 1000 RL SOUND LOCATIONS.

Updated: 91-02-01

Can you supply any information concerning sound addresses for the Tandy 1000
RL?

      Tandy 1000 RL
      25-1450
      Tandy 1000 RL

According to the Tandy 1000 RL Technical Reference Manual, the addressing
information is as follows:

  00C4 - 00C7      DAC Function
    C4             DAC Mode Register  (Write commands)
                   Bit 0    Bit 1
                    0        0        Joystick
                    0        1        Successive Approximation
                    1        0        Sound Channel
                    1        1        Direct Write to DAC

                   Bit 2    DMA Enabled
                   Bit 3    DMA Interrupt Clear
                   Bit 4    DMA Interrupt Enable
                   Bit 5    Sound Divider Sync Enable
                   Bit 6    Sound Chip Extra Divide Enable
                   Bit 7    Reserved

    C4             DAC Mode Register  (Read commands)
                   Bit 3    DMA Interrupt flag
                   Bit 7    Successive Approximation Done

    C5             Waveshape Model Select  (Write commands)
                   Bit 0    Bit 1     Bit 2
                    0        0         0        6.25%
                    0        0         1       12.50%
                    0        1         0       18.75%
                    0        1         1       25.00%
                    1        0         0       31.25%
                    1        0         1       37.50%
                    1        1         0       43.75%
                    1        1         1       50.00%

                   Bit 7    Bit 6     Waveshape Selected
                    0        0          Pulse
                    0        1          Ramp
                    1        0          Triangle

    C5            Read DAC Registers  (Read commands)
                  Direct Read of DAC when 00C4 Bits 0-1 = 1X
                  Direct Read of Control Register when 00C4 Bits
                  0-1 = 01

    C6            R/W Frequency LSB for DAC sound channel
                  Bit 0     F0
                  Bit 1     F1
                  Bit 2     F2
                  Bit 3     F3
                  Bit 4     F4
                  Bit 5     F5
                  Bit 6     F6
                  Bit 7     F7

    C7            R/W Amplitude/frequency MSB for DAC sound channel
                  Bit 0     F8
                  Bit 1     F9
                  Bit 2     F10
                  Bit 3     F11
                  Bit 4     Reserved
                  Bit 5     Amp 1
                  Bit 6     Amp 2
                  Bit 7     Amp 3

    Software Interrupt 1AH

    AH = 81H:  Get Sound Status
    AH = 82H:  Input Sound   (from the microphone)
    AH = 83H:  Output Sound  (to the speaker)
    AH = 84H:  Stop Sound Input and Output

We support the use of BIOS calls for accessing the DAC chip.