Volker Ruppert
e5eac65b59
- removed wrong character from FSF address (converted invisible and useless
...
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Stanislav Shwartsman
98b198b3fe
not merged yet feature :)
2009-02-07 20:47:17 +00:00
Stanislav Shwartsman
66dc9b4cb1
- updated FSF address
2009-02-07 20:35:39 +00:00
Volker Ruppert
3a470c9d11
- names of bx_list_c members are now compared case insensitive
...
- added configure check and osdep code for the stricmp function
- minor changes in siminterface
2009-02-02 13:03:28 +00:00
Volker Ruppert
882269acaa
- fixed win32 compilation
2009-02-01 10:30:47 +00:00
Volker Ruppert
bfedc33c09
- fixed some more GCC4 warnings
2009-02-01 08:08:20 +00:00
Volker Ruppert
3e525af2ca
- fixed order of the Bochs parameter tree
...
- fixed lots of warnings
2009-01-31 19:02:24 +00:00
Volker Ruppert
bcefe1f799
- implemented support for the GTK-based gui debugger in sdl (WIN32 support
...
disabled, since it breaks runtime dialog support)
- fixed a warning
- updated FSF address
2009-01-31 18:11:13 +00:00
Stanislav Shwartsman
6eb53b15ce
Fixed some gcc4 warnings
2009-01-31 14:51:41 +00:00
Stanislav Shwartsman
717f323722
Integrate GTK GUI debugger frontend module
2009-01-31 10:04:25 +00:00
Stanislav Shwartsman
dd21ea963e
New module for cross-platform GUI debugger frontend
2009-01-31 09:52:26 +00:00
Volker Ruppert
d0a0fbd9d3
- usb config subtree now belongs to serial/parallel again
...
- added USB to the menu item names
2009-01-20 09:26:26 +00:00
Volker Ruppert
cfa759cd57
- fixed parameter name for save/restore of connected devices
...
- moved configuration subtree 'usb' back to the 'ports' list to make it
accessible again by the config interface
- delete s.scsi_dev only if not NULL
2009-01-19 21:39:03 +00:00
Volker Ruppert
d3533d9fcc
- the config interface should not access devices directly, using siminterface
...
method for VGA refresh
2009-01-19 20:37:40 +00:00
Stanislav Shwartsman
db098a1205
Fix dependencies of CPU code from disasm library
...
Regent Makefile.in for CPU
2009-01-19 19:01:03 +00:00
Volker Ruppert
891cc05477
- prepared siminterface and bochsrc options for USB OHCI support
...
* 'usb_uhci' bochsrc option replaces 'usb1'
* minor changes in the USB code
* removed old VBE i/o port registration (they were incompatible with USB)
* updated FSF address
- fixed saving user plugin options
2009-01-19 13:13:32 +00:00
Stanislav Shwartsman
93dd7bfccf
Fixed compilation issues with GUI debugger enabled.
...
- Added configure option to compile in GUI frontend for Bochs internal
debugger, to enable configure with --enable-debugger-gui option. The GUI
debugger frontend is enabled by default with Bochs internal debugger.
If needed to compile without GUI debugger (in case of compilation issues) use --disable-debugger-gui
2009-01-12 19:15:35 +00:00
Volker Ruppert
501952efdd
- removed unused logfunctions member 'type' and related method 'settype()'
...
- updated FSF address in copyright
2009-01-10 11:30:20 +00:00
Stanislav Shwartsman
4b4b901436
put bugfix for text split screen mode back
2009-01-09 17:16:03 +00:00
Stanislav Shwartsman
8b99d7abfc
clean up some dependencies for enh_dbg
2009-01-09 16:51:06 +00:00
Stanislav Shwartsman
4f95336b64
some small cleanup
2009-01-09 14:57:30 +00:00
Stanislav Shwartsman
0c79f11259
More fixes toward multiplatform GUI Bochs debugger
2009-01-09 14:53:38 +00:00
Stanislav Shwartsman
6ea14b747c
Fixed SEGFAULT with configurable MSRS
...
fixed osdep issue in win32 enhanced debugger module
2009-01-08 18:07:44 +00:00
Volker Ruppert
65eacd8063
- unlimited number of user options after rewrite (now using a chain similar to
...
the plugin device code)
- minor updates
2009-01-06 20:35:39 +00:00
Volker Ruppert
ee1e10ab73
- store user-defined option data in a struct
2009-01-05 21:15:17 +00:00
Volker Ruppert
8aa8b1a3db
- rewrite for user plugin support with user-defined options
...
* initialize plugin system before parsing bochsrc and command line
* pass previous value to bx_param_string_c handler
* load / unload plugin in bx_param_string_handler()
* handle user plugins after optional ones in plugin device init, reset and
save/restore functions
* added new siminterface method unregister_user_option()
* removed first version of config option handling for user plugins
* added new parameter subtree for user-defined options
* added new bx_list_c method remove()
* removed unused bx_devmodel_c method init_mem()
2009-01-04 21:46:20 +00:00
Volker Ruppert
e12b21e647
- update all dependencies
2009-01-03 09:54:10 +00:00
Volker Ruppert
504688cbca
- fixed issue with bx_param_string_c found with valgrind
...
* set initial value for MAC address after setting RAW_BYTES option (no space
for trailing null byte when using strncpy)
* length of initial string should not be larger than maxsize
* reset() method now uses set(initial_val)
2009-01-02 14:16:16 +00:00
Stanislav Shwartsman
a46cbc6e67
Woraround for comp problem
2009-01-01 18:17:07 +00:00
Volker Ruppert
00f312ad6e
- update dependencies
2008-12-30 09:37:15 +00:00
Volker Ruppert
67da880ba7
- set up for split screen in text mode if visible only
2008-12-29 08:51:34 +00:00
Stanislav Shwartsman
e182e74a4d
Added ability to define user MSRs spec for emulated CPU
2008-12-28 20:30:48 +00:00
Stanislav Shwartsman
9b85851b12
Completely replace win32 enh debugger (GUI debugger frontend for Bochs internal dbg)
...
Used new code by bewing, converging to cross-platform GUI frontend
2008-12-27 12:06:39 +00:00
Volker Ruppert
ea6855a8e2
- removed resources for the old win32 debugger dialog box
2008-12-18 23:50:49 +00:00
Volker Ruppert
24c8296d68
- compilaton fixes for win32 binary with term gui support only
2008-12-18 15:37:25 +00:00
Volker Ruppert
fefad06234
- compilation fixes for wxWidgets 2.8
2008-12-18 09:55:09 +00:00
Volker Ruppert
ed90f8dd93
- fixed a bunch of warnings
2008-12-11 18:01:56 +00:00
Volker Ruppert
9d0e55d65e
- make the wx status bar work again (colors are not supported)
2008-11-16 21:01:09 +00:00
Stanislav Shwartsman
67b98b4787
Fixed printing of ESP/EIP in regs window of win32 enh debugger
2008-11-08 20:09:37 +00:00
Stanislav Shwartsman
fd65bf9de0
- Added graphical Bochs debugger under Win32 host !
...
- Thanks for Chourdakis Michael and Bruce Ewing.
2008-10-21 13:45:03 +00:00
Stanislav Shwartsman
17d02735cb
re-locate BX_SMP_PROCESSORS macro
2008-10-20 19:13:08 +00:00
Stanislav Shwartsman
c02a276a5c
compilation fix
2008-10-15 15:26:15 +00:00
Stanislav Shwartsman
25d6dc1455
Fixed compilation err
2008-10-13 07:31:23 +00:00
Stanislav Shwartsman
0df223d363
Merged patch with blinking HDD led in RED color when HDD write occurs (GREEN when HDD read)
2008-10-06 22:00:11 +00:00
Stanislav Shwartsman
07d3a79bfa
Merged SDL fullscreen patch from @SF tracker + indent changes
2008-09-26 11:05:07 +00:00
Stanislav Shwartsman
3b276bc9fe
Implement modern BIOS mode for limiting max reported CPUID function to 3.
...
This mode is required in order to correctly boot and install WinNT guest
2008-09-22 21:38:15 +00:00
Stanislav Shwartsman
5468903bb0
Fix some BX_PANICs
2008-09-19 21:31:08 +00:00
Stanislav Shwartsman
dd0b8eceb2
Fixed some compilation issues with
...
Microsoft 32-Bit C/C++ Optimizing Compiler 9.00
2008-09-18 17:18:36 +00:00
Stanislav Shwartsman
51cb5451d8
Apply CPUID vendor/brand string from @SF
2008-08-19 16:43:07 +00:00
Volker Ruppert
457d320524
- applied patches for the term gui from SF tracker by Sebastian
...
* fixed missing SIGHUP and SIQUIT on MinGW
* fixed wrong colors if curses library supports more than 8
2008-06-22 08:32:59 +00:00
Volker Ruppert
16e391187f
- fixed missing key release event for the enter key (SF bug #1976171 )
2008-06-01 10:56:29 +00:00
Volker Ruppert
a61046dbef
- implemented yes/no dialog and enabled string dialog for the folder selection
...
- save/restore feature now uses the x gui dialogs
2008-05-25 12:28:27 +00:00
Volker Ruppert
2c2812c15b
- implemented cdrom change dialog using the string dialog with some extensions
2008-05-18 08:52:48 +00:00
Volker Ruppert
5869cb8b1f
- disable IPS output in status bar with the new specific option "hideIPS"
...
- simplified dialog window creation and dialog control handling code
- documentation updates
2008-05-12 18:46:46 +00:00
Volker Ruppert
8a94fc2315
- simple string dialog now supports strings larger than the edit box
...
- the label of the parameter now the default for the string dialog title
- now using simple string dialog for editing the filename of the text snapshot
2008-05-11 09:50:02 +00:00
Volker Ruppert
b2baef2c34
- removed support for old-style syntax userbutton shortcuts
...
- added "power" key to the list of valid userbutton shortcuts
2008-05-04 09:29:45 +00:00
Stanislav Shwartsman
8424d2b888
Fixed required to make MSVC build with fastcall optimization (-Gr) healthy.
...
There is a trick in MSVC is to turn on the -Gr compiler switch which tells MSVC to compile all functions using fastcall calling convention. This way you don't have to edit each function declaration. But certain functions must NOT be fastcall, and those are callbacks from Windows which are defined either as cdecl or stdcall. The entry point main() also has to remain cdecl.
Patch by Darek Mihocka
2008-04-07 20:20:04 +00:00
Volker Ruppert
97cfe69adc
- fixed 2 compilation errors caused by typos
2008-03-14 18:23:33 +00:00
Stanislav Shwartsman
457f7ea4bd
coding style changes
2008-03-06 21:15:40 +00:00
Stanislav Shwartsman
a459a64f3e
whispace, tab2space, indent, dos2unix and other cleanups
2008-02-15 22:05:43 +00:00
Stanislav Shwartsman
965568ea88
cleanups
2008-02-07 18:28:50 +00:00
Stanislav Shwartsman
55ad3e89b6
another whitespace cleanup by Sebastien
2008-02-05 22:57:43 +00:00
Volker Ruppert
120f5a06ea
- rewrite of the text_update() method based on the framework used by other guis.
...
This code is untested and it should add support for these features:
* variable line offset
* cursor color, disable and blinking
* character blinking
* TODO: variable cursor size, line graphics, h/v pel panning, split screen
2008-02-03 10:04:02 +00:00
Volker Ruppert
e3e3cb5bb7
- text mode character blinking feature implemented
2008-02-01 18:10:36 +00:00
Volker Ruppert
42549b0160
- text mode character blinking feature implemented
2008-01-31 21:45:18 +00:00
Volker Ruppert
4bcc331773
- text mode character blinking feature implemented
2008-01-30 22:06:52 +00:00
Volker Ruppert
f735ac4f29
- implemented text mode character blinking feature and removed obsolete comments
2008-01-29 17:16:14 +00:00
Volker Ruppert
5daa9c5975
- text mode character blinking feature added in the X11 and SDL guis
...
- fixed sdl status bar update after resize
- updated some comments
2008-01-28 21:52:09 +00:00
Volker Ruppert
4fd404b622
- get rid of text_update() parameter 'nrows' (updated remaining guis)
...
- text mode cursor blinking implemented
2008-01-26 00:00:31 +00:00
Stanislav Shwartsman
82b4d95077
Fixed typo
2007-12-10 21:01:25 +00:00
Stanislav Shwartsman
9e6d1cae33
Replace backslashes in WIN32 dialogs
...
Fix for bug report @SF 1843250 Using forward slashes gives invalid filename
2007-12-03 20:50:24 +00:00
Stanislav Shwartsman
17af54cbbb
Fixed warning
2007-12-03 20:38:55 +00:00
Volker Ruppert
018484006b
- fixed compilation errors
2007-11-02 16:58:46 +00:00
Stanislav Shwartsman
8d44a9e355
Warnings fixed
2007-10-24 23:09:59 +00:00
Stanislav Shwartsman
e9801ef501
Support for restore cpu (and any other device from bochs root) from debugger
2007-10-14 19:04:51 +00:00
Stanislav Shwartsman
d7431ca11a
Support for functionilirt of restoring/saving some single leaf insetad of all restore_hardware - will be used in debugger
2007-10-14 00:20:30 +00:00
Stanislav Shwartsman
071c5c1a26
A lot of changes but everything is really trivial.
...
Make save/restore default feature, the configure option for save/restore removed from configure script and save/restore made available forever. All code now assume it is exists. Bochs save/restore tree previosly called "save_restore" renamed to "bochs" tree and it will be havily used everywhere, starting from save/restore and ending by various bochs debugger functions. I am going to rework debugger code to get rid of debug CPU access functions and use this "bochs" param tree instead
2007-09-28 19:52:08 +00:00
Volker Ruppert
31d7fb897b
- fixed windebug feature for x86-64
2007-09-27 21:21:21 +00:00
Volker Ruppert
208caf109b
- missing 'datarootdir' variable added (fixed warning from configure script)
2007-09-23 08:45:14 +00:00
Stanislav Shwartsman
c719eecb8d
Implemented Bochs benchmarking mode according to feature request
...
[ 1799946 ] benchmark mode
2007-09-22 15:59:41 +00:00
Alexander Krisak
03ad91ab25
Fixed Windows compilation
2007-08-25 13:11:53 +00:00
Volker Ruppert
a2584bd271
- attempt to fix the "Print Screen" key problem
...
* partial fix for bug #1549873 (SF patch #1766536 )
* added keyword "print" to the userbutton shortcut table
* FIXME #1 : CTRL+PRINT and ALT+PRINT not working in Win98 guest
* FIXME #2 : win32 hosts do not generate the "make" code for "Print Screen"
2007-08-18 08:05:33 +00:00
Volker Ruppert
6ea536f95c
- fixed floppy boot signature check switch
...
- added network boot ROM support in the main Bochs code (already present in BIOS)
2007-08-01 17:10:24 +00:00
Stanislav Shwartsman
b6c8275cfd
remove old PIT model and always use Greg Alexander's new one
2007-04-08 21:57:06 +00:00
Volker Ruppert
b1bf1a8bf5
- documentation update after USB devices rewrite
...
- removed obsolete structures and members from the USB code
- removed mouse type 'usb' (USB mouse and tablet override selected mouse type
when connected)
- user doc: mention vmware 4 disk image support
2007-03-27 17:47:15 +00:00
Stanislav Shwartsman
5c57577f32
Merged Carbon GUI patch by Dave Poirier
2007-03-23 08:30:22 +00:00
Volker Ruppert
7956e47de8
- removed USB port option parameter and store device and option in one single
...
string. This is better for devices that need to know all it's options when
connecting to the port. Device name and option should be separated with a
colon. The USB device 'disk' now uses this format ('disk:usbdisk.img).
- the pciusb plugin must be linked with cdrom.o
2007-03-18 17:52:15 +00:00
Volker Ruppert
d4b9bb45c7
- simple "show cpu" feature for the win32 debugger dialog
2007-01-05 16:53:45 +00:00
Volker Ruppert
d7c627fdc1
- added support for serial 3-button mouse with Mousesystems protocol
2006-12-31 11:56:14 +00:00
Volker Ruppert
7213eae1bb
- fixed some gcc 4.x warnings
2006-12-27 15:21:03 +00:00
Volker Ruppert
8d8880fd71
- missing semicolon added
...
- fixed a warning
2006-12-17 18:14:59 +00:00
Volker Ruppert
9c8b9eae6a
- support for VMWare version 4 disk image format implemented (patch by Sharvil
...
Nanavati)
- siminterface + wx code cleanup (removed unused stuff and wx log messages,
floppy media type name handling simplified)
2006-12-17 08:17:28 +00:00
Volker Ruppert
3a6c7b20ea
- missing comma added in cpu registers list (DS and ES now visible in dialog)
...
- debug_get_next_command(): messages changed to BX_DEBUG
2006-12-10 13:03:25 +00:00
Alexander Krisak
65576fc242
Fixed win32 compillation in MSVC 6.0
2006-12-06 15:05:08 +00:00
Volker Ruppert
2ac567e4e2
- implemented fullscreen mode for the special case when the guest resultion is
...
equal to the Windows desktop size. The hotkey ALT+ENTER can be used to toggle
the window / fullscreen mode (initial SF patch item #1607793 by John Comeau)
- implemented get_capabilities() method (uses desktop size if valid)
2006-12-05 19:45:56 +00:00
Volker Ruppert
470e8d8309
- reimplemented debugger gui dialog as a modeless dialog
...
- debug break support for "continue" and "step N" commands
- debugger message window shows the last 100 lines of debugger output
- FIXME: tabstops not working in modeless dialog
- FIXME: debugger window is always on top
- TODO: cpu register viewer similar to the wx implementation
2006-11-17 16:50:39 +00:00
Volker Ruppert
3063397fd4
- first attempt to implement a debugger gui dialog for win32
...
- new display library option "windebug" enables the new feature
- simple dialog box with a command line and a multiline text viever
- TODO: implement modeless dialog with cpu registers and it should be possible
to interrupt "continue" and "step N" commands
- win32dialog: fixed function GetBochsWindow()
- textconfig: removed unused save/restore prompt
2006-11-12 10:07:18 +00:00
Volker Ruppert
e8cd2052c9
- improved gdbstub network efficiency (SF patch #1149659 by Avi Kivity)
...
- reimplemented "enter debugger" in ask dialog for gdbstub
- X11 and wxWidgets ask dialog now show "Debugger" button for gdbstub
- indent mode changes
2006-10-29 08:48:30 +00:00
Volker Ruppert
7f37a79dc7
- check and adjust emulation window size after dimension update (workaround for
...
resize failures in wxGTK)
2006-10-25 17:40:56 +00:00
Volker Ruppert
04d0b0a892
- exclude devices without a prefix in the advanced log options dialog
2006-10-21 15:36:07 +00:00
Volker Ruppert
f3b2b64204
- text mode color handling optimized
...
- fixed some warnings
- updated comments
2006-10-15 16:23:42 +00:00
Volker Ruppert
6c3f92db0b
- enable the left "meta" key (left "win" key on win32)
2006-10-15 16:23:09 +00:00
Volker Ruppert
87d906295f
- toggle mouse capture with left control key and the middle mouse button
...
(or left+right button)
- text update code rewritten (line offset now supported)
2006-10-14 15:53:47 +00:00
Volker Ruppert
9a1efba6d4
- text mode color handling optimized in the 'sdl' and 'x' guis
2006-10-13 17:55:53 +00:00
Volker Ruppert
b9352f74fd
- moved config interface option to the general options list, since it cannot be
...
changed after initializing the config interface
- PARAM_TREE.txt updated and cleaned up (TODO: improve developer documentation
and get rid of this file)
2006-10-08 10:18:51 +00:00
Volker Ruppert
9063b72a6d
- don't crash Bochs when closing window (simulation window now stops the
...
simulation, dialogs treat the event like the ESC button)
2006-10-07 10:01:20 +00:00
Volker Ruppert
2f3ce2de7d
- added debugger button to the X11 ask dialog
...
- fixed memory leaks
2006-10-03 08:13:27 +00:00
Volker Ruppert
3663992ffd
- fixed possible segfault when pressing the power button with debugger enabled
...
- the textconfig 'quit' option must call bx_dbg_exit() if debugger is present
2006-10-02 17:07:36 +00:00
Stanislav Shwartsman
925ae93e22
Reveer back changes for debug.h removal from bochs.h
2006-09-26 19:16:10 +00:00
Stanislav Shwartsman
aab3feb2e0
Fixed Makefile to compile with ACPI stub disabled
...
Remove bx_debug.h from bochs.h to reduce compilation dependencies
2006-09-25 20:13:52 +00:00
Volker Ruppert
48ed7e1ba6
- fixes for second simulation support with wxBochs
...
* wxBochsStopSim flag is now reset before starting the SimThread
* the siminterface 'init_done' flag now controls the execution of the hardware
cleanup in bx_atexit()
2006-09-23 09:07:15 +00:00
Volker Ruppert
e315eb0fa6
- realloc wxScreen if already used (for 2nd simulation support)
2006-09-21 21:07:17 +00:00
Volker Ruppert
fad22265b5
- bx_list_c: after deleting the list entries, the list must be deleted, too
2006-09-18 21:24:27 +00:00
Volker Ruppert
f7d668289d
- bx_list_c: fixed deleting of the parameter list
2006-09-18 20:31:37 +00:00
Volker Ruppert
f688701592
- cleanup() method added to reset the number of status items (cannot be done in
...
init() since the floppy indicators are register prior to gui init
- create framebuffer only if it doesn't exist
2006-09-17 20:37:28 +00:00
Volker Ruppert
ec9c361e9c
- fixed handling of parameter "debug_running" for restart support
...
- wx: delete of "debugCommand" fixed
2006-09-17 07:12:50 +00:00
Volker Ruppert
4cf2f745d1
- some fixes to avoid segfaults after early panics
...
- fixed gameport log type
- wx: store mouse capture mode in the gui code (only access the mouse parameter
when the capture mode changes)
- wx: don't initialize wxScreen if already done and clear screen on exit
2006-09-12 13:05:07 +00:00
Volker Ruppert
c07197758b
- plugin unload mechanism implemented in the plugin and devices code
...
- added exit() method to the devmodel object for devices that need to do special
cleanups on exit. Device plugins should call this method from their plugin_fini()
function. If Bochs is compiled without plugin support, for non-core plugins
the exit() method is called directly from bx_unload_plugins().
- exit() method implemented in the keyboard device
- wx "Show Keyboard" feature now only appear when the wxdebug keyboard subtree
is not empty
- cpu cleanup must be done before the devices cleanup
- moved PCI chipset dump call to the devices exit method
2006-09-10 09:13:47 +00:00
Volker Ruppert
e075c68f78
- close logfile and reset logging to stderr at the end of the simulation
...
- removed unused code
2006-09-09 11:28:52 +00:00
Volker Ruppert
c1a073bc2d
- yes/no dialog: set default button to "no" if requested (value == 0)
2006-09-09 08:05:07 +00:00
Volker Ruppert
5dd0d64b11
- several changes for restart support in wx (not yet complete)
...
* don't initialize cpu specific parameters for the wx debugger if they already
exist
* separate siminterface method init_save_restore() added
* old wx specific handling in quit_sim() removed
* new bx_list_c method clear() deletes all parameters from the list
* moved devices cleanup code from the pc_system to a new devices method exit()
* pc_system init code now sets ticksTotal to 0
2006-09-07 18:50:51 +00:00
Volker Ruppert
3dfc9b4d5a
- fixed end of thread in debugger mode (always dump cpu state to log file)
...
- hide debug console before showing "Bochs stopped" message box
2006-09-04 18:36:47 +00:00
Volker Ruppert
10235cb1ba
- fixed floppy device presence detection for menu items and toolbar buttons
...
- disable floppy and cdrom toolbar buttons at runtime if the selected device is
not present
2006-09-03 16:55:35 +00:00
Volker Ruppert
8c82b3f937
- status change must be handled different if the simulation is stopped with the
...
menu item instead of the power button. TODO: The wxGTK port still hangs after
pressing the power button before displaying the "Bochs stopped" message box
- wxMSW: don't wait for the enter key on the console window if the user quits
Bochs by the menu item
- fixed 'ask' dialog text
2006-09-03 11:06:54 +00:00
Volker Ruppert
5afe0efe08
- wxMutexGuiEnter() / wxMutexGuiLeave() calls are required at status bar updates
...
(fixes gui display problems in the wxGTK port)
- fixed floppy dialog title and label
2006-09-03 05:52:53 +00:00
Volker Ruppert
c4785b7709
- Bochs with 'term' gui now quits when the terminal is closed (SIGHUP)
2006-08-30 18:16:36 +00:00
Volker Ruppert
4b744658fe
- added missing bx_atexit() call before quit_sim() (runtime option "quit" now
...
has the same behaviour as the power button)
2006-08-30 17:49:12 +00:00
Volker Ruppert
c9b4d06ff4
- fixed and improved save state dialog handling
...
* generic save state dialog code moved to the save_restore_handler() in gui.cc
* the suspend button in the wxWidgets port now works and uses the new code
* old wxWidgets save state code removed (not thread-safe)
- wxWidgets HandleAskParamString() method fixed for wxGTK (now using a temporary
string array instead of a pointer)
2006-08-29 20:10:27 +00:00
Volker Ruppert
25f6299550
- fixed save/restore XPM bitmap (wxMSW is now able to load it)
2006-08-28 19:05:38 +00:00
Volker Ruppert
0d6c1b8363
- fixed Carbon notify callback function (don't handle the ask event twice)
2006-08-08 17:10:30 +00:00
Volker Ruppert
f3046ae0cd
- moved OSX beep implementation to the carbon gui code
...
- improved carbon notify callback similar to the x11 implementation
2006-08-03 16:01:23 +00:00
Volker Ruppert
a687f0de4f
- added help support for the parameter prompt (entering '?' prints parameter
...
description if defined)
- fixed error message for illegal hex parameter values
- removed unnecessary spaces
2006-07-29 09:58:24 +00:00
Volker Ruppert
c695084794
- improved the workaround of the "AltGr" key on European keyboards (TODO: find
...
a way to detect whether this key exists or not and skip this code if not)
2006-07-23 11:09:15 +00:00
Stanislav Shwartsman
275ea4f7c9
- Allow to control SMP quantum value through .bochsrc CPU
...
option parameter. Previous Bochs version used hardcoded quantum=5
value.
2006-06-21 20:42:26 +00:00
Stanislav Shwartsman
b794e6b54a
Indent changes
2006-06-20 17:17:46 +00:00
Volker Ruppert
cf6ec36040
- updated dependencies
2006-06-17 18:10:10 +00:00
Volker Ruppert
43838a54fa
- file descriptor check fixed
2006-06-16 09:10:26 +00:00
Volker Ruppert
c562a1243e
- fixed broken save/restore function for binary data
2006-06-11 18:03:11 +00:00
Stanislav Shwartsman
869f74b3ee
Reduce amount of dbg_get_cpu calls (I would like to remove this function) and use save/restore power in debugger
2006-06-11 16:40:37 +00:00
Volker Ruppert
a695c1739c
- fixed compilation error
2006-06-09 12:01:13 +00:00
Volker Ruppert
1be86095ab
- new function win32SaveState now called after pressing the "suspend" button
...
- save state handling removed from runtime dialog
- textconfig save state prompt improved
- textconfig: save state item removed from runtime menu
2006-06-08 17:02:52 +00:00
Volker Ruppert
21b1f8ce58
- prepared save state feature using the suspend button and textconfig code
...
rewritten to handle the new toolbar event (TODO: win32 and wx)
- suspend button: CR/LF to LF conversion
2006-06-07 19:40:15 +00:00
Stanislav Shwartsman
a71543ced4
Added new (currently not connected) button for save/restore feature.
...
Pressing the button currently prints to the log diagnostic message.
Vaolker, could you make it call save/restore dialog and remove the button inside config dialog ?
2006-06-06 22:11:09 +00:00
Stanislav Shwartsman
453ffd1e17
Fix more ugly strdup calls
2006-06-05 19:06:36 +00:00
Stanislav Shwartsman
b66d5385f7
Added missed 'delete' for ask_format field in destructor
2006-06-05 16:47:55 +00:00
Volker Ruppert
6730922952
- geometry autodetection for 'concat' mode hard disk images added
...
- removed all references to the old 'split-hd' feature (now: 'concat' mode)
- updated documentation for 'concat' images
2006-06-04 21:49:17 +00:00
Volker Ruppert
a4a2bdf333
- OnStateSave() updated to make it work like similar functions in win32dialog
...
and textconfig (TODO: simulation thread must be stopped after executing a
cpu instruction)
2006-06-04 14:16:31 +00:00
Volker Ruppert
a6b03f67fb
- bx_param_c: handle the member 'ask_format' the same way as 'label' and 'description'
...
- ask_yes_no(): build the 'ask_format' string from 'label' and 'description'
(for the textconfig prompt only)
2006-06-04 07:55:34 +00:00
Volker Ruppert
e55ec3e8e3
- yes/no dialog implemented in wx
2006-06-01 19:35:46 +00:00
Volker Ruppert
005ca56f04
- prepared yes/no dialog in the siminterface and added message box for win32
...
- test case for ask_yes_no(): confirm power off
- textconfig: set the event return code when asking for a parameter
2006-05-31 20:12:43 +00:00
Volker Ruppert
36d4ee68e4
- save state handling rewritten similar to the win32dialog behaviour
2006-05-30 18:01:51 +00:00
Volker Ruppert
013901f9f1
- wxdialog compilation fixed
2006-05-30 17:41:43 +00:00
Stanislav Shwartsman
4b7e7087aa
Handle more fields memory management insie the bx_param_c.
...
Remove more strdups
2006-05-30 17:01:27 +00:00
Volker Ruppert
a57d0a6aa9
- save_sr_param(): fixed 64-bit decimal output
...
- wx compilation fixes
2006-05-30 16:05:51 +00:00
Stanislav Shwartsman
fee48d74e0
Avoid doing strdup for param name field - most of the strdups elliminated !
2006-05-29 22:33:38 +00:00
Stanislav Shwartsman
cabc1d0181
Fixed minor bugs. Support for 64-bit save/restore values.
2006-05-29 19:57:12 +00:00
Volker Ruppert
0c4069d2f7
- folder selection dialog starts up with current directory selected
...
- continuing simulation after saving state now possible again (a message box
warns the user and asks what to do)
2006-05-29 18:52:46 +00:00
Stanislav Shwartsman
bd22a4e39a
Revert format change for now (I won't work for me).
...
The problem that original '%x' also won't work ;(
Need to find solution to print Bit64u !
2006-05-28 17:22:35 +00:00
Volker Ruppert
6ca6b46203
- failure handling for save/restore added
2006-05-28 16:39:25 +00:00
Volker Ruppert
2b72920cb6
- updated save/restore stuff in the win32 runtime dialog
2006-05-28 08:49:20 +00:00
Stanislav Shwartsman
938d9c1cbb
Change format for 64-bit param print
2006-05-27 21:37:36 +00:00
Stanislav Shwartsman
8b0df8e99b
Merge SAVE_RESTORE branch to CVS
2006-05-27 15:54:49 +00:00
Stanislav Shwartsman
7c1767d17a
Partial sync with save-restore
2006-05-27 14:02:34 +00:00
Stanislav Shwartsman
6a22aa2328
Partially sync from save/restore branch
2006-05-22 21:29:54 +00:00
Volker Ruppert
837d104770
- unicode fixes in the wx debugger
2006-05-22 16:35:03 +00:00
Volker Ruppert
6a299e61a7
- get rid of the unused description field of shadow bool and data parameters
...
(new/modified constructor)
- new constructor for bx_list_c objects without title
- shadow parameter bitmasks fixed
- functions bx_sr_before_save_state() and bx_sr_after_restore_state() prepared
- ne2k.cc: reset behaviour fixes
- sb16: some variable types changed
2006-05-14 15:47:37 +00:00
Volker Ruppert
8f16594a42
- unicode fix for the BX_SHOW_IPS feature
2006-05-07 09:49:16 +00:00
Volker Ruppert
9340f3b3f8
- partial sync with BRANCH_SAVE_RESTORE_3 (hardware save/restore not present yet)
...
* changed data format of text files for save/restore (looks like C/C++ structures,
similar to the format used in old save/restore branches)
* don't set the initial value of shadow bool parameters
* don't set the initial value of bool parameters twice
* cpu/init.cc: missing #undef added
* ne2k.cc: variable tx_timer_active was never set to 1 (type now bx_bool)
* floppy.cc: missing initialization of the 'eot' array in reset() added
* pic.h: type of member 'byte_expected' changed to Bit8u
* pit_wrap.h: unused members removed
2006-05-01 18:24:47 +00:00
Volker Ruppert
52c4666465
- partial sync with BRANCH_SAVE_RESTORE_3 (hardware save/restore not present yet)
...
* fixed minimum limit of signed variable types
* don't set the initial value of shadow parameters
* fixed range check for shadow parameters
* added support for setting the value base (decimal/hex) of numeric shadow parameters.
The text format hex number is now initialized in the constructor
* added missing newline after filename for binary data
* fixed data size of 64-bit shadow parameters
* fixed save/restore output format of numeric parameters (signed/unsigned/64-bit)
* cpu/init.cc: fixed macro name and added missing #undef line
2006-04-22 18:14:55 +00:00
Volker Ruppert
eb2104d0de
- parameters for the wx debugger moved to a separate subtree to avoid conflicts
...
with the proposed save/restore feature
- fixed a warning in the cpu parameter handler for the wx debugger
2006-04-16 10:12:32 +00:00
Volker Ruppert
36498746c1
- some more work for the save/restore feature in the plugins and devices code
...
* register_state() will be called after init() and registers the device members
required for save/restore
* before_save_state() can do some work before the device state is saved by the
siminterface
* after_restore_state() can do some work after the device state has been
restored (updating dependant stuff)
2006-04-15 17:03:59 +00:00
Volker Ruppert
14107f56fa
- some more work for the save/restore feature in the siminterface
...
* new parameter object type bx_shadow_data_c for binary arrays (e.g. system
and video memory, CMOS RAM, PCI config space)
* save_state() completed and restore_hardware() implemented
* get_sr_root() returns the list with the save/restore subtree
2006-04-15 14:05:18 +00:00
Volker Ruppert
a8bfc2d2bf
- fixed memory leaks
2006-04-14 13:27:17 +00:00
Volker Ruppert
86a0aada3b
- save support for user-defined options added
2006-04-14 08:07:24 +00:00
Volker Ruppert
bbef36f5c1
- save/restore functions now available in wx
...
- config file read/save functions fixed
2006-04-12 20:51:24 +00:00
Stanislav Shwartsman
df70fa0a2f
Indent changes
2006-04-10 19:02:30 +00:00
Volker Ruppert
0396a9d86f
- save state function now supported on win32 in the runtime dialog
...
- for the BrowseDir() function Bochs for win32 needs to be linked with SHELL32.DLL
(currently used for the save/restore support only)
- save/restore support symbol name changed
2006-04-09 13:55:55 +00:00
Volker Ruppert
841c802e6b
- save/restore of log options implemented (using bochsrc style)
...
- log options must be restored after initializing all devices
- menu items and descriptions for save/restore updated
- TODO: implement access to save/restore functions for win32 and wx
2006-04-09 09:05:30 +00:00
Volker Ruppert
c7c1d25175
- execute save/restore only if the path is != 'none'
...
- save/restore menu items and description now shows the current capabilities
- type of default value for ask_string() changed to 'const char'
2006-04-08 16:25:52 +00:00
Volker Ruppert
97520ff814
- save/restore of the configuration implemented (in bochsrc format)
...
- don't load another config file if the restore flag is set
- disabled restore_hardware() for now (will be enabled when save/restore is
complete and stable)
2006-04-07 12:49:50 +00:00
Volker Ruppert
74c8c05d22
- prepared save/restore feature
...
- some siminterface types changed
2006-04-06 20:42:51 +00:00
Volker Ruppert
ba597401a2
- user-defined config option support implemented
2006-04-05 16:05:11 +00:00
Volker Ruppert
6ce71008f6
- fixed submenu (child list) handling in do_menu()
...
- base parameter for do_menu() is now obsolete
2006-03-29 20:31:51 +00:00
Volker Ruppert
8d178b107b
- prepared user-defined config option support
2006-03-29 19:27:31 +00:00
Volker Ruppert
6cbdf98b38
- header of log options table is now always visible
...
- removed unnecessary spaces after function names
2006-03-26 15:52:31 +00:00
Volker Ruppert
6048821249
- fixed a warning and some remaining unicode issues
...
- removed unnecessary spaces after function names
2006-03-19 15:35:20 +00:00
Volker Ruppert
2439c65acf
- wxWidgets unicode fixes completed
2006-03-19 09:24:10 +00:00
Volker Ruppert
6106f1c905
- some more fixes for unicode support (wxT("string") conversion)
2006-03-18 16:30:52 +00:00
Volker Ruppert
d456b8ceb4
- fixes for unicode support in wx.cc (grabbed from FC5 patch for Bochs)
2006-03-14 18:13:08 +00:00
Volker Ruppert
2e144d5862
- changed some function argument and return types from char * to const char *
...
(grabbed from patch included in FC5 Bochs package for wxWidgets 2.6.x)
2006-03-13 18:55:53 +00:00
Volker Ruppert
9a1c64721e
- fixed parameter check before calling the "Show CPU" dialog
...
- wxBochs needs to be linked with the wxWidgets core and base libraries
2006-03-12 15:11:54 +00:00
Volker Ruppert
4e4df52109
- added new function bx_stop_simulation() to stop the Bochs simulation thread
...
(used by wx). Now the siminterface no longer depends on cpu.h
2006-03-11 22:40:32 +00:00
Volker Ruppert
568b41c659
- re-implemented LogOptionsDialog based on ParamDialog
2006-03-11 10:00:56 +00:00
Volker Ruppert
9699eaeca4
- added SMP support in save/restore parameter subtree
...
- TODO: implement tab window control for SMP CPUs in wx "show cpu" dialog
2006-03-09 20:16:17 +00:00
Volker Ruppert
5597fc9cf3
- fixed wx "Show CPU" dialog to make it work with the new parameter handling
...
- fixed CPU register names
- removed old parameter handling (bx_id, BXP_* symbols, param_registry, etc.)
2006-03-08 18:10:41 +00:00
Volker Ruppert
575a17e50f
- converted cpu state parameters to param-tree style
...
- removed old-style parameter init methods
- NOTE: the wx CPU registers dialog (debugger) currently reports nothing
- TODO: fix wx CPU registers dialog, remove remaining bx_id related stuff
2006-03-07 20:32:07 +00:00
Volker Ruppert
c66191bd13
- prepared save/restore subtree to make the conversion of the cpu and keyboard
...
parameters of the wx debugger possible
- started rewrite of shadow parameters and converted keyboard parameter stuff
- test function print_tree() now shows raw byte strings correctly
- removed unnecessary spaces
2006-03-07 17:54:27 +00:00
Stanislav Shwartsman
7b6c2587a9
Now devices could be compiled separatelly from CPU
...
Averything that required cpu.h include now has it explicitly and there are a lot of files not dependant by CPU at all which will compile a lot faster now ...
2006-03-06 22:03:16 +00:00
Volker Ruppert
0c573d15cf
- fixed compile error (missing typecast)
...
- fix for parameter objects without a parent list
- textconfig: logfile options moved to a submenu
- obsolete parameter init methods removed
2006-03-06 18:50:55 +00:00
Volker Ruppert
dd7e08de99
- remaining config options and special menus added to parameter tree
...
- parameter tree structure updated (TODO: should be moved to development.dbk)
- code cleanup: bx_options stuff and obsolete parameter access methods removed
- TODO: rewrite of shadow parameter stuff (for subtree "save_restore")
2006-03-05 10:24:29 +00:00