turbo mode

This commit is contained in:
folkert van heusden 2024-06-23 22:47:01 +02:00
parent b84359ca44
commit 38f19c7e05
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

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