Stanislav Shwartsman
1f4d3e7194
fixed problems found by cppcheck tool (patch by Maxim Derbasov)
2015-01-03 13:53:52 +00:00
Volker Ruppert
c7c92bb62b
Fixed OPL chip detection.
...
- Increment timer counter before checking for overflow.
- Implemented ISA bus delay in the pc_system code and use it for the SB16.
This makes OPL chip detection work at ips values > 4 Mips.
TODO: OPL chip should use wave output instead of MIDI (maybe port from DOSBox).
TODO: Use isa_bus_delay() for other legacy devices if required.
2014-12-31 12:27:32 +00:00
Volker Ruppert
33a633cbd2
Partial rewrite of the win32 mouse motion handling.
...
- If the mouse is captured, use ClipCursor() to keep the cursor in the window.
- After handling mouse motion event in relative mode, move the cursor back to
the window center (similar to other guis).
2014-12-30 16:31:17 +00:00
Volker Ruppert
2f893a76ff
Small code cleanup
2014-12-29 18:50:03 +00:00
Volker Ruppert
ba6f2f5c24
Fixed 2 typos.
2014-12-28 23:57:53 +00:00
Volker Ruppert
8272ce1b9f
Now build rules for all gui and device plugins supported by MSVC nmake depend
...
on the related configure options.
2014-12-28 19:13:16 +00:00
Volker Ruppert
ee5a416228
Now build rules for all gui and device plugins supported by MSVC nmake depend
...
on the related configure options.
2014-12-28 19:13:02 +00:00
Volker Ruppert
e50a0c517a
Key auto-release feature changed: now release the pressed keys when the Bochs
...
window is losing the keyboard focus. This feature is now also supported by the
win32 gui.
2014-12-27 15:57:30 +00:00
Volker Ruppert
65d2bb11eb
Release all pressed keys when the Bochs window gets back the keyboard focus.
...
- feature implemented in the wxWidgets gui
- feature not required for legacy SDL (releases keys on focus change)
- removed duplicate code in keyboard.cc
- TODO: implement feature in the win32 gui if required
2014-12-27 09:43:05 +00:00
Volker Ruppert
227da0c6de
Release all pressed keys when the simulation window gets back the keyboard
...
focus. This change will fix some keyboard-related bug reports (DONE for the
x and sdl2 guis / TODO for all others).
2014-12-26 20:25:27 +00:00
Volker Ruppert
d01a6176a8
Fixed keyboard scancode processing after keyboard intercept using stack
...
manipulation (SF bug report #1193 ).
2014-12-26 10:32:26 +00:00
Volker Ruppert
4cd8b284c0
Fixed keyboard scancode processing after keyboard intercept using stack
...
manipulation (SF bug report #1193 ).
2014-12-26 10:31:39 +00:00
Volker Ruppert
e5e535dad2
Fixed slirp compilation on OpenBSD.
...
TODO: fix slirp support compiled with VS2013.
2014-12-25 17:58:26 +00:00
Volker Ruppert
f0b38ff643
Restore VGA core before the PCI / VBE stuff to avoid crash due to wrong dimension.
2014-12-24 19:44:47 +00:00
Volker Ruppert
b18ed8e2b1
Applied Debian patch for wxWidgets 3.0 compatibility.
2014-12-23 19:30:03 +00:00
Volker Ruppert
88d9ad57bf
Attempt to fix the win32 raw serial receive support using a critical section
...
(untested - code should be enabled after successful testing).
2014-12-23 17:13:29 +00:00
Volker Ruppert
5abc3e647f
Fixed some MSVC warnings in the debugger code.
2014-12-23 11:53:35 +00:00
Volker Ruppert
c3b025e224
Fixed possible crash when compiled with VS2013.
...
TODO: fix slirp support compiled with VS2013.
2014-12-22 14:26:47 +00:00
Volker Ruppert
795a7929f1
Fixed link failure if GTK debugger is present, but no other Bochs facilty
...
using the pthreads library (SF patch #531 by Dawn Teschendorf fixing SF bug
#1364 ).
2014-12-20 07:51:11 +00:00
Volker Ruppert
f2c9a503d1
Added debugger support for the term gui using a pseudo-terminal. The command-line
...
debugger appears on main terminal and Bochs screen on pseudo-terminal connected
to minicom (based on SF patch #522 ).
2014-12-18 20:29:37 +00:00
Stanislav Shwartsman
6fd2d32180
fixed exception error code for debugger and instrumentation
2014-12-18 19:45:03 +00:00
Volker Ruppert
2ec57b8a6b
Fixed some more C++11 warnings.
2014-12-18 17:52:40 +00:00
Stanislav Shwartsman
fea4d47830
fixed spelling in comments
2014-12-16 20:11:08 +00:00
Volker Ruppert
19b3d52934
Fixed possible crash when the GTK+ debugger is enabled (based on SF patch by
...
Dawn Teschendorf).
2014-12-16 19:48:50 +00:00
Stanislav Shwartsman
6700a3f5e6
fix cpuid patch merged
2014-12-16 06:52:24 +00:00
Volker Ruppert
22665b3225
Re-enable "bulk I/O" repeat speedups extension that has been accidently disabled
...
about 3 years ago.
2014-12-16 02:26:55 +00:00
Volker Ruppert
3d228c4f61
Fixed some other overlapping memcpy() issues.
2014-12-16 02:26:00 +00:00
Volker Ruppert
f35b9b23c8
Bugfix: use memmove() if source and destination range can overlap (found with valgrind).
2014-12-14 18:53:16 +00:00
Volker Ruppert
902ed3f90b
Fixed unregistering memory handlers (affected memory bits must be cleared).
2014-12-14 09:19:09 +00:00
Volker Ruppert
f8e04266d6
Added capability to control VS2013 fastcall switch with configure option
...
--enable-fast-function-calls (MSVC nmake only).
2014-12-12 18:45:32 +00:00
Volker Ruppert
a1851e7f38
Enclose string literal in wxT() macros to fix unicode version.
2014-12-06 23:10:11 +00:00
Volker Ruppert
c8ef526143
Fixed some warnings.
2014-12-01 17:06:00 +00:00
Stanislav Shwartsman
03dab0b0c9
remove debug prints from param tree dump in xml format, small code reorg
2014-11-30 21:26:33 +00:00
Volker Ruppert
fba9145f66
Moved sources of the sound lowlevel base class ('dummy' driver) to separate files.
2014-11-24 18:25:14 +00:00
Volker Ruppert
5a346de14d
Changed to way to determine the default lowlevel sound driver (part of the
...
mixing3.patch by Dawn Teschendorf).
2014-11-22 11:44:02 +00:00
Volker Ruppert
7330f3a61c
Changed to way to determine the default lowlevel sound driver (part of the
...
mixing3.patch by Dawn Teschendorf).
2014-11-22 11:43:40 +00:00
Volker Ruppert
9805324c42
Minor changes in the sound lowlevel code.
2014-11-21 23:03:19 +00:00
Stanislav Shwartsman
1924780b06
added ability to dump Bochs param tree in XML format
2014-11-15 22:03:52 +00:00
Volker Ruppert
5f0a7b18c9
Enable GTK debugger only if GTK2 libraries are installed.
2014-11-15 13:33:18 +00:00
Volker Ruppert
53ae488fb2
Enable GTK debugger only if GTK2 libraries are installed.
2014-11-15 13:32:49 +00:00
Volker Ruppert
524ba46c3d
Added the capability to select the operation mode of the VGA update timer.
...
The realtime mode is enabled by default (patch by Dawn Teschendorf).
2014-11-15 10:22:27 +00:00
Volker Ruppert
866f9480f8
Fixed typo in iodev_sound.vcxproj
2014-11-15 07:45:49 +00:00
Volker Ruppert
3a1bb1f476
Bugfix: sound driver 'sdl' wasn't available if Bochs was compiled with SDL2 gui.
...
FIXME: wave output doesn't work properly in case of SDL2.
2014-11-14 18:25:37 +00:00
Volker Ruppert
9e9bdeda48
Fixed possible failure when installing plugin libraries (patch by Dawn Teschendorf).
2014-11-13 18:18:38 +00:00
Volker Ruppert
bea4a02b18
Save and restore GTK font setting using INI file.
2014-11-09 19:09:11 +00:00
Volker Ruppert
a2886318d8
Save/restore GTK debugger window size and position using INI file.
...
TODO: handle GTK font selection.
2014-11-07 18:59:59 +00:00
Stanislav Shwartsman
f01891faa2
fixed compilation err with perfmon disabled
2014-11-07 13:15:54 +00:00
Volker Ruppert
e6be902c56
Maximize debugger window if upper-left edge is outside of desktop.
...
Fixed font selection: disable "italic" flag before calling dialog.
2014-11-06 19:02:34 +00:00
Volker Ruppert
10a016194c
Save proportions of the Reg, Asm and Dump windows to INI file.
...
TODO: handle font selection and main window size/position in the GTK version.
2014-11-06 17:13:27 +00:00
Stanislav Shwartsman
9219c2c20b
fixed format for debug printing x87 numbers
2014-11-05 18:29:35 +00:00