Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!seismo!rochester!bullwinkle!uw-beaver!uw-june!james From: james@uw-june (James Synge) Newsgroups: net.micro.amiga Subject: Re: Yes, we...do pipes. Message-ID: <511@uw-june> Date: Fri, 7-Mar-86 11:39:00 EST Article-I.D.: uw-june.511 Posted: Fri Mar 7 11:39:00 1986 Date-Received: Sun, 9-Mar-86 09:11:18 EST References: <158@leopard.UUCP> <45100030@infoswx> Distribution: net Organization: U of Washington Computer Science Lines: 22 Summary: How does one add a new device to amigados? I want to add PIPE: AmigaDos has devices SER:, PAR:, etc which can be treated very much like parts of the filing system. At the exec level you can create new devices using the routines AddDevice, etc. I would like to know how to create a new AmigaDos device. What I intend to do is write a routine like the Unix routine pipe(fd[2]) which returns two file descriptors, one can be written to, the other can be read. Somehow AmigaDos needs to know what to do with these fds and this is not well documented (I could find no such info). Is there anybody who has the sample device driver given in the Rom Kernel manual, Vol 2, appendix G? It would be a great help to have those posted to the net (or sent direct). Many thanks to Matt Dillon of UCB for posting his C shell. If I am able to create the above pipe() I will incorporate it into csh and post the changes to the net. - James M. Synge University of Washington, Seattle UUCP: ...!uw-beaver!uw-june!james VOICE: (206)543-0308