/examples/scanline/i89.h
#ifndef _I89_H
#define _I89_H


/* This is intended to be the type for extern task block symbols. It's a little
 * weird but you can't have an extern void value so it's an unsigned char. The
 * CPU can't make sense of it anyway, so it may as well be a sequence of bytes
 * to it. */
typedef unsigned char i89_task_block;

typedef struct i89_channel_parameter_block {
	i89_task_block far * tbp;
} i89_channel_parameter_block_t;

typedef struct i89_channel {
	unsigned char ccw;
	unsigned char busy;
	i89_channel_parameter_block_t far * ppb;
	unsigned int reserved;
} i89_channel_t;

#endif /* _I89_H */