Back to Blog
Sblaster dosbox5/6/2023 ![]() ![]() */ 00037Ġ0038 /* FIXME: Sound Blaster 16 hardware has a FIFO between the ISA BUS and DSP. 00035 * 00036 * As usual, expect this to be a nf option -Jonathan C. 00030 * 00031 * Also noticed is that the DSP "nag" mode in my test program can interrupt 00032 * the SB16's DSP chip at the right time (with auto-init DMA) that it can 00033 * cause the DSP to drop a byte and effectively cause stereo left/right 00034 * swapping. 00025 * 00026 * I also noticed (related to this) that Creative's documentation only 00027 * lists using 0xB0/0xC0 for single-cycle playback, OR using 0xB6/0xC6 00028 * for autoinit playback, in other words either single-cycle without FIFO 00029 * or autoinit with FIFO. So, if you do very small DSP block single-cycle transfers 00023 * using the SB16 0xB0-0xCF DSP commands, the audio will play fast because 00024 * the last 16-32 samples are being skipped, effectively. 00017 */ 00018 /* TODO: I noticed a "bug" on a SB16 ViBRA where if you use single-cycle DMA 00019 * playback with DSP 4.xx commands with the FIFO enabled, the card seems 00020 * to buffer through the FIFO, play the block, and then when the DSP 00021 * block completes, doesn't play what remains in the FIFO and stops 00022 * immediately. 00013 * 00014 * You should have received a copy of the GNU General Public License along 00015 * with this program if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. See the 00012 * GNU General Public License for more details. ![]() 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00001 /* 00002 * Copyright (C) 2002-2020 The DOSBox Team 00003 * 00004 * This program is free software you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation either version 2 of the License, or 00007 * (at your option) any later version. ![]()
0 Comments
Read More
Leave a Reply. |