Category : C Source Code
Archive   : RXGRAPH.ZIP
Filename : BITMAP.H

 
Output of file : BITMAP.H contained in archive : RXGRAPH.ZIP
#if 0
If BIOS is defined declare the BIOS set of functions for bit graphics
otherwise declare the direct set.

In unusual circumstances both sets can be declared as follows:

#include "bitmap.h"
#define BIOS
#include "bitmap.h"
#endif

/* On first include define the common stuff */
#ifndef CO320
#define CO320 4
#define BW320 5
#define BW640 6
extern int get_mode();
extern void set_mode(int);
extern void set_background(unsigned char);
extern void set_pallette(unsigned char);
extern void set_colors(unsigned char,unsigned char);
#endif

/* Declare either the BIOS set or the (default) direct set */
#ifdef BIOS
extern int get_dot(int,int);
extern void put_dot(int,int,unsigned char);
extern void draw_line(int,int,int,int,unsigned char);
#else
extern int get_dot_320(int,int);
extern void put_dot_320(int,int,unsigned char);
extern void draw_line_320(int,int,int,int,unsigned char);
extern int get_dot_640(int,int);
extern void put_dot_640(int,int,unsigned char);
extern void draw_line_640(int,int,int,int,unsigned char);
extern void scr_fill(unsigned int);
#endif


  3 Responses to “Category : C Source Code
Archive   : RXGRAPH.ZIP
Filename : BITMAP.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/