Skip to content

Support for HDD sound emulation#6672

Merged
OBattler merged 7 commits into
86Box:masterfrom
Domppari:hdd_audio_prototype
Jan 4, 2026
Merged

Support for HDD sound emulation#6672
OBattler merged 7 commits into
86Box:masterfrom
Domppari:hdd_audio_prototype

Conversation

@Domppari

@Domppari Domppari commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Support for HDD sound emulation for multiple HDD drives simultaneosly. Currently only available drive is IBM H3171, 3600 RPM from 1993. Plays spindle spinup, spinning and spindown samples and seek samples. Spindown not tested.

To enable the feature, get the latest assets (with IBM drive samples and new configuration file).
In the settings, select the drive speed to 3600 RPM and then select IBM from the audio dropdown box.

Checklist

Comment thread src/disk/hdd_audio.c
return;
}

profiles_ini = ini_read_ex(cfg_fn, 1); /* lgtm[cpp/path-injection] */

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This argument to a file access function is derived from user input (an environment variable) and then passed to ini_read_ex(fn), which calls plat_fopen(path), which calls fopen(__filename).
This argument to a file access function is derived from user input (an environment variable) and then passed to ini_read_ex(fn), which calls plat_fopen(path), which calls fopen(__filename).
This argument to a file access function is derived from user input (an environment variable) and then passed to ini_read_ex(fn), which calls plat_fopen(path), which calls fopen(__filename).
This argument to a file access function is derived from user input (an environment variable) and then passed to ini_read_ex(fn), which calls plat_fopen(path), which calls fopen(__filename).
This argument to a file access function is derived from user input (an environment variable) and then passed to ini_read_ex(fn), which calls plat_fopen(path), which calls fopen(__filename).
This argument to a file access function is derived from user input (a command-line argument) and then passed to ini_read_ex(fn), which calls plat_fopen(path), which calls fopen(__filename).
@OBattler OBattler merged commit 110cdbd into 86Box:master Jan 4, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants