Implemented virtual console scrolling by making the console buffer a circular buffer