--- nono/debugger/vectortable.h 2026/04/29 17:05:45 1.1.1.6 +++ nono/debugger/vectortable.h 2026/04/29 17:05:58 1.1.1.8 @@ -35,14 +35,18 @@ class VectorTable : public Device // ベクタテーブルの要素数を返す int Size() const { return nametable.size(); } - // モニタ更新 - DECLARE_MONITOR_CALLBACK(MonitorUpdate); - private: // 初期化 void InitTableM680x0(VMType vmtype); void InitTableLuna88k(); + // モニタ更新 + DECLARE_MONITOR_SCREEN(MonitorScreenM680x0); + DECLARE_MONITOR_SCREEN(MonitorScreenM88xx0); + + // m88100 のベクタテーブルから再分岐先を取得する。 + busaddr VectorToAddr(uint32 vecaddr); + // ベクタテーブル std::vector nametable {}; @@ -58,9 +62,9 @@ class VectorTable : public Device static std::map name_luna1; static std::map name_news; static std::map name_virt68k; - static std::array name_luna88k; + static std::map name_luna88k; }; -static inline VectorTable *GetVectorTable() { +inline VectorTable *GetVectorTable() { return Object::GetObject(OBJ_VECTOR_TABLE); }