Video card can now be changed on Acer 386SX25/N, Packard Bell PB520R, and Packard Bell PB570.
This commit is contained in:
parent
9bdfc9348f
commit
78adae497f
3 changed files with 20 additions and 7 deletions
|
|
@ -179,11 +179,13 @@ void oti067_enable_disable(void *p, int enable)
|
|||
mem_mapping_disable(&oti067->bios_rom.mapping);
|
||||
io_removehandler(0x03c0, 0x0020, oti067_in, NULL, NULL, oti067_out, NULL, NULL, oti067);
|
||||
io_removehandler(0x46e8, 0x0001, oti067_pos_in, NULL, NULL, oti067_pos_out, NULL, NULL, oti067);
|
||||
mem_mapping_disable(&oti067->svga.mapping);
|
||||
if (enable)
|
||||
{
|
||||
mem_mapping_enable(&oti067->bios_rom.mapping);
|
||||
io_sethandler(0x03c0, 0x0020, oti067_in, NULL, NULL, oti067_out, NULL, NULL, oti067);
|
||||
io_sethandler(0x46e8, 0x0001, oti067_pos_in, NULL, NULL, oti067_pos_out, NULL, NULL, oti067);
|
||||
mem_mapping_enable(&oti067->svga.mapping);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue