[comp.sys.amiga] BSD4.3

bennete@urania.CS.ORST.EDU (Erik Bennett;;;757-2454;) (02/13/89)

Suppose one had the source code for BSD4.3 for a 68010.
What would be involed in porting it to the amiga?
I understand that one would need a MMU, but is it possible?
-Erik

451061%UOTTAWA.BITNET@cornellc.ccs.cornell.edu (Valentin Pepelea) (02/13/89)

In Message-ID: <8825@orstcs.CS.ORST.EDU> Erik Bennett
<bennete@urania.cs.orst.> amusingly writes:

> Suppose one had the source code for BSD4.3 for a 68010.
> What would be involed in porting it to the amiga?
> I understand that one would need a MMU, but is it possible?
> -Erik

           How did you get your hands on the BSD 4.3 sources?

           Porting it to the Amiga would not be such an easy task. First,
you cant port it for a stock Amiga with its 68000 replaced by a 68010. You
also need an MMU. The Amiga 2500 has the MMU in it and so does the 68030.

           It all depends on how the code you have handles the MMU. The 68010
does not have a coprocessor interface like the 68020 does. If your code uses
inline 68851 instructions which are decoded by a small exception processing
routine, then you are in luck. If it uses macros, you will have to translate
the macros into real 68851 instructions. No big deal, but then you will
actually have to understand how the 68000 family of processors work!

           Device drivers. Remember those? You will have to write device
drivers for the disk drives, cereal port, and screen. Not an easy task. Do you
intend to re-write the graphics libraries and Intuition? Well, you dont really
have to, all you have to do is figure out how to send characters to the screen.
Markus Wandel has finally released his EXEC sources; you will see in there how
the Amiga does this. He also disassembled ROM-WACK, so you will also learn how
to handle the cereal port. You may download the sources from you favorite BBS.

           For the disk drive devices, you will have to get the EXEC sources
from Dr. Rupert from Germany. He also disassembled the EXEC as well as all the
libraries, except for Intuition. I also suggest you get Carl Sassenraths (sp?)
Gurus Guide #1. Even with the EXEC sources, youll still apreciate the
authors insight. I also suggest to contact Kellogs for additional cereal port
support.

Valentin

_________________________________________________________________________
"An  operating  system  without         Name: Valentin Pepelea
 virtual memory is an operating         Phone: (613) 233-1821
 system without virtue."                Bitnet: 451061@uottawa
                                        Usenet: Look at the header
         - Ancient Inca Proverb         Planet: Ontario!Canada!Earth

papa@pollux.usc.edu (Marco Papa) (02/13/89)

In article <8825@orstcs.CS.ORST.EDU> bennete@urania.CS.ORST.EDU (Erik Bennett) writes:
|Suppose one had the source code for BSD4.3 for a 68010.
|What would be involed in porting it to the amiga?
|I understand that one would need a MMU, but is it possible?

Anything is possible. It just takes time, money, and a license from AT&T :-)

-- Marco Papa 'Doc'

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
uucp:...!pollux!papa       BIX:papa       ARPAnet:pollux!papa@oberon.usc.edu
 "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

richard@gryphon.COM (Richard Sexton) (02/13/89)

In article <8825@orstcs.CS.ORST.EDU> bennete@urania.CS.ORST.EDU (Erik Bennett) writes:
>
>Suppose one had the source code for BSD4.3 for a 68010.

Suppose I send you a blank tape;  Can I have a copy ?

-- 
          "Hay hay, mye mye... rock an roll wil nevurr dye..."
richard@gryphon.COM                           gryphon!richard@elroy.jpl.NASA.GOV
decwrl!gryphon!richard     killer!gryphon!richard     ames!elroy!gryphon!richard

rokicki@polya.Stanford.EDU (Tomas G. Rokicki) (02/14/89)

> > Suppose one had the source code for BSD4.3 for a 68010.
> > What would be involed in porting it to the amiga?
> > I understand that one would need a MMU, but is it possible?
> > -Erik
>            Porting it to the Amiga would not be such an easy task. First,
> you cant port it for a stock Amiga with its 68000 replaced by a 68010. You
> also need an MMU. The Amiga 2500 has the MMU in it and so does the 68030.

And don't get stuck in the boat I was, when I finished my wonderful
port of OS-9 to the TRS-80 Color Computer.  Called Microware, ``sorry,
you can't do anything with it; we've sold exclusive rights to Tandy.''

Threw it (the OS-9) port in the trash.  But it worked better than Tandy's,
in many regards!

-tom

mp1u+@andrew.cmu.edu (Michael Portuesi) (02/14/89)

451061%UOTTAWA.BITNET@cornellc.ccs.cornell.edu (Valentin Pepelea) writes:
>            Device drivers. Remember those? You will have to write device
> drivers for the disk drives, cereal port, and screen.
			       ^^^^^^

So that explains the "Cap'n Crunch" selection on the 1.3 Preferences
display!

--
Michael Portuesi / Information Technology Center / Carnegie Mellon University
INET:   mp1u+@andrew.cmu.edu / BITNET: mp1u+@andrew
UUCP:   ...harvard!andrew.cmu.edu!mp1u+

"I'm very sorry, Master, but that WAS the backup system" -- Slave

hansb@ariel.unm.edu (Hans Bechtel) (02/15/89)

In article <oXxwQNy00VsfM9lrZU@andrew.cmu.edu> mp1u+@andrew.cmu.edu (Michael Portuesi) writes:
>> drivers for the disk drives, cereal port, and screen.
>
>So that explains the "Cap'n Crunch" selection on the 1.3 Preferences
                       ^^^^^^^^^^^^
Cap'n Crunch refers to "capture and crunch" to save memory while
downloading... ;-)



***********************    Hans Bechtel
* Amiga Before    /   *
*      The Rest  /    *    hansb@ariel.unm.edu
************** \/ *****    (505) 275-2797