/*
	共通一般ライブラリー				Okome 1993
*/

#include	<string.h>
#include	<EGB.H>
#include	<Normlib.h>

extern char work[];

void font8(int x, int y, char *s, int c)
{
	char pa[256];
	EGB_paintMode(work, 0x22 );
	EGB_color( work, 0, c );
	EGB_textZoom( work, 0, 8, 8 );
	WORD(pa  ) = x;
	WORD(pa+2) = y;
	WORD(pa+4) = strlen(s);
	strcpy( &(pa[6]), s );
	EGB_asciiString( work, 0, pa );
}
