[comp.os.minix] Minix on the 80386, NSC32016

hermit@devon.UUCP (Mark Buda) (04/10/88)

Hello peoples...

My father is getting an 80386 AT-compatible with an 80Meg hard drive Any
Day Now. And, of course, I am appropriating 60 Megs of the hard drive so's
I can run Minix. And, at work we've got a NSC32016-based machine that's
on its way here. As it has no real purpose in life, I am going to
appropriate it to run Minix. Now, I've got Minix 1.1, and I've only got ONE
hard disk driver; where it says I should have at_wini.c and xt_wini.c I've
just got wini.c; I assume it is the XT version because it manages to read
an XT's hard drive. So: could some kind soul send me at_wini.c?

And: how much different is Minix 1.2 from 1.1? Would it be easier to get
diffs, or the whole thing?

And, I understand there's been a NSC320xx port of Minix. Where can I get
it? How much will it cost, if anything?

And, how much work has anybody done in getting Minix to run on the 80386?
I don't mean just run like and 8086/8, I mean like adding virtual memory,
and such. Has anybody ported GCC to the 386 and gotten it to run under
Minix? Would anybody like GCC ported to the 386 if nobody's done it?

Has anybody seen my keys?

-- 
Mark Buda			Smart UUCP: hermit@chessene.uucp
Dumb UUCP: ...{rutgers,ihnp4,cbosgd}!bpa!vu-vlsi!devon!chessene!hermit
Entropy will get you in the end.
"A little suction does wonders." - Gary Collins

paula@bcsaic.UUCP (Paul Allen) (04/13/88)

In article <749@devon.UUCP> hermit@chessene.UUCP (Mark Buda) writes:
[...]
>
>And, how much work has anybody done in getting Minix to run on the 80386?
>I don't mean just run like and 8086/8, I mean like adding virtual memory,
>and such. Has anybody ported GCC to the 386 and gotten it to run under
>Minix? Would anybody like GCC ported to the 386 if nobody's done it?

Included in my long-range plans is the acquisition of a 386 box to
replace my aging Z-100.  The idea of porting the GNU c compiler to run
on a 386 under minix is really attractive.  From the 15 minutes I spent
perusing the gcc sources, it looks like it would be at least possible to
add a 386 code generator.  The machine details needed by the code
generator appear to all be contained in a header file.  (Note that I
have never written a compiler, and I haven't written any 386 code!)

Assuming that one has stock 8086 minix running on a 386 box, the steps that 
I see are something like this:

1 - Fix minix so it can handle an a.out with more than 64K of code and
	64K of data.  I've no idea how hard this would be.

2 - Add 386 code-generation capability to gcc using some reasonable
	machine like a Sun or a VAX (or your MesSDOS 386!) as a
	development environment.

3 - Move the compiler executable to your 386 minix environment for testing.
	Compile the compiler with itself under minix.

4 - Repeat steps 2 and 3 as needed.  :-)


So, I'll ask the question too.  Is anybody working on getting minix to
take full advantage of the 386 and/or porting gcc to the 386/minix?  I
would love to work on something like this, but realistically, I won't
have time to do it by myself.  I might be game for some sort of
collaboration, however.

Paul Allen
-- 
------------------------------------------------------------------------
Paul L. Allen                       | paula@boeing.com
Boeing Advanced Technology Center   | ...!uw-beaver!ssc-vax!bcsaic!paula