Talk:Detecting Memory (x86)

From OSDev.wiki

Latest comment: 14 years ago by Stephanvanschaik in topic Updated the low memory snippet
Jump to navigation Jump to search

Deleting old code

Now that Brendan's manual probing code is here, I'd like to delete the old C manual probing code -- even though "information will be lost".
Bewing 01:26, 22 May 2008 (CDT)

I'd rather not for just that reason :) - Basically you'll be denying everybody that expects to find a sample in C that code. It's not too bad to have a version in both languages really. - Combuster 06:11, 22 May 2008 (CDT)

Updated the low memory snippet

The old low memory detection snippet using INT 0x12; AH = 0x00 assumed that AH would be set to 0x80 or 0x86 when something went wrong, I don't think this can be true as RBIL doesn't state this and as AX itself should contain the size. If somebody doesn't like my assembly style, then he/she's free to change it. If someone doesn't agree with me on the 0x80/0x86 part, then could he/she please explain why.

--Stephanvanschaik 20:32, 19 February 2010 (UTC)Reply[reply]