Search
lxdream.org :: lxdream/src/gui/gui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/gui.h
changeset 30:89b30313d757
prev28:81c206f59dc7
next35:21a4be098304
author nkeynes
date Sun Dec 25 05:57:00 2005 +0000 (15 years ago)
permissions -rw-r--r--
last change Change timeslice to nanoseconds (was microseconds)
Generize single step (now steps through active CPU)
Add lots of header blocks
file annotate diff log raw
1.1 --- a/src/gui/gui.h Sun Dec 25 03:35:08 2005 +0000
1.2 +++ b/src/gui/gui.h Sun Dec 25 05:57:00 2005 +0000
1.3 @@ -1,16 +1,29 @@
1.4 -/*
1.5 - * Gui related code
1.6 +/**
1.7 + * $Id: gui.h,v 1.11 2005-12-25 05:57:00 nkeynes Exp $
1.8 + *
1.9 + * General GUI definitions
1.10 + *
1.11 + * Copyright (c) 2005 Nathan Keynes.
1.12 + *
1.13 + * This program is free software; you can redistribute it and/or modify
1.14 + * it under the terms of the GNU General Public License as published by
1.15 + * the Free Software Foundation; either version 2 of the License, or
1.16 + * (at your option) any later version.
1.17 + *
1.18 + * This program is distributed in the hope that it will be useful,
1.19 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.20 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.21 + * GNU General Public License for more details.
1.22 */
1.23 +
1.24 #ifndef dream_gui_H
1.25 #define dream_gui_H 1
1.26
1.27 #include <gnome.h>
1.28 #include "dream.h"
1.29 -#include "disasm.h"
1.30 +#include "cpu.h"
1.31 #include "modules.h"
1.32 #include "gui/interface.h"
1.33 -#include "sh4/sh4dasm.h"
1.34 -#include "aica/armdasm.h"
1.35
1.36 #ifdef __cplusplus
1.37 extern "C" {
1.38 @@ -30,10 +43,11 @@
1.39 void open_file_dialog( char *title, file_callback_t file_handler, char *pattern, char *patname );
1.40 void save_file_dialog( char *title, file_callback_t file_handler, char *pattern, char *patname );
1.41
1.42 -debug_info_t init_debug_win(GtkWidget *, cpu_desc_t *cpu );
1.43 -debug_info_t get_debug_info(GtkWidget *widget);
1.44 void update_mmr_win( void );
1.45 void init_mmr_win( void );
1.46 +
1.47 +debug_info_t init_debug_win(GtkWidget *, const cpu_desc_t *cpu );
1.48 +debug_info_t get_debug_info(GtkWidget *widget);
1.49 void update_registers( debug_info_t debug );
1.50 void update_icount( debug_info_t debug );
1.51 void dump_win_update_all();
1.52 @@ -43,6 +57,7 @@
1.53 void jump_to_disassembly( debug_info_t debug, unsigned int addr, gboolean select );
1.54 void jump_to_pc( debug_info_t debug, gboolean select );
1.55 void debug_win_set_running( debug_info_t debug, gboolean isRunning );
1.56 +void debug_win_single_step( debug_info_t debug );
1.57 uint32_t row_to_address( debug_info_t debug, int row );
1.58 int address_to_row( debug_info_t debug, uint32_t address );
1.59
.