Crossware

Table of Contents        Previous topic       Next topic       

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

extern "C" LONG SetXDataMemory(LONG nExtensionState, int nAddress, BYTE nValue, LONG nSimulating)

The extension should return zero if it does not want to handle this call. Otherwise it should return one, use 'nValue' as the new value associated with external data memory address 'nAddress' and carry out any other operations associated with a write to this address (such as a memory mapped activity).

This call allows the extension to support program memory bank switching.