Reply 200 of 932, by FreddyV
wrote:Mod Master conflicts with Tandy Card at 0C0h on 386.
If i set the Card to 1E0h it works just fine.
You mean your tandy card ?
There is probably something wrong with it, as no I/O are supposed to be done at these @
I added a code to detect the Tandy DAC, but it is doing only read/Write to a registry, I use a standard detection code.
And the R/W are not done if no Tandy BIOS is present.... Really strange.
Here is the code:
PROCEDURE TDY_DetectDAC; Assembler;AsmMOV AX,8100hINT 1AhCMP AX,00C4h {Detect the Tandy DAC BIOS }JNE @DACDETECT_NODACMOV DX,TDY_Port_FreqLIN AL,DXMOV CL,AL { Save de Port Value }XOR AX,AX { Write 0 to the Port }OUT DX,ALIN AL,DXOR AL,AL { Read and Compare }JNZ @DACDETECT_NOPortNOT AX { Write 0FFh to the Port }OUT DX,AXIN AX,DXNOT AXJNZ @DACDETECT_NOPortMOV AL,CL { Restore the Value }OUT DX,ALMOV TDY_Type,2 { Found -> 2 }JMP @DACDETECT_End@DACDETECT_NOPort:MOV AL,CL { Restore the Value }OUT DX,ALMOV TDY_Type,1 { Only IRQ Found : 1}JMP @DACDETECT_End@DACDETECT_NODAC:MOV TDY_Type,0 { Not Found -> 0 }@DACDETECT_End:End;
Do you mean that due to this, it mess up the sound with other sound devices ?