Commit Graph

315 Commits

Author SHA1 Message Date
OBattler
528649b2f2 Bring back RichardG's recompiler changes. 2025-12-17 19:33:29 +01:00
OBattler
54322a7ece Revert RichardG's recompiler changes from build 8136 due to too many regressions, a way to bring them back with fewer regressions will be looked into for 6.0. 2025-12-17 19:12:56 +01:00
OBattler
6a6ef6e652 86box.c: Fix two static variable declarations, fixes warnings when compiled with CLang. 2025-12-15 11:23:59 +01:00
RichardG867
791daafceb Dynarec: Force interpreter on pages that undergo excessive invalidation, improves % on TES Daggerfall and potentially other self-modifying code 2025-12-13 16:45:04 -03:00
OBattler
e57ab1ec6d Added the key bind for the new toolbar button, defaults to Ctrl+Alt+I. 2025-12-05 15:04:14 +01:00
OBattler
12e64495a7 The forgotten local asset paths and fix the QT asset paths again. 2025-11-28 01:39:58 +01:00
OBattler
3e8a62c5c6 Implemented the infrastructure for the non-ROM assets to go with the new repository. 2025-11-28 01:32:58 +01:00
Alexander Babikov
e1b7579f9d Properly separate Qt and SDL UI codepaths in update_mouse_msg()
Also drop the related hack for non-Windows platforms in qt_mainwindow.cpp
2025-11-26 21:29:54 +05:00
OBattler
e40bed7cd3 Apply it to 86box.c. 2025-11-25 00:13:00 +01:00
nelsonhef
63f565c821 Change the order of "Toggle UI in fullscreen" keybind and add it to POT and PO files 2025-11-21 11:29:43 -03:00
Thraka
8d8d5708f5 Move variable declaration out of plat to general 2025-11-16 17:51:24 -08:00
Thraka
316e14d5de Add option to show UI while in fullscreen 2025-11-15 23:18:11 -08:00
OBattler
f81c293485 And I forgot a missing fraction (and vid_svga.h). 2025-11-05 03:04:49 +01:00
OBattler
57349bedd3 Make the % fraction-less again. 2025-11-02 00:48:57 +01:00
Valerio
5a226e463a merge master 2025-10-26 11:14:52 +01:00
Toni Riikonen
0beb22722a Configurable FDD sound emulation timings (#6263)
* Initial spindle emulation working for windows atleast

* Spingle motor spin-up, spin-down implemented with smooth transitions to motor-on loop.

* Moved fdd audio emulation to a separate file

* Multiple drives sound emulation

* Single sector movement sound emulations implemented

* Rename project to Immersive86Box and update details

Updated README to reflect the new project name and added details about the Immersive86Box features and future plans.

* Revise contribution guidelines in CONTRIBUTING.md

* Update vulnerability reporting instructions

* System fan-sound next feature after basic fdd sound emulation is ready

* v0.5 multitrack audio seek sfx

* Removed unnecessary stuff

* no .vs folder for git

* Added currently used fdd sound effects and readme.txt for source of the files and intallation instructions

* Add audio emulation installation instructions

Added instructions for audio emulation installation.

* Code and audio samples merged

* Simplify audio emulation installation instructions

* FDC seeking fixed, not instant anymore drive is set to busy during the operation and when it's finished at call fdc to set the appropriate fdc flags.

Also added time logic to fdd to calculate seek duration and a callback function for it.

* FDD sound samples volume control

* Menu options to enable / disable fdd sound for all drives.
DISABLE_FDD_AUDIO definition added, to disable the feature via cmake/build.

* Revert readme etc. changes

* Revert "Revise contribution guidelines in CONTRIBUTING.md"

This reverts commit 98a0478225.

* Revert "Update vulnerability reporting instructions"

This reverts commit 7d32cb659b.

* Fixed merge issue

* Removed excess files

* Fixed PCJr seeking not to break the FDC implementation. Now seeking will take the "correct" amount of time for each system and the seek time is based on the track count. E.g. 40 track FDD system causes 40 track seek time to be 80/40 * 6ms * 40 tracks + 50ms = 480ms + 50ms -> 530ms.

80 track system full seek is 80/80 * 6ms * 80 + 50ms = 530ms, 40 track seek would take 240 + 50 = 290ms.

* Fixed PS/1, PS/2 and PS/55 FDD issues.

* FDD_AUDIO: Updating samples looked in executablePath/samples and if now found there, looks in the executable directory

* Updated installation instructions

* Removed samples path strcat use

* fdd_audio 5.25 samples and support added

* FDD audio timing/volume tunings

* Timing fixes for authentity and special longer timings for PCJr

* Fixed second drive motor keeps running when first drive is only accessed.

* Fixed PCJr random failure issue, timings

* CodeQL fix for load_wav-function. Check the filename to be proper filename

* Revert "Fixed second drive motor keeps running when first drive is only accessed."

This reverts commit 307b173ae7.

* Teac 5.25" drive samples added. Added per drive audio selection to FDD settings.

* Fixed merge issue

* Fixed readme to include only Mitsumi samples under CC-BY license

* Fixes merge problem

* Fixes #6220: OS/2 Warp 3.0 install disk issue and NT 3.1 floppy disk issues. Changed the fdc->stat bit to 0x10 which states fdc busy. Previous implementation with seek time 0, set the ready flag 0x80 immediadely - which was correct for that time, but now as the drive is busy during seek, the value should 0x10. Implemented a backup for fdd commands during fdd seek to be processes after the seek is completed.

* Fixed FDD reset

* Floppy disk audio now gets settings from fdd_audio_profiles.cfg stored in roms/floppy -directory. Floppy settings audio seledtions are also populated by the settings from this config.

* Changed samples per track, not seek_duration_per_track

* Removed commented code.
Returned total_track in configration

* Fixed CodeQL errors

---------

Co-authored-by: Toni Riikonen <domppari@hotmail.com>
2025-10-01 21:07:23 +02:00
Toni Riikonen
1859e7cf68 Floppy disks sound emulation prototype for reviewing (#6166)
* Initial spindle emulation working for windows atleast

* Spingle motor spin-up, spin-down implemented with smooth transitions to motor-on loop.

* Moved fdd audio emulation to a separate file

* Multiple drives sound emulation

* Single sector movement sound emulations implemented

* Rename project to Immersive86Box and update details

Updated README to reflect the new project name and added details about the Immersive86Box features and future plans.

* Revise contribution guidelines in CONTRIBUTING.md

* Update vulnerability reporting instructions

* System fan-sound next feature after basic fdd sound emulation is ready

* v0.5 multitrack audio seek sfx

* Removed unnecessary stuff

* no .vs folder for git

* Added currently used fdd sound effects and readme.txt for source of the files and intallation instructions

* Add audio emulation installation instructions

Added instructions for audio emulation installation.

* Code and audio samples merged

* Simplify audio emulation installation instructions

* FDC seeking fixed, not instant anymore drive is set to busy during the operation and when it's finished at call fdc to set the appropriate fdc flags.

Also added time logic to fdd to calculate seek duration and a callback function for it.

* FDD sound samples volume control

* Menu options to enable / disable fdd sound for all drives.
DISABLE_FDD_AUDIO definition added, to disable the feature via cmake/build.

* Revert readme etc. changes

* Revert "Revise contribution guidelines in CONTRIBUTING.md"

This reverts commit 98a0478225.

* Revert "Update vulnerability reporting instructions"

This reverts commit 7d32cb659b.

* Fixed merge issue

* Removed excess files

* Fixed PCJr seeking not to break the FDC implementation. Now seeking will take the "correct" amount of time for each system and the seek time is based on the track count. E.g. 40 track FDD system causes 40 track seek time to be 80/40 * 6ms * 40 tracks + 50ms = 480ms + 50ms -> 530ms.

80 track system full seek is 80/80 * 6ms * 80 + 50ms = 530ms, 40 track seek would take 240 + 50 = 290ms.

* Fixed PS/1, PS/2 and PS/55 FDD issues.

* FDD_AUDIO: Updating samples looked in executablePath/samples and if now found there, looks in the executable directory

* Updated installation instructions

* Removed samples path strcat use

* fdd_audio 5.25 samples and support added

* FDD audio timing/volume tunings

* Timing fixes for authentity and special longer timings for PCJr

* Fixed second drive motor keeps running when first drive is only accessed.

* Fixed PCJr random failure issue, timings

* CodeQL fix for load_wav-function. Check the filename to be proper filename

* Revert "Fixed second drive motor keeps running when first drive is only accessed."

This reverts commit 307b173ae7.

* Teac 5.25" drive samples added. Added per drive audio selection to FDD settings.

* Fixed mistake in samples folder recreation

---------

Co-authored-by: Toni Riikonen <domppari@hotmail.com>
2025-09-22 01:03:07 +02:00
Jasmine Iwanek
f3f2068d1a VFIO - Virtual Function I/O
Co-Authored-By: richardg867 <540874+richardg867@users.noreply.github.com>
2025-09-21 18:02:46 -04:00
Valerio Vitali
ba5db694f8 Merge branch '86Box:master' into unix_ods 2025-09-14 19:05:09 +02:00
starfrost013
a44ad7e776 Remove 32-bit core dynarec 2025-09-14 15:50:01 +01:00
RichardG867
ccc5c3aec1 Fix strncpy warnings 2025-09-13 17:05:30 -03:00
RichardG867
d92112fa2d Add "screenshot mode" compile flag to round % and Hz displays 2025-09-13 17:00:15 -03:00
Alexander Babikov
6f99d565e1 Manager: Pass certain command-line params to VMs 2025-09-13 23:45:31 +05:00
Valerio
606b9aca3d other fixes, cd and floppy load 2025-09-13 12:23:11 +02:00
Cacodemon345
4f81c12b81 Add ability to switch color scheme from system default on Windows 2025-08-28 14:34:39 +06:00
OBattler
fb8854e430 Make the long name of -X correctly --clear and not --clearboth. 2025-08-27 21:00:12 +02:00
Cacodemon345
18cdab52ac Port remaining PCem OpenGL renderer features 2025-08-27 13:01:55 +06:00
Cacodemon345
74e3c83bed Custom EDIDs 2025-08-26 01:42:59 +06:00
David Hrdlička
89d1a2406b Normalize EXE path before ensuring a slash
Fixes exe_path ending up with two slashes at the end on Windows
2025-08-24 21:37:17 +02:00
David Hrdlička
f153ad5877 Add log message when running in portable mode 2025-08-24 21:36:35 +02:00
David Hrdlička
15c1a7e04a Use an actual buffer for portable mode detection lol 2025-08-24 21:36:12 +02:00
David Hrdlička
e042d5212a Implement logic for enabling portable mode 2025-08-24 21:01:32 +02:00
David Hrdlička
156d6f8bc8 Add provisions for portable mode to global dir functions 2025-08-24 20:49:16 +02:00
OBattler
9a7d63650b Fixes for CLang-specific warnings. 2025-08-24 01:11:54 +02:00
David Hrdlička
a61d6fe0b8 Only show the translocation warning when trying to load a config from EXE path 2025-08-23 20:42:12 +02:00
Jasmine Iwanek
b04d9e1b06 Clean up some tabs to spaces 2025-08-22 21:58:42 -04:00
Jasmine Iwanek
03006ca078 More progress towards 2nd gameport support 2025-08-22 21:58:42 -04:00
Alexander Babikov
ec080ef34a vmm_path is no longer temporary 2025-08-22 19:44:48 +05:00
David Hrdlička
5e808ea740 Save global config on load 2025-08-21 20:01:18 +02:00
David Hrdlička
0ec66d5f88 Copy vmm_path to usr_path when manager is enabled 2025-08-21 19:55:10 +02:00
David Hrdlička
1a84f452ee Fix logs 2025-08-21 19:48:36 +02:00
David Hrdlička
12a8229b90 Fix build again 2025-08-21 17:41:23 +02:00
David Hrdlička
341b1a52a6 Fix -E argument; add ifdefs for SDL 2025-08-21 17:17:52 +02:00
David Hrdlička
b111b66949 Enable manager by default 2025-08-21 16:57:02 +02:00
David Hrdlička
979d772ffe Add global config toggle for built-in manager 2025-08-21 15:28:32 +02:00
OBattler
e560cf92d1 Fix a typo. 2025-08-19 21:05:12 +02:00
OBattler
58d3073775 Added the option to force constant mouse updating. 2025-08-19 21:03:09 +02:00
Alexander Babikov
c6a75fa693 Fully split off global and local config file loading 2025-08-17 16:44:17 +05:00
OBattler
1670ae1cfa Rename the global configuration file to 86box_global.cfg. 2025-08-16 18:57:07 +02:00
Alexander Babikov
05120bfb70 Split off ROM set checking from pc_init_modules()
Everything else isn't needed for the manager
2025-08-15 03:35:05 +05:00