--- nono/m88xx0/m88100.h 2026/04/29 17:04:52 1.1.1.8 +++ nono/m88xx0/m88100.h 2026/04/29 17:04:57 1.1.1.10 @@ -221,9 +221,9 @@ class m88kcpu : public m88100reg m88200 cmmu[2] {}; // ブランチ履歴 (例外履歴を含む) - BranchHistory_m88xx0 brhist {}; + BranchHistory_m88xx0 brhist { BranchHistory::BrHist }; // 例外履歴のみ - BranchHistory_m88xx0 exhist {}; + BranchHistory_m88xx0 exhist { BranchHistory::ExHistOnly }; // 32bit 命令コードからディスパッチ用の 12bit に変換。 static uint32 op32_to_12(uint32 op) { @@ -233,6 +233,12 @@ class m88kcpu : public m88100reg // 例外名を返す static const char *GetExceptionName(int vector); + // 疑似 STOP 状態に入る機能を有効にする場合 true + bool pseudo_stop_enable {}; + + // DOS call エミュレーションコールバックを設定する + void SetFLineCallback(bool (*callback)(m88kcpu *, void *), void *arg); + private: void Reset(); @@ -319,6 +325,10 @@ OP_PROTO(illegal); // ペンディング中の割り込みレベル int intr_pending {}; + // DOS call エミュレーション + bool (*fline_callback)(m88kcpu *, void *) = NULL; + void *fline_arg {}; + // 例外名 static const char * const exception_names[]; };