This is yet another UNIX-like toy operating system, which runs on emulated hardware. This was an extended class project, so I was not at liberty to choose architecture, the instruction set, and the system calls to implement.
Highlights: UNIX-like OS kernel with semaphores, virtual memory and asynchronous I/O, hardware emulator, ``bus'' paradigm for both OS and hardware, extensibility to multi-processor architecture, C++ in full grace.
This project was carried out in Fall 1992.
C++ *is* good for writing OS kernels. Here's an example. [plain text file]
An article posted on the newsgroup comp.lang.c++ on
Tue Sep 13 09:43:22 CDT 1994
toyOS.c++.tar.gz [158K]
Complete source code archive, sample programs, traces, and
their analysis
published in comp.sources.misc, vol 44, issues
53-56.
xPRAM is, what is in
there, and how to read and write it.
AliasRecord or FSSpec. The
function is especially useful when dealing with
odoc, pdoc or any other file-related
AppleEvent.
ASCII C string, or as a FSSpec. There is also
code to convert FSSpec to the full path name, and to figure
out the full path name to the System Folder.
printf() into an alert box, and the
automatic conversion from a C to a Pascal
string. Also included is the code for handling of Mandatory Apple Events
OpenApplication, {Open|Print}Document, Quit, and a template for getting hold of the files
dropped on the application.
This site's top page is http://okmij.org/ftp/
Converted from SXML by SXML->HTML