OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:20 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Real Mode SMBIOS search first/next
PostPosted: Fri May 29, 2015 11:23 pm 
Offline
Member
Member
User avatar

Joined: Sun Jan 13, 2013 6:24 pm
Posts: 90
Location: Grande Prairie AB
Written for FASM 1.70.03 - Intel 16 bit

I've tried a few implementations of this using handle, ordinate position and buffer size that didn't work very well at all. It would seem backward compatibility has its drawbacks. My design intent is to have a means by which to pass a structure type to procedure and if found an offset in buffer to the strings if applicable to that type in AX. DH=FF facilitates subsequent entries of the same type such as type 8 (Port Connector Information).

My test beds are Dell OptiPlex GX1, BOCH's and Lenovo ThinkCenter and shortly I will have an Acer laptop in the mix.

Unlike the other two, Lenovo's tables did not follow immediately after 32 byte Table Entry Point, but it was page aligned. My algo depends on this and will return with CF and AX = 1 to 15 being offset from page if so.

Has anyone encountered a situation where tables were not page aligned?

Dell's first entry is a type DF for a length of 4D. This leads me to believe even system and OEM types (80 - FF) will come ahead of 7F (Table termination). Is this assumption correct?

Inevitably there will be protected and long mode versions of this, but for convenience sake I have original versions of DOS running on these test platforms.


Attachments:
Test.asm [5.32 KiB]
Downloaded 89 times
Top
 Profile  
 
 Post subject: Re: Real Mode SMBIOS search first/next
PostPosted: Fri May 29, 2015 11:37 pm 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
It would probably be useful to tell others what you're talking about.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 36 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group