--- 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:58:16 1.1.1.8 @@ -15,8 +15,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + along with this program; if not, write to the Free Software Foundation, + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #ifndef DSP_CPU_H @@ -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(FILE *out, Uint16 pc); /* Execute 1 instruction in disasm mode */ + +/* Interrupt relative functions */ +void dsp_add_interrupt(Uint16 inter); #ifdef __cplusplus }