flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Fulgurance
Hello, i have just little question, is it possible to program EFI boot without PE format ?
|
|||
![]() |
|
zhak
What is EFI boot in your understanding?
|
|||
![]() |
|
zhak
In a couple of words, UEFI firmware replaces BIOS but provides BIOS emulation for compatibility purposes. It understands PE32+ file format for executable images and FAT file systems. You can add support for other file formats and file systems with the help drivers (which should be in PE file format). Boot flow will be as follows: firmware boots your custom boot loader from a bootable device. The boot loader loads additional drivers (for example, to provide ext file systems support) and continues with boot process (loads kernel from ext fs).
|
|||
![]() |
|
Fulgurance
Okay, quite simply, impossible with full custom executable. I must use PE format.
Without memory restricted use, is it possible to do same thing in EFI with BIOS programming ? Is it possible to start in BIOS with good screen resolution ? |
|||
![]() |
|
DimonSoft
Fulgurance wrote: Is it possible to start in BIOS with good screen resolution ? Not sure if I understand your question, but you don’t have control over what video mode BIOS sets up before your bootloader is started, the same applies to BIOS emulation in UEFI (since it’s emulation, remember?). So, if you choose to write a BIOS bootloader, you have a text-mode (03h, AFAIR). After that you can either deal with good old modes, you can try VESA modes (if supported by emulaion layer) or you can load your OS, which in turn loads video drivers and then uses any resolution your video adapter supports. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.