--- nono/vm/mpu680x0.h 2026/04/29 17:05:17 1.1.1.11 +++ nono/vm/mpu680x0.h 2026/04/29 17:05:20 1.1.1.12 @@ -145,10 +145,10 @@ class MPU680x0Device : public MPUDevice // ベクタへのジャンプはここではなく JumpVector()。 inline void Jump(uint32 addr) { // 先にブランチ履歴に記録 - brhist.AddEntry(ppc | (IsSuper() ? 1 : 0), addr, ir << 16); + brhist.AddEntry(ppc | (IsSuper() ? 1 : 0), addr, ir); if (__predict_false((addr & 1) != 0)) { - Exception(M68K::EXCEP_ADDRERR); + ExceptionBuserr(M68K::EXCEP_ADDRERR); return; } reg.pc = addr; @@ -273,7 +273,9 @@ class MPU680x0Device : public MPUDevice int ExceptionReset(); void ExceptionBuserr(int); int ExceptionInterrupt(); + void ExceptionTrap15(); void Exception(int); + void ExceptionGeneric(int vector, uint32 inst); // 二重バスフォールト void DoubleBusFault(const char *where);