Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Building an OS - 7 - Finishing the bootloader, migrating to GCC
Play lesson

Building an OS - Building an OS - 7 - Finishing the bootloader, migrating to GCC

5.0 (2)
51 learners

What you'll learn

This course includes

  • 49.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Explanation of how I migrated to using GCC instead of OpenWatcom for the stage2 bootloader, how I finished the bootloader, and started working on the kernel. The purpose of this video is to offer better explanations for what I did in the livestreams. Links: - Patreon: https://www.patreon.com/nanobyte - Discord channel: https://discord.gg/RgHc5XrCEw - Source code: https://github.com/nanobyte-dev/nanobyte_os/tree/videos/part7 Referenced videos: - Making part 7 livestream (part 1): https://www.youtube.com/watch?v=db_5skZaneg - Making part 7 livestream (part 2): https://www.youtube.com/watch?v=0gDzlt2eZJ4 - Setting up your OS environment (and building a cross compiler): https://www.youtube.com/watch?v=TgIdFVOV_0U - Protected mode: https://www.youtube.com/watch?v=EBdzWFyKZ0U Documentation: - Why do I need a cross compiler & compiler flags: https://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler%3F#Options_that_you_should_pass_to_your_Compiler - Libgcc: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html - Building a cross compiler: https://wiki.osdev.org/GCC_Cross-Compiler Chapters: 0:00 Introduction 0:35 Why switch to GCC 4:00 config.mk 4:50 Automating toolchain build 10:22 Stage2 makefile 14:15 Stage2 linker script 15:45 Stage2 entry point (switching to protected mode) 16:59 Calling BIOS interrupts from protected mode 21:10 Text output in protected mode 24:05 Stage2 loading kernel 26:00 The kernel 27:02 Conclusion

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere