home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 213 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  3.5 KB

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