diff --git a/BasiliskII/src/emul_op.cpp b/BasiliskII/src/emul_op.cpp index bdab4f63..e18b40bc 100644 --- a/BasiliskII/src/emul_op.cpp +++ b/BasiliskII/src/emul_op.cpp @@ -56,6 +56,7 @@ void EmulOp(uint16 opcode, M68kRegisters *r) { + static bool bootflag; D(bug("EmulOp %04x\n", opcode)); switch (opcode) { case M68K_EMUL_BREAK: { // Breakpoint @@ -82,6 +83,11 @@ void EmulOp(uint16 opcode, M68kRegisters *r) break; case M68K_EMUL_OP_RESET: { // MacOS reset + if (bootflag) { + CDROMExit(); + CDROMInit(); + } + bootflag = true; D(bug("*** RESET ***\n")); TimerReset(); EtherReset();