Commit Graph

329 Commits

Author SHA1 Message Date
OBattler
85a63dd1d6 Always load HDD audio profiles at initialization. 2026-02-01 05:29:25 +01:00
OBattler
9b7b92622b Restructure LPT devices so that lpt_device_t is now only used internally while the exposed LPT devices are now regular device_t's. 2026-01-27 06:47:08 +01:00
OBattler
1c39c308b6 And get rid of the now useless s parameter. 2026-01-23 09:47:41 +01:00
OBattler
c065c61217 Also always make it MBX_INFO on Windows. 2026-01-23 09:46:15 +01:00
OBattler
656d777377 Help message: Always output to terminal on non-Windows platforms. 2026-01-23 09:43:48 +01:00
Alexander Babikov
e8d473af23 Add keybind for fast forward 2026-01-15 05:13:29 +05:00
Alexander Babikov
987f11ecf2 Add keybinds for all screenshot commands (unset by default) 2026-01-15 05:13:23 +05:00
OBattler
b857e809bf The actual code changes. 2026-01-10 02:25:25 +01:00
Miran Grča
110cdbdf9a Merge pull request #6672 from Domppari/hdd_audio_prototype
Support for HDD sound emulation
2026-01-04 21:42:11 +01:00
Domppari
b13e4c44b4 HDD audio profile for settings, ui and using the selected profile 2026-01-04 08:59:43 +02:00
Alexander Babikov
2b99bf64bd Merge machine_getname_ex into machine_getname 2026-01-01 22:27:41 +05:00
starfrost013
1739b8303c Get rid of some entirely unused video functions 2025-12-21 16:13:56 +00:00
RichardG867
401a9165ab Add one more AppImage asset path 2025-12-20 16:42:07 -03:00
RichardG867
34e835a4f0 Add an asset path within the AppImage (in case XDG_DATA_DIRS is not the AppImage default) 2025-12-20 16:07:20 -03:00
RichardG867
0f2ce37949 Add an asset path within the macOS app bundle 2025-12-19 21:39:10 -03: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