Path: utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!mcdchg!tellab5!balr!clrcom!rmartin From: rmartin@clear.com (Bob Martin) Newsgroups: comp.lang.c Subject: Re: XINU was: Unix and C Summary: The XINU book Message-ID: <1990Nov10.192509.21199@clear.com> Date: 10 Nov 90 19:25:09 GMT References: <4458@mint39.UUCP> Organization: Clear Communications, Inc. Lines: 27 In <4458@mint39.UUCP> gunda@motcid.UUCP (Indira Gunda) writes: >richb@railnet.UUCP (Richard Banks) writes: >>How can Unix be written in C ? I thought all OS`s had to be written >>in assembly language, else they'd have the same interrupts as the >>OS you booted your complier language under to write the program ? >Yes ... Why and how can UNIX be written in C? I'd also like to know. There is an excellent book on the subject. Although I can't think of the complete title and author, it is a very common book and I am sure another poster will be able to identify it better than I. The title of the book is something like "The XINU operating system." This book contains a complete miniature operating system written almost entirely in C. It is well written and the source can be obtained magnetically if desired. Certainly this book is worth exploring if you are interested in the contstruction of operating systems. -- +-Robert C. Martin-----+---------------------------------------------+ | rmartin@clear.com | My opinions are mine. They aren't anybody | | uunet!clrcom!rmartin | elses. And thats the way I want to keep it.| +----------------------+---------------------------------------------+