pritamzope / OS

Writing & Making Operating System and Kernel parts so simple like Hello World Programs, Starting from writing Bootloaders, Hello World Kernel, GDT, IDT, Terminal, Keyboard/Mouse, Memory Manager, HDD ATA R/W, VGA/VESA Graphics
http://createyourownos.blogspot.com
663 stars 103 forks source link

@pritamzope, how can i load PE? #9

Closed ghost closed 4 years ago

ghost commented 4 years ago

@pritamzope, Please help me in loading some executable format like PE, ELF and others from kernel. Please help me with code. I have no idea on that.

I want to run apps inside my kernel.

Please help me fast!

pritamzope commented 4 years ago

First you have to write a disk driver that will read or write to a disk(hard disk). Second you need a file system to understand where is the elf file is located on the disk.