VOGONS


First post, by 8bitbubsy

User metadata
Rank Member
Rank
Member

The title says it all. The reason I want to detect if an authentic card is being used, is because the clones seem to have a time constant limit of 233 (43kHz) instead of 234 (45kHz).
I want to achieve the maximum audio quality possible in my program code. 😀

386:
- CPU: 386DX-40 (128kB external L1 cache)
- RAM: 8MB (0 waitstates at 40MHz)
- VGA: Diamond SpeedSTAR VGA (ET4000AX 1MB ISA)
- Audio: SB Pro 2.0 + GUS 1MB
- ISA PS/2 mouse card + ISA USB card
- MS-DOS 6.22 + Win 3.1
- MR BIOS

Reply 1 of 2, by mkarcher

User metadata
Rank l33t
Rank
l33t
8bitbubsy wrote on 2024-04-04, 16:57:

The title says it all. The reason I want to detect if an authentic card is being used, is because the clones seem to have a time constant limit of 233 (43kHz) instead of 234 (45kHz).
I want to achieve the maximum audio quality possible in my program code. 😀

Well, that one is easy to do: Just play a sufficiently long amount of silence samples that you can measure whether the card operates at 43kHz or 45kHz when you try to set 45kHz. As this is nearly 5% difference, the measurement shouldn't be that difficult to get precise enough.

Reply 2 of 2, by 8bitbubsy

User metadata
Rank Member
Rank
Member

Not a bad idea, I'll consider implementing that using the PIT timer to time it.

386:
- CPU: 386DX-40 (128kB external L1 cache)
- RAM: 8MB (0 waitstates at 40MHz)
- VGA: Diamond SpeedSTAR VGA (ET4000AX 1MB ISA)
- Audio: SB Pro 2.0 + GUS 1MB
- ISA PS/2 mouse card + ISA USB card
- MS-DOS 6.22 + Win 3.1
- MR BIOS