#define ROT 0

// 16-bit rendering functions.
#define BPP 16

#define ISOPAQUE 0
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#define ISOPAQUE 1
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#undef BPP

// 24-bit rendering functions.
#define BPP 24

#define ISOPAQUE 0
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#define ISOPAQUE 1
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#undef BPP

// 32-bit rendering functions.
#define BPP 32

#define ISOPAQUE 0
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#define ISOPAQUE 1
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#undef BPP

#undef ROT

#ifdef DRIVER_ROTATION
#define ROT 270

// 16-bit rendering functions.
#define BPP 16

#define ISOPAQUE 0
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#define ISOPAQUE 1
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#undef BPP

// 24-bit rendering functions.
#define BPP 24

#define ISOPAQUE 0
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#define ISOPAQUE 1
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#undef BPP

// 32-bit rendering functions.
#define BPP 32

#define ISOPAQUE 0
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#define ISOPAQUE 1
#define XFLIP 0
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 0
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 0
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#define XFLIP 1
#define YFLIP 1
#define DOCLIP 0
#include "toa_gp9001_render.h"
#undef DOCLIP
#define DOCLIP 1
#include "toa_gp9001_render.h"
#undef DOCLIP
#undef YFLIP
#undef XFLIP

#undef ISOPAQUE

#undef BPP

#undef ROT

#endif

#include "toa_gp9001_func_table.h"
