File:  [RetroPC.NET] / np2 / vram / scrndraw.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Fri Oct 17 02:58:13 2003 JST (22 years ago) by yui
Branches: mie
CVS tags: start, rel_036, VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, VER_0_73, VER_0_72, VER_0_71, VER_0_70
Neko Project II


#ifndef SCRNCALL
#define	SCRNCALL
#endif

enum {
	SURFACE_WIDTH		= 640,
	SURFACE_HEIGHT		= 480,
	SURFACE_SIZE		= (SURFACE_WIDTH * SURFACE_HEIGHT),

	START_PALORG		= 0x0a,
	START_PAL			= 0x10
};


#ifdef __cplusplus
extern "C" {
#endif

extern	BYTE	renewal_line[SURFACE_HEIGHT];
extern	BYTE	np2_tram[SURFACE_SIZE];
extern	BYTE	np2_vram[2][SURFACE_SIZE];

void scrndraw_initialize(void);
void scrndraw_changepalette(void);
BYTE scrndraw_draw(BYTE update);
void scrndraw_redraw(void);

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>