9#ifndef MaxOS_DRIVERS_VGA_H
10#define MaxOS_DRIVERS_VGA_H
43 void write_registers(uint8_t* registers);
44 uint8_t* get_frame_buffer_segment();
46 bool internal_set_mode(uint32_t
width, uint32_t
height, uint32_t colour_depth)
final;
47 void render_pixel_8_bit(uint32_t x, uint32_t y, uint8_t colour)
final;
48 uint8_t get_rendered_pixel_8_bit(uint32_t x, uint32_t y)
final;
uint32_t width() const
Gets the width of the screen.
uint32_t height() const
Gets the height of the screen.
Driver for the video controller, handles the setting of the video mode.
Driver for the VGA graphics controller, handles the rendering of pixels to the screen.
string vendor_name() final
Gets the name of the vendor.
bool supports_mode(uint32_t width, uint32_t height, uint32_t colour_depth) final
Checks if the specified resolution is supported.
string device_name() final
Gets the name of the device.
VideoGraphicsArray()
Constructs a new Video Graphics Array (VGA) driver object, initializing the necessary I/O ports for V...
Defines a InterruptManager and InterruptHandler for managing hardware and software interrupts.
Defines classes for handling hardware communication ports (8, 16, and 32 bit)
Defines a String class for dynamically sized strings with various operations.
Defines a generic VideoDriver class for handling video modes and graphics context operations.