摘要:
A mechanism is provided for software configuration of ISA bus cards or other devices connected to a computer processor by a bus that does not provide for sharing of an address by multiple devices. Such a device is configured under software control by selecting multiple addresses commonly used by a read-only device, writing from the computer processor to the configuration logic at one of such addresses a predetermined data word as part of a predetermined security access sequence, writing from the computer processor to the configuration logic at one of the addresses configuration information including a device based address, and the configuration logic, in response to the predetermined security access sequence, storing the configuration information in configuration registers, thereby configuring the device. The addresses used may be addresses used by a game device, such as a joystick. An apparatus for configuring such a device includes multiple configuration registers, circuitry for qualifying access to the configuration registers by verifying compliance with the predetermined security access sequence, the predetermined security access sequence including the central processor writing a predetermined data word to the configuration logic at one of multiple addresses commonly used by a read-only device, and circuitry for, in response to the predetermined security access sequence, storing in the configuration registers configuration information written by the computer processor to one of the multiple addresses, the configuration information including a device base address.
摘要:
A computer having one or more wave tables stored therein is used to synthesize sounds represented by a series of digital samples produced at a sample rate by specifying parameters including a carrier frequency, a modulating frequency and an index of modulation. At each sample time, a modulation value determined during an immediately preceding sample time is scaled to produce a digital control signal. Also at each sample time the modulation value to be used during an immediately succeeding sample time is read from a location of a wave table determined by the modulating frequency, and a carrier value used to produce the digital samples is read from a location of a wave table determined by the carrier frequency and the digital control signal. Modulation effects are therefore delayed by one sample in order to speed execution of the method using the computer. Phase accumulation is performed using a multiplier making it unnecessary to store the sum of all of the previous steps as would be otherwise be required using an additive approach.