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

Channel:
Subscribers:
5,840
Published on ● Video Link: https://www.youtube.com/watch?v=PvaBAsFCfQo



Duration: 1:02:29
578 views
22


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:
https://uefi.org/specifications (uefi & other specifications)

UEFI Programming playlist:
https://www.youtube.com/playlist?list=PLT7NbkyNWaqZYHNLtOZ1MNxOt8myP5K0p

Git Repo:
https://github.com/queso-fuego/uefi-dev

Repo state at the start of this video:
git clone --recurse-submodules https://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: https://discord.gg/yKm4T89QFn

Contact:
https://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: https://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 | https://soundcloud.com/sakuragirl_official
Music promoted by https://www.chosic.com/free-music/all/
Creative Commons CC BY 3.0
https://creativecommons.org/licenses/by/3.0/

#uefidev #cprogramming #gop







Tags:
queso fuego
menu
c programming
low level
uefi
efi progarmming
gop modes
graphics output protocol
set gop mode
get gop info