Implement functions to swap video memory to and from fake video memory