home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 10946 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.3 KB

  1. Path: sparky!uunet!virgin!unhtel!mozz.unh.edu!kepler.unh.edu!tch
  2. From: tch@kepler.unh.edu (Travis C. Hayes)
  3. Newsgroups: comp.arch
  4. Subject: Mach. Simulators for OS Design
  5. Date: 19 Nov 1992 16:53:39 GMT
  6. Organization: University of New Hampshire  -  Durham, NH
  7. Lines: 43
  8. Message-ID: <1eggqjINN4u0@mozz.unh.edu>
  9. NNTP-Posting-Host: kepler.unh.edu
  10.  
  11. This may not really belong in comp.arch but...
  12.  
  13. Does anyone know of any publicly available (by ftp) machine simulators
  14. that would run under UNIX and include a compiler.
  15.  
  16. The reason:
  17.  
  18. I am doing some operating system design and I would like to do the
  19. design work in a UNIX environment. Of course I don't always get what I
  20. want, but this is what I would like:
  21.  
  22. A C compiler (gcc would be great) that runs under UNIX and produces
  23. object code for the simulated machine. This, I assume, is no big
  24. problem if a decent simulated machine exists.
  25.  
  26. A way of copying a kernel produced by the compiler (with some assembly
  27. code) into the memory space of the simulated machine (which would be
  28. in virtual memory on the UNIX machine) and then a way to start execution
  29. at a certain address.
  30.  
  31. It would be nice if the simulated machine was relatively complex,
  32. 32-bit arch., MMU, some simulated hardware devices like disk I/O
  33. (stores filesystem in one UNIX file maybe) and simple character
  34. output (for debugging and seeing what is actually going on).
  35.  
  36. It's a tall order, but why not? I don't expect it to be fast of course.
  37. I believe such a thing would be useful for many applications.
  38. I find myself wishing for simulated machines all the time; maybe
  39. someone else does too. Boy do I sound like a nerd  8-D
  40.  
  41. If no one has such a thing, I just might be convinced to work on one
  42. myself... Sounds like fun.
  43.  
  44.  
  45. It kind of obscures my goal of OS design though.
  46. -- 
  47. +-------------------------------------------------------------------------+
  48. | Travis C. Hayes                                         Travis C. Hayes |
  49. | University of New Hampshire               UNH Research Computing Center |
  50. | Computer Science Major                     Computer Operator/Programmer |
  51. +-------------+-----------------------------------------------------------+
  52. | tch@unh.edu | You too can get your CS degree in only 6 years!           |
  53. +-------------+-----------------------------------------------------------+
  54.