public static ReadHandlerPtr dsw_r1 = new ReadHandlerPtr() { public int handler(int offset)
	{
		/* Hi 4 bits = DSWA Lo 4 bits */
		/* Lo 4 bits = DSWB Lo 4 bits */
		int r = ( readinputport( 0 ) & 0x0f ) << 4;
		r |= readinputport( 1 ) & 0x0f;
		return ~r; /* Active Low */
	} }