WALKING UP AGAINST THE WALL
To run up a score, which in alehouses is commonly recorded with chalk on the walls of the bar.

The 1811 Dictionary of the Vulgar Tongue.