SDL renderer improvements and fixes and added SDL OpenGL option;
Various performance improvements; Fixed USB UHCI HCHalt; Cirrus Logic CL-GD 5422/24 fixes and removed them from the Dev branch; The Storage controllers sections of Settings now has its own corresponding section of the configuration file; Fixed the AT clock divisors for some Pentium OverDrive CPU's; Added the ACPI RTC status (no ACPI RTC alarm event yet).
This commit is contained in:
@@ -301,7 +301,7 @@ vid_write_1512(uint32_t addr, uint8_t val, void *priv)
|
||||
amsvid_t *vid = (amsvid_t *)priv;
|
||||
|
||||
egawrites++;
|
||||
sub_cycles(12);
|
||||
cycles -= 12;
|
||||
addr &= 0x3fff;
|
||||
|
||||
if ((vid->cgamode & 0x12) == 0x12) {
|
||||
@@ -320,7 +320,7 @@ vid_read_1512(uint32_t addr, void *priv)
|
||||
amsvid_t *vid = (amsvid_t *)priv;
|
||||
|
||||
egareads++;
|
||||
sub_cycles(12);
|
||||
cycles -= 12;
|
||||
addr &= 0x3fff;
|
||||
|
||||
if ((vid->cgamode & 0x12) == 0x12)
|
||||
|
||||
@@ -204,7 +204,7 @@ void t3100e_write(uint32_t addr, uint8_t val, void *p)
|
||||
egawrites++;
|
||||
|
||||
t3100e->vram[addr & 0x7fff] = val;
|
||||
sub_cycles(4);
|
||||
cycles -= 4;
|
||||
}
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ uint8_t t3100e_read(uint32_t addr, void *p)
|
||||
{
|
||||
t3100e_t *t3100e = (t3100e_t *)p;
|
||||
egareads++;
|
||||
sub_cycles(4);
|
||||
cycles -= 4;
|
||||
|
||||
return t3100e->vram[addr & 0x7fff];
|
||||
}
|
||||
|
||||
@@ -194,14 +194,14 @@ static void t1000_write(uint32_t addr, uint8_t val, void *p)
|
||||
egawrites++;
|
||||
|
||||
t1000->vram[addr & 0x3fff] = val;
|
||||
sub_cycles(4);
|
||||
cycles -= 4;
|
||||
}
|
||||
|
||||
static uint8_t t1000_read(uint32_t addr, void *p)
|
||||
{
|
||||
t1000_t *t1000 = (t1000_t *)p;
|
||||
egareads++;
|
||||
sub_cycles(4);
|
||||
cycles -= 4;
|
||||
|
||||
return t1000->vram[addr & 0x3fff];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user