Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 71351b98 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

[x86 setup] Make sure AH=00h when setting a video mode



Passing a u8 into a register doesn't mean gcc will zero-extend it.
Also, don't depend on thhe register not to change.

Per bug report from Saul Tamari.

Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent b015124e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment