diff options
Diffstat (limited to 'rvcontroller.lua')
| -rw-r--r-- | rvcontroller.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
