Added the CMD640 (but the associated PB520R is not yet properly done, needs the 82091AA, so it's disabled until I implement it), fixed initialization of the IDE registers on the SMSC southbridge, bumped up the number of emulated serial ports to 4 (was 2), and added the ability to properly have multiple W83977's on a single machine.
This commit is contained in:
@@ -1040,7 +1040,10 @@ piix_reset_hard(piix_t *dev)
|
||||
fregs[0x09] = 0x80;
|
||||
fregs[0x0a] = 0x01; fregs[0x0b] = 0x01;
|
||||
if (dev->type == 5) {
|
||||
fregs[0x10] = fregs[0x14] = fregs[0x18] = fregs[0x1c] = 0x01;
|
||||
fregs[0x10] = 0xf1; fregs[0x11] = 0x01;
|
||||
fregs[0x14] = 0xf5; fregs[0x15] = 0x03;
|
||||
fregs[0x18] = 0x71; fregs[0x19] = 0x01;
|
||||
fregs[0x1c] = 0x75; fregs[0x1d] = 0x03;
|
||||
}
|
||||
fregs[0x20] = 0x01;
|
||||
if (dev->type == 5) {
|
||||
|
||||
Reference in New Issue
Block a user