18bit mode
This commit is contained in:
parent
65742ab973
commit
d851c4b9a0
2 changed files with 3 additions and 1 deletions
3
bus.cpp
3
bus.cpp
|
@ -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;
|
||||
|
|
1
main.cpp
1
main.cpp
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue