MENU

Fun & Interesting

Structure of an ELF file

Some Assembly required 2,789 2 years ago
Video Not Working? Fix It Now

"Executable and Linkable Format", or ELF, is a format used by most Unix systems today for loading programs into memory. It turns out that there's a reason this format is useful, and it's useful for our project as well. Patreon BBC Micro level supporters: Yehuda T. Deutsch Code available on github: https://github.com/CompuSAR/control_cpu Support the project on Patreon: https://patreon.com/CompuSar Discord server invite: https://discord.gg/nNv53PWgBj Table of contents: 00:00 Two stage boot - why? 01:01 Second stage loader 02:40 Generating the boot loader 04:10 Second stage differences 04:35 Custom load format 06:37 ELF file structure 08:03 Boot loader actual code 11:20 Changing the OS code

Comment