aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/tv/display/zawrim.x
blob: a7219b07536152565dc6abab9ef4af8012b7bd2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

include	"zdisplay.h"

# ZAWRIM -- Write data to a binary file display device.

procedure zawrim (chan, buf, nbytes, offset)

int	chan[ARB]
short	buf[ARB]
int	nbytes
long	offset
int	device

begin
	device = chan[1] / DEVCODE
	switch (device) {
	case IIS_CHAN:
	    call iiswr (chan, buf, nbytes, offset)
	}
end