s_historyRing
global · console
- Address
0xc4ee48· 2560 bytes, up to0xc4f847- Type
char[2560]- Meaning
- Holds the 32 history lines of 0x50 bytes
- Confidence
- verified, proof one
- Finding
- console/commands#history
Finding: History in console: commands
The history is a ring of 32 lines of 0x50 bytes at 0xc4ee48 and a write index 0xc518a0. Adding a line copies at most 0x50 bytes into the slot at the index and advances it. Entry i
counts back from the newest: ring + 0x50·((index − i − 1) & 0x1f). The input line walks it with Up and Down (screen#input-line).
The derivation is in the doc.