flat assembler
Message board for the users of flat assembler.
Index
> Main > EFI programming |
Author |
|
Fulgurance 03 Jan 2018, 16:57
Hello, i have just little question, is it possible to program EFI boot without PE format ?
|
|||
03 Jan 2018, 16:57 |
|
zhak 09 Jan 2018, 16:08
What is EFI boot in your understanding?
|
|||
09 Jan 2018, 16:08 |
|
zhak 12 Jan 2018, 14:35
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).
|
|||
12 Jan 2018, 14:35 |
|
Fulgurance 12 Jan 2018, 16:24
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 ? |
|||
12 Jan 2018, 16:24 |
|
DimonSoft 13 Jan 2018, 10:21
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. |
|||
13 Jan 2018, 10:21 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.