PORTIBM PC Portable (uses same BIOS as XT) xxxx - Ensoniq AudioPCI ES1370 - CONTROL REGISTERS
Range:	anywhere on 64 byte boundary

+000d RW  interrupt/chip select control register (see #P1076)
+004d R-  interrupt/chip select status register (see #P1077)
+008  RW  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data register (MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. data)
+009  -W  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. control register (see #P1078)
+009  R-  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. status register (see #P1079)
+00A  RW  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. reserved register (see #P1080)
+00Cd RW  memory page register (see #P1081)
+010d -W  CODEC write register (see #P1082)
+020d RW  serial interface control register (see #P1083)
+024d RW  DAC1 channel sample count register (see #P1084)
+028d RW  DAC2 channel sample count register (see #P1084)
+02Cd RW  ADC channel sample count register (see #P1084)
+030d RW  internal memory 1 (see #P1085)
+034d RW  internal memory 2 (see #P1086)
+038d RW  internal memory 3 (see #P1087)
+03Cd RW  internal memory 4 (see #P1088)


Bitfields for Ensoniq ES1370/ES1371 interrupt/chip select control register:
Bit(s)	Description	(Table P1076)
---AudioPCI ES1370---
 31	record buffer transfer disable (ADC stop)
 30	(bit 0 = 0) general purpose output
	(bit 0 = 1) external IRQ(Interrupt ReQuest) A hardware line connected to the interrupt controller chip which signals that a CPU interrupt should be generated. output
 29	reserved
 28-16	programmable clock divide ratio (DAC2)
---AudioPCI-97 ES1371---
 31-26	reserved
 25-24	joystick base I/O address
	00 = 200h
	01 = 208h
	10 = 210h
	11 = 218h
 23-20	GPIO pin 3-0 (read-only)
 19-16	GPIO pin 3-0 output
------
 15	MPEG data format
	0 = Sony (lrclk high = left channel; data left justified)
	1 = I2S (lrclk low = left channel; data 1 bit clock delayed)
---AudioPCI ES1370---
 14	CODEC DAC(Digital-to-Analog Converter) A hardware device (in its simplest form, nothing more than a set of interconnected resistors) which converts a digital number into an analog signal whose voltage is proportional to the value of the digital number.  VGAVideo Graphics Array and later color video boards use DACs to convert color values into the analog signals sent to the display; sound boards normally use DACs as well. (DAC2) source
	0 = programmable clock generator
	1 = MPEG clocks
 13-12	fixed frequency clock generator frequency (DAC1)
	00 = 5.512 KHz
	01 = 11.025 KHz
	10 = 22.05 KHz
	11 = 44.1 KHz
 11	CODEC DACs synchronous with fixed frequency clock generator
---AudioPCI-97 ES1371---
 14	AC97 warm reset
 13	CCB record transfer disable
 12	power management level change interrupt enable
 11	record channel source
	0 = CODEC ADC
	1 = I2S
------
 10	CCB voice interrupts enable
---AudioPCI ES1370---
 9	record channel source in serial module
	0 = CODEC ADC
	1 = MPEG
 8	general purpose output
---AudioPCI-97 ES1371---
 9-8	current power down level
	00-11 = D0-D3
------
 7	memory bus request enable (disables memory access) (test purposes only)
 6	DAC1 (CODEC FM(Frequency Modulation)	A method of encoding data as a series of magnetic flux reversals on disk or tape, commonly known as single-density recording.  In frequency modulation, a series of clock pulses are written at regular intervals, with one data bit for each clock pulse.  See also MFM, RLL. DAC(Digital-to-Analog Converter) A hardware device (in its simplest form, nothing more than a set of interconnected resistors) which converts a digital number into an analog signal whose voltage is proportional to the value of the digital number.  VGAVideo Graphics Array and later color video boards use DACs to convert color values into the analog signals sent to the display; sound boards normally use DACs as well.) playback channel enable
 5	DAC2 (CODEC DAC(Digital-to-Analog Converter) A hardware device (in its simplest form, nothing more than a set of interconnected resistors) which converts a digital number into an analog signal whose voltage is proportional to the value of the digital number.  VGAVideo Graphics Array and later color video boards use DACs to convert color values into the analog signals sent to the display; sound boards normally use DACs as well.) playback channel enable
 4	CODEC ADC record channel enable
 3	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. enable
 2	joystick enable
---AudioPCI ES1370---
 1	CODEC interface enable
 0	PCI serr signal disable
---AudioPCI-97 ES1371---
 1	crystal clock input disable
 0	PCI clock input disable
------
Note:	this register is addressable as byte, word and dword


Bitfields for Ensoniq ES1370/ES1371 interrupt/chip select status register:
Bit(s)	Description	(Table P1077)
---AudioPCI ES1370---
 31	DAC1, DAC2, ADC, UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. or CCB interrupt occurred
 30-11	reserved
 10	CODEC busy or register write in progress
 9	CODEC busy
 8	CODEC register write in progress
 7	reserved
 6-5	CCB voice code (if bit 4 = 1)
	00 = DAC1
	01 = DAC2
	10 = ADC
	11 = reserved
---AudioPCI-97 ES1371---
 31	DAC1, DAC2, ADC, UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART., CCB or power management interrupt occurred
 30-9	reserved
 8	CODEC synchronization error
 7-6	CCB voice code (if bit 4 = 1)
	00 = DAC1
	01 = DAC2
	10 = ADC
	11 = reserved
 5	power level interrupt status
------
 4	CCB interrupt status
 3	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. interrupt status
 2	DAC1 playback channel interrupt status
 1	DAC2 playback channel interrupt status
 0	ADC record channel interrupt status


Bitfields for Ensoniq ES1370/ES1371 UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. control register:
Bit(s)	Description	(Table P1078)
 7	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. receiver interrupt enable
 6-5	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. transmitter operation
	01 = Txrdy interrupts enabled
 4-2	reserved
 1-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. control
	11 = software reset


Bitfields for Ensoniq ES1370/ES1371 UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. status register:
Bit(s)	Description	(Table P1079)
 7	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. receiver interrupt status
 6-3	reserved
 2	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. transmitter interrupt status
 1	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. transmitter ready
 0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. receiver ready


Bitfields for Ensoniq ES1370/ES1371 UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. reserved register:
Bit(s)	Description	(Table P1080)
 7-1	reserved
 0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. test mode enable (UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. clock switched to PCI bus clock)


Bitfields for Ensoniq ES1370/ES1371 memory page register:
Bit(s)	Description	(Table P1081)
 31-4	reserved
 3-0	memory page select (accessed in registers 30h-3Fh)
	0000 = DAC1 sample bytes 15-0 (lower half buffer)
	0001 = DAC1 sample bytes 31-16
	0010 = DAC1 sample bytes 47-32 (upper half buffer)
	0011 = DAC1 sample bytes 63-48
	0100 = DAC2 sample bytes 15-0 (lower half buffer)
	0101 = DAC2 sample bytes 31-16
	0110 = DAC2 sample bytes 47-32 (upper half buffer)
	0111 = DAC2 sample bytes 63-48
	1000 = ADC sample bytes 15-0 (lower half buffer)
	1001 = ADC sample bytes 31-16
	1010 = ADC sample bytes 47-32 (upper half buffer)
	1011 = ADC sample bytes 63-48
	1100 = DAC1/DAC2 frame information
	1101 = ADC frame information
	1110 = UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. FIFO
	1111 = UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. FIFO
Note:	this register is addressable as byte, word and dword


Bitfields for Ensoniq ES1370/ES1371 CODEC write register:
Bit(s)	Description	(Table P1082)
---AudioPCI ES1370---
 31-16	reserved
 15-8	CODEC register index
---AudioPCI-97 ES1371---
 31-24	reserved
 23	AC97 CODEC read/write
	0 = write
	1 = read
 22-16	AC97 CODEC register index
------
 7-0	CODEC register data
---index 16h---
 1	0 = CODEC power down
------
Note:	(AudioPCI ES1370) this register is addressable as word and dword


Bitfields for Ensoniq ES1370/ES1371 serial interface control register:
Bit(s)	Description	(Table P1083)
 31-22	reserved
 22	(ES1371) DAC(Digital-to-Analog Converter) A hardware device (in its simplest form, nothing more than a set of interconnected resistors) which converts a digital number into an analog signal whose voltage is proportional to the value of the digital number.  VGAVideo Graphics Array and later color video boards use DACs to convert color values into the analog signals sent to the display; sound boards normally use DACs as well. test mode enable (selects I2S lrclk input as  source for
	  playback and record channels)
 21-19	sample address counter loop binary offset
 18-16	sample address counter channel start/restart binary offset
 15	ADC channel action when sample count reaches zero
	0 = loop (interrupt set, keep recording)
	1 = stop (inteerupt set, stop recording)
 14	DAC2 channel action when sample count reaches zero
	0 = loop (interrupt set, keep playing)
	1 = stop (inteerupt set, play last sample)
 13	DAC1 channel action when sample count reaches zero (same values as
	  bit 14)
 12	DAC2 channel playback pause
 11	DAC1 channel playback pause
 10	ADC interrupt enable
 9	DAC2 interrupt enable
 8	DAC1 interrupt enable
 7	DAC1 sample counter reload
 6	DAC2 sample counter reload
 5-4	ADC channel data format
	00 = 8-bit mono
	01 = 8-bit stereo
	10 = 16-bit mono
	11 = 16-bit stereo
 3-2	DAC2 channel data format (same values as bits 5-4)
 1-0	DAC1 channel data format (same values as bits 5-4)
Note:	this register is addressable as byte, word and dword


Bitfields for Ensoniq ES1370/ES1371 DAC1/2/ADC channel sample count register:
Bit(s)	Description	(Table P1084)
 31-16	sample counter current value (read-only)
 15-0	sample counter (samples - 1)
Note:	these registers are addressable as word and dword


Bitfields for Ensoniq ES1370/ES1371 internal memory 1:
Bit(s)	Description	(Table P1085)
---register +00Ch bits 3-0 = 0000---
 31-0	DAC1 sample bytes 3-0
---register +00Ch bits 3-0 = 0001---
 31-0	DAC1 sample bytes 19-16
---register +00Ch bits 3-0 = 0010---
 31-0	DAC1 sample bytes 35-32
---register +00Ch bits 3-0 = 0011---
 31-0	DAC1 sample bytes 51-48
---register +00Ch bits 3-0 = 0100---
 31-0	DAC2 sample bytes 3-0
---register +00Ch bits 3-0 = 0101---
 31-0	DAC2 sample bytes 19-16
---register +00Ch bits 3-0 = 0110---
 31-0	DAC2 sample bytes 35-32
---register +00Ch bits 3-0 = 0111---
 31-0	DAC2 sample bytes 51-48
---register +00Ch bits 3-0 = 1000---
 31-0	ADC sample bytes 3-0
---register +00Ch bits 3-0 = 1001---
 31-0	ADC sample bytes 19-16
---register +00Ch bits 3-0 = 1010---
 31-0	ADC sample bytes 35-32
---register +00Ch bits 3-0 = 1011---
 31-0	ADC sample bytes 51-48
---register +00Ch bits 3-0 = 1100---
 31-0	DAC1 sample buffer memory address
---register +00Ch bits 3-0 = 1101---
 31-0	ADC sample buffer memory address
---register +00Ch bits 3-0 = 1110---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
---register +00Ch bits 3-0 = 1111---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
------
SeeAlso: #P1086


Bitfields for Ensoniq ES1370/ES1371 internal memory 2:
Bit(s)	Description	(Table P1086)
---register +00Ch bits 3-0 = 0000---
 31-0	DAC1 sample bytes 7-4
---register +00Ch bits 3-0 = 0001---
 31-0	DAC1 sample bytes 23-20
---register +00Ch bits 3-0 = 0010---
 31-0	DAC1 sample bytes 39-36
---register +00Ch bits 3-0 = 0011---
 31-0	DAC1 sample bytes 55-52
---register +00Ch bits 3-0 = 0100---
 31-0	DAC2 sample bytes 7-4
---register +00Ch bits 3-0 = 0101---
 31-0	DAC2 sample bytes 23-20
---register +00Ch bits 3-0 = 0110---
 31-0	DAC2 sample bytes 39-36
---register +00Ch bits 3-0 = 0111---
 31-0	DAC2 sample bytes 55-52
---register +00Ch bits 3-0 = 1000---
 31-0	ADC sample bytes 7-4
---register +00Ch bits 3-0 = 1001---
 31-0	ADC sample bytes 23-20
---register +00Ch bits 3-0 = 1010---
 31-0	ADC sample bytes 39-36
---register +00Ch bits 3-0 = 1011---
 31-0	ADC sample bytes 55-52
---register +00Ch bits 3-0 = 1100---
 31-16	DAC1 dwords transferred
 15-0	DAC1 dwords in buffer - 1
---register +00Ch bits 3-0 = 1101---
 31-16	ADC dwords transferred
 15-0	ADC dwords in buffer - 1
---register +00Ch bits 3-0 = 1110---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
---register +00Ch bits 3-0 = 1111---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
------
SeeAlso: #P1085,#P1087


Bitfields for Ensoniq ES1370/ES1371 internal memory 3:
Bit(s)	Description	(Table P1087)
---register +00Ch bits 3-0 = 0000---
 31-0	DAC1 sample bytes 11-8
---register +00Ch bits 3-0 = 0001---
 31-0	DAC1 sample bytes 27-24
---register +00Ch bits 3-0 = 0010---
 31-0	DAC1 sample bytes 43-40
---register +00Ch bits 3-0 = 0011---
 31-0	DAC1 sample bytes 59-56
---register +00Ch bits 3-0 = 0100---
 31-0	DAC2 sample bytes 11-8
---register +00Ch bits 3-0 = 0101---
 31-0	DAC2 sample bytes 27-24
---register +00Ch bits 3-0 = 0110---
 31-0	DAC2 sample bytes 43-40
---register +00Ch bits 3-0 = 0111---
 31-0	DAC2 sample bytes 59-56
---register +00Ch bits 3-0 = 1000---
 31-0	ADC sample bytes 11-8
---register +00Ch bits 3-0 = 1001---
 31-0	ADC sample bytes 27-24
---register +00Ch bits 3-0 = 1010---
 31-0	ADC sample bytes 43-40
---register +00Ch bits 3-0 = 1011---
 31-0	ADC sample bytes 59-56
---register +00Ch bits 3-0 = 1100---
 31-0	DAC2 sample buffer memory address
---register +00Ch bits 3-0 = 1101---
 31-0	reserved
---register +00Ch bits 3-0 = 1110---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
---register +00Ch bits 3-0 = 1111---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
------
SeeAlso: #P1086,#P1088


Bitfields for Ensoniq ES1370/ES1371 internal memory 4:
Bit(s)	Description	(Table P1088)
---register +00Ch bits 3-0 = 0000---
 31-0	DAC1 sample bytes 15-12
---register +00Ch bits 3-0 = 0001---
 31-0	DAC1 sample bytes 31-28
---register +00Ch bits 3-0 = 0010---
 31-0	DAC1 sample bytes 47-44
---register +00Ch bits 3-0 = 0011---
 31-0	DAC1 sample bytes 63-60
---register +00Ch bits 3-0 = 0100---
 31-0	DAC2 sample bytes 15-12
---register +00Ch bits 3-0 = 0101---
 31-0	DAC2 sample bytes 31-28
---register +00Ch bits 3-0 = 0110---
 31-0	DAC2 sample bytes 47-44
---register +00Ch bits 3-0 = 0111---
 31-0	DAC2 sample bytes 63-60
---register +00Ch bits 3-0 = 1100---
 31-16	DAC2 dwords transferred
 15-0	DAC2 dwords in buffer - 1
---register +00Ch bits 3-0 = 1101---
 31-0	reserved
---register +00Ch bits 3-0 = 1110---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
---register +00Ch bits 3-0 = 1111---
 31-9	reserved
 8	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data valid
 7-0	UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data received through MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. interface
------
SeeAlso: #P1087
                                                                                

PORTIBM PC Portable (uses same BIOS as XT) xxxx - Ensoniq AudioPCI-97 ES1371 - CONTROL REGISTERS
Range:	anywhere on 64 byte boundary

+000d RW  interrupt/chip select control register (see #P1076)
+004d R-  interrupt/chip select status register (see #P1077)
+008  RW  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. data register (MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. data)
+009  -W  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. control register (see #P1078)
+009  R-  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. status register (see #P1079)
+00A  RW  UART(Universal Asyncronous Receiver/Transmitter)  A peripheral device which converts a sequence of bytes into a serial bit stream at a programmable rate, and vice versa.  This device is what makes an RS-232 serial port function.  See also USART. reserved register (see #P1080)
+00Cd RW  memory page register (see #P1081)
+010d RW  sample rate converter interface register (see #P1089)
+014d -W  CODEC write register (see #P1082)
+014d R-  CODEC read register (see #P1090)
+018d RW  legacy control/status register (see #P1091)
+020d RW  serial interface control register (see #P1083)
+024d RW  DAC1 channel sample count register (see #P1084)
+028d RW  DAC2 channel sample count register (see #P1084)
+02Cd RW  ADC channel sample count register (see #P1084)
+030d RW  internal memory 1 (see #P1085)
+034d RW  internal memory 2 (see #P1086)
+038d RW  internal memory 3 (see #P1087)
+03Cd RW  internal memory 4 (see #P1088)


Bitfields for Ensoniq AudioPCI-97 ES1371 sample rate converter interface:
Bit(s)	Description	(Table P1089)
 31-25	sample rate converter RAM(Random Access Memory)	See also DRAM, SRAM. address
 24	sample rate converter read/write control
 23	sample rate converter busy (read-only)
 22	sample rate converter disable
 21	playback channel 1 accumulator update disable
 20	playback channel 2 accumulator update disable
 19	record channel accumulator update disable
 18-16	reserved
 15-0	sample rate converter RAM(Random Access Memory)	See also DRAM, SRAM. data


Bitfields for Ensoniq AudioPCI-97 ES1371 CODEC read register:
Bit(s)	Description	(Table P1090)
 31	AC97 CODEC data ready
 30	AC97 CODEC register access in progress
 29-24	reserved
 23	AC97 CODEC read/write
	0 = write
	1 = read
 22-16	AC97 CODEC register index
 7-0	AC97 CODEC register data


Bitfields for Ensoniq AudioPCI-97 ES1371 legacy control/status register:
Bit(s)	Description	(Table P1091)
 31	joystick timing
	0 = ISA(Industry-Standard Architecture) The expansion bus used by the IBMInternational Busiuness Machines PCIBM PC/ATIBM PC AT.  See also EISA.
	1 = fast
 30	host interrupt blocking enable ???
 29	Sound Blaster capture address range
	0 = 220h-22Fh
	1 = 240h-24Fh
 28-27	SoundScape base register capture address range
	00 = 320h-327h
	01 = 330h-337h
	10 = 340h-347h
	11 = 350h-357h
 26-25	CODEC capture address range
	00 = 530h-537h
	01 = reserved
	10 = E80h-E87h
	11 = F40h-F47h
 24	force interrupt
 23	slave DMAsee Direct Memory Access controller event capture enable (address range C0h-DFh)
 22	slave interrupt controller event capture enable (address range A0h-A1h)
 21	master DMAsee Direct Memory Access controller event capture enable (address range 0h-Fh)
 20	master interrupt controller event capture enable (address range
	  20h-21h)
 19	AdLib register event capture enable (address range 388h-38Bh)
 18	Sound Blaster register event capture enable (address range selected by
	  bit 29)
 17	CODEC event capture enable (address range selected by bits 26-25)
 16	SoundScape base address register event capture enable (address range
	  selected by bits 28-27)
 15-11	reserved
 10-8	captured event (read-only)
	000 = SoundScape base address
	001 = CODEC
	010 = Sound Blaster register
	011 = AdLib register
	100 = master interrupt controller
	101 = master DMAsee Direct Memory Access controller
	110 = slave interrupt controller
	111 = slave DMAsee Direct Memory Access controller
 7-3	captured event I/O address bits 4-0 (read-only)
 2	captured event read/write (read-only)
	0 = read
	1 = write
 1	reserved
 0	interrupt flag (write to reset)
	0 = interrupt occurred
	0 = interrupt not occurred
Note:	this register is addressable as byte, word and dword
                                                                                

PORTIBM PC Portable (uses same BIOS as XT) xxxx - Intel 82371SB - USBsee Universal Serial Bus Host I/O Registers
InstallCheck: see #01215 at INT 1A/AX=B10Ah
SeeAlso: #01215

+000w RW  USBsee Universal Serial Bus command register (see #P1095)
+002w Rw  USBsee Universal Serial Bus status (see #P1096)
+004w RW  USBsee Universal Serial Bus interrupt enable (see #P1097)
+006w RW  Frame Number (see #P1098)
+008d RW  Frame List Base Address
	   (bits 11-0 must be written as zeros)
+00C  RW  Start of Frame Modify (see #P1099)
+010w RW  port 1 status/control (see #P1100)
+012w RW  port 2 status/control (see #P1100)


Bitfields for Intel 82371SB USBsee Universal Serial Bus command register:
Bit(s)	Description	(Table P1095)
 15-8	reserved
 7	maximum packet size (0=32 bytes, 1=64 bytes)
 6	Host Controller has been configured (set by software)
 5	software debug mode
 4	force global resume
 3	enter global suspend mode
 2	global reset
 1	host controller reset
 0	run/stop schedule (0=stop, 1=run)
SeeAlso: #P1096


Bitfields for Intel 82371SB USBsee Universal Serial Bus status register:
Bit(s)	Description	(Table P1096)
 15-6	reserved
 5	host controller halted
 4	host controller process error
 3	PCI bus error
 2	resume received
 1	USBsee Universal Serial Bus error interrupt
 0	USBsee Universal Serial Bus interrupt
Note:	to clear a bit in this register, write a 1 to it
SeeAlso: #P1095


Bitfields for Intel 82371SB USBsee Universal Serial Bus interrupt enable register:
Bit(s)	Description	(Table P1097)
 15-4	reserved
 3	enable short packet interrupts
 2	enable Interrupt On Complete
 1	enable Resume
 0	enable Timeout/CRC
SeeAlso: #P1096,#P1098


Bitfields for Intel 82371SB Frame Number register:
Bit(s)	Description	(Table P1098)
 15-11	reserved
 10-0	Frame List Current Index/Frame Number
	incremented at end of each time frame (~1ms)
Note:	only WORD writes are allowed to this register
SeeAlso: #P1095,#P1097


Bitfields for Intel 82371SB Start of Frame Modify register:
Bit(s)	Description	(Table P1099)
 7	reserved
 6-0	SOF timing value (default 64)
Note:	SOF cycle time equals 11936+timing value
SeeAlso: #P1095


Bitfields for Intel 82371SB Port 1/2 status/control register:
Bit(s)	Description	(Table P1100)
 15-13	reserved (0)
 12	suspend port
 11-10	reserved
 9	port in Reset State
 8	low-speed device is attached (read-only)
 7	reserved (1)
 6	resume detected (read-only)
 5-4	line status (read-only)
	bit 4: D+ signal line
	bit 5: D- signal line
 3	port enabled/disabled status has changed
	write 1 to this bit to clear it
 2	port is enabled
 1	connect status has changed
	write 1 to this bit to clear it
 0	current connect status (read-only)
Note:	only WORD writes are permitted to this register
SeeAlso: #P1095