====== Early to mid 2023 July work (lDebug) ====== **2023-07-16** This week little development happened, owing to the heat, much to do, and several days of headaches. ===== lDebug ===== The RH mode and command got [[https://hg.pushbx.org/ecm/ldebug/file/18bdc36d2a8d/test/test.py#l299|its own test function]] with dozens of tests. [[https://hg.pushbx.org/ecm/ldebug/rev/d275f515f966|Enabling RH mode empties]] the silent/RH buffer. [[https://hg.pushbx.org/ecm/ldebug/rev/8477a3360b10|A bugfix to an earlier change]] to ''terminate_silent_dump'' involving an anonymous label. The terminator [[https://hg.pushbx.org/ecm/ldebug/rev/7d2d87b68d54|is written more consistently]] to the RH buffer for T, TP, P, and G outputs, including [[https://hg.pushbx.org/ecm/ldebug/rev/4d03885a8c5e|for the PRA and int 19h hook outputs]]. QA command [[https://hg.pushbx.org/ecm/ldebug/rev/5e51cb3e6dc7|no longer requests use of auxiliary buffer]]. Allow [[https://hg.pushbx.org/ecm/ldebug/rev/14a4c72ffbab|to use WHILE buffer for S]] and [[https://hg.pushbx.org/ecm/ldebug/rev/04fc237e87b1|RC.REPLACE commands]] if it isn't already in use, fall back to auxiliary buffer else. Add [[https://hg.pushbx.org/ecm/ldebug/rev/b200b1f254ff|RH IN command form]] with match ranges. A match range [[https://hg.pushbx.org/ecm/ldebug/rev/fe53bbf3f2b7|is interpreted "backwards"]] however. S command [[https://hg.pushbx.org/ecm/ldebug/rev/f66b2f2611b7|will set COUNT variable]] to length of its search pattern, to aid the ''searchd.sld'' [[https://sourceforge.net/p/freedos/feature-requests/118/#05c4/e111/feb5/e17b/3469/808d|Script for lDebug example]]. [[https://hg.pushbx.org/ecm/ldebug/rev/68e9a62eb80f|lDebugX S command bugfix]]: In a 64 KiB segment, the S result data dump will no longer try to access bytes beyond offset 0FFFFh if the search result ends near the segment boundary. [[https://hg.pushbx.org/ecm/ldebug/rev/18bdc36d2a8d|The RH mode got documented]]. Two omissions so far: The two parameter form is not documented, and it is left ambiguous how indices above the oldest saved step are handled. We are considering to add a variable which reads out as the amount of RH steps currently in the buffer. We also want to modify the boot Y script file reading so it will fail somewhat gracefully in RH mode, rather than looping infinitely as it probably does now (if RH mode is enabled in a Y script). {{tag>ldebug}} ~~DISCUSSION~~