+ get the current code page in the msdos keyboard unit as well

This commit is contained in:
Nikolay Nikolov 2022-03-13 00:34:50 +02:00
parent c881067b23
commit 501b2d6c6f

View File

@ -41,6 +41,10 @@ begin
if regs.ax<>$1200 then
keyboard_type:=$10;
end;
regs.ax:=$6601;
msdos(regs);
if (regs.flags and fCarry) = 0 then
CurrentLegacy2EnhancedKeyEventTranslationCodePage:=regs.bx;
end;