Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Bochs x86 emulation
@ 1996-09-11 11:43 Nils Faerber
  0 siblings, 0 replies; 6+ messages in thread
From: Nils Faerber @ 1996-09-11 11:43 UTC (permalink / raw)


Just in case someone is interested in it I just wanted to report that I just
managed to compile and run bochs-9608?? on my Jensen! And yes: My Jensen
booted DOS like a real ... XT :(
Yes it's slow but could be usable in the future. I think this could be a
solution for upcoming Linux platforms to support DOS and even Windows
software! The emulator itself is free for non-commercial use. It will even
emulate a 386 in the future! Minix is reported to boot too!
I will test it tonight on my Sparc (with Linux of course) :)
So far...
CU
  nils

PS: You can obtain bochs from ftp://ftp.std.com/pub/bochs/

-- 
Nils Faerber (Linux Nils)        eMail: nils@vespa.unix-ag.uni-siegen.de
Student of computer science      http://www.unix-ag.uni-siegen.de/~nils/
Unix user group, University of Siegen, Germany

Siegen ... the arctic rain forest!

--

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Bochs x86 emulation
       [not found] <199609111143.NAA08915@vespa.unix-ag.uni-siegen.de>
@ 1996-09-11 11:56 ` Linus Torvalds
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Torvalds @ 1996-09-11 11:56 UTC (permalink / raw)


On Wed, 11 Sep 1996, Nils Faerber wrote:
> 
> Just in case someone is interested in it I just wanted to report that I just
> managed to compile and run bochs-9608?? on my Jensen! And yes: My Jensen
> booted DOS like a real ... XT :(
> Yes it's slow but could be usable in the future. I think this could be a
> solution for upcoming Linux platforms to support DOS and even Windows
> software! The emulator itself is free for non-commercial use. It will even
> emulate a 386 in the future! Minix is reported to boot too!

Note that one fun thing that might be worth testing is to emulate Linux/x86
binaries. That's a LOT easier than doing generic protected more 386
emulation, and it should be pretty easy to "emulate" the system calls (doing
them natively). That would allow running stuff like ApplixWare on top of
Linux/alpha (the same way that FX!32 runs 386 NT binaries on top of alpha
NT). 

Yes, I'm a sick person. I'll go away now,

		Linus

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Bochs x86 emulation
@ 1996-09-11 14:37 David A Rusling
  0 siblings, 0 replies; 6+ messages in thread
From: David A Rusling @ 1996-09-11 14:37 UTC (permalink / raw)


There's two ways that you _could_ go with emulation, solving two distinct
problems:

[1] Run windows and dos apps on Linux AXP 
	- a possible solution is Wine + x86 emulation

[2] Run Linux Intel applications on Linux AXP
	- a possible solution is emulation libraries + x86 emulation

Dave

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Bochs x86 emulation
@ 1996-09-11 15:44 Donnie Barnes
  1996-09-11 15:55 ` Erik Troan
  0 siblings, 1 reply; 6+ messages in thread
From: Donnie Barnes @ 1996-09-11 15:44 UTC (permalink / raw)


> There's two ways that you _could_ go with emulation, solving two distinct
> problems:
> 
> [1] Run windows and dos apps on Linux AXP 
> 	- a possible solution is Wine + x86 emulation

With Bochs you don't need Wine.  It provides a complete virtual
machine including a Hercules video driver in an X window.

> [2] Run Linux Intel applications on Linux AXP
> 	- a possible solution is emulation libraries + x86 emulation

Well, again, with Bochs you have a virtual machine.  As soon as 
386 emulation is complete you *should* be able to boot Intel/Linux
natively.  Then write a VGA driver and run VGA X windows inside of
an X window and run your apps there.  Sick...sick thing to do.

Bochs has potential, but the biggest drawback is that it isn't 
GPL'ed...it's shareware.  That and it's still *way* slow.  :-)

--Donnie

--
  Donnie Barnes        http://www.redhat.com/~djb     "Bah."
    djb@redhat.com       http://www.turner.com/lazarusman/   
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
_Things You'd NEVER Expect A Southerner To Say_ by Vic Henley:     
**  Alex, I'll take Shakespeare for $1000.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Bochs x86 emulation
       [not found] <Pine.LNX.3.91.960911145403.528A-100000@linux.cs.Helsinki.FI>
@ 1996-09-11 15:52 ` Richard Henderson
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1996-09-11 15:52 UTC (permalink / raw)


> Note that one fun thing that might be worth testing is to emulate Linux/x86
> binaries. That's a LOT easier than doing generic protected more 386
> emulation, and it should be pretty easy to "emulate" the system calls (doing
> them natively). That would allow running stuff like ApplixWare on top of
> Linux/alpha

An even more clever individual would also arrange things such that the
alpha libc.so is used instead of the i386 libc.so.

> (the same way that FX!32 runs 386 NT binaries on top of alpha NT). 

Actually, I believe FX!32 does dynamic recompilation and other extremely
nasty things as well.  I played with this a couple of years ago (though
I was recompiling the substantially simpler 8080) and got a feel for how
tricky this is.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Bochs x86 emulation
  1996-09-11 15:44 Donnie Barnes
@ 1996-09-11 15:55 ` Erik Troan
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Troan @ 1996-09-11 15:55 UTC (permalink / raw)


On Wed, 11 Sep 1996, Donnie Barnes wrote:

> > [1] Run windows and dos apps on Linux AXP 
> > 	- a possible solution is Wine + x86 emulation
> 
> With Bochs you don't need Wine.  It provides a complete virtual
> machine including a Hercules video driver in an X window.

If you want to run code w/o a Windows license you do need Wine though. If
you made Bochs handle the vm86() type stuff that the kernel provides through
hardware on Intel machines, Wine would work nicely (and much, much more
efficiently then it would doing full DOS/Windows/device driver emulation).

> > [2] Run Linux Intel applications on Linux AXP
> > 	- a possible solution is emulation libraries + x86 emulation
> 
> Well, again, with Bochs you have a virtual machine.  As soon as 
> 386 emulation is complete you *should* be able to boot Intel/Linux
> natively.  Then write a VGA driver and run VGA X windows inside of
> an X window and run your apps there.  Sick...sick thing to do.

Again, providing a proper emulation library (which should be straightforward
as we know how Linux/86 works and have the sources) would be a huge performance
benefit.

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
       us when we've die. - "The Last Supper" from Jesus Christ Superstar
|   Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu    |

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-09-11 15:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.91.960911145403.528A-100000@linux.cs.Helsinki.FI>
1996-09-11 15:52 ` Bochs x86 emulation Richard Henderson
1996-09-11 15:44 Donnie Barnes
1996-09-11 15:55 ` Erik Troan
  -- strict thread matches above, loose matches on Subject: below --
1996-09-11 14:37 David A Rusling
     [not found] <199609111143.NAA08915@vespa.unix-ag.uni-siegen.de>
1996-09-11 11:56 ` Linus Torvalds
1996-09-11 11:43 Nils Faerber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox