148517Sbostic /*-
2*61393Sbostic * Copyright (c) 1980, 1993
3*61393Sbostic * The Regents of the University of California. All rights reserved.
448517Sbostic *
548517Sbostic * %sccs.include.proprietary.c%
619975Sdist */
719975Sdist
815455Sralph #ifndef lint
9*61393Sbostic static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 06/04/93";
1048517Sbostic #endif /* not lint */
1115455Sralph
1215455Sralph #include "hp2648.h"
1315455Sralph
move(xi,yi)1415455Sralph move(xi,yi)
1515455Sralph int xi,yi;
1615455Sralph {
1715455Sralph char xb1,xb2,yb1,yb2;
1815455Sralph itoa(xsc(xi),&xb1,&xb2);
1915455Sralph itoa(ysc(yi),&yb1,&yb2);
2015455Sralph buffready(5);
2115455Sralph putchar(PENUP);
2215455Sralph putchar(xb2);
2315455Sralph putchar(xb1);
2415455Sralph putchar(yb2);
2515455Sralph putchar(yb1);
2615455Sralph currentx = xsc(xi);
2715455Sralph currenty = ysc(yi);
2815455Sralph }
29