From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/gio/gescape.x | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys/gio/gescape.x (limited to 'sys/gio/gescape.x') diff --git a/sys/gio/gescape.x b/sys/gio/gescape.x new file mode 100644 index 00000000..c6a1bf63 --- /dev/null +++ b/sys/gio/gescape.x @@ -0,0 +1,19 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include + +# GESCAPE -- Pass a device dependent instruction on to the graphics kernel. +# A unique function code should be assigned each escape function. The graphics +# kernel will ignore escapes with unrecognized function codes. + +procedure gescape (gp, fn, instruction, nwords) + +pointer gp # graphics descriptor +int fn # function code (1 - 32767) +short instruction[ARB] # instruction to be transmitted +int nwords # length of instruction + +begin + call gpl_flush() + call gki_escape (GP_FD(gp), fn, instruction, nwords) +end -- cgit