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/imdkern/imd.com | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sys/gio/imdkern/imd.com (limited to 'sys/gio/imdkern/imd.com') diff --git a/sys/gio/imdkern/imd.com b/sys/gio/imdkern/imd.com new file mode 100644 index 00000000..12cba65e --- /dev/null +++ b/sys/gio/imdkern/imd.com @@ -0,0 +1,18 @@ +# IMD common. A common is necessary since there is no graphics descriptor +# in the argument list of the kernel procedures. The stdgraph data structures +# are designed along the lines of FIO: a small common is used to hold the time +# critical data elements, and an auxiliary dynamically allocated descriptor is +# used for everything else. + +pointer g_kt # kernel transform graphics descriptor +pointer g_tty # graphcap descriptor +int g_nframes # number of frames written +int g_maxframes # max frames per device metafile +int g_ndraw # no draw instr. in current frame +int g_in, g_out # input, output files +int g_xres, g_yres # desired device resolution +int g_frame, g_color # display frame and graphics color +char g_device[SZ_GDEVICE] # force output to named device + +common /gioimd/ g_kt, g_tty, g_nframes, g_maxframes, g_ndraw, + g_in, g_out, g_xres, g_yres, g_frame, g_color, g_device -- cgit