11 #include "gui/interface.h"
12 #include "sh4/sh4dasm.h"
13 #include "aica/armdasm.h"
22 void gtk_gui_init(void);
23 void gtk_gui_update(void);
24 extern struct dreamcast_module gtk_gui_module;
26 typedef struct debug_info_struct *debug_info_t;
27 extern debug_info_t main_debug;
29 typedef int (*file_callback_t)( const gchar *filename );
30 void open_file_dialog( char *title, file_callback_t file_handler, char *pattern, char *patname );
31 void save_file_dialog( char *title, file_callback_t file_handler, char *pattern, char *patname );
33 debug_info_t init_debug_win(GtkWidget *, cpu_desc_t *cpu );
34 debug_info_t get_debug_info(GtkWidget *widget);
35 void update_mmr_win( void );
36 void init_mmr_win( void );
37 void update_registers( debug_info_t debug );
38 void update_icount( debug_info_t debug );
39 void dump_win_update_all();
40 void set_disassembly_region( debug_info_t debug, unsigned int page );
41 void set_disassembly_pc( debug_info_t debug, unsigned int pc, gboolean select );
42 void set_disassembly_cpu( debug_info_t debug, const gchar *cpu_name );
43 void jump_to_disassembly( debug_info_t debug, unsigned int addr, gboolean select );
44 void jump_to_pc( debug_info_t debug, gboolean select );
45 void debug_win_set_running( debug_info_t debug, gboolean isRunning );
46 uint32_t row_to_address( debug_info_t debug, int row );
47 int address_to_row( debug_info_t debug, uint32_t address );
49 extern PangoFontDescription *fixed_list_font;
50 extern GdkColor clrNormal, clrChanged, clrError, clrWarn,
51 clrPC, clrDebug, clrTrace;
53 void mmr_open_win( void );
54 void mmr_close_win( void );
55 uint32_t gtk_entry_get_hex_value( GtkEntry *entry, uint32_t defaultValue );
56 void gtk_entry_set_hex_value( GtkEntry *entry, uint32_t value );
.