From 92b3373e96ec72f9580b5383b918b1e6501dee49 Mon Sep 17 00:00:00 2001 From: fulivi Date: Thu, 3 Dec 2015 11:14:53 +0100 Subject: [PATCH] hphybrid: access to top half of base page fixed --- src/devices/cpu/hphybrid/hphybrid.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/devices/cpu/hphybrid/hphybrid.cpp b/src/devices/cpu/hphybrid/hphybrid.cpp index 9ecfb89dca7..34ac70c6d69 100644 --- a/src/devices/cpu/hphybrid/hphybrid.cpp +++ b/src/devices/cpu/hphybrid/hphybrid.cpp @@ -1195,6 +1195,11 @@ UINT32 hp_5061_3001_cpu_device::add_mae(aec_cases_t aec_case , UINT16 addr) UINT16 bsc_reg; bool top_half = BIT(addr , 15) != 0; + // Detect accesses to top half of base page + if ((addr & 0xfe00) == 0xfe00) { + aec_case = AEC_CASE_B; + } + switch (aec_case) { case AEC_CASE_A: bsc_reg = top_half ? HP_REG_R34_ADDR : HP_REG_R33_ADDR;