266 Commits

Author SHA1 Message Date
Hugo Villeneuve
ac54ee974b Act as if reset was pressed if no hex file is specified at startup 2013-10-09 21:08:17 -04:00
Hugo Villeneuve
6c53f8ff02 Replace GTK deprecated functions
gtk_signal_connect_object -> g_signal_connect
gtk_menu_bar_append -> gtk_menu_shell_append

Also simplified ShowMessage function.
2013-10-09 21:08:17 -04:00
Hugo Villeneuve
311abd4cfc Replace deprecated gtk_clist (pgmwin) 2013-10-09 21:08:17 -04:00
Hugo Villeneuve
9e76ea5f95 Replace deprecated gtk_clist (regwin) 2013-10-09 21:08:17 -04:00
Hugo Villeneuve
9983810898 Add title to memory window 2013-10-09 21:08:17 -04:00
Hugo Villeneuve
327fe8f226 Refactor memory window ASCII display code section 2013-10-09 21:08:17 -04:00
Hugo Villeneuve
c862545432 Refactor memory window code section 2013-10-09 21:08:17 -04:00
Hugo Villeneuve
4f35cb1366 Replace deprecated gtk_clist (memwin) 2013-10-09 21:08:16 -04:00
Hugo Villeneuve
2dcf6a1a19 Replace autogen custom commands with autoreconf 2013-10-09 21:08:16 -04:00
Hugo Villeneuve
51b8355b29 Rename config to build-aux 2013-10-09 21:08:16 -04:00
Hugo Villeneuve
0ddadb203a Remove unused configure option --enable-debug 2013-10-09 21:08:16 -04:00
Hugo Villeneuve
0d3230092d Remove unused/commented code 2013-10-09 21:07:22 -04:00
Hugo Villeneuve
c9f73afe56 Remove superfluous function call gtk_widget_show_all() when creating menu 2013-10-09 21:07:22 -04:00
Hugo Villeneuve
00871e77de Remove superfluous function WindowDestroyEvent 2013-10-09 21:07:22 -04:00
Hugo Villeneuve
ba7ff1a7a7 Fix bug with children not resizing with main window 2013-10-09 21:07:22 -04:00
Hugo Villeneuve
696410ca8d Add Gtk windows diagram
Rename main_vbox -> vbox.
2013-10-09 21:07:22 -04:00
Hugo Villeneuve
36ea763e1d Add example configuration file 2013-10-09 21:07:22 -04:00
Hugo Villeneuve
536beb0f1e Save paned positions and main window size to config file 2013-10-09 21:07:21 -04:00
Hugo Villeneuve
9cddfd237c Add support for saving UI settings to config file 2013-10-09 21:07:21 -04:00
Hugo Villeneuve
de33eb581d Rename fixed_frame variable to scrollwin 2013-10-01 22:45:22 -04:00
Hugo Villeneuve
4760af53ee Add vpaned to separate memory dump window 2013-10-01 22:45:22 -04:00
Hugo Villeneuve
5143afcd54 Add hpaned to separate pgm and disassembly windows 2013-10-01 22:45:22 -04:00
Hugo Villeneuve
5d3fdb383d Remove obsolete gtksizes.h 2013-10-01 22:45:22 -04:00
Hugo Villeneuve
bd7fa9a1fb Eliminate all fixed size windows 2013-09-30 22:37:05 -04:00
Hugo Villeneuve
c361bcde92 Allow frames to expand and fill inside vbox and hbox 2013-09-30 22:17:54 -04:00
Hugo Villeneuve
c233aa6715 Remove fixed frame containing the 3 major windows 2013-09-30 22:17:54 -04:00
Hugo Villeneuve
aef9693dac Replace fixed frames with scrollable windows
Done for program, register and memory dump windows.
2013-09-30 22:17:54 -04:00
Hugo Villeneuve
d75d156ebc Replace deprecated gtk_widget_set_usize() 2013-09-30 21:19:45 -04:00
Hugo Villeneuve
43cc485237 Replace deprecated gtk_menu_append() 2013-09-30 21:19:45 -04:00
Hugo Villeneuve
cece320b97 Replace deprecated gtk_signal_connect() 2013-09-30 21:19:45 -04:00
Hugo Villeneuve
4d60f6b8f7 Increase spacing between buttons 2013-09-30 21:19:45 -04:00
Hugo Villeneuve
be12d598fd Replace deprecated functions for displaying pixmap buttons 2013-09-30 21:19:41 -04:00
Hugo Villeneuve
5dc03cd1b8 Replace gtk_idle functions with g_idle equivalents 2013-09-08 23:36:35 -04:00
Hugo Villeneuve
f2fdef17a2 Activate gtk deprecated compilation flags 2013-09-08 23:35:32 -04:00
Hugo Villeneuve
9a47639756 Remember previous opened directory in file selection dialog 2013-09-08 20:54:17 -04:00
Hugo Villeneuve
a689c76798 Use current working directory for initial file selection dialog 2013-09-08 20:54:15 -04:00
Hugo Villeneuve
e57f14d42e Replace gtk_file_selection dialog with gtk_file_chooser
Increase minimum gtk version to 2.4.0.
2013-09-08 20:54:10 -04:00
Hugo Villeneuve
61c76cca39 Release v1.1.2 v1.1.2 2013-09-08 18:54:52 -04:00
Hugo Villeneuve
fd6fa7c56a Fix compiler warning (and potential bug) in auto-generated 8051 instructions
Original warning:
  warning: operation on ‘cpu8051.pc’ may be undefined [-Wsequence-point]
2013-09-08 18:54:52 -04:00
Hugo Villeneuve
581d60d73a Fix compiler warning about unused variable set by getline() 2013-09-08 18:54:52 -04:00
Hugo Villeneuve
47a60dcfbf Fix compiler warning about unused variable set by getch() 2013-09-08 18:54:52 -04:00
Hugo Villeneuve
67a0a710e0 Fix error with CJNE instruction
When the comparison was true, the PC was advanced by 2 instead of 3 bytes.

Error reported and fixed by Tobias Diedrich (ranma at tdiedrich.de).
2013-09-08 18:54:52 -04:00
Hugo Villeneuve
7121e7929d Add test file for CJNE bug 2013-09-08 18:54:52 -04:00
Hugo Villeneuve
761e720501 Remove obsolete comment about older c++ code 2013-09-08 18:54:52 -04:00
Hugo Villeneuve
60f3340a9f Fix trailing whitespace 2013-09-08 18:54:52 -04:00
Hugo Villeneuve
dfa6052123 Create two separate executables, emu8051-cli (default) and emu8051-gtk
emu8051-gtk is optional and compiled only if Gtk+ is detected.

Add optional size parameter when dumping memory.
v1.1.1
2013-09-08 18:54:52 -04:00
Hugo Villeneuve
9b40aee50b Add display of address in case of error 2013-09-08 18:54:52 -04:00
Hugo Villeneuve
da17471fcb Fix error with SJMP instruction
Error reported and fixed by Pierre Ferrari (piferr4ri at gmail.com).
2013-09-08 18:54:52 -04:00
Hugo Villeneuve
fc3c2b3dbd Improve window sizing
Based on suggestions from Pierre Ferrari (piferr4ri at gmail.com).
2013-09-08 18:54:51 -04:00
Hugo Villeneuve
97bcc837a4 Remove unnecessary autoconf checks
Disable debug message when not compiled in debug mode.
2013-09-08 18:54:51 -04:00