More ViBRA 16XV fixing - DIAGNOSE 4.05 now successfully sets high DMA.
This commit is contained in:
@@ -158,6 +158,7 @@ static uint8_t sb_16_pnp_rom[] = {
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
// #define ENABLE_SB_LOG 1
|
||||
#ifdef ENABLE_SB_LOG
|
||||
int sb_do_log = ENABLE_SB_LOG;
|
||||
|
||||
@@ -936,6 +937,15 @@ sb_ct1745_mixer_write(uint16_t addr, uint8_t val, void *priv)
|
||||
}
|
||||
break;
|
||||
|
||||
case 0xff:
|
||||
if (sb->dsp.sb_type >= SBAWE32) {
|
||||
if (val & 0x20)
|
||||
sb_dsp_setdma16(&sb->dsp, 4);
|
||||
else
|
||||
sb_dsp_setdma16(&sb->dsp, val & 0x07);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user