Refactored io_regs:

- showing all registers at the same time;
- possibility to autorefresh or refresh manually;
- removed display registers, please use the nice memory viewer.
This commit is contained in:
evilynux 2007-01-14 19:06:38 +00:00
parent 5155995bd4
commit 04efc44e8d
3 changed files with 412 additions and 532 deletions

View File

@ -23,64 +23,71 @@
/* ***** ***** IO REGISTERS ***** ***** */
static int cpu=0;
static u32 address;
static BOOL hword;
static BOOL autorefresh;
static GtkLabel * reg_address;
static GtkEntry * reg_value;
static void display_current_reg();
static void update_regs();
/* Register name list */
#define NBR_IO_REGS 6
typedef struct
{
char name[20];
u32 addr;
BOOL trunc;
} reg_name_addr;
const reg_name_addr Reg_Names_Addr[NBR_IO_REGS] =
{
{ "REG_IPCFIFOCNT", REG_IPCFIFOCNT, TRUE },
{ "REG_SPICNT", REG_SPICNT, TRUE },
{ "REG_IME", REG_IME, TRUE },
{ "REG_IE", REG_IE, FALSE },
{ "REG_IF", REG_IF, FALSE },
{ "REG_POWCNT1", REG_POWCNT1, TRUE }
};
/* update */
static void wtools_1_update () {
display_current_reg();
if(autorefresh) update_regs();
}
/* Update register display */
static void update_regs()
{
char lbl_name[40];
char lbl_text[40];
char * mask;
GtkWidget * lbl;
int i;
u32 w;
/* registers */
static void display_current_reg() {
char text_address[16];
char text_value[16];
char * patt = "0x%08X";
u32 w = MMU_read32(cpu,address);
if (hword) { patt = "0x%04X"; w &= 0xFFFF; }
sprintf(text_address, "0x%08X", address);
sprintf(text_value, patt, w);
gtk_label_set_text(reg_address, text_address);
gtk_entry_set_text(reg_value, text_value);
for( i = 0; i < NBR_IO_REGS; i++ )
{
mask = ( Reg_Names_Addr[i].trunc ) ? "0x%04x" : "0x%08x";
sprintf(lbl_name,"wtools_1_%s_value\0\0", Reg_Names_Addr[i].name);
w = MMU_read32(cpu,Reg_Names_Addr[i].addr);
sprintf(lbl_text, mask, w);
lbl = glade_xml_get_widget(xml_tools, lbl_name);
gtk_label_set_text((GtkLabel *)lbl, lbl_text);
}
}
static void display_reg(u32 address_, BOOL hword_) {
address = address_;
hword = hword_;
display_current_reg();
}
void on_wtools_1_combo_cpu_changed (GtkComboBox *widget, gpointer user_data) {
/* c == 0 means ARM9 */
cpu=gtk_combo_box_get_active(widget);
display_current_reg();
/* c == 0 means ARM9 */
cpu=gtk_combo_box_get_active(widget);
update_regs();
}
/* show, register, unregister */
void on_wtools_1_IOregs_show (GtkWidget *widget, gpointer user_data) {
GtkWidget * b = glade_xml_get_widget(xml_tools, "wtools_1_r_ime");
GtkWidget * combo = glade_xml_get_widget(xml_tools, "wtools_1_combo_cpu");
reg_address = (GtkLabel*)glade_xml_get_widget(xml_tools, "wtools_1_REGADRESS");
reg_value = (GtkEntry*)glade_xml_get_widget(xml_tools, "wtools_1_REGVALUE");
// do as if we had selected this button and ARM7 cpu
gtk_toggle_button_set_active((GtkToggleButton*)b, TRUE);
gtk_combo_box_set_active((GtkComboBox*)combo, 0);
register_Tool(wtools_1_update);
GtkWidget * combo = glade_xml_get_widget(xml_tools, "wtools_1_combo_cpu");
// do as if we had selected this button and ARM7 cpu
gtk_combo_box_set_active((GtkComboBox*)combo, 0);
register_Tool(wtools_1_update);
}
gboolean on_wtools_1_IOregs_close (GtkWidget *widget, ...) {
@ -89,23 +96,22 @@ gboolean on_wtools_1_IOregs_close (GtkWidget *widget, ...) {
return TRUE;
}
void on_wtools_1_autorefresh_toggled (GtkToggleButton *tb, gpointer user_data)
{
GtkWidget * b = glade_xml_get_widget(xml_tools, "wtools_1_refresh");
if( gtk_toggle_button_get_active(tb) == TRUE )
{
autorefresh = TRUE;
gtk_widget_set_sensitive( b, FALSE );
}
else
{
autorefresh = FALSE;
gtk_widget_set_sensitive( b, TRUE );
}
}
void on_wtools_1_r_ipcfifocnt_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IPCFIFOCNT,TRUE); }
void on_wtools_1_r_spicnt_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_SPICNT,TRUE); }
void on_wtools_1_r_ime_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IME,TRUE); }
void on_wtools_1_r_ie_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IE,FALSE); }
void on_wtools_1_r_if_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IF,FALSE); }
void on_wtools_1_r_power_cr_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_POWCNT1,TRUE); }
void on_wtools_1_r_dispa_win0h_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPA_WIN0H,FALSE); }
void on_wtools_1_r_dispa_win1h_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPA_WIN1H,FALSE); }
void on_wtools_1_r_dispa_win0v_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPA_WIN0V,FALSE); }
void on_wtools_1_r_dispa_win1v_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPA_WIN1V,FALSE); }
void on_wtools_1_r_dispa_winin_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPA_WININ,FALSE); }
void on_wtools_1_r_dispa_winout_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPA_WINOUT,FALSE); }
void on_wtools_1_r_dispb_win0h_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPB_WIN0H,FALSE); }
void on_wtools_1_r_dispb_win1h_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPB_WIN1H,FALSE); }
void on_wtools_1_r_dispb_win0v_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPB_WIN0V,FALSE); }
void on_wtools_1_r_dispb_win1v_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPB_WIN1V,FALSE); }
void on_wtools_1_r_dispb_winin_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPB_WININ,FALSE); }
void on_wtools_1_r_dispb_winout_toggled(GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_DISPB_WINOUT,FALSE); }
void on_wtools_1_refresh_clicked (GtkButton *b, gpointer user_data)
{
update_regs();
}

View File

@ -25,25 +25,8 @@
void on_wtools_1_combo_cpu_changed (GtkComboBox *, gpointer );
void on_wtools_1_IOregs_show (GtkWidget *, gpointer );
gboolean on_wtools_1_IOregs_close (GtkWidget *, ...);
void on_wtools_1_r_ipcfifocnt_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_spicnt_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_ime_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_ie_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_if_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_power_cr_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win0h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win1h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win0v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win1v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_winin_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_winout_toggled(GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win0h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win1h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win0v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win1v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_winin_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_winout_toggled(GtkToggleButton *, gpointer );
void on_wtools_1_autorefresh_toggled (GtkToggleButton *, gpointer);
void on_wtools_1_refresh_clicked (GtkButton *, gpointer);
/* ***** ***** MEMORY VIEWER ***** ***** */
void on_wtools_2_MemView_show (GtkWidget *, gpointer );

View File

@ -57,53 +57,48 @@
<child>
<widget class="GtkTable" id="table1">
<property name="visible">True</property>
<property name="n_rows">3</property>
<property name="n_rows">8</property>
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">0</property>
<property name="column_spacing">0</property>
<property name="column_spacing">5</property>
<child>
<widget class="GtkFrame" id="io_RegDetails">
<widget class="GtkComboBox" id="wtools_1_combo_cpu">
<property name="visible">True</property>
<property name="label_xalign">0</property>
<property name="label_yalign">0.5</property>
<property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
<property name="items" translatable="yes">cpu : ARM7
cpu : ARM9</property>
<property name="add_tearoffs">False</property>
<property name="focus_on_click">True</property>
<signal name="changed" handler="on_wtools_1_combo_cpu_changed" last_modification_time="Fri, 05 Jan 2007 13:10:42 GMT"/>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<placeholder/>
</child>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="label" translatable="yes">Details</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="type">label_item</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_IPCFIFOCNT_value">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">0x0000</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">True</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
@ -111,406 +106,14 @@
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox3">
<widget class="GtkLabel" id="wtools_1_REG_SPICNT_label">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_ipcfifocnt">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__IPCFIFOCNT(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_wtools_1_r_ipcfifocnt_toggled" last_modification_time="Thu, 04 Jan 2007 11:35:05 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_spicnt">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__SPICNT(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_spicnt_toggled" last_modification_time="Thu, 04 Jan 2007 11:35:11 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_ime">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__IME(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_ime_toggled" last_modification_time="Thu, 04 Jan 2007 11:35:16 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_ie">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__IE(32)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_ie_toggled" last_modification_time="Thu, 04 Jan 2007 11:35:22 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_if">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__IF(32)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_if_toggled" last_modification_time="Thu, 04 Jan 2007 11:35:27 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_power_cr">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">POWER__CR(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_power_cr_toggled" last_modification_time="Thu, 04 Jan 2007 11:35:32 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispa_win0h_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPA__WIN0H(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispa_win0h_toggled" last_modification_time="Fri, 12 Jan 2007 06:29:37 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispa_win1h_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPA__WIN1H(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispa_win1h_toggled" last_modification_time="Fri, 12 Jan 2007 06:35:06 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispa_win0v_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPA__WIN0V(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispa_win0v_toggled" last_modification_time="Fri, 12 Jan 2007 06:35:25 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispa_win1v_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPA__WIN1V(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispa_win1v_toggled" last_modification_time="Fri, 12 Jan 2007 06:35:53 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispa_winin_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPA__WININ(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispa_winin_toggled" last_modification_time="Fri, 12 Jan 2007 06:36:35 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispa_winout_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPA__WINOUT(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispa_winout_toggled" last_modification_time="Fri, 12 Jan 2007 06:37:03 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispb_win0h_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPB__WIN0H(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispb_win0h_toggled" last_modification_time="Fri, 12 Jan 2007 06:29:37 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispb_win1h_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPB__WIN1H(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispb_win1h_toggled" last_modification_time="Fri, 12 Jan 2007 06:35:06 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispb_win0v_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPB__WIN0V(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispb_win0v_toggled" last_modification_time="Fri, 12 Jan 2007 06:35:25 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispb_win1v_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPB__WIN1V(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispb_win1v_toggled" last_modification_time="Fri, 12 Jan 2007 06:35:53 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispb_winin_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPB__WININ(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispb_winin_toggled" last_modification_time="Fri, 12 Jan 2007 06:36:35 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="wtools_1_r_dispb_winout_toggled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">REG__DISPB__WINOUT(16)</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">wtools_1_r_ipcfifocnt</property>
<signal name="toggled" handler="on_wtools_1_r_dispb_winout_toggled" last_modification_time="Fri, 12 Jan 2007 06:37:03 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REGADRESS">
<property name="visible">True</property>
<property name="label" translatable="yes">(0xADDRESS)</property>
<property name="label" translatable="yes">REG_SPICNT</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@ -525,6 +128,286 @@
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_SPICNT_value">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">0x0000</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">True</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_IME_label">
<property name="visible">True</property>
<property name="label" translatable="yes">REG_IME</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_IE_label">
<property name="visible">True</property>
<property name="label" translatable="yes">REG_IE</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_IF_label">
<property name="visible">True</property>
<property name="label" translatable="yes">REG_IF</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_POWCNT1_label">
<property name="visible">True</property>
<property name="label" translatable="yes">REG_POWCNT1</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">7</property>
<property name="bottom_attach">8</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_IME_value">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">0x0000</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">True</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_IE_value">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">0x00000000</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">True</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_IF_value">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">0x00000000</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">True</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="wtools_1_REG_POWCNT1_value">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">0x0000</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">True</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">7</property>
<property name="bottom_attach">8</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="wtools_1_autorefresh">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">autorefresh</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_wtools_1_autorefresh_toggled" last_modification_time="Sun, 14 Jan 2007 18:28:39 GMT"/>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
@ -536,16 +419,14 @@
</child>
<child>
<widget class="GtkEntry" id="wtools_1_REGVALUE">
<widget class="GtkButton" id="wtools_1_refresh">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes">(0xVALUE)</property>
<property name="has_frame">True</property>
<property name="invisible_char">●</property>
<property name="activates_default">False</property>
<property name="label" translatable="yes">_Refresh</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_wtools_1_refresh_clicked" last_modification_time="Sun, 14 Jan 2007 18:28:24 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
@ -557,20 +438,30 @@
</child>
<child>
<widget class="GtkComboBox" id="wtools_1_combo_cpu">
<widget class="GtkLabel" id="wtools_1_REG_IPCFIFOCNT_label">
<property name="visible">True</property>
<property name="items" translatable="yes">cpu : ARM7
cpu : ARM9</property>
<property name="add_tearoffs">False</property>
<property name="focus_on_click">True</property>
<signal name="changed" handler="on_wtools_1_combo_cpu_changed" last_modification_time="Fri, 05 Jan 2007 13:10:42 GMT"/>
<property name="label" translatable="yes">REG_IPCFIFOCNT</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>