public static WriteHandlerPtr simpsons_coin_counter_w = new WriteHandlerPtr() { public void handler(int offset, int data)
	{
		/* bit 0,1 coin counters */
		coin_counter_w.handler(0,data & 0x01);
		coin_counter_w.handler(1,data & 0x02);
		/* bit 2 selects mono or stereo sound */
		/* bit 3 = enable char ROM reading through the video RAM */
		K052109_set_RMRD_line((data & 0x08)!=0 ? ASSERT_LINE : CLEAR_LINE);
		/* bit 4 = INIT (unknown) */
		/* bit 5 = enable sprite ROM reading */
		K053246_set_OBJCHA_line((~data & 0x20)!=0 ? ASSERT_LINE : CLEAR_LINE);
	} }