benilla-re systems structs docs

s_lineTotal

global · console

Address
0xc4ec24 · 4 bytes, up to 0xc4ec27
Type
int32_t
Meaning
Holds the number of lines in the list
Confidence
verified, proof one
Finding
console/screen#line-records

Finding: Line records in console: screen

A console line is a 0x24-byte record allocated zero-filled under the tag CONSOLELINE: next link +0, previous link +4, text +8, length +0xc, capacity +0x10, cursor +0x14, floor +0x18, colour class +0x1c and string handle +0x20. The lines are one intrusive list with the newest at the head (0xc4e9ac) and a count (0xc4ec24); past 0x100 lines the oldest is freed. The input line is the head while its cursor is nonzero. 0x63baa0 makes a new input line whenever the head's cursor is 0: text > , floor = cursor = length 2, class 1, capacity 0x10, and the view anchor 0xc4e9b4 set to it.

The derivation is in the doc.