Hi D.A.,

(Aitor, Henrique, Tom, maybe you can comment on this, too? Thanks!)

>>>>> 2) I see no way for type cyrillic char 'р' (hex E0) in
>>>>> the command prompt. Got empty space instead of desired 'р'.

>>> In 4dos.

> And FreeCOM too. By the way, in DR-DOS with the same 4dos I have
> desired char in command promt.
> What make you think this command interpreter bug?
> I'm sure on 100% - this is kernel bug.

That was not clear from your previous mail. However, here is the
relevant bit of code from kernel readkey / ConRead / KbdRdChar:

- if keyboard is 84 key, call int 16.0 or
- for 102/105 key call int 16.10
- if AL is returned as E0, return AL as 0 if AH is not 0 else
- return AL and AH unchanged
- if AX is Ctrl-PrtScr then turn it into Ctrl-P
- if AX is 0 then repeat (to handle extended keys)

The peek / nondestructive read functions work similar but use
int 16.1 and int 16.11 instead of int 16.0 and int 16.10 ...

Which AX value is returned by int 16 when you type the e0 char?
You may have to report two consecutive int 16 return values here.

The e0 handling in the kernel is meant to process BIOS encoding
of extended keys which does something with "e0 as a prefix" but
of course it could have a bug. The int 9 and int 15.4f RBIL info
says that e0, e1 and f0 are "prefix scancodes", but note that
int 16 returns ASCII in AL and scancode in AH, so I wonder why
the kernel checks for e0 in the AL register?

RBIL says:

> prefix code E0h indicates that the following make/break code is for a
> "gray" duplicate to a key which existed on the original PC keyboard;
[...and also for the Windows keys... e1 is only for the pause key...]
[...f0 can be used as release key prefix but this is normally off...]

Eric




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to