mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 08:49:48 +02:00
+ get the current code page in the msdos keyboard unit as well
This commit is contained in:
parent
c881067b23
commit
501b2d6c6f
@ -41,6 +41,10 @@ begin
|
|||||||
if regs.ax<>$1200 then
|
if regs.ax<>$1200 then
|
||||||
keyboard_type:=$10;
|
keyboard_type:=$10;
|
||||||
end;
|
end;
|
||||||
|
regs.ax:=$6601;
|
||||||
|
msdos(regs);
|
||||||
|
if (regs.flags and fCarry) = 0 then
|
||||||
|
CurrentLegacy2EnhancedKeyEventTranslationCodePage:=regs.bx;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user