18bit mode

This commit is contained in:
folkert van heusden 2022-06-18 08:18:27 +02:00
parent 65742ab973
commit d851c4b9a0
2 changed files with 3 additions and 1 deletions

View file

@ -345,6 +345,9 @@ uint32_t bus::calculate_physical_address(const int run_mode, const uint16_t a, c
m_offset += p_offset;
if ((MMR3 & 16) == 0) // off is 18bit
m_offset &= 0x3ffff;
if (trap_on_failure) {
if ((MMR0 & (1 << 9)) || c->get_34()) {
const int access_control = pages[run_mode][0][apf].pdr & 7;

View file

@ -60,7 +60,6 @@ int main(int argc, char *argv[])
std::vector<std::string> rk05_files;
std::vector<std::string> rl02_files;
bool testCases = false;
bool run_debugger = false;
bool tracing = false;