
#ifndef	DEVICES_HARLEQUIN_H
#define	DEVICES_HARLEQUIN_H

#include	"libraries/harlequin.h"
#include	"exec/io.h"
#include	"exec/types.h"


/*
** devices/harlequin.h 
**                     
** 25-Nov-90      
**                     
** Level 1 Release 1      
**                     
** Mick Tinker
**
** ©1991 Keybonus Ltd   
*/

struct	IOExtHQ	{
	struct	IORequest HQReq;
	struct	HScreen *io_Screen;
	APTR	io_Data;
	ULONG	io_Colour;
	SHORT	io_DestX;
	SHORT	io_DestY;
	SHORT	io_SourceX;
	SHORT	io_SourceY;
	SHORT	io_SizeX;
	SHORT	io_SizeY;
	USHORT	io_Mask;
	USHORT	Version;
};

#define	HQCMD_OPENSCREEN	(CMD_NONSTD)
#define	HQCMD_CLOSESCREEN	(CMD_NONSTD+1)
#define	HQCMD_SETPIXEL		(CMD_NONSTD+2)
#define	HQCMD_READPIXEL		(CMD_NONSTD+3)
#define	HQCMD_WRITEPIXEL	(CMD_NONSTD+4)
#define	HQCMD_CLIPBLOCKSCREEN	(CMD_NONSTD+5)
#define	HQCMD_CLIPSCREENBLOCK	(CMD_NONSTD+6)
#define	HQCMD_CLIPSCREENSCREEN	(CMD_NONSTD+7)
#define	HQCMD_SCREENFUNCTION	(CMD_NONSTD+8)
#define	HQCMD_CLEARSCREEN	(CMD_NONSTD+9)
#define	HQCMD_CONVERTSCREEN	(CMD_NONSTD+10)
#define	HQCMD_GETSCREENINFO	(CMD_NONSTD+11)
#define	HQCMD_RECTFILL		(CMD_NONSTD+12)

#define	HQDEVNAME	"harlequin.device"

#endif /* DEVICES_HARLEQUIN_H */



