Files
mimic/src
vincente 45182c7759 Fixes + enhancements from test feedback
- Mini-assembler now supports many more common inherent ops (CLRA/CLRB, INCA/INCB, DECA/DECB, COMA/COMB, NEGA/NEGB, TSTA/TSTB, plus several branches: BEQ/BNE/BCC/BCS/BPL/BMI) so quick monitor patches like the classic loop test cases work without falling back to : or M.
- Critical: monitor no longer uppercases the entire input line. command_char() only uppercases the dispatch verb (first significant char). This preserves original case for:
  - Filenames in L and S commands
  - Shell commands after !
  - Any future string arguments
- Improved S dispatch heuristic (Step vs Save) so 'S filename ...' and 'S 5' are reliably distinguished even with mixed-case filenames.
- Added explicit exec-bp check at the top of the monitor G run loop (in addition to the one inside cpu_step). This guarantees that breakpoints set with B are honored during G even when running with debug_mode=false for speed.
- The exact scenarios from the previously killed background tasks (infinite BRA loop + bp, F + S + L + M roundtrip) now complete cleanly, quickly hit bps, restore the terminal, and leave the outer shell fully functional.

All prior robustness (always acia_end_run after G, isatty guards, etc.) remains.
2026-06-12 15:07:08 -05:00
..
…
…
…
…
…
…
…
…
…
…
…