Fixed a compile-breaking error;

Added the ability to set each floppy drive to turbo speed which will make it opperate at an effective 8000 kbps @ 300 rpm, for those who want faster but less accurate floppy timings.
This commit is contained in:
OBattler
2017-06-04 02:14:27 +02:00
parent 224368b791
commit fa174b79b2
11 changed files with 135 additions and 13 deletions

View File

@@ -6,6 +6,7 @@
#include <stdint.h>
#include <stdio.h>
#include "../ibm.h"
#include "../device.h"
#include "../io.h"
#include "../pic.h"
#include "../dma.h"
@@ -515,7 +516,7 @@ void sb_exec_command(sb_dsp_t *dsp)
sb_add_data(dsp, dsp->sb_asp_regs[dsp->sb_data[0]]);
break;
case 0xF8:
if (dsp->sb_type < SB16) break;
if (dsp->sb_type >= SB16) break;
sb_add_data(dsp, 0);
break;
case 0xF9:

View File

@@ -28,7 +28,7 @@
#include "snd_opl.h"
#include "snd_adlib.h"
#include "snd_adlibgold.h"
#include "snd_pas16.h"
/* #include "snd_pas16.h" */
#include "snd_sb.h"
#include "snd_sb_dsp.h"
#include "snd_wss.h"
@@ -62,7 +62,9 @@ static SOUND_CARD sound_cards[] =
{"Sound Blaster AWE32", "sbawe32", &sb_awe32_device},
{"Adlib Gold", "adlibgold", &adgold_device},
{"Windows Sound System", "wss", &wss_device},
#if 0
{"Pro Audio Spectrum 16", "pas16", &pas16_device},
#endif
{"", "", NULL}
};