Forum FAQForum FAQ SearchSearch MemberlistMemberlist   UsergroupsUsergroups RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Wim's BIOS RSS FeedRSS Log inLog in

writing AMIBIOS "modules"

 
Post new topic   Reply to topic    Wim's BIOS Forum Index -> In-depth High-tech BIOS section

Recommended by Wim's BIOS...

BIOS Agent scan: Upgrade your BIOS! Driver Agent scan: Instant Access to 116,215 Device Drivers Updates!

View previous topic :: View next topic  
Author Message
ollopa
New visitors - please read the rules.


Joined: 03 Jan 2007
Posts: 2

PostPosted: Wed Jan 03, 2007 1:01 am     Post subject: writing AMIBIOS "modules" Reply with quote

Hey everybody, I'm working with an AMI BIOS. I want to add a small routine that initializes some hardware after POST.

I see that I can use mmtool to insert "modules" into the BIOS.

Is this the appropriate way to add my routine? Does anybody know the layout of these modules? They appear to have a common header at the beginning and I am assuming a checksum in the beginning following the F0 F6 50 97 header.

The beginning of the module does not appear to be the entry point for code execution and I have yet to figure out how to determine the location of the entry point. I don't know if the entry point is static or if it is pointed to by a field somewhere in the header of the module file.

Any information at all about these AMI modules would be greatly appreciated, even if its just to tell me you agree with me or not.
Thanks!
Back to top
View user's profile Send private message
maman
Master Flasher


Joined: 31 Mar 2002
Posts: 161
Location: Taka Bonerate National Park, Indonesia

PostPosted: Wed Jan 03, 2007 2:59 pm     Post subject: Reply with quote

AMI BIOS modules are compressed using LZH algorithm, much like Award BIOS modules. However, the header of the modules is in a propietary format. Ofcourse the header is not the same as Award BIOS modules which I explain here.
Reverse engineer the bootblock is you want to know more about it Wink
_________________
-- Human knowledge belongs to the world --
Back to top
View user's profile Send private message Visit poster's website
ollopa
New visitors - please read the rules.


Joined: 03 Jan 2007
Posts: 2

PostPosted: Wed Jan 03, 2007 4:30 pm     Post subject: Reply with quote

mmtools has the option of extracting modules uncompessed. Are you saying that even after this the module is compressed? It doesn't seem to be, as there are strings of english text in the uncompressed modules.


I should add that this is for the AMIBIOS8 BIOS.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Wim's BIOS Forum Index -> In-depth High-tech BIOS section All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group