Commit Graph

178 Commits

Author SHA1 Message Date
Akamaki
ba1c24de18 Added IBM 5551-Bxx emulation 2026-02-09 01:43:44 +09:00
Cacodemon345
0f160acb68 Make internal floppy disk controller the default 2026-01-14 01:17:10 +06:00
Domppari
d35da5a5c1 Fixes recalibration not working correclty with audio profiles, even when no audio was selected. 2025-12-27 22:29:08 +02:00
Domppari
2afa0e7503 FDD Support for detecting if in BIOS POST test mode or normal operations mode. Used to change FDD audio samples for the drive to match real HW BIOS FDD POST test sounds. 2025-12-19 21:56:23 +02:00
OBattler
e140db7d14 Always take the PCjr path for 0-step seeks, fixes 1B/V3 without breaking 386BSD. 2025-11-29 06:40:53 +01:00
OBattler
55af553ac4 Fix floppy drive behavior, fixes floppy drives in turbo mode on some machines. 2025-09-29 20:19:51 +02:00
OBattler
4d35eee630 FDD: When a drive is set to turbo mode, keep it silent and bring back the fast seeks. 2025-09-29 00:15:40 +02:00
OBattler
fe0277c031 FDC: Fix a warning and the incorrect status flags. 2025-09-27 13:28:23 +02:00
Toni Riikonen
836f855683 Fixes #6220 floppy disk issues with OS/2 and NT 3.1 systems (#6232)
* 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.

* 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.

---------

Co-authored-by: Toni Riikonen <domppari@hotmail.com>
2025-09-27 04:51:38 -04: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
3c5190a0db Header cleanups (1/2) 2025-09-21 00:48:38 -04:00
RichardG867
25146643f9 Migrate remaining machine-specific checks from internal name to init function 2025-09-19 19:41:01 -03:00
OBattler
774a2fa951 FDC: Do not attempt to raise the IRQ if it is disabled. 2025-08-09 14:40:27 +02:00
OBattler
87c3765071 SM(S)C FDC73c93x and NSC PC87309 fixes. 2025-08-02 17:44:16 +02:00
OBattler
3ef7f82c78 FDC: Fix DOR FINTR disabling, fixes #5851. 2025-07-31 18:26:27 +02:00
OBattler
cbdfa32e65 Reset the FIFO and update its lengths on test mode set/reset, fixes #5702. 2025-06-25 05:42:50 +02:00
OBattler
a82bb4269f Added the Shottle HOT-433A eSupport BIOS. 2025-06-09 20:36:21 +02:00
Miran Grča
50516eb3d2 FDC poll: fix VERIFY opcode. 2025-06-02 10:39:33 +02:00
OBattler
455622492b All the required fixes - the Dell OptiPlex Gn+ now works correctly. 2025-05-21 20:49:54 +02:00
OBattler
76c3ad9868 Removed an excess logging line. 2025-05-18 08:18:18 +02:00
OBattler
7b9b2bc10d Some FDC, SM(S)C FDC37C66x, and VLSI VL82C480 changes. 2025-05-18 08:14:46 +02:00
OBattler
1eb4355d76 FDC: Remove an excess commented out line. 2025-05-17 03:16:52 +02:00
OBattler
d6338e42cc Significantly speed up floppy turbo mode when the FDC is using DMA. 2025-05-07 23:08:26 +02:00
OBattler
018bbfae43 SM(S)C FDC37C93x Super I/O chip rewrite, add the Acer V62x, and un-dev-branch the V-Tech Laser XT machines. 2025-05-05 05:11:55 +02:00
Cacodemon345
7901842c42 Write indicator for floppy drives
Write indicator is also properly contrasted on 5.25 floppy drives
2025-04-22 22:08:52 +06:00
Miran Grča
9592ac8904 Merge pull request #5422 from Cacodemon345/qt-hide-fdd-menus
Make sure that floppy icons and options do not appear if there's no floppy controller available
2025-04-01 21:26:17 +02:00
Cacodemon345
5e61b78b78 Make sure that floppy icons and options do not appear if there's no floppy controller available 2025-04-02 01:10:21 +06:00
OBattler
3e7f8a18de FDC: Initialize DRVRATE to 1 on the OKI IF386AX so that 1.25 MB floppies can be read on a 3.5" 3-mode drive. 2025-04-01 09:18:12 +02:00
MaxwellS04
a1996e7955 Readd XT and AT floppy controllers
They got removed during the addition of CompatiCard
2025-03-15 01:09:41 +07:00
Akamaki
2c78e7bb2f added comments 2025-02-18 22:46:18 +09:00
Akamaki
5314f519ad cleanup format 2025-02-17 00:11:33 +09:00
Akamaki
59c3bb794f revert wrapping changed in recent edits 2025-02-15 19:03:42 +09:00
Akamaki
db056e0b66 fixed a floppy drive access issue
It took a few hours that I noticed fdc.c decides the floppy drive type by the machine name.
2025-02-15 16:44:07 +09:00
Akamaki
16fc5e7902 corrected compile errors, removed garbage 2025-02-15 12:08:50 +09:00
Akamaki
aa7d5d2dc2 removed unused device decl 2025-02-15 11:49:26 +09:00
Akamaki
8ceec325ef Merge branch 'master' of https://github.com/86Box/86Box into 86Box-master 2025-02-15 09:02:14 +09:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
Jasmine Iwanek
abb066f6ef Initial Micro Solutions CompatiCard support 2025-01-12 00:41:17 -05:00
OBattler
e7f0974ab4 FDC: Do not clear disk changed status on DOR reset (DSKCHG is an input pin and the FDC can not change it), fixes #5003. 2024-12-08 01:55:27 +01:00
OBattler
75fda2f046 Fix FDC's on MCA IBM PS/2 machines fixes #4962. 2024-12-03 02:07:02 +01:00
OBattler
1e5f8f9d3f FDC: Fix initial condition on non-DMA writes, fixes #4785. 2024-09-02 19:33:13 +02:00
Akamaki
05e663a5c3 merged ps55 fdc with ps2 fdc 2024-08-23 09:34:26 +09:00
OBattler
d3160e21b4 Reverted an unnecessary change in floppy/fdc.c fixes #4727. 2024-08-18 03:39:39 +02:00
Akamaki
ee280e10f1 removed debug logging 2024-08-17 00:39:40 +09:00
Akamaki
7c5e82b2ab Added PS/55 fdc emulation, fixed a bug in MT read 2024-08-15 10:44:11 +09:00
OBattler
760c720352 Assorted FDC and PCjr video fixes, fixes #4659. 2024-07-28 01:00:58 +02:00
Jasmine Iwanek
7817336567 Use a define for max FDC's 2024-07-20 20:09:25 -04:00
Jasmine Iwanek
05e7d9239c Standardize fdc_type into fdc_current
Also make it into an array
2024-07-20 14:49:24 -04:00
Jasmine Iwanek
27c8bdd57e Less dummy devices 2024-07-19 16:57:11 -04:00