


	//---------------------------------------------------
	//[i] function_void OS_init;
	public void OS_init()
	{
		uint32 c;
		c.24(uint8) = 200;
		c.16(uint8) = 50;
		c.8(uint8) = 255;
		c.0(uint8) = 50;
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0003), (int)c );
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0004), (int)c );
	}
	
	//[i] function_void open;
	public void open1()
	{
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0000), 1 );
	}
	//[i] function_void close;
	public void close1()
	{
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0000), 0 );
	}
	//[i] function_void swap;
	public void swap1()
	{
		int32 d = #.OS.REMO_ModuleRead( (int)(ID * 0x00010000 + 0x0000) );
		if( d != 0 ) {
			d = 0;
		}
		else {
			d = 1;
		}
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0000), d );
	}
	//[i] function_void open;
	public void open2()
	{
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0001), 1 );
	}
	//[i] function_void close;
	public void close2()
	{
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0001), 0 );
	}
	//[i] function_void swap;
	public void swap2()
	{
		int32 d = #.OS.REMO_ModuleRead( (int)(ID * 0x00010000 + 0x0001) );
		if( d != 0 ) {
			d = 0;
		}
		else {
			d = 1;
		}
		#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0001), d );
	}
	
	
	