System ROM shadowing doesn't depend from the selected register. It actually depends on the Video RAM
Also seems like the System ROM is RO. RW causes it to hang
This commit is contained in:
@@ -100,9 +100,9 @@ intel_82335_write(uint16_t addr, uint16_t val, void *priv)
|
||||
|
||||
if (!extended_granuality_enabled)
|
||||
{
|
||||
mem_set_mem_state_both(0xa0000, 0x20000, (dev->reg_22 & (0x04 << 8)) ? enabled_shadow : disabled_shadow);
|
||||
mem_set_mem_state_both(0xa0000, 0x20000, (dev->reg_22 & (0x04 << 8)) ? determine_video_ram_write_access : disabled_shadow);
|
||||
mem_set_mem_state_both(0xc0000, 0x20000, (dev->reg_22 & (0x02 << 8)) ? enabled_shadow : disabled_shadow);
|
||||
mem_set_mem_state_both(0xe0000, 0x20000, (dev->reg_22 & 0x01) ? determine_video_ram_write_access : disabled_shadow);
|
||||
mem_set_mem_state_both(0xe0000, 0x20000, (dev->reg_22 & 0x01) ? ro_shadow : disabled_shadow);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user