|
|
1.1 root 1: /*
2: DSP M56001 emulation
3: Disassembler
4:
5: (C) 2003-2008 ARAnyM developer team
6:
7: This program is free software; you can redistribute it and/or modify
8: it under the terms of the GNU General Public License as published by
9: the Free Software Foundation; either version 2 of the License, or
10: (at your option) any later version.
11:
12: This program is distributed in the hope that it will be useful,
13: but WITHOUT ANY WARRANTY; without even the implied warranty of
14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: GNU General Public License for more details.
16:
17: You should have received a copy of the GNU General Public License
18: along with this program; if not, write to the Free Software
19: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: */
21:
22: #ifndef DSP_DISASM_H
23: #define DSP_DISASM_H
24:
25: #ifdef __cplusplus
26: extern "C" {
27: #endif
28:
29: typedef enum {
30: DSP_TRACE_MODE,
31: DSP_DISASM_MODE
32: } dsp_trace_disasm_t;
33:
34: /* Functions */
35: extern void dsp56k_disasm_init(void);
36: extern Uint16 dsp56k_disasm(dsp_trace_disasm_t value);
37: extern const char* dsp56k_getInstructionText(void);
38:
39: /* Registers change */
40: extern void dsp56k_disasm_reg_save(void);
41: extern void dsp56k_disasm_reg_compare(void);
42:
43: #ifdef __cplusplus
44: }
45: #endif
46:
47: #endif /* DSP_DISASM_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.