OSDN Git Service

[VM][MC6809] Not push PC when halting.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 7 Dec 2017 09:46:46 +0000 (18:46 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 7 Dec 2017 09:46:46 +0000 (18:46 +0900)
source/src/vm/mc6809.cpp
source/src/vm/mc6809_base.cpp

index 3b83a28..38d1ce9 100644 (file)
@@ -117,7 +117,7 @@ void MC6809::debugger_hook()
                                now_debugging = false;
                        }
                
-                       d_debugger->add_cpu_trace(PC);
+                       //d_debugger->add_cpu_trace(PC);
                        int first_icount = icount;
                        //pPPC = pPC;
                        if(now_debugging) {
index 52c2bc7..653f372 100644 (file)
@@ -160,6 +160,7 @@ void MC6809_BASE::reset()
        EA = 0;
 //#if defined(_FM7) || defined(_FM8) || defined(_FM77_VARIANTS) || defined(_FM77AV_VARIANTS)
        clr_used = false;
+
        write_signals(&outputs_bus_clr, 0x00000000);
        if((req_halt_on) && !(req_halt_off)) {
                int_state |= MC6809_HALT_BIT;