Added the LG IBM Multinet i x7G (MSI MS-6119), fixed the ASUS P2B-LS, and some SiS 551x fixes.

This commit is contained in:
OBattler
2024-01-03 23:48:27 +01:00
parent 9ab1957d72
commit 2aa7c1f3de
5 changed files with 88 additions and 23 deletions

View File

@@ -659,12 +659,13 @@ pit_read_reg(void *priv, uint8_t reg)
break;
case 0x07:
/* The SiS 551x datasheet is unclear about how exactly
this register is structured. */
this register is structured.
Update: But the SiS 5571 datasheet is clear. */
ret = (dev->counters[0].rm & 0x80) ? 0x01 : 0x00;
ret = (dev->counters[0].wm & 0x80) ? 0x02 : 0x00;
ret = (dev->counters[1].rm & 0x80) ? 0x04 : 0x00;
ret = (dev->counters[1].wm & 0x80) ? 0x08 : 0x00;
ret = (dev->counters[2].rm & 0x80) ? 0x10 : 0x00;
ret = (dev->counters[1].rm & 0x80) ? 0x02 : 0x00;
ret = (dev->counters[2].rm & 0x80) ? 0x04 : 0x00;
ret = (dev->counters[0].wm & 0x80) ? 0x08 : 0x00;
ret = (dev->counters[1].wm & 0x80) ? 0x10 : 0x00;
ret = (dev->counters[2].wm & 0x80) ? 0x20 : 0x00;
break;
}