flat assembler
Message board for the users of flat assembler.

Index > Main > Fasm Interface for EFI

Author
Thread Post new topic Reply to topic
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
Hello Wink
Here there is a porting of Fasm to EFI, if someone is interested
to test in real HW ( I haven't EFI on my PC), just tryed in QEMU and
work fine, but i don't like stupid emulator toy Razz
Anyway now you can assemble and test your EFI application
directly in (U)EFI Shell Wink

_________________
Nil Volentibus Arduum Razz


Last edited by DJ Mauretto on 14 Oct 2011, 15:10; edited 1 time in total
Post 14 Oct 2011, 11:29
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4238
Location: 2018
edfed
i am basically against this EFI thing. i am for a more stadard and open source respected BIOS, BOOT and Hardware specifications, not the opposite.
but as intel don't wait for me to decide, it will be fine to have fasm on efi. Smile
Post 14 Oct 2011, 14:54
View user's profile Send private message Visit poster's website Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
I learn EFI only for boot reason, then get rid of it immediately Wink
If you learn EFI, you can boot your Os or simple application on MAC/INTEL Wink I love OLD BIOS but the PC industry is changing the standards.
EFI is not very bad, some parts are interesting and challenging,
anyway this is my first experiment with EFI Embarassed

_________________
Nil Volentibus Arduum Razz
Post 14 Oct 2011, 15:06
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4238
Location: 2018
edfed
boot on mac can be cool, but i am pretty sure that the keyboard, the mouse, the screen, etc... nothing is comon with PC, then...

can a mac run in mode13h, and in real mode? Laughing
Post 14 Oct 2011, 15:59
View user's profile Send private message Visit poster's website Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
Quote:
boot on mac can be cool, but i am pretty sure that the keyboard, the mouse, the screen, etc... nothing is comon with PC, then...

can a mac run in mode13h, and in real mode?


Yes MAC inside is a common pc with intel chipset and common Graphic card
AMD\ATI, Intel or nVidia, after you boot with EFI and take control of PC you
can come back to real mode to do that, but you must scan for HW and to know as manage it Wink
INT 10 is a BIOS function , MAC not support OLD BIOS at all, but if the
graphic card support Standard VGA you can set it at Hardware Level.
If EFI support the mode 13h you can set that mode or another equivalent
with EFI function.
You have Network,(TCP\IP, FTP, ARP,DHCP, UDP,MTFTP) driver, your Os can connect to internet without to write 100 driver for every network card.
Standard USB( OHCI,UHCI,EHCI) driver and much more..... Wink
Anyway this is the equivalence:
Code:
OLD               NEW 
BIOS            (U)EFI
DOS            EFI SHELL
VBE             UGA\GOP
    

Try to experiment with EFI, it's not so bad, is a new thing, and all the new things bring with them the unknown, and this is scary, afraid to leave our safety Razz

_________________
Nil Volentibus Arduum Razz
Post 14 Oct 2011, 17:23
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
...but isn't it true that if you boot into your own OS you will have to forget every bit of good EFI gave you and start from scratch. You cannot use USB or NIC EFI-drivers in your own OS ... or can you?
Post 17 Oct 2011, 07:41
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
Quote:
...but isn't it true that if you boot into your own OS you will have to forget every bit of good EFI gave you and start from scratch. You cannot use USB or NIC EFI-drivers in your own OS ... or can you?

I'm not a expert in EFI, i'm started 2 week ago and my first experiment has been porting fasm to efi Wink
Anyway EFI is a modern version of BIOS 32/64, when you design your Os , you
can choose if kick off completely EFI or not...
You can do a simple EFi based Os or not...
Consider this Thing...
The nic driver is there, USB is standard and is not useful, you can write USB driver, but the disk driver and nic driver are there Wink
Think of........ Razz

PS: I haven't EFI on my machine , when i'll have news with experiment
i'll post here Wink

_________________
Nil Volentibus Arduum Razz
Post 17 Oct 2011, 09:39
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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 YouTube, Twitter.

Website powered by rwasa.