16Mb Memory Limit?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
guest

16Mb Memory Limit?

Post by guest »

I tried to detect my memory(128MB) by int 15, EAX=0000E820,and it seemed working(My motherboard is very new).But the highest area is in 00FF:XXXX,and the highest free memory area is sometihing like 0000:1000~00C0:FE06.So it seems I have only 16MB?The result does not change no matter whether I enables A20 gate.Can anyone explain why this happen?
Whatever5k

Re:16Mb Memory Limit?

Post by Whatever5k »

From http://www.mega-tokyo.com/os/os-faq-mem ... ine_memory:
the standard BIOS only returns memory between 1MB and 16MB; use AH=C7h for memory beyond 16MB not all BIOSes correctly return the carry flag, making this call unreliable unless one first checks whether it is supported through a mechanism other than calling the function and testing CF
guest

Re:16Mb Memory Limit?

Post by guest »

Thanks.Actually I read the FAQ but didn't read that carefully enough and misside that paragraph.
Post Reply