X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fxlib%2Fxpoint.h;fp=16%2Fxlib%2Fxpoint.h;h=a820ca26a29b75abad8d76eb7660d26abe9c88d9;hb=922a4ace00cd3b3b8febf878b0c679a11b654731;hp=0000000000000000000000000000000000000000;hpb=cdb90d6b06eec485931782872a2550afea961050;p=16.git diff --git a/16/xlib/xpoint.h b/16/xlib/xpoint.h new file mode 100755 index 00000000..a820ca26 --- /dev/null +++ b/16/xlib/xpoint.h @@ -0,0 +1,51 @@ +/*----------------------------------------------------------------------- +; +; XPOINT - header file +; +; +; +; ****** XLIB - Mode X graphics library **************** +; ****** **************** +; ****** Written By Themie Gouthas **************** +; +; 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 _XPOINT_H_ +#define _XPOINT_H_ + + +/* FUNCTIONS =========================================================== */ + +#ifdef __cplusplus +extern "C" { +#endif + + + void x_put_pix( /* Draw a pixel on the screen */ + WORD X, + WORD Y, + WORD PageOffset, + WORD Color); + + WORD x_get_pix( /* Read a pixel from the screen */ + WORD X, + WORD Y, + WORD PageBase); + + +#ifdef __cplusplus +} +#endif + + +#endif + +