<< Previous | Next >>

paddr

unsigned long paddr( void * pointer );

Description

Converts a logical pointer into its physical address. This function is compatible with both shared and separate I&D space compile modes. Use caution when converting a pointer in the xmem window, i.e., in the range 0xE000 to 0xFFFF, as this function will return the physical address based on the XPC on entry.

Parameters

pointer
The pointer to convert.

Return value

The physical address of the pointer.

Library

XMEM.LIB

See Also

paddrDS, paddrSS


Dynamic C Functions << Previous | Next >> rabbit.com