mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
kc82: Log MMU changes
This commit is contained in:
parent
a55ac80cd5
commit
78c9b5bce7
@ -9,6 +9,9 @@
|
||||
#include "emu.h"
|
||||
#include "kc82.h"
|
||||
|
||||
#define VERBOSE 0
|
||||
#include "logmacro.h"
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// kc82_device - constructor
|
||||
@ -124,6 +127,16 @@ void kc82_device::mmu_remap_pages()
|
||||
--n;
|
||||
base = u32(m_mmu_a[n]) << 10;
|
||||
}
|
||||
if (m_mmu_base[i] != base)
|
||||
{
|
||||
u32 old_mapping = ((i << 10) + base) & 0xffc00;
|
||||
u32 new_mapping = ((i << 10) + m_mmu_base[i]) & 0xffc00;
|
||||
LOG("%s: MMU: %04X-%04XH => %05X-%05XH (was %05X-%05XH)\n",
|
||||
machine().describe_context(),
|
||||
i << 10, (i << 10) | 0x3ff,
|
||||
old_mapping, old_mapping | 0x3ff,
|
||||
new_mapping, new_mapping | 0x3ff);
|
||||
}
|
||||
m_mmu_base[i] = base;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user