>> * KEYB does not hook int 2Fh just for installation check. KEYB is
>> "codepage aware", as it has produce the appropriate character code
>> for that particular codepage (font), and that is why INT 2Fh/AD81h
>> exists: DISPLAY will call KEYB whenever there's a codepage change
>> request, so that KEYB keeps aligned with the current codepage.
> I wasn't aware of this. Thanks for correcting.
> Tom
The interaction between the screen (Code Page) and Keyboard is pretty critical
so that everything is displayed correctly. In addition to DISPLAY, DOS has
other "utilities" like "CHCP", "MODE CON CODEPAGE PREPARE", and "MODE CON
CODEPAGE SELECT" to manipulate the screen and it all must interact correctly
with KEYB. In addition, many (if not all) of the KEYB languages will work with
two different screen Code Pages (a primary and an alternate) and must know what
the current Code Page is to work correctly. There are even ways to manipulate
the screen so you can get 512 different characters instead of just 256. It can
be VERY confusing to set things up correctly, especially if you're using an
"unusual" language. And none of this even addresses what happens if you try to
print something to a printer since a printer "Code Page" doesn't necessarily
match what's on the screen. As long as you limit yourself to the first 128
ASCII codes you usually don't have problems.
____________________________________________________________
Sponsored by
https://www.newser.com/?utm_source=part&utm_medium=uol&utm_campaign=rss_taglines_more
Utah Senator Blocks National Latino Museum
http://thirdpartyoffers.juno.com/TGL3141/5fd39730b41c217307c0ast02vuc1
'Brandon's Execution Is a Stain'
http://thirdpartyoffers.juno.com/TGL3141/5fd39730d826117307c0ast02vuc2
'Sometimes You Trip': COVID Vaccine Is Abandoned
http://thirdpartyoffers.juno.com/TGL3141/5fd397317e7d17307c0ast02vuc3
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel