/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ /* The copyright notice above does not evidence any */ /* actual or intended publication of such source code. */ #ident "$Revision: 1.2 $" #include extern int xsc(int); extern int ysc(int); extern int vti; extern int xnow,ynow; void move(int xi, int yi) { struct {char pad,c; int x,y;} p; p.c = 9; p.x = xnow = xsc(xi); p.y = ynow = ysc(yi); write(vti,&p.c,5); }