🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #11314

Mach. Simulators for OS Design

#11314
From: Travis C. Hayes
Date: Thu, 19 Nov 1992 16:53
43 lines
2366 bytes
This may not really belong in comp.arch but...

Does anyone know of any publicly available (by ftp) machine simulators
that would run under UNIX and include a compiler.

The reason:

I am doing some operating system design and I would like to do the
design work in a UNIX environment. Of course I don't always get what I
want, but this is what I would like:

A C compiler (gcc would be great) that runs under UNIX and produces
object code for the simulated machine. This, I assume, is no big
problem if a decent simulated machine exists.

A way of copying a kernel produced by the compiler (with some assembly
code) into the memory space of the simulated machine (which would be
in virtual memory on the UNIX machine) and then a way to start execution
at a certain address.

It would be nice if the simulated machine was relatively complex,
32-bit arch., MMU, some simulated hardware devices like disk I/O
(stores filesystem in one UNIX file maybe) and simple character
output (for debugging and seeing what is actually going on).

It's a tall order, but why not? I don't expect it to be fast of course.
I believe such a thing would be useful for many applications.
I find myself wishing for simulated machines all the time; maybe
someone else does too. Boy do I sound like a nerd  8-D

If no one has such a thing, I just might be convinced to work on one
myself... Sounds like fun.


It kind of obscures my goal of OS design though.
-- 
+-------------------------------------------------------------------------+
| Travis C. Hayes                                         Travis C. Hayes |
| University of New Hampshire               UNH Research Computing Center |
| Computer Science Major                     Computer Operator/Programmer |
+-------------+-----------------------------------------------------------+
| tch@unh.edu | You too can get your CS degree in only 6 years!           |
+-------------+-----------------------------------------------------------+
Technical Details
Message-ID: <1eggqjINN4u0@mozz.unh.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!virgin!unhtel!mozz.unh.edu!kepler.unh.edu!tch

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!virgin!unhtel!mozz.unh.edu!kepler.unh.edu!tch
From: tch@kepler.unh.edu (Travis C. Hayes)
Newsgroups: comp.arch
Subject: Mach. Simulators for OS Design
Date: 19 Nov 1992 16:53:39 GMT
Organization: University of New Hampshire  -  Durham, NH
Lines: 43
Message-ID: <1eggqjINN4u0@mozz.unh.edu>
NNTP-Posting-Host: kepler.unh.edu