mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
m68kmmu: fix ATC entry calculation error that was crashing Domain/OS [Hans Ostermeyer]
apollo: remove deprecated debug reference [Hans Ostermeyer]
This commit is contained in:
parent
986792b1eb
commit
ac0d80ee16
@ -126,7 +126,7 @@ void pmmu_atc_add(uint32_t logical, uint32_t physical, int fc, const int rw)
|
||||
{
|
||||
// get page size (i.e. # of bits to ignore); is 10 for Apollo
|
||||
int ps = (m_mmu_tc >> 20) & 0xf;
|
||||
const uint32_t atc_tag = M68K_MMU_ATC_VALID | ((fc & 7) << 24) | ((logical >> ps) << (ps - 8));
|
||||
const uint32_t atc_tag = M68K_MMU_ATC_VALID | ((fc &7) << 24)| logical >> ps;
|
||||
uint32_t atc_data = (physical >> ps) << (ps - 8);
|
||||
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "machine/apollo_dbg.h"
|
||||
#include "machine/apollo_kbd.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
|
Loading…
Reference in New Issue
Block a user