Function Memory.typeOfMem
TypeOfMem -- Query attributes of memory address
Given a RAM memory address, search the system memory lists and return its memory attributes. The memory attributes are similar to those specified when the memory was first allocated: (eg. MEMF_VIDEO and MEMF_FAST).
If the address is not in known-space, a zero will be returned. (Anything that is not RAM, like the ROM or expansion area, will return zero. Also the first few bytes of a memory area are used up by the MemHeader.)
INPUT address - a memory address
Returns
attributes - a long word of memory attribute flags. If the address is not in known RAM, zero is returned.
See
AllocMem()