
unit ram
{
	public const uint16 ID = 0;
	
	public link unit SCL {}
	public link unit SDA {}
	
	
	#include "$run$.txt"
	
	
	
	//[i] interface_map map;
	public unit map
	{
		link int8 AreaNumber;
		link int16 LineNumber;
		link uint8 BackData;
		link uint8 ClearData;
		link void Clear() {}
		link void set_pos( int16 Column, int16 area ) {}
		link void set_uint8( uint8 d ) {}
		link uint8 get_uint8() {}
		public const int8 TYPE = 1;
	}
	map.AreaNumber = AreaNumber;
	map.LineNumber = ColumnNumber;
	map.BackData = BackData;
	map.ClearData = ClearData;
	map.set_pos = set_pos;
	map.set_uint8 = set_uint8;
	map.get_uint8 = get_uint8;
	map.Clear = Clear;
	
	//[i] var_int8 AreaNumber;
	public const int8 AreaNumber = 8;
	//[i] var_int16 LineNumber;
	public const int16 ColumnNumber = 128;
	//[i] var_uint8 BackData;
	public uint8 BackData;
	//[i] var_uint8 ClearData;
	public uint8 ClearData;
	
	int16 Line;
	int16 area;
	
	//const int16 BUFFER_NUMBER = AreaNumber*LineNumber;
	//const int16 BUFFER_NUMBER = 1;
	//[uint8*BUFFER_NUMBER] buffer;
	
	//---------------------------------------------------
	//[i] function_void OS_init;
	
	//---------------------------------------------------
	//[i] function_void Clear;
	
	//---------------------------------------------------
	//[i] function_void set_pos int16 int16;
	
	//---------------------------------------------------
	//[i] function_void set_uint8 uint8;
	
	//---------------------------------------------------
	//[i] function_uint8 get_uint8;
}












