|
|
1.1 root 1: /*
1.1.1.2 root 2: DSP M56001 emulation
3: Disassembler
1.1 root 4:
1.1.1.2 root 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
1.1 root 28:
1.1.1.5 root 29: typedef enum {
30: DSP_TRACE_MODE,
31: DSP_DISASM_MODE
32: } dsp_trace_disasm_t;
33:
1.1 root 34: /* Functions */
1.1.1.5 root 35: extern void dsp56k_disasm_init(void);
1.1.1.6 ! root 36: extern Uint16 dsp56k_disasm(dsp_trace_disasm_t value, FILE *fp);
1.1.1.5 root 37: extern const char* dsp56k_getInstructionText(void);
1.1 root 38:
39: /* Registers change */
1.1.1.4 root 40: extern void dsp56k_disasm_reg_save(void);
1.1.1.6 ! root 41: extern void dsp56k_disasm_reg_compare(FILE *fp);
1.1 root 42:
1.1.1.2 root 43: #ifdef __cplusplus
44: }
1.1 root 45: #endif
1.1.1.2 root 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.