public static WriteHandlerPtr sound_bankswitch = new WriteHandlerPtr() { public void handler(int offset, int data)
	{
		int bankaddress;
		UBytePtr RAM = memory_region(REGION_CPU2);
	
	
		bankaddress = 0x10000 + (data & 0x07) * 0x4000;
		cpu_setbank(4,new UBytePtr(RAM,bankaddress));
	} }