--- hatari/src/falcon/dsp_cpu.h 2019/04/09 08:48:47 1.1.1.4 +++ hatari/src/falcon/dsp_cpu.h 2019/04/09 08:49:38 1.1.1.5 @@ -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,9 @@ 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 Uint32 dsp56k_execute_one_disasm_instruction(Uint32 pc); /* Execute 1 instruction in disasm mode */ /* Interrupt relative functions */ void dsp_add_interrupt(Uint16 inter);