The MASM Forum

Miscellaneous => 16 bit DOS Programming => Topic started by: Gunther on January 03, 2014, 10:16:11 AM

Title: Virtual Machine with 64 bit support
Post by: Gunther on January 03, 2014, 10:16:11 AM
I need a VM which can running DOS with 64 bit CPU emulation. The point is, DOSBox doesn't support this and VirtualBox isn't able to do that. Has anyone experiences?

Gunther
Title: Re: Virtual Machine with 64 bit support
Post by: dedndave on January 03, 2014, 11:05:03 AM
you might poke around in the OsDev.org website
someone may have an open-source project that goes your direction
don't expect it to be full-featured

http://wiki.osdev.org/Main_Page (http://wiki.osdev.org/Main_Page)

another possibility would be bogdan's site
i don't know if he plans to support 64-bit

http://oby.ro/os/index.html (http://oby.ro/os/index.html)
Title: Re: Virtual Machine with 64 bit support
Post by: sinsi on January 03, 2014, 07:59:29 PM
VirtualBox definitely supports 64-bit, I use it to test my VESA64 stuff.
VMware Player also does 64-bit and if you get the right build Bochs does too.
Title: Re: Virtual Machine with 64 bit support
Post by: Gunther on January 03, 2014, 11:36:18 PM
Hi sinsi,

Quote from: sinsi on January 03, 2014, 07:59:29 PM
VirtualBox definitely supports 64-bit, I use it to test my VESA64 stuff.
VMware Player also does 64-bit and if you get the right build Bochs does too.

I've read that, too. But in practice it fails. By starting Japhet's 64 bit example, which runs fine under plain DOS, it stops with the error message: No 64bit cpu detected. I've PAE enabled and the Host CPU is a 64 bit CPU (i7-3770). What's wrong with my settings? Do you have any idea?

Gunther
Title: Re: Virtual Machine with 64 bit support
Post by: sinsi on January 03, 2014, 11:50:43 PM
>Japhet's 64 bit example
Where is this?
Title: Re: Virtual Machine with 64 bit support
Post by: Gunther on January 04, 2014, 12:56:12 AM
Hi sinsi,

Quote from: sinsi on January 03, 2014, 11:50:43 PM
>Japhet's 64 bit example
Where is this?

It's here. (http://www.japheth.de/JWasm/Dos64.html) You can find the source inside jWasm's Samples directory as Dos64.asm. Hope that helps.

Gunther
Title: Re: Virtual Machine with 64 bit support
Post by: BogdanOntanu on January 04, 2014, 05:41:06 AM
Quote from: dedndave on January 03, 2014, 11:05:03 AM
you might poke around in the OsDev.org website
someone may have an open-source project that goes your direction
don't expect it to be full-featured

http://wiki.osdev.org/Main_Page (http://wiki.osdev.org/Main_Page)

another possibility would be bogdan's site
i don't know if he plans to support 64-bit

http://oby.ro/os/index.html (http://oby.ro/os/index.html)

Hi dendave ;)
To answer your implied question: Yes I intend to support 64 bits. In fact I already have an 64 bits version of SolarOS... I have done it foa some years now... but I have not released polished and it yet :D

I am in the middle of some "redesigns" of all of my projects (including Solar OS and SolASM but not only). And time for personal projects is scarce since actual life / work takes a lot of energy. When I am done you will see new releases ;)

However this does not help the OP. He wants an Virtual Machine that supports DOS in 64 bits ... not an OS.

Title: Re: Virtual Machine with 64 bit support
Post by: Gunther on January 04, 2014, 06:39:54 AM
Hi Bogdan,

Quote from: BogdanOntanu on January 04, 2014, 05:41:06 AM
However this does not help the OP. He wants an Virtual Machine that supports DOS in 64 bits ... not an OS.

right, but after you would have released your 64 bit OS version, I'll give it a try.

Gunther
Title: Re: Virtual Machine with 64 bit support
Post by: BogdanOntanu on January 04, 2014, 07:06:24 AM
Quote from: Gunther on January 04, 2014, 06:39:54 AM
Hi Bogdan,

Quote from: BogdanOntanu on January 04, 2014, 05:41:06 AM
However this does not help the OP. He wants an Virtual Machine that supports DOS in 64 bits ... not an OS.

right, but after you would have released your 64 bit OS version, I'll give it a try.

Gunther

Hi Gunther,
Thanks for your will to give it a try ;)