An doubt about detecting amount of RAM
Posted: Fri Jul 16, 2010 2:52 pm
Hi!
I have read the detecting memory page on the Osdev-wiki.
There are talking about using BIOS function, and use the E*X extended register in the some time. I miss a point here. Need to call BIOS trough protected mode? What directive have to use in NASM([bits 16] or [bits 32]) or some prefixes.
Thanks for the help!
I have read the detecting memory page on the Osdev-wiki.
There are talking about using BIOS function, and use the E*X extended register in the some time. I miss a point here. Need to call BIOS trough protected mode? What directive have to use in NASM([bits 16] or [bits 32]) or some prefixes.
Thanks for the help!