Commit Graph

24 Commits

Author SHA1 Message Date
OBattler
0055af732a Increase MAX_IMAGE_PATH_LEN to 4096 bytes (to fix that config.c warning) and make sure all file name arrays are of that length (no more hardcoded 512 or 1024). 2025-12-22 23:33:56 +01:00
Domppari
42e0fb6726 Enhance FDD audio support for BIOS POST mode:
- Implement detection of BIOS vendor and corresponding audio samples for seek operations.
- Add support for loading and playing POST mode seek samples based on BIOS vendor.
- Reset seek state on FDD close and reset functions.
2025-12-21 22:45:16 +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
Toni Riikonen
6e090318f1 Setting default seek time (10ms) for fdd seeks, as 0ms seek time causes issues on some OS'ses. Also enabled to use seek-times defined for fdd audio profile "None". 2025-12-14 13:43:42 +02:00
Toni Riikonen
a2fe28e6df Limit audio profile selection to the identical tracks. 40 track audio profiles for 40 track drives, 80 track profiles to 80 track drives. 2025-11-03 21:48:11 +02:00
Toni Riikonen
954640bb94 Removed commented code.
Returned total_track in configration
2025-10-01 21:07:23 +03:00
Toni Riikonen
9ff459f1f5 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. 2025-10-01 15:49:49 +03:00
Toni Riikonen
2763ea5ad3 Teac 5.25" drive samples added. Added per drive audio selection to FDD settings. 2025-09-21 23:00:16 +03:00
Toni Riikonen
a6066051c5 Menu options to enable / disable fdd sound for all drives.
DISABLE_FDD_AUDIO definition added, to disable the feature via cmake/build.
2025-09-14 09:21:55 +03:00
OBattler
c6dfd688f4 Split off the CRC code to its own module. 2025-02-15 07:09:14 +01:00
OBattler
e11b5535e1 Fixed some CD-ROM commands not stopping audio play when they should have (fixes data playing as audio, producing nasty artifacts, in some games), and increased the media history for all drive types from 4 to 10, also refactored cdrom_read_sector() and moved the last module-wide variables into the cdrom_t struct. 2025-01-30 08:15:39 +01:00
Jasmine Iwanek
3a0ddc2087 More linting in src/include/86box 2023-08-23 04:15:58 -04:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04: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
OBattler
e44b69220f Numerous Olivetti M24 and M240 fixes. 2022-11-19 04:34:14 +01:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
4901e89e51 Port fdd_is_hd() from mtrr branch
Currently disabled as unused
2022-11-05 21:41:55 -04:00
cold-brewed
97a99f70e3 qt: Add floppy support to media history manager 2022-10-01 17:39:03 -04:00
Jasmine Iwanek
ae4f9aedaa clang-format in src/include/86box/ 2022-09-18 17:22:54 -04:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
616a8501b5 Moved floppy writeback call to fdc_poll_readwrite_finish(), in order to have the track written less often (no need to write it on every sector). 2020-06-29 02:19:05 +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