Bootloader: Generalize framebuffer video mode search

Framebuffer size is now taken as arguments to vesa_find_video_mode
This commit is contained in:
2023-12-09 16:48:04 +02:00
parent 0c3e5980d6
commit 8b01e2d4a2
2 changed files with 28 additions and 15 deletions

View File

@@ -60,6 +60,9 @@ stage2_main:
call get_memory_map
call read_user_command_line
movw $800, %ax
movw $600, %bx
movb $32, %cl
call vesa_find_video_mode
call print_newline