public static WriteHandlerPtr aliens_coin_counter_w = new WriteHandlerPtr() { public void handler(int offset, int data)
	{
		/* bits 0-1 = coin counters */
		coin_counter_w.handler(0,data & 0x01);
		coin_counter_w.handler(1,data & 0x02);
	
		/* bit 5 = select work RAM or palette */
		palette_selected = data & 0x20;
	
		/* bit 6 = enable char ROM reading through the video RAM */
		K052109_set_RMRD_line((data & 0x40)!=0 ? ASSERT_LINE : CLEAR_LINE);
	
		/* other bits unknown */
	/*#if 0
	{
		char baf[40];
		sprintf(baf,"%02x",data);
		usrintf_showmessage(baf);
	}
	#endif*/
	} }