ReactOS  0.4.14-dev-50-g13bb5e2
dsp.h
Go to the documentation of this file.
1 #define SB_TRUE 0
2 #define SB_FALSE 1
3 
4 #define DSP_MIXER_ADDRESS_PORT 0x04
5 #define DSP_MIXER_DATA_PORT 0x05
6 #define DSP_RESET_PORT 0x06
7 #define DSP_READ_DATA_PORT 0x0A
8 #define DSP_WRITE_PORT 0x0C //Same port used for reading status and writing data
9 #define DSP_READ_STATUS_PORT 0x0E
10 
11 typedef unsigned char sb_status;
12 unsigned short base;
13 unsigned char irq,dma8,dma16;
14 unsigned char read_dsp(unsigned short base);
15 void write_dsp(unsigned short base,unsigned char data);
17 sb_status reset_dsp(unsigned short base_address);
void write_dsp(unsigned short base, unsigned char data)
Definition: dsp.c:73
unsigned char irq
Definition: dsp.h:13
unsigned char dma16
Definition: dsp.h:13
unsigned char sb_status
Definition: dsp.h:11
SB16 sb16
Definition: sound.c:26
unsigned short base
Definition: dsp.h:12
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
unsigned char dma8
Definition: dsp.h:13
unsigned char read_dsp(unsigned short base)
Definition: dsp.c:24
Definition: sb16.h:1
sb_status reset_dsp(unsigned short base_address)
Definition: dsp.c:56
sb_status detect_dsp(SB16 *sb16)
Definition: dsp.c:38