mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:49:38 +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
|
||||
keyboard_type:=$10;
|
||||
end;
|
||||
regs.ax:=$6601;
|
||||
msdos(regs);
|
||||
if (regs.flags and fCarry) = 0 then
|
||||
CurrentLegacy2EnhancedKeyEventTranslationCodePage:=regs.bx;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user