Set GOP Mode With "Scrolling" Menu | UEFI Dev (in C)

Поділитися
Вставка
  • Опубліковано 4 лип 2024
  • Making choosing a GOP mode a bit better with a "scrolling" menu, and setting the GOP mode.
    Notes:
    - This GOP menu is a bit jank on my laptop, as it only has 5 modes (not 30), and I did not
    handle the case where the maximum GOP mode is less than the screen or menu length. That'll be fixed on the next video!
    Links:
    uefi.org/specifications (uefi & other specifications)
    UEFI Programming playlist:
    • UEFI Programming in C
    Git Repo:
    github.com/queso-fuego/uefi-dev
    Repo state at the start of this video:
    git clone --recurse-submodules github.com/queso-fuego/uefi-dev
    cd uefi-dev
    git checkout 1fb351194c9f28e93a5ebd072fe9a23c51833544
    Repo state at the end of this video:
    git checkout 7fa72572a9385ae4dc6d6fe17ec965dc72dfc000
    Next video:
    - Getting basic mouse support with the Simple Pointer Protocol, and maybe drawing a mouse cursor of sorts.
    Join the Community Discord: / discord
    Contact:
    queso_fuego.srht.site/contact.html
    - Let me know if there's anything specific you'd like to see!
    Questions about setup/software/etc.?
    Check the FAQ: queso_fuego.srht.site/about.html
    Outline:
    0:00:00 Intro / what's on the docket
    0:03:24 Set up first menu page of gop choices
    0:20:14 Get user input, scroll menu of choices
    0:49:17 Set GOP mode
    0:52:25 Clear screen with EfiBltVideoFill, and coming up/outro
    Music credits:
    Winter Night by Sakura Girl | / sakuragirl_official
    Music promoted by www.chosic.com/free-music/all/
    Creative Commons CC BY 3.0
    creativecommons.org/licenses/...
    #uefidev #cprogramming #gop
  • Наука та технологія

КОМЕНТАРІ • 9

  • @paulwratt
    @paulwratt 7 місяців тому

    I believe a side affect of _not_ storing the GOP / text values is that the menu content should have changed dynamically if you change screens (ie boot with one then use another). Plus I think the _character size vs GOP size_ is hardware dependant, _but_ most will function like VESA-VBE (choosing an appropriate font size for that screen size). But as you mentioned, stuff like that requires real hardware verification. Also if you can still build QEMU with SDL, then you will get a "proper" _screen stretch_ for the font / text mode.

    • @QuesoFuego
      @QuesoFuego  7 місяців тому

      It's sort of hit or miss on hardware, but that's right, it should dynamically change the size.
      The SDL and GTK display for qemu do seem to scale the font size when I fullscreen with ctrl-alt-f, though SDL I think looks a bit better, or handles it slightly better

  • @hampus23
    @hampus23 8 місяців тому +2

    Yay 🙌

  • @AMith-lv2cv
    @AMith-lv2cv 8 місяців тому

    as always 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 want more

    • @QuesoFuego
      @QuesoFuego  8 місяців тому +1

      Appreciate it! Trying to make more time for these

  • @TacticalAllRounder
    @TacticalAllRounder 8 місяців тому +1

    what happened to osdev

    • @QuesoFuego
      @QuesoFuego  8 місяців тому

      Got basic position independent elf file loading and mkdir/chdir working, but it's a lot of footage to go through.
      Working on it when I have time right now.

  • @tinachien2742
    @tinachien2742 8 місяців тому

    Your voice and appearance are very similar to Hamish Linklate. By the way, your vedios are so cool.