Added port hack to Gravis to aid in GUS detection
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1396
This commit is contained in:
parent
f9cb7aa8db
commit
4057f50057
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ static Bit8u read_p388(Bit32u port) {
|
|||
|
||||
static void write_p388(Bit32u port,Bit8u val) {
|
||||
regsel=val;
|
||||
|
||||
// The following writes this value to ultrasounds equivalent register.
|
||||
// I don't know of any other way to do this
|
||||
IO_Write(0x248,val);
|
||||
}
|
||||
|
||||
static void write_p389(Bit32u port,Bit8u val) {
|
||||
|
|
Loading…
Add table
Reference in a new issue