Volker Ruppert
6df6f4ff76
- renamed 'user options' to 'addon options'. When a load option for optional
...
plugins is implemented in bochsrc, these functions can be used to install
additional options from the devices code. Then the whole init / parse / save
code for this device can be moved from config.cc to the device plugin.
2011-12-23 10:03:10 +00:00
Stanislav Shwartsman
117333ca8f
fixed SF bug: Crash on WIN2K - ID: 3454214
2011-12-08 06:46:52 +00:00
Volker Ruppert
34644308f7
- added 'nokeyrepeat' option for the win32 gui
2011-12-04 21:15:35 +00:00
Volker Ruppert
eafa122339
- added 'nokeyrepeat' option for the SDL gui
2011-12-04 09:04:16 +00:00
Stanislav Shwartsman
21b96a5c8d
fixed compilation err in win64
2011-10-20 19:10:06 +00:00
Volker Ruppert
e4b92b55bb
- implemented tooltip feature in win32ParamDialog using the parameter description
2011-10-20 16:09:28 +00:00
Stanislav Shwartsman
2a31661d83
change beep messages to BX_DEBUG - it is flooding log too much when playing old MSDOS games
2011-10-09 08:20:32 +00:00
Volker Ruppert
822eed13fb
- fixes related to the removal of the BX_PASS log level
2011-10-01 12:48:48 +00:00
Stanislav Shwartsman
f66830d77f
fixed assertion failure in win32dialog when trying to set log options for a device
2011-10-01 07:24:18 +00:00
Stanislav Shwartsman
f425400af5
fixed warnings from compilation with mingw-gcc 4.6.1
2011-09-30 20:38:18 +00:00
Stanislav Shwartsman
cb261c45d3
removed non-working code for z-unodable and z-volatile images.
...
our priority is to implement support for std disk image formats (VMDK, VDI) instead.
2011-09-11 16:27:56 +00:00
Volker Ruppert
5e9b35994c
- removed Windows font support for the text mode (was disabled by default)
...
- TODO: implement optional stretching of the Bochs display to double size if
the desktop is big enough (e.g. HD display)
2011-08-22 10:25:29 +00:00
Stanislav Shwartsman
002e7a3818
MSR_TSC_AUX is not available without RDTSCP
2011-08-21 19:09:35 +00:00
Volker Ruppert
4b4f691a80
- don't include plugin.h in bochs.h to reduce dependencies
2011-08-17 22:41:03 +00:00
Stanislav Shwartsman
9de4164d1f
remove double include
2011-08-16 20:07:08 +00:00
Stanislav Shwartsman
a03e0266fb
added yonah CPUID to cpudb. remove bxversion.h from dep files
2011-08-16 19:58:56 +00:00
Stanislav Shwartsman
0bc93fdc59
added pentium mmx to cpudb. for now only can be enabled when cpu-level=5
2011-08-16 19:04:36 +00:00
Volker Ruppert
7bbfee58a2
- usually the realtime synchronization keeps the PIT-based system clock in sync
...
with the host time. After using a runtime config dialog or save and restore
simulation, this behaviour makes the PIT clock and the VGA update timer
running way too fast until it's back in sync. Now the elapsed time is stored
in the variable 'real_time_delay' and it is used to let the PIT clock run at
realtime speed, even if it is out of sync.
2011-08-15 10:37:41 +00:00
Stanislav Shwartsman
fb8d302f72
changed SHOW-IPS format for all GUIs
2011-08-14 20:21:07 +00:00
Volker Ruppert
7600c1bc60
- fixed dialog size if a 2-line label is used
2011-08-14 17:07:47 +00:00
Stanislav Shwartsman
43e2a59e3e
configure show-ips ON by default for all configurations
2011-08-13 19:44:24 +00:00
Volker Ruppert
f9918d6317
- cleanups in X11 dialog code (control text and selection rectangle handling)
2011-08-12 21:50:32 +00:00
Volker Ruppert
c627270a86
- rewrite of the X11 dialog box code (implemented new class x11_dialog_c that handles the event loop)
2011-08-12 15:02:39 +00:00
Stanislav Shwartsman
9d2e601173
correctly handle SSE presence in GUI debugger
2011-08-11 18:43:13 +00:00
Stanislav Shwartsman
27df10acb6
fixed typo-like bug
2011-08-11 18:16:56 +00:00
Volker Ruppert
9416eaccc2
- added error handling for the case malloc() fails
2011-08-10 07:12:32 +00:00
Volker Ruppert
4743f2a503
- started rewrite of the X11 dialog implementation
...
- added a class for control elements with a proper init (fixes warnings)
- TODO: add a class for the dialog itself
2011-08-09 14:28:25 +00:00
Volker Ruppert
9669929cbb
- several fixes related to the graphics snapshot feature
...
- fixed size entries in bitmap file header for 8 bpp
- bx_param_filename_c now uses the file extension from the initial value as
the default (if present)
- SIM->ask_filename() now uses the correct parameter type
- win32paramdlg AskFilename(): added filter for BMP files
2011-08-09 09:56:00 +00:00
Volker Ruppert
bce6a17b98
- VBE specific case for graphics snapshot can be used for >= 8 bpp modes only
...
- palette data for snapshot is now dword aligned to simplify code
- prepared snapshot code to support 4 bpp EGA/VGA memory layout (not yet complete)
2011-08-06 13:08:31 +00:00
Volker Ruppert
c7f63fca93
- added palette for 8 bpp support
...
(TODO: support for standard VGA 4 bit mode - saving as 8 bpp BMP)
2011-08-05 15:47:33 +00:00
Volker Ruppert
b889e91898
- implemented graphics snapshot for 15, 16 and 32 bpp modes (using 24 bpp BMP format)
...
- TODO: add palette to support 8 bpp modes
2011-08-03 16:35:04 +00:00
Volker Ruppert
08e80d55e0
- implemented graphics snapshot in BMP format for 24 bpp modes
...
- TODO: color conversion for 15/16 and 32 bit modes, palette for 8 bpp modes
2011-08-02 20:08:34 +00:00
Volker Ruppert
828b52fc50
- prepared graphics snapshot feature for VBE and Cirrus modes (TODO: save data in BMP format)
2011-08-01 18:21:25 +00:00
Stanislav Shwartsman
1d89709e62
Added another CPU to CPUDB: p4_willamette (one more without x86-64 support).
...
Reimplemented CPUDB using pure C macros magic.
Fixed compilation errors when compiling with SMP on.
2011-07-31 18:43:46 +00:00
Volker Ruppert
bbb1586616
- added display library option to detect and turn off host keyboard repeat (X11 key repeat detection
...
grabbed from SDL 1.2)
- TODO: implement this feature in other display libraries and add a key repeat generator in the
keyboard code that uses the typematic values from the guest.
2011-07-31 15:46:37 +00:00
Volker Ruppert
c35e385139
- removed 'text_snapshot_check' feature and related BX_PASS loglevel
...
- documentation updates
2011-07-31 14:38:03 +00:00
Stanislav Shwartsman
5e291e0860
Added Athlon64 Clawhammer CPUID to CPUDB
2011-07-30 21:28:16 +00:00
Volker Ruppert
488dd8a2a9
- added support for larger label text. The horizontal position of the controls for a parameter list
...
is now adjusted depending on the largest label text.
2011-07-30 17:32:40 +00:00
Stanislav Shwartsman
fefa4d5e5b
added PIII Katmai to CPUDB
2011-07-30 14:30:35 +00:00
Stanislav Shwartsman
1a051f9f00
Added several predefined CPUs that can be selected from .bochsrc using new CPU::MODEL option.
...
Selecting CPU MODEL from .bochsrc automatically chooses real HW CPUID and also configures Bochs emulator to emulate this specific CPU including all its features only.
Supported CPUs to choose from:
core2_extreme_x9770
corei7_sandy_bridge_2600K
p4_prescott_celeron_336
2011-07-29 15:03:54 +00:00
Volker Ruppert
c8d2f60225
- added runtime config handler for the ATAPI cdrom code. Now the media change is handled after both
...
parameters (path + status) have been set. TODO: implement this feature for the floppy, too.
- call update_drive_status_buttons() from update_runtime_options() to reduce the number of calls.
Now call update_runtime_options() from the gui floppy / cdrom handlers after closing dialog.
2011-07-24 14:11:10 +00:00
Stanislav Shwartsman
5cadbdfeca
small fixes for RFB GUI
2011-07-22 20:42:40 +00:00
Stanislav Shwartsman
d11114ac19
Patch for emulating target with larger memory than host has available by Gary Cameron.
...
The patch was posted in mailing list at Thu 6/16/2011.
Desription for CHANGES:
- Memory
- Added new configure option which enables RAM file backing for large guest
memory with a smaller amount host memory, without causing a panic when
host memory is exhausted (patch by Gary Cameron). To enable configure with
--enable-large-ramfile option.
2011-07-22 17:46:06 +00:00
Volker Ruppert
e21e968b09
- added two alternative X keysyms used for shift key releases
2011-07-12 18:58:10 +00:00
Volker Ruppert
345d67c403
- removed BeOS support from sources and documentation
2011-07-11 17:36:10 +00:00
Volker Ruppert
988b6e4ac5
- don't include wxWidgets headers in dependencies (fixed comments)
...
- regenerated dependencies without removing wx stuff manually
2011-07-10 16:58:49 +00:00
Volker Ruppert
0b12794ef5
- moved vga font to gui/font
2011-07-10 14:00:58 +00:00
Volker Ruppert
7168212bbe
- removed obsolete file
2011-07-10 13:56:30 +00:00
Stanislav Shwartsman
070a803a99
Ctrl-Break support for the Win32 gui
2011-06-21 17:10:40 +00:00
Volker Ruppert
48e8df25ff
- fixed some MSVC warnings
2011-06-19 05:37:30 +00:00
Stanislav Shwartsman
48f5c3b794
merged patch: Ctrl-Break support for the X11 gui by Nikolay Nikolov
2011-06-15 15:35:22 +00:00
Volker Ruppert
d03db7f940
- several changes related to cdrom runtime configuration
...
* moved runtime handlers for cdrom from config.cc to the device object
* cd media status variable is now always of type bx_bool
* changed obsolete gui names like "cdromD" to "cdrom1"
* TODO: implement new runtime config mechanism similar to USB
2011-06-13 09:32:39 +00:00
Volker Ruppert
cb8faeee52
- implemented new mechanism to update device config parameters that depend on
...
each other. Devices can register a handler to update it's state after runtime
configuration. The new method update_runtime_options() executes all registered
device handlers before the simulation continues.
- USB host controllers now using the new mechanism to handle the runtime device
change (replaces the previous timer-based implementation). TODO: floppy and
cdrom could use this feature, too)
- improved USB device change messages
2011-06-11 19:38:52 +00:00
Stanislav Shwartsman
c3de861958
fixed gui debugger mode change display
2011-04-28 19:16:51 +00:00
Stanislav Shwartsman
024a1ace38
move X2APIC to be .bochsrc option, rework of the cpuid code
2011-04-21 13:27:42 +00:00
Volker Ruppert
c78026a9a2
- deleted executable properties from source files
2011-04-03 10:29:19 +00:00
Volker Ruppert
19ed9839b6
- fixed segfault if Xrandr extension is not installed. If not present, use
...
DisplayWidth()/-Height() xlib calls (SF patch #3267459 by Heikki Lindholm)
2011-04-01 15:52:13 +00:00
Volker Ruppert
b46be5ced3
- store mouse capture status in local variable instead of calling the parameter
...
interface periodicly
- minor code cleanups
2011-03-26 08:27:13 +00:00
Stanislav Shwartsman
af28ef231a
storing list title in param is redundant, extra overhead
2011-03-19 21:40:07 +00:00
Volker Ruppert
ae45908060
- ported ES1370 soundcard emulation from Qemu. For now, only sound output to
...
DAC2 is sent to the lowlevel sound module. DAC1 and sound input (ADC) are not
yet supported. Also unsupported: CODEC (mixer), UART (MIDI) and legacy support.
Sound module selection in configure script now no longer depends on SB16 and
uses autodetection only.
- fixed segfault when saving bochsrc
2011-03-12 17:37:26 +00:00
Stanislav Shwartsman
069a49c190
fixes for win64 compilation portability
2011-03-04 20:39:54 +00:00
Stanislav Shwartsman
2d1d41e731
CPUID is not available when cpu-level=3
2011-02-25 16:27:01 +00:00
Stanislav Shwartsman
00981cd7a6
Adding Id and Rev property to all files
2011-02-24 22:05:47 +00:00
Volker Ruppert
0c50875e7f
- use default memory parameter tree in textconfig (with some changes to make
...
it usable there)
2011-02-12 17:50:48 +00:00
Volker Ruppert
4fe832af68
- added missing xpm library for the 'x' plugin
2011-02-12 13:16:19 +00:00
Stanislav Shwartsman
d137f6d7db
Fixed compilation for win64 native
2011-02-11 14:23:30 +00:00
Volker Ruppert
613b146974
- fixed xpm-related warnings in 'x' and 'wx'
...
- use X desktop size for the maximum guest resulution
2011-02-10 23:00:56 +00:00
Volker Ruppert
dcd02695bb
- set 'modified' flag when editing numeric value with updown control
2011-02-10 22:59:34 +00:00
Stanislav Shwartsman
800dcfe537
fixed compilation err under win32
2011-01-25 15:49:32 +00:00
Volker Ruppert
44ece7cf26
- including vga.h in iodev.h no longer necessary and symbol NO_DEVICE_INCLUDES
...
is useless then
- updated makefile dependenies
2011-01-24 20:35:51 +00:00
Volker Ruppert
1dd6a8b151
- fixed wrong background color of edit controls (WM_CTLCOLOREDIT returns HBRUSH)
...
- fixed an MSVC warning
2011-01-18 19:15:37 +00:00
Stanislav Shwartsman
c48f7b6828
_WIN32_IE for cygwin gcc for 64-bit should be higher
2011-01-12 18:18:48 +00:00
Volker Ruppert
341c764e1f
- added initial 'virtual VFAT' image support (shadows a local directory)
...
* ported the read part of the Qemu vvfat block driver
* added win32 specific directory functions (required for MSVC)
* TODO: write support, FAT32 support, read MBR and boot sector from file
2010-12-23 16:17:12 +00:00
Volker Ruppert
29c8824bab
- added support for HD image modes in usb_msd (TODO: specify journal file)
...
- siminterface: added helper method hdimage_get_mode()
- moved hdimage related stuff from harddrv.cc to the hdimage code
- changed hdimage related names
2010-12-10 17:02:18 +00:00
Stanislav Shwartsman
1047acb2cc
rename SSE register param - prepare for wide SSE register (AVX)
2010-12-06 21:52:41 +00:00
Stanislav Shwartsman
9aa503cb9d
fixed warnings for win64 compilation
2010-11-23 14:59:36 +00:00
Volker Ruppert
3d0a3a0c6e
- removed debug output
2010-11-19 18:42:11 +00:00
Stanislav Shwartsman
e5bb07e366
a few more steps towards win64 compilation under windows
2010-11-13 13:00:26 +00:00
Stanislav Shwartsman
07d68e9222
fix for win64 compilation
2010-11-12 18:20:35 +00:00
Stanislav Shwartsman
4aef7661aa
Fix buffer overflow
2010-11-03 21:46:09 +00:00
Stanislav Shwartsman
d9734249b9
compilation fixes for mingw64 gcc
2010-11-01 15:02:14 +00:00
Stanislav Shwartsman
024c0073fc
fix for makefile
2010-10-25 21:05:44 +00:00
Stanislav Shwartsman
a6ad162346
separate param tree code out of rest of siminterface
...
create new module
2010-09-16 21:46:45 +00:00
Stanislav Shwartsman
273f256603
some changes in siminterface
2010-09-12 20:47:23 +00:00
Volker Ruppert
19398ed178
- added missing break statement
2010-08-02 19:26:13 +00:00
Volker Ruppert
8b46dcfc0b
- added parameter to control the floppy media write protection. This is based on
...
the SF patch #1539417 , but rewritten from scratch (patch too old). Differences
to the original version:
* internal parameter name "readonly"
* update parameter if floppy image is readonly
* wxWidgets support
* documentation updates
* no specific toolbar buttons
2010-07-03 05:34:27 +00:00
Stanislav Shwartsman
63a984bf71
typo fix
2010-06-18 18:47:21 +00:00
Volker Ruppert
e801f4a256
- removed floppy method get_media_status() (floppy media change handler already
...
updates the parameter)
2010-06-18 17:23:50 +00:00
Stanislav Shwartsman
b195cb7ccf
bugfix in GUI dbg
2010-05-29 18:55:59 +00:00
Volker Ruppert
fb668371f4
- fixed mouse capture toggle with F12 on win32 (missing key release)
2010-05-24 22:06:17 +00:00
Stanislav Shwartsman
f7b79e0057
bugfix
2010-05-23 17:59:50 +00:00
Volker Ruppert
5471cfbc34
- mouse capture toggle option choice 'f12' replaces win32 'legacyF12' option
...
- implemented mouse capture toggle method option in RFB
- user documentation updates (mouse, usb)
2010-05-18 15:33:41 +00:00
Volker Ruppert
8a2a1dc04c
- implemented mouse capture toggle method option in win32.cc
...
- updated mouse option description and added cpuid options section in the user docs
2010-05-16 20:44:08 +00:00
Volker Ruppert
84364ae889
- implemented mouse capture toggle method option in wxWidgets
2010-05-16 14:40:53 +00:00
Volker Ruppert
19ed74f642
- added new config option to select mouse capture toggle method. In addition to
...
the default Bochs method using the CTRL key and the middle mouse button there
are now the choices CTRL+F10 (like DOSBox) and CTRL+ALT (like QEMU).
* currently implemented in the X11 and SDL guis only
* TODO: porting to wxWidgets and Win32, documentation updates
2010-05-16 09:01:36 +00:00
Stanislav Shwartsman
25b315bb8b
fixes for compilation for win64
2010-04-22 17:30:11 +00:00
Volker Ruppert
62378ec5b9
- make CPUID options available in textconfig
2010-04-04 11:28:33 +00:00
Stanislav Shwartsman
13a602d069
fix undefined CPUID options when CPU_LEVEL is too small
2010-03-05 20:42:10 +00:00
Stanislav Shwartsman
105deb58bc
typofix
2010-03-02 20:09:17 +00:00
Stanislav Shwartsman
da7812f90c
long time goal: avoid using tmpcb variable!
2010-03-02 20:01:33 +00:00
Stanislav Shwartsman
9124f00645
Fixed format
2010-03-02 07:07:57 +00:00
Stanislav Shwartsman
e3a13a7a55
Make XAPIC runtime option as well
2010-02-28 14:52:17 +00:00
Stanislav Shwartsman
5b6a14656d
Make XSAVE as runtime option
2010-02-26 22:53:43 +00:00
Stanislav Shwartsman
5df864b1f1
Move param_names.h into bochs root folder
2010-02-26 14:18:19 +00:00
Stanislav Shwartsman
927c3594d6
enable compilation with CPU_LEVEL <= 6
...
converted SEP to runtime option as well
2010-02-26 11:44:50 +00:00
Stanislav Shwartsman
033a20b3b2
allow to configure CPU features at runtime - implemened on example of SSE/AES/MOVBE/POPCNT
2010-02-25 22:04:31 +00:00
Stanislav Shwartsman
84f8a49dca
fixed gcc4 warnings
2010-01-24 12:46:42 +00:00
Stanislav Shwartsman
5fec008130
change copyright to bochs project
2009-12-04 20:02:12 +00:00
Stanislav Shwartsman
27e3f6fda0
implemented range watchpoints - GUI debugger still can only do 1-byte length watches
2009-11-20 12:02:57 +00:00
Stanislav Shwartsman
6601f15c2e
first step for range watchpoints - code reorg
2009-11-19 21:28:25 +00:00
Stanislav Shwartsman
6d904d8dac
small cleanup
2009-11-19 17:24:26 +00:00
Stanislav Shwartsman
08ad29e3f3
more stuff from siminterface.h
...
TODO: reduce complation dependencies (not everybody needs BXPN_ stuff)
2009-11-15 20:50:41 +00:00
Stanislav Shwartsman
6f336396a5
more correct var name
2009-11-15 20:38:17 +00:00
Stanislav Shwartsman
9017873120
indent + cleanup in rfb
2009-11-15 19:53:56 +00:00
Stanislav Shwartsman
71bb10f98c
move ignore-bad-msrs to runtime option in ,bochsrc
2009-11-13 15:55:46 +00:00
Stanislav Shwartsman
2f56442d30
fixed warnings
2009-11-08 20:47:03 +00:00
Stanislav Shwartsman
4f3d6fedbb
fixed gcc4 warning
2009-11-03 20:38:03 +00:00
Stanislav Shwartsman
ceb3d14a43
fixed GUI gdb 'info gdt' problem
2009-10-31 16:01:29 +00:00
Stanislav Shwartsman
98b51805d5
updates for Bochs debugger
2009-10-29 15:49:50 +00:00
Stanislav Shwartsman
85bf2cee79
fixed build failures if I have both X and SDL enabled.
2009-10-24 13:22:36 +00:00
Stanislav Shwartsman
f6bc8ec9d1
fixed memory leak in sdl.cc
2009-10-24 13:17:33 +00:00
Stanislav Shwartsman
37b19190b3
new .bochsrc memory option
2009-10-17 17:38:58 +00:00
Stanislav Shwartsman
da4722e257
optimize sr params
2009-10-16 18:29:45 +00:00
Stanislav Shwartsman
ffc9521d59
applied SF patch: Debugger gui maximize on startup
2009-09-27 06:19:23 +00:00
Stanislav Shwartsman
9687b0bf44
cleanup
2009-08-14 20:20:46 +00:00
Stanislav Shwartsman
e912b328c2
enhances to gui debugger and integrated debugger
2009-08-07 08:26:41 +00:00
Volker Ruppert
4b3103ba24
- fixed 2 critical bugs in the win32 gui
...
* gui deadlock if show-ips feature is enabled (SF bug #2799093 )
* gui hang after mouse buffer overflow (SF bug #2799121 )
2009-06-06 07:44:16 +00:00
Volker Ruppert
e260f4c3cb
- added keyboard mapping support for the rfb gui
...
- moved setting of log action for panics to "fatal" after loading keymap to give
the user a chance to select "continue" on keymap panics
2009-06-03 17:05:22 +00:00
Volker Ruppert
c2975e5d3c
- added support for resizable desktop (if support by client)
...
- partial indention cleanup
2009-05-23 07:31:54 +00:00
Volker Ruppert
e29ccd26ce
- the 'show ips' feature now works in wx on win32
2009-05-14 09:01:00 +00:00
Volker Ruppert
3043e4f169
- removed conflicting win32-specific alarm() functions for the guis 'win32' and
...
'sdl'. Now both display libraries can be compiled together and used with the
'show ips' feature. TODO: win32-specific 'show ips' timers for 'rfb' and 'wx'
2009-05-13 17:26:45 +00:00
Stanislav Shwartsman
78418c6a74
removed cr1 from cpu
2009-05-01 09:32:46 +00:00
Volker Ruppert
752c84ab9e
- converted port 0xE9 hack option to a regular config parameter
2009-04-26 06:56:28 +00:00
Volker Ruppert
b0c26ef814
- replace NULL character by space to avoid cutting text at this point when
...
copying to clipboard
2009-04-20 18:11:13 +00:00
Volker Ruppert
255143fa87
- updated iodev and gui Makefile dependencies
2009-04-15 06:10:28 +00:00
Stanislav Shwartsman
b6731dd70c
Fixed Gui debugger by patch from Ben Lunt !
2009-04-12 05:52:38 +00:00
Volker Ruppert
15aadb8a19
- log options dialog: sort device prefixes in alphabetical order
2009-04-11 13:53:14 +00:00
Stanislav Shwartsman
bcf547f510
Memory bug pointed by MSDEV compiler (dest is too small)
2009-04-11 13:46:54 +00:00
Volker Ruppert
e4f0de41e3
- simplified setting device prefix for log functions
...
- implemented unique device prefix for lowlevel cdrom
- minor device prefix changes
- minor coding style changes in cdrom.cc
2009-04-10 08:15:25 +00:00
Stanislav Shwartsman
e7af76b1af
fixed compilation in 64-bit native
2009-04-08 06:31:38 +00:00
Volker Ruppert
2152d1d034
- forgot to reset the changed flag after applying changed log options
2009-04-07 20:18:14 +00:00
Stanislav Shwartsman
4fc66aab31
Fixes for compilation by Visual Studio 2008
2009-04-07 16:12:19 +00:00
Volker Ruppert
0a37bcfbdc
- added get/set methods for device pointers in bx_param_c. This makes it easier
...
to access non-static devices from static parameter handlers.
- removed USB hub register mechanism and use the new device pointer parameter
methods instead
2009-04-06 10:38:57 +00:00
Volker Ruppert
e6c30344d3
- fixed unwanted side effect: disabling these parameters is no longer necessary
...
and it disabled media status selection
2009-04-05 19:06:11 +00:00
Volker Ruppert
82a81e45f8
- rewrite of ParamDialog method CopyGuiToParam() to support list size changes
...
when adding/removing the USB hub
- added support for wx configuration in the USB hub code
2009-04-05 08:33:27 +00:00
Stanislav Shwartsman
5894f106a9
Fixed max watchpoints hardcoded value
2009-04-03 17:45:01 +00:00
Stanislav Shwartsman
981c2e595d
Improve internal debugger commands parsing.
...
Now possible to set read/write watchpoits using 'r' and 'w' shortcuts instead of full 'read' and 'write' words
2009-04-03 17:36:24 +00:00
Volker Ruppert
9716be2cbd
- fixed runtime menu handling (non-runtime parameters must be handled like
...
disabled ones)
2009-04-02 17:38:01 +00:00
Volker Ruppert
c7e3604303
- added and updated comments
2009-03-30 20:42:06 +00:00
Volker Ruppert
26bb244bf0
- show a message box instead of an empty dialog if the parameter list is empty
...
- set keyboard focus depending on the Bochs start mode
- removed unused variable
2009-03-30 19:34:22 +00:00
Volker Ruppert
ee131a7471
- new implementation of the win32 runtime dialog based on the start menu dialog
...
* removed old win32 runtime config dialog since the property sheet isn't
compatible with the win32 ParamDialog
* reorganized runtime parameter lists (usb and cdrom setup in device init)
* renamed win32 StartMenuDialog() to MainMenuDialog() and some related name
changes
* added runtime support to the MainMenuDialog
- win32 start/runtime menu: set keyboard focus to the start/continue button
- win32paramdlg: SetParamList() now checks for list size changes to avoid crash
2009-03-29 20:48:17 +00:00
Volker Ruppert
2b82260d5c
- ParamDialog: added support for string parameter dependent lists
2009-03-29 13:26:07 +00:00
Volker Ruppert
8d92dbdee3
- implemented dependent list for string parameters (string length must be > 0
...
and value must be != "none" to enable dependents)
- set dependent list for floppy path (removed enable handler)
- win32paramdlg: added support for string parameter dependent lists
2009-03-29 11:13:49 +00:00
Volker Ruppert
96ebaa78c5
- fixed checks for return value of AskFilename()
...
- added hotkeys for the start menu dialog
2009-03-29 00:21:10 +00:00
Volker Ruppert
3337d7f83c
- siminterface: bx_param_enum_c must have it's own set_enabled() method for
...
updating the dependents
- win32paramdlg: mark edit control as modified after browsing for file
2009-03-28 11:49:26 +00:00
Volker Ruppert
394881ead6
- new implementation of the FloppyConfigDialog based on ParamDialog
...
* floppy device type selection wasn't present in the old version
* "Create Image" button for creating floppy image with selected name and type
* after selecting image file with "Browse", the media type is set to "auto"
and the status is "inserted".
2009-03-27 22:22:07 +00:00
Volker Ruppert
8da9dddb89
- AskFilename(): added new pointer argument 'buffer'. If not set to NULL, the
...
filename is read from and written to this buffer instead of using the get/set
methods of the given parameter (now used by win32ParamDialog() and similar
dialogs using the "Browse" button)
2009-03-26 17:57:20 +00:00
Stanislav Shwartsman
ca4166389b
generic is keyword in recent M$ .NET compiler
2009-03-26 09:19:56 +00:00
Volker Ruppert
1dee09c468
- changed parameter type for floppy status (inserted/ejected) to bx_param_bool_c
2009-03-25 18:33:43 +00:00
Volker Ruppert
04990bb856
- created new config interface 'win32config' using the new start menu dialog and
...
the existing runtime dialog ('textconfig' is still available)
- removed notify callback redirection from sdl.cc and win32.cc
- removed win32 specific code from textconfig.cc
- fixed parent window for folder selection dialog
- minor size changes in start menu dialog
2009-03-24 16:28:03 +00:00
Volker Ruppert
af3dfa73d7
- presence of floppy drive now depends on the devtype parameter instead of a
...
non-empty path
- floppy devtype parameter now uses CMOS values and drive type names
- related changes in the floppy code
- simplified floppy parameter handlers
- some floppy parameter label changes
- added enable handler for the floppy path parameter
- update dependent params after setting the dependent bitmap of enum parameter
2009-03-23 19:05:16 +00:00
Volker Ruppert
49343852a3
- changed parameter type for cdrom status (inserted/ejected) to bx_param_bool_c
...
- win32paramdlg: fixed setting parameters at runtime
- fixed win32 ParamDialog return value for close/cancel
- runtime dialog for the first cdrom drive on win32 is now created as a win32
ParamDialog (removed old cdrom1 dialog stuff)
- minor fixes in x11 string dialog for the cdrom path & status case
2009-03-22 20:18:17 +00:00
Volker Ruppert
8c05b177dd
- added new start menu dialog for win32 (currently called from the textconfig
...
start menu
* textconfig: added menu item for the win32 start menu dialog and removed
direct calls to win32ParamDialog()
* added support for Bochs config files in AskFilename()
* moved log options handling to separate functions used both by the start menu
log options dialog and the related property sheet page of the runtime dialog
2009-03-22 09:40:18 +00:00
Volker Ruppert
5620a0082e
- rewrite of the dependent list handling based on the new win32 stuff
...
- removed no longer used methods
2009-03-20 16:23:46 +00:00
Volker Ruppert
4d29abf2d8
- simplified and improved processing of dependent lists (e.g. handle window
...
enable status changes only)
- added window procedure for hex input (for parameters with BASE_HEX selected)
2009-03-19 18:23:54 +00:00
Volker Ruppert
9e2fe690ba
- implemented support for bx_param_enum_c dependencies and removed old code
...
- changed some tabs to spaces
2009-03-18 18:57:37 +00:00
Volker Ruppert
c77837bc47
- fixed and simplified disabling of parameters when creating the dialog
...
- fixed two warnings
2009-03-18 12:38:17 +00:00
Volker Ruppert
b2479d7d1a
- SetParamList(): don't set values of disabled parameters
...
- EnableParam(): don't enable/disable items of child lists
2009-03-18 07:59:04 +00:00
Volker Ruppert
ea27f82023
- implemented support for bx_param_num_c dependencies
...
- changed some tabs to spaces
2009-03-18 06:07:53 +00:00
Volker Ruppert
9f27f61f34
- fixed compilation errors
2009-03-17 20:20:57 +00:00
Volker Ruppert
5913073a20
- win32 ParamDialog: full parameter dependency handling implemented (recursive
...
dependency list processing, enum parameter support)
- bx_param_enum_c: added argument for the default value of the dependent bitmaps
to set_dependent_list()
- bx_param_num_c: dependent_list is now a protected member of the object to make
it accessible for the enum specific dependency code
- config.cc: ata parameter dependency rewrite to avoid multiple dependencies
- config.cc: added missing dependency for SB16 parameter list
2009-03-17 19:37:20 +00:00
Volker Ruppert
d987b68127
- implemented dependent list support for enum parameters. Each enum value has a
...
Bit64u value with the "enable bitmap" (e. g. bit #0 is the enable value for
the first item of the dependent list). TODO: use this feature in win32 and wx
dialogs
- ata drive type and loader hack parameters now using the enum dependent list
- avoid multiple dependencies in the SB16 config menu
2009-03-16 21:07:44 +00:00
Volker Ruppert
8c605c029d
- store options for all parameter types in a Bit32u value instead of bx_param_num_c
...
- added file extension support for bx_param_filname_c
- fixed showing of tab control child lists
- added special disk menu for the win32 ParamDialog
- on win32 use the ParamDialog instead of textconfig submenus (TODO: gui dialog
replacement for the start menus
2009-03-15 21:16:17 +00:00
Volker Ruppert
e91c072359
- rewrite of the win32 ParamDialog code for child list support
...
* added dialog item list register mechanism
* create controls for child list inside of group boxes or tab controls
* TODO: re-implement support for multiple dependencies
- added support for the bx_param_num_c flag USE_SPIN_CONTROL
- fixed win32 dialog item ID list
2009-03-15 16:24:54 +00:00
Volker Ruppert
87c4564a98
- added handling for raw byte arrays and numeric hex values
...
- handle dependencies for numeric parameter, too
- fixed enable/disable of controls for parameters with multiple dependencies
2009-03-12 19:40:41 +00:00
Volker Ruppert
2d2c732882
- win32ParamDialog now called with the menu name as second argument
...
- implemented dependency handling for boolean items
- now show all items if not at runtime
- moved init code for checkbox and combobox controls to their create functions
- TODO: handle child lists, dependency handling for enum items, several options
of the parameter types
2009-03-11 18:53:22 +00:00
Volker Ruppert
c82e57cb5f
- implemented dynamic dialog box created from a parameter list (bx_list_c)
...
* ported the basic functionality of the wx ParamDialog to win32
* moved AskFilename() function to the new file
* win32ParamDialog() now used for the external USB hub (if present)
* TODO: with some extensions it might be possible to use it for all runtime
dialogs and to implement a gui replacement for the textconfig start menu
2009-03-10 19:33:03 +00:00
Volker Ruppert
9024d7b202
- set only modified numeric and string parameters in runtime dialog
2009-03-08 22:10:16 +00:00
Volker Ruppert
f3d3857ce3
- added OHCI options to win32 runtime dialog
...
- enable USB options for present devices only
- TODO: implement dynamic runtime dialog for the first external USB hub
2009-03-07 20:02:49 +00:00
Volker Ruppert
87903bf0bf
- don't delete bx_list_c items with different parent list
2009-03-06 16:07:56 +00:00
Volker Ruppert
de9f1dcce9
- rewrite of the USB runtime configuration code (for textconfig only)
...
* USB runtime options moved to a new dynamic menu
* USB host controllers create own submenus in init()
* USB runtime parameter handlers simplified
* TODO: related changes in the wx and win32dialog code
2009-03-04 18:20:50 +00:00
Volker Ruppert
fb2723d465
- added missing include
2009-02-24 08:08:20 +00:00
Volker Ruppert
9e3dd83e85
- reduce some more dependencies and related Makefile.in updates
2009-02-23 11:06:53 +00:00
Stanislav Shwartsman
f2878feb30
Fixed 64-bit VS2008 comp failures
2009-02-22 21:48:21 +00:00
Volker Ruppert
790eec83ca
- converted I/O APIC to a device plugin
...
- updated dependencies
2009-02-22 10:44:50 +00:00
Volker Ruppert
cb430a4371
- added option to control the presence of optional plugins without a separate
...
option. By default all existing plugins are enabled.
2009-02-21 11:43:18 +00:00
Stanislav Shwartsman
b47d9046ca
puts is not always working, change to fputs back, keep stdout
2009-02-12 20:39:38 +00:00
Stanislav Shwartsman
03684932c1
send debugger output to stdout instead of stderr
2009-02-12 20:30:52 +00:00
Stanislav Shwartsman
20d1ee5815
Fixed memory leak + some compilation warning
2009-02-08 18:52:06 +00:00
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