16 bit MS-DOS Subsystem

renegade

Staff member
Super Mod
While trying to install turbo C++ compiler I get the above prompt.

C:\tc\install.exe
C:\windows\system32\config.nt
The system is not suitable for running MS-DOS and microsoft windows application.
What is this and what do i do to run this app. I mean if my system cant run microsoft win apps then what good is it. :bleh:
 
Actually, us shud be able to use turbo C++ without installation.
And it works with XP, only it uses 100% processor resources (bad DOS emulation on XP).
PS: Unless u need it for college, DO NOT USE Turbo C++. It is non standard and substandard at the same time.
 
KingKrool said:
Actually, us shud be able to use turbo C++ without installation.
And it works with XP, only it uses 100% processor resources (bad DOS emulation on XP).
PS: Unless u need it for college, DO NOT USE Turbo C++. It is non standard and substandard at the same time.
Yeah.... Its a pathetic excuse for a compiler. You are better off with a version of gcc like cygwin. Even the MS C++ SDK is a much better option than it.
 
Works just fine on my PC with 32bit XP.
inport and outportb dosent work though. THe solution is create a small FAT partition. Load turbo C on that partition and when you want to use C just boot using a windows 98 boot floppy or CD and run TC from the dos mode.
 
The old TC++ works fine on my system...but have now shifted to the borland C++ compiler V5.0. This is compatible with XP.
As for the 16 bit sub-system error, i got the error on many occasions for other apps.
Heres what u can do.

Insert the XP PRO CD into the drive.
Type the following commands at the command prompt.

expand CD-ROM Drive Letter:\i386\config.nt_ c:\windows\system32\config.nt
expand CD-ROM Drive Letter:\i386\autoexec.nt_ c:\windows\system32\autoexec.nt
expand CD-ROM Drive Letter:\i386\command.co_ c:\windows\system32\command.com
exit
 
What chaos gave worsk fine if wanna run small apps and TC installed fine and runs good.

Hwever the cd refused to run coz it said it needs an operating system. so lets try the argus post and thinkdigit thread.

Renegade posted 20.25 minutes later:

Thank you all so much for the info.
1]. I replced the text in the C:\windows\system32\autoexec.nt file just as it_waznt_me said with this...
@echo off

REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.

REM Install CD ROM extensions
lh %SystemRoot%\system32\mscdexnt.exe

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redir

REM Install DPMI support
lh %SystemRoot%\system32\dosx

REM The following line enables Sound Blaster 2.0 support on NTVDM.
REM The command for setting the BLASTER environment is as follows:
REM SET BLASTER=A220 I5 D1 P330
REM where:
REM A specifies the sound blaster's base I/O port
REM I specifies the interrupt request line
REM D specifies the 8-bit DMA channel
REM P specifies the MPU-401 base I/O port
REM T specifies the type of sound blaster card
REM 1 - Sound Blaster 1.5
REM 2 - Sound Blaster Pro I
REM 3 - Sound Blaster 2.0
REM 4 - Sound Blaster Pro II
REM 6 - SOund Blaster 16/AWE 32/32/64
REM
REM The default value is A220 I5 D1 T3 and P330. If any of the switches is
REM left unspecified, the default value will be used. (NOTE, since all the
REM ports are virtualized, the information provided here does not have to
REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only.
REM The T switch must be set to 3, if specified.
SET BLASTER=A220 I5 D1 P330 T3

REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid
REM SB base I/O port address. For example:
REM SET BLASTER=A0

2]. Did a search for config.nt file and then copied it from the repair folder to the system32 folder.

Everything works fine for me now.
 
Well if you want something more powerful, you can always try out a full fledged x86 emulator like the commercial vmware(www.vmware.com), microsoft virtual pc or the open source bochs(bochs.sourceforge.net)
 
Back
Top