/* Program: ANIM.H Author : Kim Moser Date : 30 July, 1990 System : IBM PC / Borland Turbo C 2.0 Descrip: CGA low-res drawing and animation package */ /* This is exported for the sake of the m_etbit() and m_etplot() macros (in ETVID.H), which assume that 'CGA' points to the base of CGA memory: */ unsigned char far *CGA = (unsigned char far *) 0xB8000000L; /* CGA base */ /*************************************************************************/ #define MAX_PIX_X 320 #define MAX_PIX_Y 200 /*************************************************************************/ void draw_mode(void); void text_mode(void); void plot(int x, int y, int c); int bit(int x, int y);