Volker Ruppert
55f7c7542b
Implemented yes/no dialog for SDL2 (e.g. for VVFAT commit).
2015-01-19 20:32:20 +00:00
Volker Ruppert
3dca0bd8cf
Some work in the soundmod beep code and multithreading improvements.
...
- Beep thread now only started one per simulation.
- Added some more multithreading macros and use them in rfb, vncsrv and soundmod.
- TODO: implement mixer thread and remove beep thread.
2015-01-17 19:53:03 +00:00
Stanislav Shwartsman
055da948a0
fixed problems found by cppcheck tool (patch by Maxim Derbasov) - second round
2015-01-07 16:17:40 +00:00
Volker Ruppert
0c205fce26
Some work in the lowlevel sound code.
...
- Added framework for polling wave data and use it for beep output in sdl.
- Some work in the beep thread code (to be continued).
- Moved macros required for multithreading to bochs.h.
2015-01-04 21:12:41 +00:00
Volker Ruppert
2357175d79
Show mouse messages only if capture status changes.
2015-01-03 17:13:54 +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
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
b18ed8e2b1
Applied Debian patch for wxWidgets 3.0 compatibility.
2014-12-23 19:30:03 +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
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
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
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
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
Volker Ruppert
d70ee1e99b
Fixed font setup after reading from INI file.
2014-11-04 21:09:18 +00:00
Volker Ruppert
aad31f7767
Added support for save/restore of the debugger main window size and position
...
using the INI file.
TODO: handle child windows, implement font/window handling in the GTK version.
2014-10-31 19:35:57 +00:00
Volker Ruppert
56a1f53de7
Rewrite of the font selection code to support save/restore of font settings
...
using the INI file.
2014-10-28 18:54:48 +00:00
Volker Ruppert
59f5a03af6
Rewrite of the virtual timer code to support both modes at the same timer.
...
The timers now have a new member 'realtime' and they are driven by the
selected engine. The VGA update timer and the status LED timer now always use
the realtime mode, but the PIT and CMOS RTC depend on the clock options.
2014-10-19 08:54:16 +00:00
Stanislav Shwartsman
8d1e3b2ac1
Added statistics collection infrastructure in Bochs and
...
implemented important CPU statistics which were used for Bochs CPU model performance analysis.
old statistics code from paging.cc and cpu.cc is replaced with new infrastructure.
In order to enale statitics collection in Bochs CPU:
- Enable statistics @ compilation time in cpu/cpustats.h
- Dump statistics periodically by adding -dumpstats N into Bochs command line
2014-10-14 15:59:10 +00:00
Volker Ruppert
91937748fa
Added "DockOrder" setting to gui debugger INI file.
...
Prepared handling of platform-specific settings (e.g. fonts, window sizes).
2014-09-14 19:36:13 +00:00
Volker Ruppert
d12858ab31
Add one more common setting to gui debugger INI file.
...
TODO: add platform-specific settings (font, window size/position)
Disable log viewer on debugger exit.
textconfig: minor fixes found while testing gui debugger.
2014-09-01 16:47:26 +00:00
Volker Ruppert
34d4983cba
Compile enhanced gui debugger core only if enabled.
2014-08-31 17:08:58 +00:00
Volker Ruppert
d30d9bc667
Handle some more settings in gui debugger INI file.
2014-08-31 08:18:43 +00:00
Volker Ruppert
9b3b792c73
Gui debugger: handle some more settings in INI file
...
Slirp: fixed copy-and-paste error
2014-08-30 07:14:19 +00:00
Volker Ruppert
7ba82cab9f
Write enhanced debugger gui settings to config file on exit and read them in
...
the init code. Started with the SeeReg[] array values. Some other setting could
be added later. The parser code is based on the slirp config parser.
Slirp: fixed possible segfault if the value for a parameter is missing.
2014-08-24 14:28:42 +00:00
Volker Ruppert
36aa1ae6d2
Close enhanced gui debugger in gui exit() method if necessary.
...
TODO: read / write enhanced gui debugger settings in init / close functions
2014-08-17 12:48:05 +00:00
Volker Ruppert
ad27a15023
Enclose 2 string literals in wxT() macros to fix unicode version (SF bug #1351 )
2014-07-27 14:47:55 +00:00
Volker Ruppert
494ed30e95
Some fixes for plugin support with VS2013Ex
...
- creating extra manifest for bochs.exe no longer needed
- cleaning up temporary manifest files no longer necessary
2014-07-26 06:54:34 +00:00
Volker Ruppert
afb771f08e
Optimize drawing in some functions.
...
Mention SDL2 bug in fullscreen mode: surface dimensions not updated after
resolution change.
2014-07-14 07:58:42 +00:00
Volker Ruppert
e1fe9ee332
Determine display dimensions similar to other guis
2014-07-11 07:20:36 +00:00
Volker Ruppert
cf58d7ac2d
Determine maximum host resolution (similar to sdl2 and win32 guis)
2014-07-10 10:31:51 +00:00
Stanislav Shwartsman
e2e549c675
fixed MSVCPP warning
2014-07-09 15:39:47 +00:00
Volker Ruppert
0e14966b06
Determine desktop dimensions in constructor (fixes maximum resolution of Bochs
...
VBE support).
2014-07-08 16:51:38 +00:00
Volker Ruppert
a565b67293
Moved SDL2 init to constructor to make sure 'sdl_maxres' is initialized before
...
calling get_capabilities() (fixes Bochs VBE support).
2014-07-08 15:46:46 +00:00
Volker Ruppert
894e66574a
Rewrite of the userbutton shortcut handling: now parsing shortcut string in
...
gui init and string paramter handler. The shortcut keys are now stored in an
array of BX_KEY* values in the gui object.
siminterface.h: Fixed some default return values.
2014-07-08 14:30:27 +00:00
Volker Ruppert
cb8d81defd
Added new user shortcut "scrlck" (SDL/SDL2 using "Scroll Lock" for fullscreen toggle).
...
Cleanups and improvements in the userbutton shortcut code.
Documentation update (mention SDL2, updated userbutton list)
2014-07-07 07:29:08 +00:00
Volker Ruppert
20cc91a7d8
Fixed SVN Id line
2014-07-06 18:30:24 +00:00
Volker Ruppert
df9cd2fdbb
Added SVN Id and revision to keymap files
2014-07-06 18:29:06 +00:00
Volker Ruppert
0ddb6600c7
Added new keymaps for SDL2 (U.S. and German keyboard layout)
2014-07-06 18:17:05 +00:00
Volker Ruppert
04ae9e60aa
Updated makefile dependencies after adding SDL2 gui
2014-07-06 17:13:53 +00:00
Volker Ruppert
edb3a8b936
SB_Edges array must be of type Bit32s (fixes status bar in Cygwin64)
2014-07-06 14:17:18 +00:00
Volker Ruppert
a1f7fe26ed
SDL/SDL2 fullscreen mouse fixes
...
- SDL/SDL2: fixed mouse movement in absolute x/y mode
- SDL2: always capture mouse in fullscreen mode (like legacy SDL gui)
- SDL: don't handle headerbar click in fullscreen mode
- SDL/SDL2 code sync
2014-07-05 08:00:01 +00:00
Volker Ruppert
2bfd78fa45
SDL2: added experimental fullscreen mode support
2014-07-03 20:17:19 +00:00
Volker Ruppert
c7ae0310ac
SDL2: fixed link failure caused by the SDL font usage in the 'rfb and 'vncsrv'' guis
2014-07-02 21:08:54 +00:00