suddenly , i became conscious of the fact that the driver was in the act of pulling up the horses in the courtyard of a vast ruined castle , from whose tall black windows came no ray of light , and whose broken battlements showed a jagged line against the sky .