filmov
tv
Write Disk Image To Other Disks | UEFI Dev (in C)

Показать описание
Writing the disk image (ESP + data partition with test kernel) to another drive, so the user can reboot and choose that drive to have this EFI application and kernel "installed" on their target machine.
Errata:
- Fixed up the printf() flags loop later to use continues and allow more than 1 flag... and fixed the left/right justify and padding code as it didn't work for left padding numbers with 0 in all cases.
That'll be in the next video (but no more printf() changes in the videos after that, I swear).
Links:
UEFI Programming playlist:
Git Repo:
Repo state at the start of this video:
cd uefi-dev
git checkout e732ace03354a2e703bf9eed4c8c3d4d600e5af5
Repo state at the end of this video:
git checkout afc290c030c322a224b06d152f5abad646a279a8
Contact:
Support:
Questions about setup/software/etc.?
Next video:
- Adding an empty file to check if this EFI loader is "installed" or not. If it is, then call load_kernel() automatically instead of the main menu.
- Using HII database protocols to extract the default 8x16 system bitmap font, and pass it to the kernel.
- Print strings from loaded kernel using a passed in bitmap font.
- Printf fixes/changes (maybe).
Misc. editing notes:
- To try to prevent lag from audio effects and random crashes when splitting clips in davinci resolve, I changed to first add audio effects to full video parts and exported that audio as uncompressed PCM, to sort of "bake in" the effects before editing.
Then restarted Resolve, unlinked the original video and audio tracks, moved the exported audio+effects .wav files in place of the original audio tracks, moved the end of the clips slightly to line up and have the same total time (to fix any sync/clip issues), and re-linked the video clips with the new audio tracks.
This takes a little longer to start editing, but it gives smooth playback and no freezing/crashing.
Issues seemed to be from isotope rx plugins being reapplied to each clip as I split them with blade edit, and they also lag playback after initially applying to a clip anyway, which goes away on a restart.
"Baking" the effects into the audio files first makes it stable, so I'm happy with that for now.
I'd like resolve to include a de-click audio effect to use instead, but I can test their de-esser and dialogue processer effects again and see how they handle things, if those can be an alternative to izotope rx VSTs.
0:00:00 boot variable printing changes
0:06:14 more printf() changes, everyone's favorite
0:38:49 add ConnectController() to start of main
0:49:02 add menu option to write disk image to another disk
1:46:53 coming up & outro
Music credits:
Licensed under Creative Commons: By Attribution 4.0 License
#uefidev #blockio #installer
Errata:
- Fixed up the printf() flags loop later to use continues and allow more than 1 flag... and fixed the left/right justify and padding code as it didn't work for left padding numbers with 0 in all cases.
That'll be in the next video (but no more printf() changes in the videos after that, I swear).
Links:
UEFI Programming playlist:
Git Repo:
Repo state at the start of this video:
cd uefi-dev
git checkout e732ace03354a2e703bf9eed4c8c3d4d600e5af5
Repo state at the end of this video:
git checkout afc290c030c322a224b06d152f5abad646a279a8
Contact:
Support:
Questions about setup/software/etc.?
Next video:
- Adding an empty file to check if this EFI loader is "installed" or not. If it is, then call load_kernel() automatically instead of the main menu.
- Using HII database protocols to extract the default 8x16 system bitmap font, and pass it to the kernel.
- Print strings from loaded kernel using a passed in bitmap font.
- Printf fixes/changes (maybe).
Misc. editing notes:
- To try to prevent lag from audio effects and random crashes when splitting clips in davinci resolve, I changed to first add audio effects to full video parts and exported that audio as uncompressed PCM, to sort of "bake in" the effects before editing.
Then restarted Resolve, unlinked the original video and audio tracks, moved the exported audio+effects .wav files in place of the original audio tracks, moved the end of the clips slightly to line up and have the same total time (to fix any sync/clip issues), and re-linked the video clips with the new audio tracks.
This takes a little longer to start editing, but it gives smooth playback and no freezing/crashing.
Issues seemed to be from isotope rx plugins being reapplied to each clip as I split them with blade edit, and they also lag playback after initially applying to a clip anyway, which goes away on a restart.
"Baking" the effects into the audio files first makes it stable, so I'm happy with that for now.
I'd like resolve to include a de-click audio effect to use instead, but I can test their de-esser and dialogue processer effects again and see how they handle things, if those can be an alternative to izotope rx VSTs.
0:00:00 boot variable printing changes
0:06:14 more printf() changes, everyone's favorite
0:38:49 add ConnectController() to start of main
0:49:02 add menu option to write disk image to another disk
1:46:53 coming up & outro
Music credits:
Licensed under Creative Commons: By Attribution 4.0 License
#uefidev #blockio #installer
Комментарии