there are two programs that i used to use to get doom and duke3d to work fully in windows xp.
vdmsound - basically a full sound emulator for the command prompt.
cli2nop is some sort of patching program that i assume converts win9x commands to winNT. what it really does or where it comes from? nobody knows. but it works
the combination of these two should get it to work correctly