Re: [Freedos-user] DBCS question about dosbox-x

2021-07-02 Thread TK Chia

Hello Eric Auer,


Hi! I read on
https://dosbox-x.com/release-0.83.15.html
that DOSBOX-X now supports DBCS for CJK (Chinese, Japanese
and Korean) languages. Do you happen to know how they do
that? Would it be feasible to port their changes into the


I looked a bit at the Git commits for dosbox-x
(https://github.com/joncampbell123/dosbox-x/).  It seems many of the
recent changes have to do with special handling of double-byte
characters in short file names when DBCS is active.

E.g. if an 0xa4 byte (= `n tilde' in CP437) starts a double-byte
sequence, then it is not considered a small letter to be "capitalized"
(to 0xa5); and if a 0x5c byte (CP437 backslash) appears as the second
byte of a double-byte sequence, then it is not considered a path
separator; etc.

There are probably also other relevant changes in the source code.

Thank you!

--
https://gitlab.com/tkchia :: https://github.com/tkchia


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


Re: [Freedos-user] DBCS question about dosbox-x

2021-07-02 Thread Lukas Satin
I use DOSBOX-X and you can notice they use completely different fonts and
GUI. I think they use native Windows API, because the text looks like
anti-aliased native app using HiDPI. Therefore this is something completely
separate from DOS and it is Windows based font rendering feature. But that
is just my quick guess from what I see when I see it.

On Fri, Jul 2, 2021 at 3:28 PM ZB  wrote:

> Whatever you decide if it means additional overhead on kernel (very likely)
> it would be good idea to separate "CJK-enabled" and "non-CJK" kernels,
> since
> this is very specific ability, not useful for everyone
> --
> regards,
> Zbigniew
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] DBCS question about dosbox-x

2021-07-02 Thread ZB
Whatever you decide if it means additional overhead on kernel (very likely)
it would be good idea to separate "CJK-enabled" and "non-CJK" kernels, since
this is very specific ability, not useful for everyone
-- 
regards,
Zbigniew


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


[Freedos-user] DBCS question about dosbox-x

2021-07-02 Thread Eric Auer


Hi! I read on

https://dosbox-x.com/release-0.83.15.html

that DOSBOX-X now supports DBCS for CJK (Chinese, Japanese
and Korean) languages. Do you happen to know how they do
that? Would it be feasible to port their changes into the
FreeDOS kernel? Of course one would also need the separate
tools for graphical font handling and keyboard input methods,
so the main question is which licenses all of those have?

Cheers, Eric



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