--- hatari/src/falcon/dsp_disasm.h 2019/04/09 08:48:45 1.1.1.4 +++ hatari/src/falcon/dsp_disasm.h 2019/04/09 08:58:15 1.1.1.7 @@ -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_DISASM_H @@ -26,14 +26,19 @@ extern "C" { #endif +typedef enum { + DSP_TRACE_MODE, + DSP_DISASM_MODE +} dsp_trace_disasm_t; + /* Functions */ -extern void dsp56k_disasm_init(dsp_core_t *my_dsp_core); -extern Uint16 dsp56k_disasm(void); -extern char* dsp56k_getInstructionText(void); +extern void dsp56k_disasm_init(void); +extern Uint16 dsp56k_disasm(dsp_trace_disasm_t value, FILE *fp); +extern const char* dsp56k_getInstructionText(void); /* Registers change */ extern void dsp56k_disasm_reg_save(void); -extern void dsp56k_disasm_reg_compare(void); +extern void dsp56k_disasm_reg_compare(FILE *fp); #ifdef __cplusplus }