summaryrefslogtreecommitdiffstats
path: root/.gitmodules
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-08-01 21:30:48 +0200
committersalmonik <salmonik@tuta.io>2026-08-01 21:30:48 +0200
commitd9c47d52039be7a61d3e9d3652f73322fb6f47ba (patch)
tree6e195f0819c97378ec5e0a3a049365d5e1f59ea5 /.gitmodules
parentrsnix v0.5.0: graphics layer + cursor compositor (diff)
downloadrs-dos-d9c47d52039be7a61d3e9d3652f73322fb6f47ba.tar.gz
rs-dos-d9c47d52039be7a61d3e9d3652f73322fb6f47ba.zip
rsnix v0.5.1: force the GUI canvas to 800x600 via GOP SetMode
The kernel used to inherit whatever GOP mode the firmware picked (QEMU/OVMF gave 1280x800). Now every surface derives from a fixed 800x600 canvas: - uefi: typed EfiGopQueryMode/SetMode/GetMode fn pointers in GraphicsOutputProtocol (were raw *mut c_void, never called). - gop::select_gop_mode: scan the mode list for an exact 800x600 (32-bit BGR/RGB only, the driver assumes 4 Bpp), SetMode it; fall back to the smallest mode that fits the canvas, then to the firmware's choice. SetMode may move both the mode info pointer and the framebuffer base, so both are re-read after the switch. Boot log: 'gop: mode 3 selected — 800x600 (was 1280x800)'. - tests: relative assertions are resolution-agnostic; test-gfx and test-mouse had a boot-log race (shell line prints before the cursor task line) — now wait for the cursor line instead of grepping once. All four suites pass at 800x600. 0 build warnings.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions