Monitor: wide 132x64 screen showing everything at once
On the 132x64 screen the monitor shows PC and all integer registers, all float registers (hex and decimal) with FCSR decoded, mstatus/mepc/mcause/ mtval/cycle/instret and the breakpoint, 24 rows of disassembly beside the stack, and 14 rows of memory, with changed registers highlighted; the 80x32 layout is unchanged. R takes float register names. The CPU's trap CSRs start at 0, so reading them before the first trap no longer hangs the simulated bus. send-hex accepts the prompt on any row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1e44ce4383
commit
addf0157fc
10 files changed
+3644
-3373
No files matched your search
+4
-3
@@ -74,9 +74,10 @@ def wait_for(pattern, timeout=10.0):
|
||||
raise SystemExit("no answer from the board (waiting for %r); last output: %r" % (pattern, buf[-200:]))
|
||||
|
||||
|
||||
# the monitor's command line, redrawn after each command; its message comes
|
||||
# after the prompt, and the cursor is turned back on last
|
||||
PROMPT = rb"\x1b\[30;1H> .*?\x1b\[\?25h"
|
||||
# the monitor's command line, redrawn after each command (row 30 on the 80x32
|
||||
# screen, 64 on the 132x64 one); its message comes after the prompt, and the
|
||||
# cursor is turned back on last
|
||||
PROMPT = rb"\x1b\[\d+;1H> .*?\x1b\[\?25h"
|
||||
send("\r")
|
||||
time.sleep(0.3)
|
||||
if not a.no_date: # the file gets the PC's date
|
||||
|
||||
Reference in new issue
Block a user