All of lore.kernel.org
 help / color / mirror / Atom feed
* (free)dos under xen
@ 2005-02-15  0:30 James Harper
  2005-02-15  0:58 ` Jacob Gorm Hansen
  2005-02-15  4:15 ` Travis Newman
  0 siblings, 2 replies; 9+ messages in thread
From: James Harper @ 2005-02-15  0:30 UTC (permalink / raw)
  To: xen-devel

I may have already asked this a while ago... would it be possible for
dos (free or ms) to run under xen, or does it have to be 'protected'
mode operating system?

And if dos worked, what are the chances of getting some of the 386
extender (dos4gw if I remember correctly) style games working? Or is
that precisely the thing that would need to be recompiled to work under
xen?

If only real mode dos could work, how easy would it be to modify the xen
scheduler to simulate a much slower machine?

Thanks

James


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (free)dos under xen
  2005-02-15  0:58 ` Jacob Gorm Hansen
@ 2005-02-15  0:56   ` Mark Williamson
  2005-02-16 14:46     ` xend and printf in libxc Grzegorz Milos
  2005-02-16 14:49     ` (free)dos under xen Grzegorz Milos
  0 siblings, 2 replies; 9+ messages in thread
From: Mark Williamson @ 2005-02-15  0:56 UTC (permalink / raw)
  To: xen-devel; +Cc: Jacob Gorm Hansen, James Harper

> if what you want is a slower machine, why not just use Bochs?

Or QEmu (which is very nice).

Cheers,
Mark


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (free)dos under xen
  2005-02-15  0:30 (free)dos under xen James Harper
@ 2005-02-15  0:58 ` Jacob Gorm Hansen
  2005-02-15  0:56   ` Mark Williamson
  2005-02-15  4:15 ` Travis Newman
  1 sibling, 1 reply; 9+ messages in thread
From: Jacob Gorm Hansen @ 2005-02-15  0:58 UTC (permalink / raw)
  To: James Harper; +Cc: xen-devel

James Harper wrote:
> I may have already asked this a while ago... would it be possible for
> dos (free or ms) to run under xen, or does it have to be 'protected'
> mode operating system?
> 
> And if dos worked, what are the chances of getting some of the 386
> extender (dos4gw if I remember correctly) style games working? Or is
> that precisely the thing that would need to be recompiled to work under
> xen?
> 
> If only real mode dos could work, how easy would it be to modify the xen
> scheduler to simulate a much slower machine?
> 

hi,

if what you want is a slower machine, why not just use Bochs?

Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: (free)dos under xen
@ 2005-02-15  2:41 James Harper
  0 siblings, 0 replies; 9+ messages in thread
From: James Harper @ 2005-02-15  2:41 UTC (permalink / raw)
  To: Mark Williamson, xen-devel; +Cc: Jacob Gorm Hansen

> 
> > if what you want is a slower machine, why not just use Bochs?
> 
> Or QEmu (which is very nice).
> 

A slower machine is just one possible feature. Doing it using a CPU
emulator would be a gross waste of CPU cycles imho.

One of the reasons for wanting a DOS domain (no need for artificial
slowness here) is for keeping a few legacy applications going without
having to keep them on their aging hardware, or wasting new hardware on
them.

All things considered, dosemu might be a better option.

thanks

James


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (free)dos under xen
  2005-02-15  0:30 (free)dos under xen James Harper
  2005-02-15  0:58 ` Jacob Gorm Hansen
@ 2005-02-15  4:15 ` Travis Newman
  1 sibling, 0 replies; 9+ messages in thread
From: Travis Newman @ 2005-02-15  4:15 UTC (permalink / raw)
  To: xen-devel

Just use dosbox. Very capable. I played Quake under it just to test it 
out (spent most of my time there playing Crystal Caves) or if you're 
looking for more than games, dosemu.

James Harper wrote:

>I may have already asked this a while ago... would it be possible for
>dos (free or ms) to run under xen, or does it have to be 'protected'
>mode operating system?
>
>And if dos worked, what are the chances of getting some of the 386
>extender (dos4gw if I remember correctly) style games working? Or is
>that precisely the thing that would need to be recompiled to work under
>xen?
>
>If only real mode dos could work, how easy would it be to modify the xen
>scheduler to simulate a much slower machine?
>
>Thanks
>
>James
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/xen-devel
>
>  
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: (free)dos under xen
@ 2005-02-15  5:35 Ian Pratt
  2005-02-15 11:15 ` Stephan Diestelhorst
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Pratt @ 2005-02-15  5:35 UTC (permalink / raw)
  To: James Harper, xen-devel; +Cc: ian.pratt


> I may have already asked this a while ago... would it be possible for
> dos (free or ms) to run under xen, or does it have to be 'protected'
> mode operating system?
> 
> And if dos worked, what are the chances of getting some of the 386
> extender (dos4gw if I remember correctly) style games working? Or is
> that precisely the thing that would need to be recompiled to 
> work under
> xen?
> 
> If only real mode dos could work, how easy would it be to 
> modify the xen
> scheduler to simulate a much slower machine?

Now that Xen supports vm86 mode, it probably wouldn't be a huge amount
of work to get dos or other 16 bit apps working. You'd have to think
through what to do about IO, though. Possibly hook into the emulation
stuff that's used for VMX guests.
Feel free :-)

Cheers,
Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (free)dos under xen
  2005-02-15  5:35 Ian Pratt
@ 2005-02-15 11:15 ` Stephan Diestelhorst
  0 siblings, 0 replies; 9+ messages in thread
From: Stephan Diestelhorst @ 2005-02-15 11:15 UTC (permalink / raw)
  To: xen-devel

> > I may have already asked this a while ago... would it be possible for
> > dos (free or ms) to run under xen, or does it have to be 'protected'
> > mode operating system?
> >
> > And if dos worked, what are the chances of getting some of the 386
> > extender (dos4gw if I remember correctly) style games working? Or is
> > that precisely the thing that would need to be recompiled to
> > work under
> > xen?
> >
> > If only real mode dos could work, how easy would it be to
> > modify the xen
> > scheduler to simulate a much slower machine?
>
> Now that Xen supports vm86 mode, it probably wouldn't be a huge amount
> of work to get dos or other 16 bit apps working. You'd have to think
> through what to do about IO, though. Possibly hook into the emulation
> stuff that's used for VMX guests.
> Feel free :-)

As Ian suggests, it should work with vm86 enabled. You may wish to start with 
dosbox under linux in dom0, this ought to work. And it doesn't eat up cpu 
cycles like candy :)If you want to run a single DOS on Xen, you will 
definitely have to introduce some "abstraction" layer, similar to the one 
dosbox provides. dos4gw is an interesting beast, it tries different 
interfaces to switch itself into protected mode (DPMI is the one i recall). 
That might result in some neat lowlevel hacking ;) Again, dosbox is said to 
support dos4gw games to some extent, so have a look there!

Cheers,
  Stephan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* xend and printf in libxc
  2005-02-15  0:56   ` Mark Williamson
@ 2005-02-16 14:46     ` Grzegorz Milos
  2005-02-16 14:49     ` (free)dos under xen Grzegorz Milos
  1 sibling, 0 replies; 9+ messages in thread
From: Grzegorz Milos @ 2005-02-16 14:46 UTC (permalink / raw)
  To: xen-devel

Hi there!

I seem to have this problem of all the output (both stdout and stderr) of C 
part of xend (libxc) does not appear in the xend log (or on the console). Do 
you know what is the reason and how to change it?
Cheers
Gregor

-- 
Quidquid latine dictum sit, altum viditur --- Anon


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (free)dos under xen
  2005-02-15  0:56   ` Mark Williamson
  2005-02-16 14:46     ` xend and printf in libxc Grzegorz Milos
@ 2005-02-16 14:49     ` Grzegorz Milos
  1 sibling, 0 replies; 9+ messages in thread
From: Grzegorz Milos @ 2005-02-16 14:49 UTC (permalink / raw)
  To: xen-devel

ok - it seems to be in the debug log. Ignore the previous email.
G
-- 
Quidquid latine dictum sit, altum viditur --- Anon


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-02-16 14:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-15  0:30 (free)dos under xen James Harper
2005-02-15  0:58 ` Jacob Gorm Hansen
2005-02-15  0:56   ` Mark Williamson
2005-02-16 14:46     ` xend and printf in libxc Grzegorz Milos
2005-02-16 14:49     ` (free)dos under xen Grzegorz Milos
2005-02-15  4:15 ` Travis Newman
  -- strict thread matches above, loose matches on Subject: below --
2005-02-15  2:41 James Harper
2005-02-15  5:35 Ian Pratt
2005-02-15 11:15 ` Stephan Diestelhorst

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.