From 6fa24a0ca5271446f6e2be72f110bb8a64a3f035 Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 29 May 2026 16:02:34 -0500 Subject: Refuse to step manually if waiting on something --- rvcontroller.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rvcontroller.lua b/rvcontroller.lua index 81d2f68..ca1d2da 100644 --- a/rvcontroller.lua +++ b/rvcontroller.lua @@ -2528,6 +2528,13 @@ elseif event.channel == "monitorkb" then digiline_send("stdout","\n\n\n\n\n\n\n") interrupt(0.5,"reset") elseif argv[1] == "step" then + if mem.inputwaiting then + digiline_send("monitordisp","Unable to step,\nwaiting for input") + return + elseif mem.rswaiting then + digiline_send("monitordisp","Unable to step,\nwaiting for\nreservation set") + return + end run(1) digiline_send("monitordisp",string.format("PC:%08X",mem.registers.pc)) elseif argv[1] == "run" then -- cgit v1.2.3