--- hatari/src/falcon/dsp_cpu.h 2019/04/09 08:47:21 1.1.1.3 +++ hatari/src/falcon/dsp_cpu.h 2019/04/09 08:52:10 1.1.1.6 @@ -27,6 +27,8 @@ extern "C" { #endif /* Defines */ +#define BITMASK(x) ((1<<(x))-1) + #define DSP_OMR_MA 0x00 #define DSP_OMR_MB 0x01 #define DSP_OMR_DE 0x02 @@ -109,8 +111,12 @@ extern "C" { #define DSP_SPACE_P 0x02 /* Functions */ -extern void dsp56k_init_cpu(void *th_dsp_core); /* Set dsp_core to use */ +extern void dsp56k_init_cpu(void); /* Set dsp_core to use */ extern void dsp56k_execute_instruction(void); /* Execute 1 instruction */ +extern Uint16 dsp56k_execute_one_disasm_instruction(Uint16 pc); /* Execute 1 instruction in disasm mode */ + +/* Interrupt relative functions */ +void dsp_add_interrupt(Uint16 inter); #ifdef __cplusplus }