X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fxlib%2Fxpbitmap.h;fp=16%2Fxlib%2Fxpbitmap.h;h=6f452f9a1f360a5dc2878622fd2883eb62937f1b;hb=922a4ace00cd3b3b8febf878b0c679a11b654731;hp=0000000000000000000000000000000000000000;hpb=cdb90d6b06eec485931782872a2550afea961050;p=16.git diff --git a/16/xlib/xpbitmap.h b/16/xlib/xpbitmap.h new file mode 100755 index 00000000..6f452f9a --- /dev/null +++ b/16/xlib/xpbitmap.h @@ -0,0 +1,77 @@ +/*----------------------------------------------------------------------- +; +; XPBITMAP - header file +; +; +; +; ****** XLIB - Mode X graphics library **************** +; ****** **************** +; ****** Written By Themie Gouthas **************** +; ****** Aeronautical Research Laboratory **************** +; ****** Defence Science and Technology Organisation **************** +; ****** Australia **************** +; +; egg@dstos3.dsto.gov.au +; teg@bart.dsto.gov.au +; +; Terminology & notes: +; VRAM == Video RAM +; SRAM == System RAM +; X coordinates are in pixels unless explicitly stated +; +;-----------------------------------------------------------------------*/ + +#ifndef _XPBITMAP_H_ +#define _XPBITMAP_H_ + + +/* FUNCTIONS =========================================================== */ + +#ifdef __cplusplus +extern "C" { +#endif + + + void x_put_masked_pbm( /* Copy a planar bitmap from SRAM masking */ + WORD X, /* only non zero pixels to VRAM */ + WORD Y, + WORD ScrnOffs, + BYTE far * Bitmap); + + void x_flip_masked_pbm( /* Copy a planar bitmap from SRAM masking */ + WORD X, /* only non zero pixels to VRAM. Bitmap */ + WORD Y, /* is mirrored. */ + WORD ScrnOffs, + BYTE far * Bitmap, + WORD orientation); + + void x_put_pbm( /* Copy a planar bitmap from SRAM to VRAM */ + WORD X, + WORD Y, + WORD ScrnOffs, + BYTE far * Bitmap); + + void x_flip_pbm( /* Copy a planar bitmap from SRAM to VRAM */ + WORD X, + WORD Y, + WORD ScrnOffs, + BYTE far * Bitmap, + WORD orientation); + + void x_get_pbm( /* Copy a planar bitmap from VRAM to SRAM */ + WORD X, + WORD Y, + BYTE Bw, + BYTE Bh, + WORD ScrnOffs, + BYTE far * Bitmap); + + +#ifdef __cplusplus +} +#endif + + +#endif + +