Commit Graph

13367 Commits

Author SHA1 Message Date
Stanislav Shwartsman 3b79ca3fbf no point in building traces if not allowed to execute them 2024-03-16 10:00:59 +02:00
Stanislav Shwartsman 9ef4aaaaf6 further optimization for mode when debugger is off 2024-03-16 10:00:59 +02:00
Stanislav Shwartsman 3666f924de correct condition for MergeTraces (only when no debugger active) 2024-03-16 10:00:59 +02:00
Stanislav Shwartsman f47fc4e6f8 change a little configure.ac to force merge of new configure script
(resolve chmod issue, no exe permissions)
2024-03-16 10:00:59 +02:00
Stanislav Shwartsman b54a067b8b fix to debugger code 2024-03-16 10:00:59 +02:00
Stanislav Shwartsman 26f8539acc added ability to enable debugger in the same binary as regular optimized run
unfortunatelly doesn't work with all optimizations yet
2024-03-16 10:00:59 +02:00
Stanislav Shwartsman 9fa35f4596
convert to softfloat3e several floatx80 uses (#278) 2024-03-15 22:53:48 +02:00
Justin Moore aac6dd5d13
Bump `BIOSROMSZ` to 4M to accommodate OVMF (#284)
OVMF is 4 megabytes by default, so in order to avoid customizing their
build process we'll want to accommodate a 4M BIOS in Bochs.
2024-03-15 19:26:56 +01:00
Volker Ruppert a3ff473642 Modified softfloat3e Makefile to fix compüilation with MSVC nmake.
Since GNU make and MSVC nmake need special rules for compiling this module that
causes failure with the other 'make' variant, the configure script needs to
comment out incompatible rules. Using symbols GNU_MAKE_ONLY and NMAKE_ONLY to
enable only one of the rulesets only.
Since one of the MSVC nmake rules uses curly brackets the shortcut script
.conf.win64-vcpp needs to be modified to exclude cpu/softfloat3e/Makefile
from removal of these usually unwanted characters.
2024-03-15 18:55:18 +01:00
Vort c2891e5ff6
Fix Windows 11 boot, #280 (partial revert of b24bf1d) (#285) 2024-03-15 18:02:07 +02:00
Volker Ruppert 4b0c9a711f Continued work on developer docs. 2024-03-15 14:39:48 +01:00
Benjamin David Lunt 2314cbcfe1
wheel mouse button (#282)
If not in wheel-mouse mode, don't report the wheel button event
2024-03-13 21:14:05 +02:00
Volker Ruppert 7d037af569 Fixed compilation of USB debugger if the win32 gui is not present. 2024-03-13 17:03:21 +01:00
Stephen Kitt fe7b4b4fcb
Stub the bxInstrument_c class too (#281)
The instrument stub needs this, otherwise

./configure --enable-instrumentation && make

fails because bxInstrument_c isn't declared.

Signed-off-by: Stephen Kitt <steve@sk2.org>
2024-03-13 06:53:35 +02:00
Volker Ruppert 667e885b2e Started updating the documentation after transition to GIT.
- Website repository is now GIT, but still hosted on SF.
- Creating SVN snapshot section is now obsolete.
- Prepared Makefile for compiling outside of the source tree.
2024-03-12 19:11:04 +01:00
Volker Ruppert 57ea1bad99 Fixed compilation outside of the source tree.
To implement this, softfloat3e needs a Makefile created by configure script
to set up the real SOURCE_DIR.
TODO: Fix compilation with MSVC nmake (Makefile line 278 fails).
2024-03-11 21:46:12 +01:00
Vort 4b07de86c7
Fix cross compilation (#279) 2024-03-11 10:09:51 +02:00
Stanislav Shwartsman 5a7224fc9f remove SOFTFLOAT_ROUND_ODD rounding mode which not needed for x86 emu 2024-03-10 20:36:38 +02:00
Vort f31b115e20
Add static link support for bxhub and bximage (#277) 2024-03-10 17:23:13 +02:00
Stanislav Shwartsman d350c008e2
add softfloat3e library to Bochs to replace old softfloat2 (to get fp… (#259)
…16 support)

with a lot of my updates, cleanups and extensions for x86 features like
denormal and/or undeflow/overflow handling

---------

Co-authored-by: Stanislav Shwartsman <sshwarts@users.sourceforge.net>
2024-03-10 17:10:55 +02:00
Stanislav Shwartsman b80ddeebf6 fix CHANGES after 2.8 2024-03-10 16:46:27 +02:00
Benjamin David Lunt 557976bee1
Initial start of the USB Debugger (#165)
This is the start of the Experimental USB Debugger (currently for the
Windows platform only).

Currently only supports the UHCI and xHCI controllers. The remaining
function of these two controllers and the two remaining controllers are
in the works and will be added to when time allows.

The User.dbk has been updated with (temporary) html files at
https://www.fysnet.net/bochs/user/index.html showing the process to
invoke and use the USB debugger (Section 5.8).

In its completion, this debugger will allow you to view and modify most
aspects of the specified USB controller. For example, currently you can
view and modify a TRB listed in the xHCI's Command or Event Ring. Other
aspects will be added.

I do not use and am not fluent in the use of `configure`,
`configure.ac`, and associated configuration files. I also don't use the
`gui/Makefile.in` file.

Someone that is more fluent in the way these files work, please add the
necessary items to successfully compile this PR.

---------

Co-authored-by: Shwartsman <stanislav.shwartsman@intel.com>
2024-03-10 13:05:41 +02:00
Volker Ruppert 167bc2f450 Fixed a warning. 2024-03-10 10:33:37 +01:00
Vort c782a837a2
Build Windows binaries with GitHub Actions (#167)
This change allows to build cross-compiled Windows binary with the help
of GitHub Actions.
It can make testing and bug hunting tasks easier.

Co-authored-by: Volker Ruppert <Volker.Ruppert@t-online.de>
2024-03-10 10:29:54 +01:00
Volker Ruppert 09778e275d Updated version number after release. 2024-03-10 09:45:03 +01:00
Volker Ruppert 9177c93e4e Preparing Bochs release 2.8. 2024-03-10 07:59:37 +01:00
Volker Ruppert ead3c2e3f6 Renamed flag VER_SVN to VER_DEV and related changes. 2024-03-09 20:18:25 +01:00
Volker Ruppert 908a876290 Added packages for SDL2, ALSA, vncsrv and docbook support. 2024-03-09 18:59:00 +01:00
Volker Ruppert 114e3d4aef I hope changing dot to minus fixes release workflow. 2024-03-09 18:10:48 +01:00
Volker Ruppert 04a0803324 Attempt to fix release workflow / Fixed a warning in standard workflow. 2024-03-09 18:01:21 +01:00
Volker Ruppert f34df21662 Remove the unwanted *.la files before building the file list.
RPM version >= 4.17 deletes those files so we have to make sure that they are
not in the list.
2024-03-09 17:45:24 +01:00
Volker Ruppert 3fbf474b9d Attempt to fix the libdir issue when compiling with plugins on Ubuntu.
This change may not fix the RPM build failure in release workflow.
2024-03-09 14:11:53 +01:00
Volker Ruppert 1307853e13 VVFAT: Fixed short name genaration in case base name length is > 8. 2024-03-06 17:09:34 +01:00
Volker Ruppert 2990c09fdc Updated LGPL'd VGABIOS to version 0.9a. 2024-03-03 19:51:23 +01:00
Volker Ruppert a30d446d37 Reverted previous commit - release workflow still fails. 2024-03-02 09:04:05 +01:00
Volker Ruppert 348cb05b38 Temporarily disable plugins support for release build script testing. 2024-03-02 08:52:30 +01:00
Shwartsman 7317a8d305 upgrade upload-artifact@v3 -> v4 2024-03-01 19:04:57 +02:00
Shwartsman 7b42a7848d update make_rpm script for configure.ac 2024-03-01 18:45:17 +02:00
Shwartsman a714860aa8 attempt to add build-release workflow for github 2024-03-01 18:41:10 +02:00
Volker Ruppert a92cbdd946 Banshee/Voodoo3: Lock buffer swapping while rendering screen.
This should fix issue #264.
2024-02-25 15:53:48 +01:00
Volker Ruppert 62fe299545 Update CHANGES. 2024-02-25 11:24:27 +01:00
Volker Ruppert be3e664dff Allow setting disabled parameters in the bochsrc / command line stage.
Dependencies should work completely in the config interface stage and coherency
check should be done in device init. This change should make the oder of parameters
in bochsrc / command line less strict (issue #263).
2024-02-25 11:08:11 +01:00
Stanislav Shwartsman 3ff8fd5cd7 merge FCOMPP and FUCOMPP to same method to reduce code duplication 2024-02-20 07:22:58 +02:00
Volker Ruppert e31e42a4c8 Update CHANGES. 2024-02-19 18:10:28 +01:00
Volker Ruppert 662fb097fe Erase BIOS flash space in case the specified image file is not found.
Disable loading flash data feature for the current Bochs BIOS.
2024-02-19 17:52:52 +01:00
Benjamin David Lunt 2c4fcc7981
Changed = to ==
Changed = to ==
I think this was a simple mistake and since there was no way to test it until now, it didn't show up.
2024-02-19 09:18:16 +02:00
Volker Ruppert 4455da0e1b Perform win32 gui internal palette swapping only in case of a bpp change. 2024-02-18 18:20:49 +01:00
Volker Ruppert abdbc52f22 Finally enabled the VGA_MEM_FIX code.
The legacy code could be removed after release Bochs 2.8 if there are no issues.
2024-02-18 11:03:31 +01:00
Volker Ruppert 171697da03 Fixed save/restore with debugger enabled. 2024-02-17 09:23:39 +01:00
Volker Ruppert cc162522bb Fixed compilation with VGA_MEM_FIX not set. 2024-02-17 08:59:00 +01:00