diff --git a/bios/int10.c b/bios/int10.c index f7fecac..498a93a 100644 --- a/bios/int10.c +++ b/bios/int10.c @@ -131,7 +131,7 @@ static void int10_vesa(struct int10_args *args) { u8 al; - al = args->eax; + al = args->eax & 0xff; switch (al) { case 0x00: