3104ba6bea
In bx_cpu_c::reset method I set bx_cpu->async_event to 2 so execution in the cpu_loop gets stopped early. Previously, async_event was set to 0, and with repeatable instructions, after reset, eip was incremented by the instruction length, so execution would resume at 0xffffX (X being >0, the current instruction length). In halt state I check now for reset with async_event is 2, so reset works also when the cpu is halted. (update to Peter change) I hope I fixed this the right way, please report any strange behaviour. |
||
---|---|---|
bochs | ||
bochs-performance | ||
bochs-testing | ||
CVSROOT | ||
sfsite |