sercon: vbe modeset is int 10h function 4f02 not 4f00

Fixes console redirection for NetBSD primary bootloader.

https://bugs.launchpad.net/bugs/1743191
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Kevin O'Connor <kevin@koconnor.net>
Message-Id: <20200306090321.24811-1-kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2020-03-06 10:03:21 +01:00
parent b3fa857752
commit 066a995609
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ static void sercon_104f(struct bregs *regs)
regs->ax = 0x0100;
} else {
// Disable sercon entry point on any vesa modeset
if (regs->al == 0x00)
if (regs->al == 0x02)
SET_LOW(sercon_enable, 0);
}
}