Lab 5 Check
sh
machinelab test graphics
machinelab run --headless --dump-frame build/rectangle.ppm -- build/examples/vbe_rectangleDiscussion Prompts
- Why is pitch not always
width * bytes_per_pixel? - What changes when you double-buffer?
- Which rendering helpers would you want before starting a game?
External Reading
- OSDev VESA Video Modes: https://wiki.osdev.org/VESA_Video_Modes
- VBE 2.0 PDF: https://www.phatcode.net/res/221/files/vbe20.pdf
- XPM overview: https://en.wikipedia.org/wiki/X_PixMap