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:
arbee 2019-04-19 19:38:24 -04:00
parent 986792b1eb
commit ac0d80ee16
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -14,7 +14,6 @@
#pragma once
#include "machine/apollo_dbg.h"
#include "machine/apollo_kbd.h"
#include "cpu/m68000/m68000.h"