mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 10:28:19 -07:00
More changes
This commit is contained in:
@@ -11,8 +11,10 @@
|
||||
*
|
||||
*
|
||||
* Authors: Miran Grca, <mgrca8@gmail.com>
|
||||
* Tiseno100
|
||||
*
|
||||
* Copyright 2020 Miran Grca.
|
||||
* Copyright 2022 Tiseno100.
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
@@ -919,7 +921,7 @@ acpi_reg_write_intel_ich2(int size, uint16_t addr, uint8_t val, void *p)
|
||||
break;
|
||||
|
||||
case 0x28: case 0x29:
|
||||
/* GPE0_STS—General Purpose Event 0 Status Register */
|
||||
/* GPE0_STS - General Purpose Event 0 Status Register */
|
||||
dev->regs.gpsts &= ~((val << shift16) & 0x09fb);
|
||||
break;
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <86box/pci.h>
|
||||
#include <86box/smram.h>
|
||||
#include <86box/spd.h>
|
||||
//#include <86box/video.h>
|
||||
#include <86box/agpgart.h>
|
||||
#include <86box/chipset.h>
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
#
|
||||
|
||||
add_library(dev OBJECT bugger.c cassette.c cartridge.c hasp.c hwm.c hwm_lm75.c hwm_lm78.c hwm_gl518sm.c hwm_nsc366.c
|
||||
hwm_vt82c686.c ibm_5161.c intel_ich2_gpio.c intel_ich2_trap.c isamem.c isartc.c ../lpt.c pci_bridge.c
|
||||
hwm_vt82c686.c ibm_5161.c intel_ich2_gpio.c intel_ich2_trap.c
|
||||
isamem.c isartc.c ../lpt.c pci_bridge.c
|
||||
postcard.c serial.c clock_ics9xxx.c isapnp.c i2c.c i2c_gpio.c
|
||||
smbus_piix4.c smbus_ali7101.c keyboard.c keyboard_xt.c keyboard_at.c
|
||||
mouse.c mouse_bus.c mouse_serial.c mouse_ps2.c phoenix_486_jumper.c
|
||||
|
||||
@@ -85,7 +85,7 @@ tco_write(uint16_t addr, uint8_t val, tco_t *dev)
|
||||
case 0x02: /* TCO Data in */
|
||||
dev->regs[addr] = val;
|
||||
dev->regs[0x04] |= 2;
|
||||
smi_line = 1;
|
||||
smi_raise();
|
||||
break;
|
||||
|
||||
case 0x03: /* TCO Data out */
|
||||
@@ -140,7 +140,7 @@ tco_read(uint16_t addr, tco_t *dev)
|
||||
tco_log("TCO: Read 0x%02x from Register 0x%02x\n", dev->regs[addr], addr);
|
||||
return dev->regs[addr];
|
||||
} else
|
||||
return 0;
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user