home *** CD-ROM | disk | FTP | other *** search
- Path: iaehv.IAEhv.nl!not-for-mail
- From: peterk@IAEhv.nl (Peter Korsten)
- Newsgroups: comp.unix.amiga
- Subject: Re: UNIX running AmigaOS?
- Date: 23 Jan 1996 14:29:26 GMT
- Organization: Internet Access Eindhoven, the Netherlands
- Message-ID: <4e2rc6$fi4@iaehv.IAEhv.nl>
- References: <4don4j$s4q@newsstand.cit.cornell.edu>
- NNTP-Posting-Host: iaehv.iaehv.nl
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Book of News, verse <4don4j$s4q@newsstand.cit.cornell.edu>: And Benjamin Kenobi spake:
- |
- | Here's a thought I had about AmigaOS and UNIX running concurrently. I've heard
- | that there was at one time a project to develop a UNIX system which would
- | multitask with AmigaOS. This sounds neat, but there would probably be a lot
- | of work involved in rewriting the UNIX source code. Here's my thought:
- |
- | Wouldn't it make more sense to take say NetBSD or Linux for Amiga and then
- | rewrite the much smaller amiga Exec to run under NetBSD/Linux?
-
- Yes, it would. In fact, I have been thinking about this problem for some
- time now. Trying to make a Unix program run under or with AmigaOS would
- be something like trying to balance a bucket on top of a needle.
-
- | Maybe even in this situation, AmigaOS would automatically have virtual memory
- | as a result of Exec using the UNIX kernel routines.
-
- Or at least, your system would not crash after a program violated some
- basic programming rules.
-
- | You could even have the UNIX frame-buffer appear as an amiga screen that
- | you could flip and drag.
-
- Dunno. I'd say, make the layers.library open X windows. What to do with
- Intuition and so on, I would have to think about that.
-
- | Just thought I'd throw this out and see what comments arise.
-
- I think that it would be quite feasable to have Amiga binaries run under
- some or other Amiga Unix. You would have to rewrite Exec and the exec
- .library (those are two different things) for a start. The Unix kernel
- would have to be patched, so that it can load and execute Amiga files.
- The scheduling, task switching, etc. of Exec - well, we have Unix for
- that purpose.
-
- Some functions of the exec.library (like InitStruct, MakeLibrary) can
- be easily written in C, some (like AllocMem) require a bit more re-
- writing, some (like SetIntVector and Cause) I don't know yet what to
- do with them and some (like Supervisor) would cause a Privilige Violation.
-
- All devices would have to be rewritten, as would the graphics.library.
- Any other software, like libraries and application programs, that are
- written cleanly and don't directly write to the video memory or the
- hardware, would be able to run, I think. I don't know what Intuition
- and Dos would do. They might even work. (Uh... RethinkDisplay does
- call some specific graphics.library stuff, doesn't it? Having to do
- with Copper lists etc.?)
-
- DPaint wouldn't run, and neither would SoundTracker. :-) But my super
- fast Mandelbrot program (48 seconds on a A500 with 1 Mb memory) would,
- I'm sure about that. It worked under 1.4, for instance.
-
- So, in my opinion, it would be quite feasible. The only problem is
- that with every new release of the OS, a whole load of new functions
- like AllocPrivateMemoryPool or CachePreDMA or whatever is introduced,
- and my documentation only covers 1.3... Does anybody happen to know
- if and where there are autodocs for 2.0/3.0 available?
-
- Share and enjoy,
- Peter.
- --
- Peter Korsten | peterk@IAEhv.nl (IAE/urgent mail) | finger peterk@iaehv.nl
- helpdesk/hacker | peter@grendel.IAEhv.nl (personal) | for URL and PGP key
-
- "I don't use computers." -Irving Gould, former Commodore executive
-