home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.minix
- Path: sparky!uunet!gatech!udel!rochester!rit!cci632!adw
- From: adw@cci632.cci.com (Allen Williams (co-op))
- Subject: Basic MINIX ST questions
- Message-ID: <1992Aug25.171217.4016@cci632.cci.com>
- Organization: Computer Consoles Incorporated
- Date: Tue, 25 Aug 1992 17:12:17 GMT
- Lines: 60
-
-
- I've purchased Andy T.'s Minix textbook, and I found it interesting and
- a sight better more informative than the dull and boring OS book I used
- for an OS class I took. I especially appreciated the extra detail in file
- systems, somtheing that was glossed over in the class.
-
- I've ordered Minix for my Atari ST from the address in the FAQ, but I sent
- the order last week so it might be a bit early for it to arrive.
-
- As the book was for the IBM PC, I have some questions about the Atari
- specific version of Minix. These are basic questions but hopefully not
- something people are tired of hearing:
-
- I know there is no paging of memory for Minix, as there isn't
- any good hardware support. However, is memory accesses outside
- the process space restricted? Can I write an user program to
- diddle with the kernel or file system space? If so, is this
- just one of those things you're not supposed to do but can
- do anyway? If I access memory outside my program space, will a
- core dump be generated?
-
- How are memory holes handled? I'm afraid I'm not clear on this
- feature. Is memory compacted as the holes become too small or
- too numerous, or does one have to reboot Minix when no new
- processes can be created due to none of the holes being big enough?
-
- On the Atari, how is program expansion handled? For the IBM PC
- in the minix book, there is a system call called "brk" which will
- allow the program to grow upward toward the program stack. I think
- this was due to a limitation of the 286's 64k segmentation. I would
- think that Atari Minix won't have this limitation. Do I use a
- malloc() call, and the memory manager will allocate any free memory for
- my process, and not just the memory between my process and the stack?
-
-
- Has anyone done any hardware hacking for the ST to make it run better
- with Minix? I have two Atari computers, one which I'm willing to
- donate to science (it won't read from the floppy but runs OK from
- a hard drive).
-
- I was thinking of building a memory mangler for the ST, based on
- my understanding of how Minix works. If a process has a lower and
- upper limit that it can access (if my supposition about malloc()
- above doesn't hold true), then perhaps when the cpu is in user mode
- and it tries to access memory outside this range, an interrupt is
- generated and the kernel kills the process and generates a core
- dump.
-
- Perhaps a small controller could provide some rudimentary memory
- management, such as keeping track of the pages assigned and making
- sure that the cpu doesn't stray from the proper areas of memory
- it's supposed to access. It sounds like a bit of work, and I
- would like to hear of other people's efforts in this matter.
-
- Well, I think that's enough questions to ask for now. I would be deeply
- appreciative to hear from other Atari (or any other computer) Minix
- hackers!
-
- Derrick
-
-