Kernel: Much improved BochsVGA (BXVGA) support.

Instead of cowboy-calling the VESA BIOS in the bootloader, find the emulator
VGA adapter by scanning the PCI bus. Then set up the desired video mode by
sending device commands.
This commit is contained in:
Andreas Kling 2019-02-06 10:17:26 +01:00
commit 731fc5a7c8
Notes: sideshowbarker 2024-07-19 15:51:15 +09:00
16 changed files with 298 additions and 114 deletions

View file

@ -217,7 +217,7 @@ public:
int gui$set_window_rect(int window_id, const GUI_Rect*);
int gui$set_global_cursor_tracking_enabled(int window_id, bool enabled);
DisplayInfo get_display_info();
DisplayInfo set_video_resolution(int width, int height);
static void initialize();
static void initialize_gui_statics();