Commit Graph

12990 Commits

Author SHA1 Message Date
Volker Ruppert
89bfe81834 wx: Added support for gui options parser and gui debugger global ini. 2024-04-28 07:37:28 +02:00
Stanislav Shwartsman
632d8780de rewrite code for biasing unmasked underflow for floatx80 in softfloat3e (from hack to clean code) 2024-04-28 06:41:47 +03:00
Volker Ruppert
805bb6b985 Added structure for gui options and zero it out in constructor. 2024-04-27 23:06:02 +02:00
Stanislav Shwartsman
9d84b1086f fixed missing IPS in the status bar
the gui_hide_ips variable was never initialized :(
same for gui_nokeyrepeat and many others, fixed only what I knew ...
2024-04-27 10:00:23 +03:00
Stanislav Shwartsman
247aca0956 implement VMX SUPPORT FOR THE IA32_SPEC_CTRL MSR announced in 319433-052
bugfix: "shadow stack prematurely busy" secondary vmexit control was wrongly mapped into bit2 insetad of bit3
2024-04-27 09:44:48 +03:00
Volker Ruppert
c6b7961799 Some more work on builtin slirp - no functional changes yet.
Added all of the SlirpCb and SlirpConfig structures from libslirp.
2024-04-26 22:40:12 +02:00
Stanislav Shwartsman
ab884f3dd4 fix compilation for AND Ryzen CPUID model 2024-04-26 22:15:34 +03:00
Stanislav Shwartsman
690bae9a12 add fields and bits for newly announced x86 features and vmx state 2024-04-26 22:13:08 +03:00
Stanislav Shwartsman
a565f9a754 implement Flexible UIRET (AKA UIRET_UIF) announced in 319433-052 2024-04-26 21:53:03 +03:00
Stanislav Shwartsman
69fa93e75b implement MONITORLESS MWAIT support (announced in 319433-052)
rework CPUDB classes to avoid code duplication for MONITOR/MWAIT leaf
2024-04-26 21:29:53 +03:00
Volker Ruppert
c5fd56558f Builtin slirp: compilation fixes for VS2019 and Cygwin.
- VS2019 needs C++20 standard to be set.
- Some Cygwin related additions in util.cc.
- slirp_ssize_t definition and usage fixed.
- changed include position of compat.h in slirp.h.
2024-04-25 21:10:48 +02:00
Stanislav Shwartsman
971576e32f FXRSTOR/XRSTOR: do not change x87 state if restore of entire state cannot be completed 2024-04-25 19:57:38 +03:00
Stanislav Shwartsman
2047d6eb7a remove fpu/softfloat16.h 2024-04-25 12:36:27 +03:00
Stanislav Shwartsman
5c90a08af0 fixes for softfloat3e compilation after include reorg 2024-04-25 12:18:44 +03:00
Stanislav Shwartsman
1255a0c585 remove fpu/softfloat.h, reduce include deprendencies, fix warnings
regenerate dep lists in all Makefile.in
2024-04-25 11:50:48 +03:00
Stanislav Shwartsman
7eb5766611 resurrect incorrectly removed variables 2024-04-25 10:14:11 +03:00
Stanislav Shwartsman
f6b12ee71b remove softfloat-macros.h 2024-04-25 10:09:04 +03:00
Stanislav Shwartsman
00810f3054 remove more unused constructs left from softfloat2 2024-04-25 10:00:48 +03:00
Stanislav Shwartsman
9fb4382668 fixed compilation 2024-04-25 08:31:18 +03:00
Volker Ruppert
8c81464156 Updated builtin slirp TFTP support from libslirp code.
Added most of ip6.h, util.c and util.h files (except glib stuff).
Related changes in several files.
2024-04-24 22:55:03 +02:00
Stanislav Shwartsman
0c12c4fd83 move float128 definition to different include file to reduce #include dependencies 2024-04-24 22:52:40 +03:00
Stanislav Shwartsman
c21a2d616f remove old softfloat2 data types, fully transition to new ones 2024-04-24 22:39:29 +03:00
Stanislav Shwartsman
b2d6d34178 fixed compilation with 3dnow enabled 2024-04-24 21:48:53 +03:00
Stanislav Shwartsman
dc7291be75 fix Makefile after renamed include 2024-04-24 21:39:22 +03:00
Stanislav Shwartsman
a1be887ad8 more transition to new softfloat code 2024-04-24 21:35:55 +03:00
Stanislav Shwartsman
744d0b4fc0 more transition to new softfloat code 2024-04-24 20:57:23 +03:00
Stanislav Shwartsman
9778d78494 artificially reduce float128 precision as x86 hardware uses only 67-bit 2024-04-24 16:08:19 +03:00
Stanislav Shwartsman
39237c3eb5 fix compilation - remove deleted include reference from Makefile 2024-04-24 09:49:11 +03:00
Stanislav Shwartsman
807ae1f04c remove f128_sqrt unused for Bochs 2024-04-24 09:25:26 +03:00
Stanislav Shwartsman
0e686801a5 small coding style change 2024-04-24 09:24:10 +03:00
Stanislav Shwartsman
57e44a2d98 fix makefile 2024-04-24 09:23:03 +03:00
Stanislav Shwartsman
8383260781 small fix for performance 2024-04-24 09:03:37 +03:00
Stanislav Shwartsman
3e4a966a2f remove floatx80_mul with float128 argument (use float128 instead)
this let's to remove completely softfloat-round-pack.cc and softfloatx80.cc
2024-04-23 21:34:29 +03:00
Volker Ruppert
7e3edfe7d9 Continued updating builtin slirp from libslirp code.
- Updated arp_table.cc (except debug code).
- Updated bootp.cc (Bochs extensions still present).
- Related changes in other files.
2024-04-21 20:35:27 +02:00
Volker Ruppert
aa529a42f6 Fixed slirp compilation issues related to inet_aton(). 2024-04-21 13:13:36 +02:00
Volker Ruppert
f1259413fb Continued work on builtin slirp networking support.
- Modified info / error log message handling.
- Renamed insque / remque functions using "slirp_" prefix.
- Removed useless SVN ID from most file headers and add license specifier instead.
2024-04-21 11:27:51 +02:00
Volker Ruppert
fa5c5ebe88 Started updating builtin slirp from libslirp code (callback support).
Added callbacks send_packet() and clock_get_ns().
2024-04-19 22:18:29 +02:00
Volker Ruppert
1d1e15ecb8 Update VS2019 workspace files. 2024-04-19 19:24:27 +02:00
Volker Ruppert
a290ce33e0 Builtin slirp now also returns "local" as the domain name.
Some other cleanups in bootp_reply().
2024-04-18 18:08:00 +02:00
Volker Ruppert
4c7e3d6f2f Fixed size of TFTP option reply. 2024-04-16 20:23:32 +02:00
Volker Ruppert
0f6287b592 Applied suggested fix for slirp TFTP support to fix issue #305. 2024-04-16 17:54:59 +02:00
Stanislav Shwartsman
c70bcbf5e9 rewrite fprem.cc using functions from softfloat3e
preparing to eliminate softfloat2 completely
2024-04-15 13:41:33 +03:00
Torinde
8757c36e1c
Update cpuid.cc - label and abbreviation corrections SMX, MPX (#301)
Memory Protection Extensions - add MPX abbreviation

SMX: Secure Virtual Machine Technology - bit6 is for SMX, but [it's
meaning](https://en.wikipedia.org/wiki/CPUID) is Safer Mode Extensions
(part of TXT). Not Secure Virtual Machine Technology (which is already
listed elsewhere as SVM).
2024-04-15 09:00:58 +03:00
Stanislav Shwartsman
42db7b64ce simplifications in softfloat3e code 2024-04-14 22:14:12 +03:00
Volker Ruppert
e4978addd1 bximage: added simple partition table viewer to the info function.
The code is based on parts of the SF patch "bxmount".
2024-04-14 18:15:52 +02:00
Volker Ruppert
5376f129ee Some work on the slirp networking code.
- Added support for optional TFTP server name in builtin slirp and libslirp.
- Added default domain name for libslirp.
2024-04-14 11:04:01 +02:00
Volker Ruppert
55d7488be6 Some work for libslirp networking support on Windows.
Added inet_aton() function (missing on Windows) from builtin slirp code.
TODO: update builtin slirp code based on libslirp 4.70 code.
2024-04-14 01:01:20 +02:00
Stanislav Shwartsman
738dfa1a12 move more stuff to softfloat3e style 2024-04-13 19:04:33 +03:00
Volker Ruppert
155fc74d30 Some work on the libslirp networking support.
- Added capability to turn on IPv6 support with slirp.conf option (using default
  QEMU settings for now / non-Windows platforms only).
- Added some basic timer code required by IPv6 based on example code.
2024-04-13 10:18:38 +02:00
Volker Ruppert
0ff2905998 Added support for using external slirp library instead of builtin one.
- Added configure option --enable-using-libslirp to turn on the search for the
  library. In config.h BX_HAVE_LIBSLIRP is set to 1 if found. The network Makefile
  is set up accordingly. If not enabled or not found, the builtin slirp code is used.
- Moved samba server code and host forwarding code to eth_slirp.cc.
- Modified builtin slirp API to reduce differences.
- NOTE: IPv6 support present in libslirp is not yet enabled (needs more testing).
- TODO: Update builtin slirp code based on libslirp 4.7.0 code.
2024-04-07 19:57:25 +02:00
Biswapriyo Nath
e1d67d9ce0
Fix checking Android platform with __ANDROID__ macro (#299)
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
2024-04-06 23:18:01 +02:00
Volker Ruppert
c1f93f0c94 Added PCM recording support using the PulseAudio simple API. 2024-04-01 21:29:55 +02:00
Volker Ruppert
6e4a4fcef3 Updated VS2019 workspace files. 2024-04-01 14:23:28 +02:00
Volker Ruppert
2979ba4b3a Lowlevel sound support: Attempt to fix issue #270.
If resampler is not present, flush output before changing PCM parameters.
2024-04-01 10:31:51 +02:00
Volker Ruppert
78ce6be17d Fixed compilation of vncsrv gui in Cygwin. 2024-04-01 09:01:27 +02:00
Volker Ruppert
d345dc85dd Enable PulseAudio support for more platforms, but not yet for Windows.
On Windows PulseAudio uses pthreads which seem to be in conflict with the native
Windows threads used by Bochs.
2024-04-01 00:23:23 +02:00
Stanislav Shwartsman
3657e40437 convert FSCALE to softfloat3e style 2024-03-31 15:24:12 +03:00
Volker Ruppert
6ac761894c Added lowlevel sound output support using the PulseAudio simple API.
TODO: PulseAudio also supports sound recording and it's portable (Windows).
2024-03-31 13:19:43 +02:00
Stanislav Shwartsman
725aa43b9c fix extern 2024-03-30 19:44:14 +03:00
Stanislav Shwartsman
7c1a23037a convert FEXTRACT to softfloat3e style
remove more softfloat2 code which is not in use anymore
2024-03-30 19:35:08 +03:00
Volker Ruppert
ba1a0441ab Setting GTK version number in config.h fixes GTK3 compilation.
GTK3 forbids to include gtkversion.h directly.
2024-03-30 16:59:06 +01:00
Stanislav Shwartsman
c91b7bf117 convert float128 uses to softfloat3e
remove more now unused softfloat2 stuff
2024-03-30 15:36:43 +03:00
Volker Ruppert
110bb94e3a Updated VS2019 project files after latest softfloat3e changes. 2024-03-30 12:48:22 +01:00
Volker Ruppert
e58f9b46f6 BXSHARE: For backward compatibility read default value from registry
key if BX_SHARE_PATH doesn't exist.
2024-03-30 12:28:25 +01:00
Volker Ruppert
676eb9f37d Added support for showing X dialog box when parsing options.
Changed init order to: XInitThreads(), XOpenDisplay(), SIM->set_notify_callback()
and then parse display library options.
2024-03-30 11:11:07 +01:00
Volker Ruppert
1924cd457e Gui options parser: Don't panic after showing error message box. 2024-03-30 08:05:53 +01:00
Volker Ruppert
51a73a00e8 Fixed compilation error with minimal configuration. 2024-03-29 20:29:58 +01:00
Volker Ruppert
ed20d44090 Added new gui method parse_common_gui_options().
Simplified gui option handling with it in sdl, sdl2, win32 and x11 guis.
The sdl and sdl2 guis now also support "gui_debug:globalini".
2024-03-29 20:12:41 +01:00
Stanislav Shwartsman
6d4f132977 remove now unused function 2024-03-29 20:14:13 +03:00
Stanislav Shwartsman
c372a77392 tab2space 2024-03-29 20:13:57 +03:00
Stanislav Shwartsman
a04ec3716a better handling of denormal in extF80_rem 2024-03-29 16:23:15 +03:00
Stanislav Shwartsman
af18912529 GTK debugger: Set GTK_DISABLE_DEPRECATED only for GTK 2.
The current code fails to compile otherwise with GTK 3.
(was accidentially removed by prev commit)
2024-03-29 16:04:17 +03:00
Stanislav Shwartsman
eef84bbbfc fixed warnings 2024-03-29 16:02:11 +03:00
Stanislav Shwartsman
446408eb74 remove redundant files from softfloat3e source code 2024-03-29 16:00:22 +03:00
Volker Ruppert
1bbd4ed535 Added gui debugger option extension "globalini" fur the win32 and x11 guis.
Use this display library line to read/write ini from BXSHARE path:

display_library: x, options="gui_debug:globalini"

NOTE: Using $BXSHARE at this point doesn't work yet since the common parser code
expands the variable and Bochs finally exits with a panic (needs to be reviewed).

TODO: Add shared parser code for all guis and add this feature for SDL, SDL2 and
wxWidgets guis.
2024-03-29 10:40:59 +01:00
Volker Ruppert
aff2b42203 Added panic for legacy BIOS if there is no VGA ROM at C000:0000h.
This is a workaround for issue #155.
2024-03-28 18:55:04 +01:00
Volker Ruppert
504f68e6bd Fixed warnings in the GTK debugger code. 2024-03-27 17:33:19 +01:00
Volker Ruppert
44d644c2c2 Some more user doc updates and updating Bochs website URL. 2024-03-26 19:36:12 +01:00
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
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
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
7b42a7848d update make_rpm script for configure.ac 2024-03-01 18:45:17 +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
Volker Ruppert
9e6d839caa VGA_MEM_FIX: Force a refresh of the text buffer on mode change and restore. 2024-02-17 08:53:25 +01:00
Volker Ruppert
75d76db967 Cirrus: Added support for 4-bpp VBE modes with original VGABIOS. 2024-02-16 14:23:56 +01:00
Benjamin David Lunt
e4d8ca494f
Update usb_ehci.cc (#271)
No reason to stop executing the Async list simply because the driver
didn't clear the IAA bit in the Status register.

Normally, a driver should clear it, but there is no instruction in the
specification to stop the Async list simply because this bit isn't
cleared.

Debug log is still present to inform the user.

Co-authored-by: Volker Ruppert <Volker.Ruppert@t-online.de>
2024-02-15 16:53:29 +01:00
Volker Ruppert
1ff88fdd05 VGA_MEM_FIX: Added text buffer in legacy format to simplify text update.
Using character / attribute pairs expected by the gui text update makes the
update code simpler and faster.
TODO: If possible add a buffer for active text font data.
2024-02-13 17:38:52 +01:00
Shwartsman
7b5fb0b749 AVX-512 VREDUCE* should never raise #Denormal, #Overflow or #Underflow 2024-02-12 21:15:43 -06:00
Volker Ruppert
57d38ffb86 VGA_MEM_FIX: Added memory size mask to fix planar VGA modes. 2024-02-12 22:12:34 +01:00
Volker Ruppert
117f71a185 VGA_MEM_FIX: Some odd/even mode changes for correctness.
Offset must be shifted left by 2 instead of 1.
Even offset writes can go to plane 0 and 2, odd ones to plane 1 and 3.
2024-02-12 16:58:38 +01:00
Volker Ruppert
30c1e74627 VGA_MEM_FIX: Next attempt to fix odd/even mode related issues.
Now using the sequencer 'odd/even disable' switch to determine mode.
2024-02-11 17:11:48 +01:00
Volker Ruppert
549d052e34 VGA_MEM_FIX: Picked a better name for the sequencer odd/even disable switch. 2024-02-11 14:49:12 +01:00