Crossware

Table of Contents        Previous topic       Next topic       

The Extension Interface->General Purpose Interface Calls->GetXDataMemory()

extern "C" LONG GetXDataMemory(LONG nExtensionState, int nAddress, BYTE* pByte, LONG nSimulating)

The extension should return zero if it does not want to handle this call. Otherwise it should return one, place the value associated with external data memory address nAddress in *pByte and carry out any other operations associated with a read from this address (such as a memory mapped activity).

This call also allows the extension to support external data memory bank switching.