From 056681e32fc299fe1f38b4bf423856bd44833798 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sun, 21 Apr 2024 22:04:41 +0200 Subject: [PATCH] dummy core-memory parity --- bus.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bus.cpp b/bus.cpp index 1670647..63cb4f6 100644 --- a/bus.cpp +++ b/bus.cpp @@ -287,6 +287,11 @@ uint16_t bus::read(const uint16_t addr_in, const word_mode_t word_mode, const rm return 0; } + if (a >= 0172100 && a <= 0172137) { // MM11-LP parity + if (!peek_only) DOLOG(debug, false, "READ-I/O MM11-LP parity (%06o): %o", a, 1); + return 1; + } + if (word_mode == wm_byte) { if (a == ADDR_PSW) { // PSW uint8_t temp = c->getPSW(); @@ -988,6 +993,11 @@ write_rc_t bus::write(const uint16_t addr_in, const word_mode_t word_mode, uint1 return { false }; } + if (a >= 0172100 && a <= 0172137) { // MM11-LP parity + DOLOG(debug, false, "WRITE-I/O MM11-LP parity (%06o): %o", a, value); + return { false }; + } + /// MMU /// // supervisor if (a >= ADDR_PDR_SV_START && a < ADDR_PDR_SV_END) {