summaryrefslogtreecommitdiff
path: root/experiments
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-25 17:14:02 -0300
committerGabriel Schneider <[email protected]>2026-08-25 17:14:25 -0300
commitef6f3e460ddbf53a752807bcf10a0fec0a72da7f (patch)
tree15b09bb944754ac13fb8cd7796eaa1af42a4fad2 /experiments
parent0b11540923d5ec2de57fc199c4c9309f838133f5 (diff)
downloadesp32p4-ef6f3e460ddbf53a752807bcf10a0fec0a72da7f.tar.gz
esp32p4-ef6f3e460ddbf53a752807bcf10a0fec0a72da7f.zip
Write down how to drive the board's three memory words
`Peek`, `Poke` and `Hexdump` are the reason this port exists and nothing here said how to reach them. Two things are not guessable. The boot layout: the editor now comes up as ONE EMPTY OUTPUT BUFFER and no shell pane, because a shell is not a layout preference on bare metal but an impossibility - nothing to fork, no pty. That is a pardes-side change; what belongs here is that it is what `zig build interact -Dpardes` puts on the screen. The chord: there is no mouse on a serial line, so execution is `i <cmd> ESC` then `x` then TAB - write the command into the buffer, select the line, execute the selection (pardes.zig:7669). `o` opens a fresh line for the next one. Nothing about that is discoverable from the screen, and every other spelling I tried failed in a way that looked like the port was broken: `:` opens the tag command line in NORMAL mode, so typing there moves the cursor instead of inserting, and the tag's editable region is seeded with the builtin words, so text typed at its start merges into `Save` and the chord executes the wrong word. Every number in the new section is off the die, including the one that matters: `Peek 0x50110001` answers `peek: MisalignedAddress` on the message row instead of trapping, and a trap here is a watchdog reset that takes the session with it.
Diffstat (limited to 'experiments')
0 files changed, 0 insertions, 0 deletions