Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

In reply to : Bret 'll have to hate FreeDOS mKEYB, too (Developers)

posted by Ninho E-mail, 19.05.2011, 23:59

>
>> If the user (or a program) tries to change the code page to one
>> your driver doesn't support, and you don't respond appropriately, you
>> could be in trouble. If you don't monitor INT 2F.2D81, you must instead
>> poll the system to determine the current code page each time you perform
> a
>> scancode-to-ASCII translation, at least for ASCII characters > 127.

> agreed. mKEYB is lazy in this regard, and ignores codepages completely.
> (the 'm' stands for 'mini')

Don't let him persuade you, it would be sad :(

His confusion comes from not realising that int 15 is a BIOS function,
while int 2F is an OS thing. Int 15/4F, which is a mere "subroutine" of
int 9, so to say, has nothing to do and especially nothing to know about
MS-DOS in general and its int 2F in particular. It would be very wrong !

Of course due to MS DOS history and "design" (not designed, it's
patched, as someone has remarked), people have been used to mixing BIOS
calls with DOS calls as if they were part of the same set (I no less than
anybody else). But they are not the same !

mKEYB is absolutely correct IMO not supporting MS-DOS CP, and if users want
or need CP, they should use another driver. Like my KBFR won't support CP.

>
> the 'official' FreeDOS KEYBhandles codepages (for a bazillion languages)
> but is a bit larger. I'll stick with mKEYB.


And I with KBFR. :=)

Regards
>
> >
> > KEYB surrogates are also supposed to respond to INT 2F.AD82 & 2F.AD83 to
> be
> > able to report and toggle themselves between the "foreign" keyboard
> driver
> > language and the default (US) keyboard driver language (this basically
> > turns the driver on and off).
> mKEYB supports this.

---
Ninho

 

Complete thread:

Back to the forum
Board view  Mix view
22755 Postings in 2121 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum