Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!psuvax1!vu-vlsi!elh From: elh@vu-vlsi.UUCP (Edward L. Hepler) Newsgroups: comp.sys.att Subject: wrastop on 7300 ? Message-ID: <1067@vu-vlsi.UUCP> Date: Mon, 17-Aug-87 22:50:20 EDT Article-I.D.: vu-vlsi.1067 Posted: Mon Aug 17 22:50:20 1987 Date-Received: Wed, 19-Aug-87 04:33:53 EDT Organization: Villanova Univ. EE Dept. Lines: 34 I have been trying to use the wrastop(3T) function on my 3b1 with no success. I get a -1 returned with a perror() of "Bad Address". The call looks somethine like: wrastop(pw, ptr->where.address.pixrectptr,(short)((ptr->width+15)>>4), (unsigned short *)0,(short)0, (short)0,(short)0, (short)hh-ptr->xOffset-xscreen,(short)vv-ptr->yOffset-yscreen, (short)ptr->width,(short)ptr->height, SRCSRC,DSTOR, (unsigned short *)0) where pw is the window number (from wcreate) and ...pixrectptr is a pointer to an array of unsigned shorts (I know, it looks like a SUN pixrect...). I have used the Sun raster-op calls, so I am familiar with what should be happening and I have printed the values that I am sending with the wrastop call. All look OK. Is there some trick that I need to know? What does the error really mean? I looked at INTRO(2) and it says that Badd address refers to a hardware fault while attempting to use an argument of a system call... Any ideas which argument??? I am trying to place TeX fonts on the screen in support of a TeX previewer... Thanks, Ed Hepler elh@vu-vlsi