direct probing

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
Stefan

direct probing

Post by Stefan »

I've heard a lot of people talking about direct probing, that it is a way to get the memory size.
Can anybody tell me how does direct brobing work?
Thanks!
common

RE:direct probing

Post by common »

Direct Probing would be the act of going around to each byte or series of bytes in memory, incrementing each time to determine how much physical memory is available.

Since memory loops around, in the first 1mb (for example), you would put some type of signature like 0x33CC, then you might count ahead each MB and look for the actual signature.  Once the find the signature, you're done counting and you know how much memory you have.

Direct Probing does have some issues, however.  Namely with memory holes and in post-paging enabled.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

RE:direct probing

Post by df »

my advice, ignore direct probing, its lots of hassles + can cause problems and lots of other things.

use the bios to get the memory map and determine memory from that.
its the safest way of going about it.
-- Stu --
Post Reply