Dec 092017

The complete C source files for the XINU Operating System. This Unix clone is described in the book “Operating System Design, The XINU Approach”, by Douglas Comer. | |||
---|---|---|---|

File Name | File Size | Zip Size | Zip Type |

BUFPOOL.H | 896 | 358 | deflated |

CHPRIO.C | 2176 | 837 | deflated |

CLOSE.C | 512 | 205 | deflated |

CONF.C | 1792 | 549 | deflated |

CONF.H | 2048 | 708 | deflated |

CONTROL.C | 640 | 247 | deflated |

CREATE.C | 2560 | 922 | deflated |

DFALLOC.C | 640 | 231 | deflated |

DFCKMD.C | 1024 | 357 | deflated |

DFDSRCH.C | 1280 | 509 | deflated |

DIR.H | 1024 | 398 | deflated |

DISK.H | 2560 | 914 | deflated |

DOPRNT.C | 6400 | 1798 | deflated |

DSCNTL.C | 640 | 263 | deflated |

DSINIT.C | 1536 | 596 | deflated |

DSINTER.C | 1024 | 406 | deflated |

DSKENQ.C | 1152 | 419 | deflated |

DSKSTRT.C | 1152 | 447 | deflated |

DSKSYNC.C | 1024 | 394 | deflated |

DSOPEN.C | 1536 | 550 | deflated |

DSREAD.C | 896 | 340 | deflated |

DSSEEK.C | 768 | 341 | deflated |

DSWRITE.C | 768 | 306 | deflated |

DTC.H | 896 | 367 | deflated |

FILE.H | 1920 | 791 | deflated |

FPRINTF.C | 512 | 192 | deflated |

FREEBUF.C | 768 | 313 | deflated |

FREEMEM.C | 1280 | 451 | deflated |

GETBUF.C | 768 | 305 | deflated |

GETC.C | 512 | 222 | deflated |

GETITEM.C | 1024 | 298 | deflated |

GETMEM.C | 1024 | 396 | deflated |

GETPID.C | 384 | 158 | deflated |

GETSTK.C | 1152 | 444 | deflated |

IBCLEAR.C | 640 | 241 | deflated |

IBGET.C | 768 | 302 | deflated |

IBLFREE.C | 1280 | 470 | deflated |

IBLOCK.H | 896 | 392 | deflated |

IBNEW.C | 896 | 367 | deflated |

IBPUT.C | 896 | 383 | deflated |

INIT.C | 512 | 210 | deflated |

INITIALI.C | 6144 | 2107 | deflated |

INSERT.C | 896 | 326 | deflated |

INSERTD.C | 896 | 325 | deflated |

IO.H | 1024 | 419 | deflated |

IOERR.C | 384 | 152 | deflated |

IOINIT.C | 1792 | 547 | deflated |

IONULL.C | 384 | 156 | deflated |

KERNEL.H | 2304 | 833 | deflated |

KILL.C | 1024 | 455 | deflated |

KPRINTF.C | 2304 | 678 | deflated |

LFCLOSE.C | 1024 | 403 | deflated |

LFGETC.C | 1024 | 380 | deflated |

LFINIT.C | 640 | 262 | deflated |

LFPUTC.C | 1024 | 388 | deflated |

LFREAD.C | 896 | 332 | deflated |

LFSDFREE.C | 896 | 331 | deflated |

LFSEEK.C | 896 | 342 | deflated |

LFSETUP.C | 1664 | 534 | deflated |

LFSFLUSH.C | 640 | 272 | deflated |

LFSNEWD.C | 1024 | 435 | deflated |

LFWRITE.C | 640 | 249 | deflated |

MARK.C | 896 | 338 | deflated |

MARK.H | 512 | 275 | deflated |

MEM.H | 1152 | 343 | deflated |

MEMREAD.C | 1152 | 509 | deflated |

MEMWRITE.C | 768 | 306 | deflated |

MKPOOL.C | 1152 | 461 | deflated |

NEWQUEUE.C | 896 | 332 | deflated |

OPEN.C | 640 | 257 | deflated |

PCREATE.C | 1024 | 434 | deflated |

PDELETE.C | 768 | 339 | deflated |

PINIT.C | 1024 | 439 | deflated |

POOLINIT.C | 768 | 324 | deflated |

PORTS.H | 1536 | 573 | deflated |

PRECEIVE.C | 1408 | 541 | deflated |

PRINTF.C | 512 | 183 | deflated |

PROC.H | 2048 | 771 | deflated |

PSEND.C | 1280 | 522 | deflated |

PUTC.C | 512 | 233 | deflated |

Q.H | 1024 | 427 | deflated |

QUEUE.C | 1280 | 354 | deflated |

RDISK.C | 3456 | 975 | deflated |

READ.C | 640 | 244 | deflated |

READY.C | 768 | 315 | deflated |

RECEIVE.C | 768 | 306 | deflated |

RECVCLR.C | 640 | 258 | deflated |

RESCHED.C | 1536 | 586 | deflated |

RESUME.C | 768 | 351 | deflated |

SCREATE.C | 1280 | 445 | deflated |

SDELETE.C | 896 | 385 | deflated |

SEEK.C | 640 | 248 | deflated |

SEM.H | 768 | 306 | deflated |

SEND.C | 896 | 371 | deflated |

SIGNAL.C | 768 | 320 | deflated |

SLEEP.C | 640 | 251 | deflated |

SLEEP.H | 768 | 310 | deflated |

SLEEP10.C | 768 | 359 | deflated |

SLU.H | 896 | 374 | deflated |

SSCLOCK.C | 1152 | 376 | deflated |

SUSPEND.C | 1024 | 405 | deflated |

TTY.H | 3712 | 1173 | deflated |

TTYCNTL.C | 1280 | 471 | deflated |

TTYGETC.C | 768 | 300 | deflated |

TTYIIN.C | 5120 | 1231 | deflated |

TTYINIT.C | 2176 | 784 | deflated |

TTYOIN.C | 1152 | 423 | deflated |

TTYPUTC.C | 896 | 361 | deflated |

TTYREAD.C | 1792 | 607 | deflated |

TTYWRITE.C | 1664 | 584 | deflated |

USERRET.C | 384 | 144 | deflated |

WAIT.C | 768 | 350 | deflated |

WAKEUP.C | 640 | 269 | deflated |

WRITE.C | 640 | 245 | deflated |

XDONE.C | 384 | 148 | deflated |

XEBEC.H | 1536 | 514 | deflated |

XINU.DOC | 1280 | 647 | deflated |

# Download File XINU.ZIP Here

## Contents of the XINU.DOC file

XINU

(Xinu Is Not UNIX)

The files which make up the XINU Operating System were typed in

from the book: Operating System Design, The XINU Approach, by

Douglas Comer. The Code is Copyright (c) 1984 by Bell Telephone

Laboratories, Incorporated. All rights reserved. ISBN 0-13-

637539-1. Originally designed for DEC LSI-11 computers, it can

be ported to any computer with moderate modifications. The TTY

code most specifically. While developing the code for your

computer, it would be advantagious to use the printf from your C

Compiler until all the code is debugged. Your first project will

be the context switcher and interupt handler, which will have to

be written in assembler. This code is quite useless without the

book, so I would suspect that you will be ordering it. If your

interested in Operating System Design, it is quite an addition to

your library. Call Prentice Hall 1-201-767-5049 (Thru 5052) for

current price and ordering. Good Luck.

UNIX is a trademark of Bell Laboratories.

DEC, LSI-11 are trademarks of Digital Equipment Corporation.

m Design, it is quite an addition to

your library. Call Prentice Hall 1-201-767-5049 (Thr

December 9, 2017
Add comments