Commit Graph

13537 Commits

Author SHA1 Message Date
Volker Ruppert
ca8c9936b9 Debugger gui: Added support for using ini file from BXSHARE path.
If BXSHARE variable is defined (or BX_SHARE_PATH set in Windows registry)
and an existing ini file is copied to this location, the gui will use it
instead of the local ini file (issue #195).
TODO: Specify the ini file priority with an addition to the 'gui_debug'
parameter of the display library option.
2024-03-25 20:08:02 +01:00
Volker Ruppert
187411e25f In shortcut script .conf.linux added support for enabling debugger.
The debugger now can be enabled without setting CONFIGURE_ARGS.
To turn it on use

./.conf.linux normal debugger

or

./.conf.linux plugins debugger
2024-03-25 19:50:06 +01:00
Volker Ruppert
9daf6e9f50 Updated most of the user doc after transition to GIT / GitHub. 2024-03-25 17:53:04 +01:00
Volker Ruppert
e9c66051bd Fixes from Debian package of Bochs 2.8.
- Use macro PKG_PROG_PKG_CONFIG to detect pkg-config.
- Removed obsolete file from Makefile.in.
2024-03-24 19:49:22 +01:00
Volker Ruppert
1fcb27f55d Don't include links from /usr/lib/.build-id in binary RPM package. 2024-03-24 18:33:20 +01:00
Volker Ruppert
78c5b21313 Some NSIS script additions and developer doc updates. 2024-03-24 16:51:56 +01:00
Volker Ruppert
b9c0cb6d6f Check for GTK3 if GTK2 is not found.
This is required by the GTK-based enhanced debugger gui.
2024-03-24 09:38:12 +01:00
Volker Ruppert
5a129be330 NSIS Makefile fixes. 2024-03-23 17:07:03 +01:00
Volker Ruppert
21428f1abb Fixed some warnings when running autoconf 2.71. 2024-03-23 15:39:25 +01:00
Volker Ruppert
7f5b9e08d7 Update CHANGES 2024-03-23 13:55:39 +01:00
Volker Ruppert
7cd532db9a Removed legacy libltdl code and force using system libltdl instead. 2024-03-23 12:02:56 +01:00
Volker Ruppert
8a81eebedb Don't enable USB debugger automatically if plugin support is enabled.
The current code of the USB debugger doesn't meet the requirements for compiling
with plugins present. It should not access devices directly but use the parameter
tree instead.
Don't include USB debugger resources if not present.
2024-03-23 07:32:50 +01:00
Volker Ruppert
542a3f9b6a MSVC workspaces: Added new USB debugger files to gui.vcxproj.
Renamed USB EHCI and USB UHCI folders in plugin workspace files.
Attempt fix plugin version for compiling with Bochs debugger / USB debugger.
FIXME: USB debugger doesn't link yet.
2024-03-22 20:23:38 +01:00
Volker Ruppert
012860f593 Finished work on the MSVC workspace files.
Fixed IntDir / OutDir settings in remaining project files.
Removed obsolete defines required by ancient FPU emulator.
2024-03-21 18:13:59 +01:00
Volker Ruppert
a9d2e8f419 Some more work on the MSVC workspace files.
Don't generate debug information for release builds (plugin DLLs).
2024-03-20 18:19:40 +01:00
Shwartsman
3fa94f758a PR "check for both UHCI and OHCI when enabling EHCI #291" with configure support 2024-03-19 22:11:49 +02:00
Volker Ruppert
9d9d5b22eb Some work on the MSVC workspace files.
Don't generate debug information for release builds.
Fixed some of the "OutDir" settings.
TODO: review all "OutDir" settings, debug information in plugin DLLs.
2024-03-19 19:32:00 +01:00
Volker Ruppert
27e0ccb500 Added missing references to softfloat3e. 2024-03-18 22:11:48 +01:00
Volker Ruppert
b5070d0d6f Updated MSVC workspace for Bochs with plugin support. 2024-03-18 21:32:42 +01:00
Benjamin David Lunt
4e378cbcf2
check the nps bit before operating on the psm bit (#290)
The PSM bit is only valid if NPS = 0 and a few other minor additions and
syntax fixes
2024-03-18 07:04:31 +02:00
Benjamin David Lunt
e3274339e2
Allow BX_SHARE_PATH to be used in BIOS paths (#288)
This allows the Window's Environment variable BX_SHARE_PATH to be used
in paths within your bochsrc file.

Environment variable:
`BX_SHARE_PATH`
Value:
`D:\some\path`

Before:
`romimage: file=D:/some/path/bios/BIOS-bochs-latest`
After:
`romimage: file=$BXSHARE/bios/BIOS-bochs-latest`

Please note that I don't know why the parameter was initially empty. Was
this to catch a base/default parameter?
If the `lpValueName` parameter is NULL or an empty string, Windows will
return a (possibly non-existent) default value.
With this PR, we specify the actual parameter of `BX_SHARE_PATH`.
2024-03-18 07:03:07 +02:00
Benjamin David Lunt
d94445257e
add spaces and correct alignment to source (#289) 2024-03-18 06:58:49 +02:00
Volker Ruppert
7e9d9c16e8 Adding reference to softfloat3e.lib fixes building Bochs with VS2019.
TODO: Update plugins workspace.
2024-03-17 20:53:16 +01:00
Volker Ruppert
a5a992c792 VGA_MEM_FIX: Removed legacy VGA code and VGA_MEM_FIX definition. 2024-03-17 15:58:27 +01:00
Volker Ruppert
9fbaadd894 Started updating the standard workspace for MSVC.
Updated AVX and FPU project files to make them compile. Added new project file
for the softfloat3e module. With the current version the softfloat3e.lib is created,
but it doesn't link with bochs.exe, so the build fails with more than 100 unresolved
externals. Manually linking on the MSVC command line using the created *.lib and *.obj
files works and bochs.exe is usable. I still haven't found out why linking from
the IDE fails.
TODO: After fixing this issue, updating the plugins workspace should be no problem.
2024-03-17 14:19:03 +01:00
Stanislav Shwartsman
8f7df199b9
convert floatx80_round_to_int to softfloat3e (#287)
Co-authored-by: Stanislav Shwartsman <sshwarts@users.sourceforge.net>
2024-03-16 19:08:44 +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