when IO mapping changed, not when internal RAM mapping is changed.
+2002-08-13 Marko Kohtala <marko.kohtala@luukku.com>
+
+ * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
+ when IO mapping changed, not when internal RAM mapping is changed.
+
2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
/* Update IO mapping. Detach from the old address
and attach to the new one. */
- if ((old_bank & 0xF0) != (val & 0xF0))
+ if ((old_bank & 0x0F) != (val & 0x0F))
{
struct m68hc11cpu *controller = hw_data (me);
controller->attach_size,
me);
}
- if ((old_bank & 0x0F) != (val & 0x0F))
+ if ((old_bank & 0xF0) != (val & 0xF0))
{
;
}