From c698519d4499f1380805da2143cd578731df2496 Mon Sep 17 00:00:00 2001 From: Albert Liu <45282415+ggrtk@users.noreply.github.com> Date: Mon, 9 Nov 2020 08:02:01 -0800 Subject: [PATCH] Bus: Log writes to additional POST registers --- src/core/bus.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/bus.cpp b/src/core/bus.cpp index 2739538f0..aa01e9b05 100644 --- a/src/core/bus.cpp +++ b/src/core/bus.cpp @@ -625,10 +625,14 @@ ALWAYS_INLINE static TickCount DoEXP2Access(u32 offset, u32& value) m_tty_line_buffer += static_cast(Truncate8(value)); } } - else if (offset == 0x41) + else if (offset == 0x41 || offset == 0x42) { Log_WarningPrintf("BIOS POST status: %02X", value & UINT32_C(0x0F)); } + else if (offset == 0x70) + { + Log_WarningPrintf("BIOS POST2 status: %02X", value & UINT32_C(0x0F)); + } else { Log_WarningPrintf("EXP2 write: 0x%08X <- 0x%08X", EXP2_BASE | offset, value);