//	M030 : XN[
option unsigned;

define	fEnd   = _FALSE;

//------------------------------------------------------------------------------//
//	XN[																//
//																				//
//	߂l	F	Ȃ															//
//------------------------------------------------------------------------------//
function main()
{
	define	i;

	_BtnOpen(0, "I");  _BtnEnable(1, _TRUE);					//	I{^\
	_SetVramSize(40, 50);										//	uq`lTCYݒi40C50sj
	_SetBufLines(150);											//	obt@sݒ(150sj
	_Cls();														//	ʃNA[
	for (i = 1; i < 200; i++) {									//	QOOs\iobt@s߁j
		_PrintF("%4d: \n", i);									//	E
	}
	_PrintF("%4d: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\n", i);	//	42\@iuq`l߁j
	_PrintF("VRamWidth =%d\n", _GetVRamWidth());				//	XN[\
	_PrintF("VRamHeight=%d\n", _GetVRamHeight());				//	XN[\
	_PrintF("BufLines  =%d\n", _GetBufLines());					//	XN[\
	_Stop();													//	I{^܂ő҂
	_BtnClose(0);												//	{^
}
//------------------------------------------------------------------------------//
//	{^̏															//
//																				//
//			F	BtnNo - {^ʂhc	 										//
//																				//
//	߂l	F	Ȃ															//
//------------------------------------------------------------------------------//
function _OnButton(BtnNo)
{
	if (BtnNo == 0) {				//	I{^H
		_Restart();					//		I{^̎|AtOݒ
	}
}
