#include "apilib.h"

void HariMain(void)
{
	int langmode = api_getlang();
	static char s1[23] = {	/* 日本語シフトJISモード */
		0x93, 0xfa, 0x96, 0x7b, 0x8c, 0xea, 0x83, 0x56, 0x83, 0x74, 0x83, 0x67,
		0x4a, 0x49, 0x53, 0x83, 0x82, 0x81, 0x5b, 0x83, 0x68, 0x0a, 0x00
	};
	if (langmode == 0) {
		api_putstr0("English ASCII mode\n");
	}
	if (langmode == 1) {
		api_putstr0(s1);
	}
	api_end();
}
