How can a sprite be generated in CMD 6?