benilla-re systems structs docs

SetHardwareDefaultFormat

function · unassigned · primitive

Address
0x641950 · 19 bytes, up to 0x641962
Signature
void __fastcall (void *block, void *record)
Meaning
Stores the address of the default device format record of the matched row in a block
Confidence
verified, proof one
Finding
console/hardware#default-formats

Finding: Default formats in console: hardware

The file builds seven device format records at start-up, in the array at 0xc518e0 with 0x38 bytes each: 640 × 480 and 800 × 600 with colour index 0 and depth index 4, then 640 × 480, 800 × 600, 1024 × 768, 1280 × 1024 and 1600 × 1200 with colour index 1 and depth index 5. All run at 60 Hz with the other fields of the fixed records in display. The column of a hardware row at +0x40 selects one as the machine's default format.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.