Commit Graph

13571 Commits

Author SHA1 Message Date
Volker Ruppert
48824a452b Partly fixed Cirrus PCI issues found with Windows 3.11 driver.
Implemented byte swapping apertures for word and dword in mem_write_handler().
This fixes missing / unreadable text in 8 bpp and 16 bpp modes.
TODO: 4 bpp and 24 bpp issues with this driver.
2024-09-13 18:00:04 +02:00
Volker Ruppert
bfebb17b9d Fixed Voodoo3 issue found with Diablo II game (#349).
If front and back buffer addresses are identical, 'video_changed' flag must be set.
2024-09-11 16:29:40 +02:00
Volker Ruppert
f5e3dd9dce Added JSR and RET functions to CMDFIFO (Voodoo2/Banshee/Voodoo3). 2024-09-08 20:52:40 +02:00
Volker Ruppert
79c820e7b1 win32 gui: fixed dimension_update() for 15 bpp modes. 2024-09-08 07:01:26 +02:00
Volker Ruppert
9c57f1d211 Banshee / Voodoo3: Attempt to fix issue #337.
Use real resolution to perform address wrap check.
2024-09-05 12:50:29 +02:00
Stanislav Shwartsman
ea8d06b97e update msrs.def to avoid Windows boot dealing with these MSRs 2024-09-01 23:00:08 +03:00
Stanislav Shwartsman
5d2d4220b7 fixed err message format string 2024-09-01 22:33:11 +03:00
Stanislav Shwartsman
de278480fa XSAVEC/XSAVES: Fixed corruption of MXCSR/x87 state by SSE state save in XSAVEC/XSAVES instructions (bug introduced in release 2.8)
added explicit BX_ERROR message into bochs log when MXCSR restore error occur
2024-09-01 21:34:01 +03:00
Stanislav Shwartsman
af8e6c08ad djust indentation 2024-08-31 20:13:23 +03:00
Stanislav Shwartsman
8d6ac222fe update CHANGES with CPU fixes done 2024-08-31 17:44:43 +03:00
Stanislav Shwartsman
67b83db1d2 fixed implementation of SHA1RNDS4 instruction 2024-08-31 17:29:10 +03:00
Volker Ruppert
0138ad4114 ES1370: fixing status register access makes mixer work (#336). 2024-08-25 10:53:50 +02:00
Volker Ruppert
a6ceeb7cd1 Fixed initializing of USB debugger options.
It should not segfault if no USB HC option is used before.
2024-08-23 21:25:34 +02:00
Stanislav Shwartsman
a05f9c85d3 rename:
float16_t -> float16
  float32_t -> float32
  float64_t -> float64
to fix compilation issues under Android as mentioned in issue #300

also fix bug f16_getExp method
2024-08-22 08:55:56 +03:00
Volker Ruppert
e2823889de Fixed some MSVC warnings. 2024-08-21 11:11:59 +02:00
Volker Ruppert
0f738ed4ba Fixed crash of Windows 98 SE setup with BIOS-bochs-latest (issue #334).
Ported some lines of ACPI code from SeaBIOS.
2024-08-13 16:57:31 +02:00
Volker Ruppert
7ad9aa5292 Some work on the USB debug dialogs.
- 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.
2024-08-11 22:43:52 +02:00
Volker Ruppert
7260750f91 Some work on the GTK USB debug dialogs.
- Added register view dialog support for xHCI ports.
- Improved UHCI debug dialog (TODO: tree view, save to controller).
2024-08-04 22:25:56 +02:00
Volker Ruppert
96709fbcef Fixed some MSVC warnings. 2024-08-04 14:45:52 +02:00
Volker Ruppert
6f42e05b6e Added register view dialog for the GTK USB debugger (UHCI only).
Edited register values cannot be saved to controller yet.
Some optimizations in the USB debug dialog code.
2024-08-04 10:02:30 +02:00
Volker Ruppert
8355802af7 Added basic GTK version of the USB debug dialog for xHCI.
Treeview, additional dialogs and editable registers are not implemented yet.
Some optimizations in the USB debug dialog code.
2024-08-01 21:04:26 +02:00
Volker Ruppert
aecb10e9ae Some small changes in the win32 USB debug dialog code. 2024-07-27 21:34:59 +02:00
Volker Ruppert
0e44bb735a Update gui debugger memory dump window on break if necessary. 2024-07-26 22:49:31 +02:00
Volker Ruppert
5cc8e7b7ad Update gui debugger memory dump window on refresh request, 2024-07-26 18:36:46 +02:00
Volker Ruppert
05dd2200cb GTK debugger gui: fixed compilation error with GTK2.
Prepared GtkGrid support (Disabled - not yet working correctly).
2024-07-21 17:21:11 +02:00
Volker Ruppert
41be8ac1e7 GTK gui debugger: fixed some more GTK 3.0 deprecated warnings.
Added new code for the GTK3 case (TODO: GtkTable stuff).
2024-07-19 18:42:49 +02:00
Volker Ruppert
5c4f964b40 Fixed some issues related to the GTK version of the gui debugger.
- 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).
2024-07-16 20:45:43 +02:00
Volker Ruppert
400b8a2419 Set USB debug dialog title depending on trigger type. 2024-07-16 16:36:43 +02:00
Volker Ruppert
9415313a49 Two configure script changes for the USB debugger.
- Only use GTK 2.0 if needed by wxWidgets, otherwise use GTK 3.0.
- Set minimum GTK version for the USB debug dialog to 3.0.
2024-07-14 21:12:32 +02:00
Volker Ruppert
858a9a5147 Added basic GTK version of the USB debugger dialog.
- 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.
2024-07-14 18:18:34 +02:00
Volker Ruppert
b4f6a4a828 Added stub for the GTK version of the USB debugger.
- 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.
2024-07-07 18:05:24 +02:00
Volker Ruppert
bdd6b25db5 USB debugger: Fixed compilation with Bochs debugger also enabled. 2024-07-06 19:45:20 +02:00
Volker Ruppert
938c2ba307 USB debugger: Renamed configure option and config.h macro.
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.
2024-07-06 18:48:14 +02:00
Volker Ruppert
2717e90d58 USB debugger: Moved platform independant stuff to separate files. 2024-07-05 23:53:00 +02:00
Volker Ruppert
d8a955b035 Don't panic if usb_debug_trigger() is called from other than selected HC type. 2024-07-04 22:56:07 +02:00
Volker Ruppert
b4d4b62dc1 Some work on the USB debugger code.
- Moved USB debugger API defines to siminterface.h.
- EHCI companions now also can enable the USB debugger.
- Removed obsolete hack from ohci_core.h.
2024-07-04 20:04:40 +02:00
Volker Ruppert
3dab500147 In bx_init_usb_options() only add options matching the HC type. 2024-07-02 20:41:21 +02:00
Volker Ruppert
0f6b74e940 Replaced deprecated function CreateStatusWindow() in win32.cc.
Cleaned up definition of _WIN32_IE.
FIXME: statusbar not correctly shown when running bochs.exe with Wine.
2024-06-30 19:02:38 +02:00
Volker Ruppert
69215cb1e0 Some changes for wxBochs.
- 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.
2024-06-29 17:47:05 +02:00
Volker Ruppert
41a7f241ed Fixed a warning. 2024-06-29 06:46:20 +02:00
Volker Ruppert
dc05bec7e3 Improved USB debugger toolbar handling.
- 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.
2024-06-28 22:04:14 +02:00
Volker Ruppert
c0706da40c Improved USB debugger toolbar handling.
- 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.
2024-06-28 14:11:15 +02:00
Volker Ruppert
3b826875f6 Improved wxWidgets toolbar functionality.
- Added floppy A/B and cdrom1 "ejected" XPM files.
- Renamed "cdromd" bitmaps to "cdrom1".
- Return pseudo bitmap and header IDs for implementing replace_bitmap() feature.
- Update mouse capture mode in specific_init() if necessary.
2024-06-25 19:11:20 +02:00
Volker Ruppert
84b613d3c0 Compilation fix for wxMSW. 2024-06-23 19:50:30 +02:00
Volker Ruppert
cefedbd440 Some more wx toolbar changes.
- Added XPM file for disabled mouse capture.
- Added method for toggling toolbar bitmaps and use it for the mouse button.
- Some small tooltip changes.
2024-06-23 18:38:14 +02:00
Volker Ruppert
b8d2f1572c Changed order of buttons and some tooltips in wx toobar. 2024-06-23 10:39:54 +02:00
Volker Ruppert
919abc8dec Documentation update after USB debugger option changes. 2024-06-21 17:50:04 +02:00
Volker Ruppert
1d556fd1de Some works on USB debugger option handling.
- Now using parameter format "property=value" like most of the Bochs options.
- Save USB debugger options if present.
2024-06-20 22:59:11 +02:00
Volker Ruppert
ccdfbc64ad Changing define to _WIN32 fixes USB debugger resource with MSVC. 2024-06-18 23:00:48 +02:00
Volker Ruppert
e83d8bd5e3 Rewrite of the USB debugger code for wxWidgets support.
MSVC plugins version now also compiles with USB debugger enabled.
TODO: MSVC builds still fail to show USB debugger dialog.
2024-06-17 23:03:29 +02:00