


	public bit KEY0_DIR;
	public bit KEY0_OUT;
	public my_bit bit KEY0_IN = #addr ID * 0x00010000 + 0x0000;

	public bit KEY1_DIR;
	public bit KEY1_OUT;
	public my_bit bit KEY1_IN = #addr ID * 0x00010000 + 0x0001;

	public bit KEY2_DIR;
	public bit KEY2_OUT;
	public my_bit bit KEY2_IN = #addr ID * 0x00010000 + 0x0002;

	public bit KEY3_DIR;
	public bit KEY3_OUT;
	public my_bit bit KEY3_IN = #addr ID * 0x00010000 + 0x0003;

	memory my_bit { type = [ uint32] uint8; }
	uint8 get_uint8( uint32 addr )
	{
		return (uint8)(uint16)(uint)#.OS.REMO_ModuleRead( (int)addr );
	}





