ibm PCjr — 2-092

loaded into a to-stage tone-counter, which is decremented at an N /16 rate where N is the input -clock frequency. When the tone counter decrements to 0, a borrow signal is produced. This borrow signal toggles the frequency flip-flop and also reloads the tone counter. Thus, the period of the desired frequency is twice the value of the period register. The frequency can be calculated by the following: f = N 3in where N ref clock in Hz (3.579 MHz) n = lO-bit binary-number Attenuator Reg. Addr. Data 1 RO I Rl I R2 AO 1 All A2 I A3 Bit 0 Second Bit 7 MSB Byte LSB Update Attenuation (Single Byte Transfer) The output of the frequency flip-flop feeds into a four-stage attenuator.

The attenuator values, along with their bit position in the data word, are shown in the following figure. Multiple-attenuation control-bits may be I true I simultaneously. Thus, the maximum theoretical attenuation is 28 dB typically. 2-92 Sound Subsystem