A method for Launch WIN.COM of NT in DOS ? or VM in DOS ?

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
User avatar
Cpcdos
Member
Member
Posts: 35
Joined: Sat Feb 02, 2013 4:16 pm
Location: France [Lyon]

A method for Launch WIN.COM of NT in DOS ? or VM in DOS ?

Post by Cpcdos »

Hi,

I would know how launch win.com of windows 2k / XP from DOS ?

For this message "can not run in dos mode" , I use HxDOS extender for launch PE format/WIN32 executable in DOS, WIN.COM launches,
i have flickers and a small white square in middle of screen, and a return in dos ...


i'm aware that NT kernel don't use DOS...

And...
If is not possible, there are a solution for execute a VM in DOS ? or a very good emulator ?

Thank! :)
FAVIER Sébastien
Sorry for my bad bad English level, I'm young French studient .. :)
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by AJ »

Hi,

DOS is an OS and NT based kernels are also OSes - unlike Win95 which ran on top of DOS. You wouldn't expect to be able to run the Linux kernel on top of MS-DOS....

What are you trying to achieve and why? Perhaps there's a better alternative solution?

Cheers,
Adam
User avatar
Cpcdos
Member
Member
Posts: 35
Joined: Sat Feb 02, 2013 4:16 pm
Location: France [Lyon]

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by Cpcdos »

Thank for your response
okay

I try to find a way to run win2k or winXP from a DOS ( MS-DOS/DR-DOR/FREE-DOS....) session
FAVIER Sébastien
Sorry for my bad bad English level, I'm young French studient .. :)
Casm
Member
Member
Posts: 221
Joined: Sun Oct 17, 2010 2:21 pm
Location: United Kingdom

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by Casm »

Cpcdos wrote:Thank for your responseI try to find a way to run win2k or winXP from a DOS ( MS-DOS/DR-DOR/FREE-DOS....) session
You can't do it. Windows NT is not a DOS application, and it expects to run on top of "bare metal" - nothing else. Or at least a sophisticated virtual machine, which makes it think that it is doing so. I would be very surprised if you could find something like that for MS-DOS - especially now that it has been off the market for more than twenty years.
User avatar
Cpcdos
Member
Member
Posts: 35
Joined: Sat Feb 02, 2013 4:16 pm
Location: France [Lyon]

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by Cpcdos »

Yeah I understand .. :(


But on this program http://www.japheth.de/HX.html
With this extender i can run DosBox or QEMU on DOS :D
I have test with DLL(s) emulation (opengl32 / SDL) with this program, in dos it work ! :D
FAVIER Sébastien
Sorry for my bad bad English level, I'm young French studient .. :)
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by bluemoon »

If you are satisfied with qemu on top of DOS, why not just run a VM on bare metal?
Is there any very special reason for the DOS?
Mikemk
Member
Member
Posts: 409
Joined: Sat Oct 22, 2011 12:27 pm

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by Mikemk »

This reminds me of an early thread by Antti.
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by Yoda »

You can't run XP on top of the DOS. The so-called NT-family (NT3.1, NT3.5, NT4.0, W2000, XP, WS2003, XP64, MCE2005) don't have WIN.COM file that could be launched from DOS command line. They are based on NTLDR technique. NTLDR is second stage NT loader that is booted by boot sector and immediately switches CPU to protected mode. The DOS-based line of Microsoft's OS is the following: Win 1.0, 2.0, 3.0, 3.11, Win95, Win98, Win98SE, WinME. These OS can be launched on top of the DOS. The modern line starting from Vista is also booted like classic NT-family but they switched to BOOTMGR second stage loader.
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
User avatar
Cpcdos
Member
Member
Posts: 35
Joined: Sat Feb 02, 2013 4:16 pm
Location: France [Lyon]

Re: A method for Launch WIN.COM of NT in DOS ? or VM in DOS

Post by Cpcdos »

Okay,
hof! ...
i have understood, thank you very much for your responses!!

subject is completed

Bye :)
FAVIER Sébastien
Sorry for my bad bad English level, I'm young French studient .. :)
Post Reply