NTVDM issue, changing code page

Local time
11:06 AM
Messages
36
Location
Seoul, Korea
Until Windows XP, NTVDM supported many code pages, but in Windows 7, NTVDM supports only 437(English) code page. However I need the 949 code page, and I can get that thing only if I run the program, and get the dos shell, type CHCP 949, and returning to the program. Just typing CHCP 949 on COMMAND.COM does not work. Any Solution?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7
Internet Speed
Korean Speed
Hello Alan1313

I understand that you are having problem with code page 494, when using NTVDM? Particularly, when you run a program under NTVDM.

Can you tell me, what is the "bitness" of the program you wish to run? 16-bit or 32-bit?

If you are experiencing problem running 16-bit program under NTVDM with code page other than English, then you might find this question and solution helpful: Windows 7 and 16-bit programs' problems | Microsoft Answers.

Dear Itknowledge24 ,

I run Windows 7 32 bit English, but use a Turkish Key board.

Windows 7 has no problem of swiching between the keyboard layouts.

NTVDM, do not inherit the keyboard code from windows 7, that had been set.

It does get its keyboard setting, as old DOS does, thru Config.sys ("nt" in xp and 7), and Autoexec.bat ("nt")

When you showed the directories of NTVDM, it was very clear to me that we have to add only the necessary lines to config and autoexec.

That was it.

For anyone who may need,

here is the config.nt, and autoexec.nt modifications (for turkish keyboard:

config.nt;

dos=high, umb
device=%SystemRoot%\system32\himem.sys
COUNTRY=090,857, %SystemRoot%\system32\COUNTRY.SYS

files=99

autoexec.nt;

%SystemRoot%\system32\KB16 TR,857, %SystemRoot%\system32\KEYBOARD.SYS

For Danish;

DK,850

For Belgium;

BE,850

Thank you for you and others who have been contributed to the solution.

Best Regards.

Read the question and the 18 replies.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
I saw that Microsoft Question before, and I mean, when I run a 16-bit console app, I need the 949 code page, but NTVDM always change the code page to 437. When this happens, the texts are all broken. I tried to type CHCP 949 and run the application or change the code page by registry, but it didn't work.

And the question doesn't have about 949(Korean) one.

I also tried to replace XP's NTVDM and Seven's NTVDM, and the 16-bit app didn't even work.
 
Last edited:

My Computer

Computer type
PC/Desktop
OS
Windows 7
Internet Speed
Korean Speed
Hello,

Had you tried the config.nt and autoexec.nt modifications to the necessary lines?

You can, where the provided solution uses code 857, use code 949. For example:

config.nt;

dos=high, umb
device=%SystemRoot%\system32\himem.sys
COUNTRY=437,949, %SystemRoot%\system32\COUNTRY.SYS
files=99


autoexec.nt;
%SystemRoot%\system32\KB16 ??,949, %SystemRoot%\system32\KEYBOARD.SYS

Where I have put '??', this is the keyboard layout. You leave the keyboard layout the same as it is now.

Back-up autoexec.nt and config.nt by renaming them as autoexec.bak and config.bak, before you make any changes. Then you have spare copies of these files in case you do not like the changes youve made.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Well, the text like 'C:\>' or 'Microsoft Windows [Version 6.1.7601...' doesn't appear, and no 949 codepage.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7
Internet Speed
Korean Speed
Back
Top