Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!husc6!panda!genrad!decvax!tektronix!tekig5!tekigm!neals From: neals@tekigm.UUCP (Neal Sedell) Newsgroups: net.micro.6809 Subject: Re: Newdisk bugs? Message-ID: <747@tekigm.UUCP> Date: Mon, 28-Apr-86 17:27:28 EDT Article-I.D.: tekigm.747 Posted: Mon Apr 28 17:27:28 1986 Date-Received: Fri, 2-May-86 20:50:50 EDT References: <94@vaxb.calgary.UUCP> Organization: Tektronix, Vancouver WA Lines: 28 Keywords: Device Driver In article <94@vaxb.calgary.UUCP>, ingoldsby@calgary.UUCP (Terry Ingoldsby) writes: . . . > One final question: Is it permissable to do system calls within > a device driver? > I don't know if it's legal or not, but when I was debugging a ramdisk driver, I put in trace print character calls so I could see which sectors were being read/written when it bombed. I kind of wonder if the default stdout path was the console or not, but it worked ok. You couldn't redirect the output though :-( BTW, I noticed that when you do a "CHD", the last sector operation was a WRITE to the first sector of the directory that you changed to. Does anyone know why? Is this related to the re-seeks that occur when you CHD to a directory of a write-protected floppy? I just noticed it when I was playing around with my RS V2 OS9 that I finally got to try a couple days ago. The guy at the Shack told me that the CONFIG utility won't include PIPE, PIPER and PIPEMAN in the bootfile when you select it. After trying CONFIG three times and running into some user-hostile fatal error each time I didn't even check. Be warned though, he is very familiar with the COCO and OS9 and I think he knows what he's talking about. This was not at an RS "What's OS9?" Confuser Center, obviously :-) Neal Sedell *!tektronix!tekigm!neals