What would "drift" of a "compact" be?

Did you converse, sir, with this gentlewoman?
What is the course and drift of your compact?

From Comedy of Errors