public static WriteHandlerPtr toaplan2_hd647180_cpu_w = new WriteHandlerPtr() { public void handler(int offset, int data)
	{
		/* Command sent to secondary CPU. Support for HD647180 will be
		   required when a ROM dump becomes available for this hardware */
	
		if (toaplan2_sub_cpu == CPU_2_Z80)		/* Whoopee */
		{
			toaplan2_shared_ram.write(0, data);
		}
		else									/* Teki Paki */
		{
			mcu_data = data;
			if (errorlog!=null) fprintf(errorlog,"PC:%08x Writing command (%04x) to secondary CPU shared port\n",cpu_getpreviouspc(),mcu_data);
		}
	} }