Skip to content

Commit

Permalink
turbo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Jun 23, 2024
1 parent b84359c commit 38f19c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,13 @@ std::pair<trap_action_t, int> mmu::get_trap_action(const int run_mode, const boo

void mmu::mmudebug(const uint16_t a)
{
#if !defined(TURBO)
for(int rm=0; rm<4; rm++) {
auto ma = calculate_physical_address(rm, a);

TRACE("RM %d, a: %06o, apf: %d, PI: %08o (PSW: %d), PD: %08o (PSW: %d)", rm, ma.virtual_address, ma.apf, ma.physical_instruction, ma.physical_instruction_is_psw, ma.physical_data, ma.physical_data_is_psw);
}
#endif
}

void mmu::verify_page_access(const uint16_t virt_addr, const int run_mode, const bool d, const int apf, const bool is_write)
Expand Down

0 comments on commit 38f19c7

Please sign in to comment.