On 19/12/2023 18:18, Lukáš Kotek via Freedos-user wrote:
display con=(ega,852,1)
mode con codepage prepare ((852) C:\freedos\cpi\ega.cpx)
mode con codepage select=852

All czech-specific letters are printed correctly now.

Is this the recommended way?

Yes, it is the "official" way, as Microsoft intended. Essentially loading the set of CP852 characters into the EGA/VGA memory, otherwise the video hardware usually defaults to CP437.

Or is there some a bit more straightforward approach possible, please?

Back in the day it was common in Poland to use hacky TSRs to display Polish characters in the Mazovia format, which was a national standard superior in many aspects to the Microsoft 852 proposition. Our Pepíci brothers had a very similar solution, albeit the standard of course had to be different because we use different glyphs: on your side of the border you used the Kamenicky encoding, and there were TSRs floating around on floppies to support Kamenicky on EGA screens, just like there were TSRs for Mazovia on our side.

A couple of links so you can get a good idea what to look for:

http://www.cestina.cz/pocestovani/dos/system/display.html
http://www.cestina.cz/kodovani/#KEYBCS2
https://vitsoft.info/ (Podpora češtiny)


Mateusz


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to