Reply 200 of 930, 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;
Asm
MOV AX,8100h
INT 1Ah
CMP AX,00C4h {Detect the Tandy DAC BIOS }
JNE @DACDETECT_NODAC
MOV DX,TDY_Port_FreqL
IN AL,DX
MOV CL,AL { Save de Port Value }
XOR AX,AX { Write 0 to the Port }
OUT DX,AL
IN AL,DX
OR AL,AL { Read and Compare }
JNZ @DACDETECT_NOPort
NOT AX { Write 0FFh to the Port }
OUT DX,AX
IN AX,DX
NOT AX
JNZ @DACDETECT_NOPort
MOV AL,CL { Restore the Value }
OUT DX,AL
MOV TDY_Type,2 { Found -> 2 }
JMP @DACDETECT_End
@DACDETECT_NOPort:
MOV AL,CL { Restore the Value }
OUT DX,AL
MOV 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 ?