This commit is contained in:
Wengier
2021-06-19 18:46:33 -04:00
parent e75286a1ac
commit 3d567c2db2
3 changed files with 13 additions and 7 deletions

View File

@@ -42,12 +42,16 @@
the DOS command help will show correctly). You can
change the DBCS font used by the Configuration Tool
interface via jdbcsfont14 config option. (Wengier)
- Added support for inputing CJK (at least Chinese)
characters using the system input method (IME) in
Windows SDL1 build. There is config option "ime" in
[dosbox] section to control it. When set to "auto"
(default), it is enabled for Windows SDL1 builds
only if starting with a CJK code page. (Wengier)
- Added support for inputing DBCS characters using
system input method (IME) in Windows SDL1 build.
Chinese (Simplified & Traditional) IME should work
with the default setting and a Chinese code page.
Japanese IME requires DirectX mode for SDL1 library
(set "SDL_VIDEODRIVER=directx" for this). There is
config option "ime" in [dosbox] section to control
it. When set to "auto" (default), it is enabled for
Windows SDL1 builds only if you start DOSBox-X with
a CJK code page. (Wengier)
- Added support for DOS/V (Japanese mode) by adopting
code from DOSVAXJ3. Also added support for Chinese
and Korean DOS/V modes. Set "dosv" to "jp", "chs",

View File

@@ -646,6 +646,8 @@ void DOS_Shell::Prepare(void) {
#endif
if (IS_PC98_ARCH || IS_JEGA_ARCH)
countryNo = 81;
else if (IS_DOSV)
countryNo = IS_PDOSV?86:(IS_CDOSV?886:(IS_KDOSV?82:81));
#if defined(WIN32)
else if (GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_ICOUNTRY, buffer, 128)) {
countryNo = uint16_t(atoi(buffer));

View File

@@ -163,7 +163,7 @@ typedef unsigned int uintptr_t;
#define SDL_VIDEO_DRIVER_GAPI 1
#endif
#ifndef _WIN32_WCE
// DirectDraw support DISABLED until it can be fixed to work with the async mode
// FIXME: DirectX/DirectDraw video driver needs to be fixed to work with the async mode
#define SDL_VIDEO_DRIVER_DDRAW 1
#endif
#define SDL_VIDEO_DRIVER_DUMMY 1