Commit Graph

41 Commits

Author SHA1 Message Date
Jasmine Iwanek
8ac8461dd3 Header cleanups (2/2) (#6275) 2025-10-04 03:40:32 +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
OBattler
87c3765071 SM(S)C FDC73c93x and NSC PC87309 fixes. 2025-08-02 17:44:16 +02:00
OBattler
455622492b All the required fixes - the Dell OptiPlex Gn+ now works correctly. 2025-05-21 20:49:54 +02:00
OBattler
7b9b2bc10d Some FDC, SM(S)C FDC37C66x, and VLSI VL82C480 changes. 2025-05-18 08:14:46 +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
Akamaki
8ceec325ef Merge branch 'master' of https://github.com/86Box/86Box into 86Box-master 2025-02-15 09:02:14 +09:00
Akamaki
466bcc68b4 update header files
I forgot updating header files
2025-02-15 08:09:43 +09:00
OBattler
42098efa6d And the forgotten fdc.h. 2024-12-03 02:07:32 +01:00
Akamaki
a241a3ae8f added/updated headers 2024-08-15 10:54:08 +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
7ce119dcba Fix flags in fdc.h 2024-07-07 18:56:22 -04:00
OBattler
fb267d1f8b Fix the DP8473 FDC flags, closes #4538. 2024-06-13 19:01:57 +02:00
OBattler
fed171ff4d IBM PS/1 Model 2121 FDC fix. 2024-04-18 03:50:48 +02:00
OBattler
e2018775d5 Implement correct DSR behavior, fixes #3715. 2024-03-03 18:19:00 +01:00
OBattler
f6c66248e0 Moved the FDC FIFO implementation to fifo.c/h, fixes a few length masking bugs in fifo.c, and fixed FDC MSR register RQM bit behavior in DMA mode, which makes 386BSD work, fixes #530. 2024-02-25 08:13:45 +01:00
OBattler
4f392ca8e3 SM(S)C FDC37C669 Super I/O chip rewrite and proper FDC power down behavior, fixes floppy drive errors on the new Daeweoo machine. 2024-01-07 01:42:34 +01:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
Jasmine Iwanek
2857655f6e Add tertiary and quaternary FDC options + improvements to monster FDC 2023-02-03 00:37:20 -05:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
b2e70ff4f3 Add secondary XT and AT fdc types
(Currently unused)
2022-10-27 12:19:51 -04:00
Jasmine Iwanek
ae4f9aedaa clang-format in src/include/86box/ 2022-09-18 17:22:54 -04:00
OBattler
ee6eee6810 ALi M5123 in sio.h. 2022-07-23 03:10:46 +02:00
Jasmine Iwanek
547fccccc6 Less magic numbers in FDC 2022-01-26 16:56:29 -05:00
OBattler
c35b7e21ba And the forgotten fdc.h. 2021-09-17 02:42:52 +02:00
OBattler
03fdcf7a9e The Tandy machines now add a FDC with port 3F7 with the disk change line, fixes #1340. 2021-04-06 06:18:56 +02:00
Panagiotis
3d5072dab2 Implemented the Magitronics B215 Jumper Readout
Also added a preliminary UMC 8398
2021-02-08 18:01:43 +02:00
Panagiotis
1290fdb065 Few more changes on the DTK FDC's
DP8473 now uses the correct flags.
Included few notes related to the DTK FDC.
2021-01-31 13:09:42 +02:00
RichardG867
86feb28064 Add FDC DMA remapping on VT82C686 Super I/O 2020-10-22 17:45:31 -03:00
OBattler
795a6017d2 PIC rewrite, proper SMRAM API, complete SiS 471 rewrite and addition of 40x, 460, and 461, changes to mem.c/h, disabled Voodoo memory dumping on exit, bumped SDL Hardware scale quality to 2, bumped IDE/ATAPI drives to ATA-6, finally bumped emulator version to 3.0, redid the bus type ID's to allow for planned ATAPI hard disks, made SST flash set its high mappings to the correct address if the CPU is 16-bit, and added the SiS 401 AMI 486 Clone, AOpen Vi15G, and the Soyo 4SA2 (486 with SiS 496/497 that can boot from CD-ROM), assorted 286+ protected mode fixes (for slightly more accuracy), and fixes to 808x emulation (MS Word 1.0 and 1.10 for DOS now work correctly from floppy). 2020-10-14 23:15:01 +02:00
OBattler
96428c2bda More minor floppy changes. 2020-06-23 18:48:16 +02:00
OBattler
4563ce7822 Minor FDC changes. 2020-06-20 22:34:51 +02:00
TC1995
c2840cf6cb Fixed the UI for the external FDC. 2020-06-16 16:33:36 +02:00
TC1995
a77c88addf Added external Floppy disk controller support. 2020-06-16 16:25:23 +02:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00