]> Shamusworld >> Repos - virtualjaguar/blob - src/include/dsp.h
Virtual Jaguar 1.0.4 update (Shamus)
[virtualjaguar] / src / include / dsp.h
1 // DSP.H
2
3 #ifndef __DSP_H__
4 #define __DSP_H__
5
6 #include "jaguar.h"
7
8 #define DSP_CONTROL_RAM_BASE    0x00F1A100
9 #define DSP_WORK_RAM_BASE               0x00F1B000
10
11 void dsp_init(void);
12 void dsp_reset(void);
13 void dsp_exec(int32);
14 void dsp_done(void);
15 void dsp_update_register_banks(void);
16 void dsp_check_irqs(void);
17 void dsp_set_irq_line(int irqline, int state);
18 unsigned dsp_byte_read(unsigned int offset);
19 unsigned dsp_word_read(unsigned int offset);
20 unsigned dsp_long_read(unsigned int offset);
21 void dsp_byte_write(unsigned  offset, unsigned  data);
22 void dsp_word_write(unsigned  offset, unsigned  data);
23 void dsp_long_write(unsigned  offset, unsigned  data);
24 void dsp_check_if_i2s_interrupt_needed(void);
25 void dsp_releaseTimeslice(void);
26
27 #endif  // #ifndef __DSP_H__