- GTK UHCI dialog: Added support for saving changes to controller.
- Improved GTK xHCI debug dialog (TODO: tree view, save to controller).
- win32 USB debugger: removed no longer needed include statement.
- Fixed compilation error in case USB debugger is also present.
- Fixed segfault on exit exposed with gui debugger, but caused by slirp.
- Fixed some format warnings.
- Added some new code for GTK 3.0 to fix some of the deprecated warnings
(to be continued).
- Only UHCI without frame tree view is implemented yet.
- Tested with GTK 3.0 and X11 gui only.
- NOTE: GTK dialog is not modal, since the Bochs window is not a GTK one.
- For now showing a warning message box with "OK" and "Cancel" button.
- Prepared SDL2 and X guis to use it.
- Modified code to make sure win32 specific stuff is only present in win32usb.cc.
Now --enable-usb-debugger turns on USB debugger if not already done with Bochs debugger.
Now using BX_USB_DEBUGGER macro to prepare the code for implementations other than win32.
- Read configuration: set working directory to path of selected bochsrc.
- Don't link with readline library if Bochs with debugger is compiled with wx only.
- Set initial window size to 640x480 to make all toolbar buttons visible.
- Added XPM bitmap for the "trigger" state.
- Init toolbar with USB debugger disabled state and switch to enabled when
setting up the USB debug type.
- USB debugger is now available with plugins enabled.
- Added method set_usbdbg_bitmap() to get rid of the public members hack.
- Init toolbar with USB debugger disabled bitmap and switch to active when
setting up the USB debug type.
- Internally changed bitmap names.
- TODO: add similar functionality for the wx version.
- Added XPM file for disabled mouse capture.
- Added method for toggling toolbar bitmaps and use it for the mouse button.
- Some small tooltip changes.
Toolbar button for USB debugger is now available in wxWidgets, but currently
causes a panic. Moving USB debugger related code from gui.cc and win32config.cc
to siminterface.cc is required to support it in wx.
- Moved USB debugger options to the "ports" subtree to make them available in
the start menu dialog.
- Replaced direct device object access with save/restore tree access for
compatiblity with the plugins support.
- Minor related changes (removed some hacks, added helper functions).
- FIXME: MSVC build fails to show dialog, closes Bochs session instead.
- FIXME: MSVC plugins version fails to link win32config DLL.
Clear screen on top of dimension_update() to get rid of artifacts from previous resolution.
Adjust tile height at the bottom of the display if necessary.
This change fixes compiler errors in Android as following.
../../../iodev/sound/soundoss.cc:43:10: fatal error: 'sys/soundcard.h'
file not found
43 | #include <sys/soundcard.h>
| ^~~~~~~~~~~~~~~~~
../../../iodev/network/slirp/misc.cc:195:12: error: use of undeclared
identifier 'getdtablesize'; did you mean 'getpagesize'?
195 | for (s = getdtablesize() - 1; s >= 3; s--)
| ^~~~~~~~~~~~~
| getpagesize
/data/data/com.termux/files/usr/include/unistd.h:356:5: note:
'getpagesize' declared here
356 | int getpagesize(void) __INTRODUCED_IN(21);
| ^
The official documentation also suggests to use __ANDROID__ macro which
is defined by the compiler irrespective of included headers and build
system.
https://android.googlesource.com/platform/bionic/+/HEAD/docs/defines.md