WORD
graf_dragbox( WORD width, WORD height, WORD start_x, WORD start_y,
		WORD box_x, WORD box_y, WORD box_w, WORD box_h,
		WORD *end_x, WORD *end_y )
{
	contrl[0] = 71;
	contrl[1] = 8;
	contrl[2] = 3;
	contrl[3] = 0;
	contrl[4] = 0;

	intin[0] = width;
	intin[1] = height;
	intin[2] = start_x;
	intin[3] = start_y;
	intin[4] = box_x;
	intin[5] = box_y;
	intin[6] = box_w;
	intin[7] = box_h;

	aes();

	*end_x = intout[1];
	*end_y = intout[2];

	return intout[0];
}
