flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Use UEFI Graphics Output Protocol

Goto page Previous  1, 2, 3, 4, 5, 6, 7
Author
Thread Post new topic Reply to topic
bitRAKE



Joined: 21 Jul 2003
Posts: 3489
Location: vpcmipstrm
bitRAKE
The "-bios" command only loads UEFI firmware with a legacy BIOS payload - sometimes called compatibility mode.
Code:
"{qemu-system-x86_64.exe}" ^
-nodefaults ^
-cpu max ^
-machine q35,smm=on ^
-device bochs-display ^
-device qemu-xhci ^
-device usb-kbd ^
-drive file={edk2-x86_64-code.fd},if=pflash,format=raw,unit=0,readonly=on ^
-drive file=fat:rw:{directory},index=1,media=disk,if=virtio,format=raw    
Use the above commandline, but replace all the {} items with your installation settings. UEFI firmware comes with QEMU - in the share folder. Put whatever *.EFI files you want in your {directory}. This will boot right into the EFI shell.

Just updated my install from https://qemu.weilnetz.de/ and tested the above with QEMU version 6.2

Initially, I thought the text modes of the shell were quite limited, but upon configuring a larger graphic resolution in the UEFI bios, the character modes available also changed!

I thought you said that command line worked for you, but then said no success - I don't understand.

_________________
¯\(°_o)/¯ unlicense.org
Post 05 Apr 2022, 10:53
View user's profile Send private message Visit poster's website Reply with quote
HSE



Joined: 13 Jan 2019
Posts: 15
HSE
Perfect now. Fantastic!!

> Initially, I thought the text modes of the shell were quite limited, but upon configuring a larger graphic resolution in the UEFI bios, the character modes available also changed!

A lot to play, I think Very Happy

> I thought you said that command line worked for you, but then said no success - I don't understand.

Tiano Core was loaded, and UEFI SHELL worked without problems. For some reason, versions I was testing failed to boot from USB. That happen also in VirtualBox, where the trick is to mount USB like a Hard Disk. I can't use real Hard Disk because is not FAT32.

Thanks very much.
Post 05 Apr 2022, 12:38
View user's profile Send private message Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 273
Fulgurance
Hello again. Long time no see !

I have just one question , if somebody can answer it ! This stayed in my mind long time ago !

I read somewhere (don’t ask me where , I don’t remember honestly) the graphic card contain already some functions to show 3D. Like you need less implementation to make 3D engine than in past.

Is it true ? I’m not sure about this information because when I read the UEFI documention, I didn’t see anything relating that .

(I hope you can see some progress with my English, I just come back after 1 year in London )
Post 13 Apr 2022, 08:45
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 3489
Location: vpcmipstrm
bitRAKE
Graphics cards are massively parallel, but they still need algorithms. As their power has increased the algorithms have changed to make more effective use of that power - sometimes for speed and sometimes for quality.

Graphics card manufactures provide many libraries of algorithms for different domains. They employ large numbers of engineers to build the software systems as well as the hardware.

BTW, your English is excellent, thank you.

_________________
¯\(°_o)/¯ unlicense.org
Post 13 Apr 2022, 20:45
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5, 6, 7

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.